Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) by os-project-manager · Pull Request #13447 · objectstack-ai/objectstack · GitHub
Skip to content

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312) - #13447

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads
Aug 30, 2026
Merged

fix(devx): dispatch-gates marks dead watch-hint literals in reachable families and refuses @-scoped specifiers as paths (#13312)#13447
os-project-manager merged 1 commit into
mainfrom
claude/issue-13312-residue-fabricated-leads

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes#13312

The defect, and the measurement that chose the route

dispatch-gates --residue printed three literals in check:query-options-erasure's names: line that name files which have never existed in this tree, verbatim, with no dead annotation — the annotator only spoke when a WHOLE family was unreachable, so one live baseline walked its dead siblings past every reader unlabelled.

The card declared its scope unmeasured and listed three routes (extractor / annotator / gate-rename) without deciding. Per the dispatch ruling I re-derived the population across ALL families first, on this branch's base 5f0a9c4ad:

readingbeforeafter (this PR, head a3d95518)
families discovered187187
families declaring a population151149 (2 moved to honest undetermined)
reachable families carrying dead literals6549
dead literals riding unannotated in reachable families5980 (245 remain, every one marked and counted)
fully-dead families (annotated before and after)31

Shape split of the 598: 353 were @-scoped package specifiers (@objectstack/spec, @fx/canary, @typescript-eslint/parser, @/lib/i18n) — the widest single species, exactly the one the third-instance comment on the card measured. 245 are path-shaped fixture names, owner/repo slugs, action specs and drifted doc examples — no closed shape can refuse those, so they are annotated instead of removed.

The measurement picked the route: gate-rename was dead on arrival (it fixes 3 of 598), and the numbers chose one narrow extractor refusal plus the unconditional annotator.

What changed (one file: scripts/pm/dispatch-gates.mjs)

  1. Annotator (unconditional per triage).deadHintSweep is the existing reachability sweep at per-hint grain; unreachableFamilies now reads its answer off it (one sweep, two grains, no disagreement — pinned). Under --residue, a dead literal is marked where shown and counted where not:
- pnpm check:query-options-erasure [lint.yml] names: scripts/query-options-erasure-baseline.json, scripts/__closure_fixture_gate__.mjs X, scripts/__closure_fixture_helper__.mjs X, ...
3 of 8 declared literal(s) reach nothing tracked (marked X where shown) - dead leads, not population: ...

(The live output uses the ballot-X mark; spelled as X here to keep this body free of markup-sensitive characters.) Display only — no verdict moves; matched/undetermined/silent and the unreachable listing are byte-compatible except for the new marks and notes.

  1. Extractor: isNonPathNamespace gains a third closed shape. A first segment beginning with @ is a scope marker, not a directory — npm grammar, not a heuristic. Zero tracked paths have an @-headed first segment (measured at 5f0a9c4ad), so all 353 refused literals were dead: no live hint moves, no card's verdict moves. The two families whose ENTIRE population was a package-name ledger (check:driver-memory-census, check-test-completeness.mjs — the third-instance comment's table) leave the unreachable listing for undetermined, the bucket that predicate's docblock calls strictly more honest. check:stall-guard-headroom's owner/repo slug is NOT refusable by shape (two bare words are what a path looks like — pinned in that direction) and is now annotated instead.

Zone 2 hypothesis: falsified, with numbers

The PM's hypothesis was that the extractor should stop scraping self-test fixture constants because "a fixture-name constant is not a declaration in any sense." I prototyped exactly that (mask module-scope constants whose identifier is referenced only inside self-test bodies, iterated to a fixed point) and measured it: 96 hints removed — 10 dead, 86 LIVE. The live removals include packages/** and skills/** subtree declarations, whole published-files rosters, and baseline artifacts — because this repo's sanctioned declaration idiom (ROOT_DIR_WATCH_HINTS: a module-scope constant that exists FOR the scanner, referenced only by the self-test that pins it) is structurally indistinguishable from a fixture constant. Reference analysis deletes 8.6 real populations per fabrication removed. In this codebase a scanner-facing constant IS a declaration, so the premise fails and that route is refused. The fixture-name class stays in the hint sets and is now annotated.

