--- a/research/qc/questions.js +++ b/research/qc/questions.js @@ -20,6 +20,9 @@ // question: one line, the question as the note poses it // verdict: one line, calibrated, the note's own bottom line // parity: one line (REQUIRED on attack notes added from 2026-09-05; see below) +// scored_in: history/staging/x.md OPTIONAL cross-id pointer: a note filed under ANOTHER id that dispositions +// THIS row (path relative to research/); it is listed in this row's records +// without changing this row's status (route 57, job #1670) // --> // // THE PARITY GATE (2026-09-05), scoped after the independent review. @@ -82,7 +85,7 @@ for (const raw of m[1].split('\n')) { const ln = raw.trim(); if (!ln) continue; - const km = /^([a-z]+):\s*(.*)$/.exec(ln); + const km = /^([a-z_]+):\s*(.*)$/.exec(ln); // route 57 (job #1670): accept the underscore key scored_in if (!km) { problems.push(`unparseable line "${ln}"`); continue; } fields[km[1]] = km[2].trim(); } @@ -92,10 +95,16 @@ problems.push(`status "${fields.status}" is not one of ${[...STATUSES].join(' | ')}`); if (fields.id && !/^Q-[A-Za-z0-9][A-Za-z0-9-]*$/.test(fields.id)) problems.push(`id "${fields.id}" must look like Q-slug (letters, digits, hyphens)`); + let scoredIn = null; // route 57 (job #1670): cross-id pointer, resolved to a corpus file or reported as a problem + if (fields.scored_in) { + const cands = [path.join(C.RESEARCH, fields.scored_in), path.join(C.RESEARCH, 'history', 'staging', fields.scored_in)]; + scoredIn = cands.find(p => fs.existsSync(p)) || null; + if (!scoredIn) problems.push(`scored_in "${fields.scored_in}" does not resolve under research/ or research/history/staging/`); + } const todo = (fields.todo || 'none').split(',').map(s => s.trim()).filter(s => s && s !== 'none') .map(s => ({ id: s.replace(/\s*\(retired\)\s*$/, ''), retired: /\(retired\)/.test(s) })); const line = src.slice(0, m.index).split('\n').length; - return { file, title, block: { ...fields, todo, line }, problems }; + return { file, title, block: { ...fields, todo, line, scoredIn }, problems }; } function todoItems() { @@ -280,7 +289,7 @@ const statuses = [...new Set(g.map(x => x.block.status))]; const status = statuses.length === 1 ? statuses[0] : 'MIXED (' + g.map(x => path.basename(x.file) + ': ' + x.block.status).join('; ') + ')'; - return { id, question: last.question, status, verdict: last.verdict, files: g.map(x => x.file), todo: [...new Set(g.flatMap(x => x.block.todo.map(t => t.id + (t.retired ? ' (retired)' : ''))))] }; + return { id, question: last.question, status, verdict: last.verdict, files: [...g.map(x => x.file), ...g.map(x => x.block.scoredIn).filter(p => p && !g.some(x => x.file === p))], todo: [...new Set(g.flatMap(x => x.block.todo.map(t => t.id + (t.retired ? ' (retired)' : ''))))] }; }; const S = ids.map(summarise); --- a/research/history/staging/shadow-prereg.md +++ b/research/history/staging/shadow-prereg.md @@ -6,6 +6,7 @@ todo: 5 (retired) question: Is the kill shadow's 0.85 the band-average of the Unification-Law survival curve over the post-crystallization window? verdict: Pre-registration only, written before any measurement: the candidate values are computed and frozen, the scoring rules are fixed in advance, no statistic may be promoted to a verdict after the fact, and the verdict rests on y >= 997. +scored_in: shadow-buchstab.md --> **Written 2026-08-19, TODO item 5, BEFORE any measurement was run and before any