The three non-empty delivery controls (from triage)

  1. A real hint still prints unmarked: scripts/query-options-erasure-baseline.json leads the family's names: line above; pinned as ...and leaves the real hint beside it unmarked.
  2. A planted dead literal in a reachable family IS annotated: pinned — scripts/__planted_never_existed__.mjs planted beside a live hint is swept, marked in the names fragment, and counted 1 of 2 with its reason in the note.
  3. Population numbers: table above; 65 of 151 declaring families carried 598 unannotated dead literals, after the fix 0 unannotated (353 refused at extraction, 245 annotated).

Verification (all at head a3d95518, exit codes captured before any pipe)

  • pnpm check:pm-dispatch-gates — verdict line: dispatch-gates self-test: 944 cases pass. (includes the ~30 new pins; one pre-existing pin's specimen-finder needed a third exclusion — the job-filter key, #12956's channel — because thinning the inherited pairs made its .find land on a job-filtered family first; the pin's claim is unchanged)
  • node scripts/pm/bare-root-worklist.mjs --self-testOK self-test: 51 live row(s), 43 unreachable as spelled, 43 recorded verdict(s) - none stale, none missing, none contradicted.
  • node scripts/check-self-test-wired.mjsevery one of the 151 script(s) CI runs that ship a --self-test has that self-test run by CI.
  • Derived gate union re-run on the final head (dispatch-gates no-path mode, banner names commit a3d95518): check:agent-test-spelling, check:bash32-floor, check:cli-command-ids, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pm-dispatch-gates, check:pnpm-filter-targets, check:watch-hint-literal, check-ci-filter-parity, check-self-test-wired, plus check:nul-bytesall exit 0, each verdict read from the gate's own judgment line.
  • NOT run locally (declared narrowing): check-shard-attestation.mjs, check-test-completeness.mjs, check-cross-package-test-inputs.mjs in their ci.yml forms — they read CI run artifacts (test logs) that do not exist locally; CI runs them on this PR.

Out of scope, surfaced by the new annotation (handed to the PM, dedup channel degraded)

  • hintCovers does not follow a final-segment basename glob: .changeset/*.md covers zero tracked files while the tree holds ~400 matching changesets, so several changeset gates' hints measure dead and the reason renderer calls it layout moved, which is false. Verdict-moving to fix; not this card.
  • check:doc-anchors carries the fabricated hint scripts/scripts/check-doc-anchors.mjs: line 459 of that gate spells ./scripts/check-doc-anchors.mjs inside a remedy-message string meant to run from the repo root, and the module-relative resolve doubles the prefix. Now annotated; the spelling fix belongs to that gate.

This PR is skip-changeset: the whole diff is scripts/pm/dispatch-gates.mjs, internal PM tooling — nothing is published from a package.

Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC

🤖 Generated with Claude Code

Generated by Claude Code


Generated by Claude Code

…fuse @-scoped specifiers as paths
Three of the five hints --residue showed for check:query-options-erasure
named files that have never existed, printed verbatim: the annotator only
spoke when a WHOLE family was unreachable, so one live baseline walked its
dead siblings past every reader unlabelled. Measured across all families
before choosing the route: 65 of 151 declaring families carried 598 such
literals, 353 of them @-scoped package specifiers.
- deadHintSweep: the reachability sweep at per-hint grain; the unreachable
listing and the new residue annotations read one sweep, two grains.
- residueNames / deadNamesNote: dead literals are marked where shown and
counted with reasons where not.
- isNonPathNamespace: an @-headed first segment (npm scope, version-suffixed
specifier, bundler alias) is a namespace, not a path — 353 dead hints
refused at extraction, zero tracked paths start with @, no live hint moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pk26oZ12t5N1hwGW1m1MgC
@claudeclaudeBot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 30, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 30, 2026 12:43
@os-project-manager
os-project-manager added this pull request to the merge queueAug 30, 2026
Merged via the queue into main with commit 7927f4cAug 30, 2026
34 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-13312-residue-fabricated-leads branch August 30, 2026 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/mskip-changesetPR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-project-manager@claude