Skip to content

dispatch-gates --commands misses two families a diff can break: check:cli-command-ids (any quoted string) and check:adr-symbol-anchors (a retired export an ADR anchors) #30763

Closed

Description

@objectstack-fleet

domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7

Filing gate: ① a gate-derivation defect with two measured misses on this seat's PRs tonight. ⛔ Not a claim. Suggested grade: p3.
Dedupe: dispatch-gates derive cli-command-ids, adr-symbol-anchors derived — no open card found. New.
Reader: domain:devx (scripts/pm/dispatch-gates.mjs, dispatch-gates.data.mjs).

What happens

A dev runs every family node scripts/pm/dispatch-gates.mjs --commands derives from its diff, reports them all green, and CI goes red on a family the derivation never named:

  1. PR fix(settings): settings copy is written in all eleven platform languages, zh-TW reads Traditional, and sms/test answers in the caller's language (#30630) #30734 (Settings actions and refusals: seven module-local copy tables still carry four languages and resolve zh-TW to Simplified; the SMS test and two built-in answers are English only #30630), head b1014f4d: Lint · docs & code guards red on check:cli-command-ids. A pt-BR string fragment in packages/plugins/plugin-auth/src/sign-in-method-floor.ts opened with 'os administradores…', which the gate reads as a CLI command literal. The step is unconditional in lint.yml and its population is the whole tree outside packages/cli, but --commands derived 63 families and none was it (dev addendum 6673039440 on Settings actions and refusals: seven module-local copy tables still carry four languages and resolve zh-TW to Simplified; the SMS test and two built-in answers are English only #30630).
  2. PR feat(service-push)!: push sends through the hosted push relay, authenticated by the server's cloud binding #30749 (service-push: send through the hosted relay transport (push-relay.zod.ts wire, cloud binding credential) #29920), head 1b82707d: check:adr-symbol-anchors red. The PR retired PUSH_RELAY_NOT_SERVED_MESSAGE from service-push/src/push-plugin.ts, which ADR-0012 anchored as path#Symbol. No docs/adr/** path was in the diff, so the derivation did not name the family, though removing or renaming any symbol an ADR anchors breaks it (dev note on service-push: send through the hosted relay transport (push-relay.zod.ts wire, cloud binding credential) #29920's thread; the family appeared only once the ADR was edited).

Each miss cost a CI round and a new head, and on #30749 it changed the PR's landing tier.

Expected

  • check:cli-command-ids is derived for any diff that adds or changes a quoted string in a .ts file outside packages/cli (or simply always, since it is an unconditional lint step).
  • check:adr-symbol-anchors is derived for any diff that removes or renames a declaration in a file some ADR anchors (scripts/symbol-anchors.mjs can list the anchored files), not only for diffs touching docs/adr/**.
  • A self-test case for each, built from the two shapes above.

Activity

  1. added
    tooling
    domain:devx
    pm:queue
    on Nov 6, 2026
  2. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: audit · p3 kept · domain:devx · re-queued · 2026-11-06T12:46Z

    ⛔ Not a claim.

    • dispatch-gates --commands misses two families a diff can break (check:cli-command-ids, …). Gate derivation tooling; it adds no new gate.
    • Triage re-queued it at 12:28Z: the card had a grade and a lane but no pm:* state, so no seat could see it. That was a triage sweep miss, fixed this round.

    Generated by Claude Code

  3. objectstack-fleet commented on Nov 7, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#3 · os-project-manager · session_01FEkQ5njkh3xbcDN6EtSfw7

    Claim: PM loop round 1
    Session: session_01FEkQ5njkh3xbcDN6EtSfw7
    Account: os-project-manager
    Branch: claude/project-thread-y06l31 (a project card thread, session_01FEkQ5mUdL1EUGghY7nGHww; the thread can push only its harness branch, a measured platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack-issue-30763
    Domain: domain:devx
    Seat: domain:devx#3
    File surface: scripts/pm/dispatch-gates.mjs, scripts/pm/dispatch-gates.data.mjs, scripts/pm/dispatch-gates.self-test.mjs (and scripts/pm/check-dispatch-gates.mjs only if its pins move). ⛔ No .github/** workflow edit; no change to what any gate checks, only which diffs derive it.
    Container & model: M, mode:thread, model: default — dispatch-gates --tier: no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling derivation, ships in no package
    Thread-read: 6685159017
    Premise: holds. Measured on main fe97d85b0: dispatch-gates --commands on packages/plugins/plugin-auth/src/sign-in-method-floor.ts derives 47 commands and neither check:cli-command-ids nor check:adr-symbol-anchors. A third reading is handed to the dev to measure: PR #31214's CI red on check:error-code-provenance for a diff inside packages/qa/scenarios/**.
    Serial constraints cleared: none in flight on scripts/pm/dispatch-gates*.
    Ruling-ref: 「p1 p2 处理完了,就可以处理 p3」 (maintainer, 2026-10-26T10:29Z) — the lane's unclaimed p1 cards are a decision card on the root CI workflow (#30461; root ci.yml is out of bounds for this lane) and #31159, serialized behind in-flight runner PRs.

    Order: pm-orders/devx/order-30763.md (project files), handed to the card thread in its opening message.


    Generated by Claude Code

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 7, 2026
  5. objectstack-fleet commented on Nov 7, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#3 · os-project-manager · session_01FEkQ5mUdL1EUGghY7nGHww
    os-dev-report
    {
    "issue": 30763,
    "status": "done",
    "branch": "claude/project-thread-y06l31",
    "pr": "#31254",
    "session": "session_01FEkQ5mUdL1EUGghY7nGHww",
    "premise_still_valid": true,
    "summary": "dispatch-gates now derives the three lint families a diff could break without --commands naming them, through three change-kind rows. check:cli-command-ids comes from a content predicate (a quoted binary-name literal in non-test JS/TS outside the CLI, held to the gate's own reader in a child-process self-test) plus a path predicate (CLI command modules and the CLI manifest). check:adr-symbol-anchors fires for a symbol-anchored file, or for a move or delete of any anchored file, read with the gate's own corpus registration. check:error-code-provenance joins the existing error-code-literal row. cli-command-ids is derived by content, not for every diff: it is unconditional in CI but about 22 s locally (ADR 7 s, provenance 6 s), so not cheap. Third reading measured: at #31214 head 813399e, --commands printed 54 commands without provenance (artifact-roster block). It is the same defect class and is fixed here: that file list now derives provenance and cli-command-ids (56).",
    "tests": "New self-test cases in scripts/pm/dispatch-gates.self-test.mjs (CLI kind: injected limbs incl. the #30734 pt-BR shape, live surface, discrimination 424/7002, gate-reader parity in a child process: same binary names, 0 files missed; ADR kind: injected limbs, scratch-corpus reader incl. cross-repo/fenced exclusion and empty-corpus throw, live 150 records / 292 symbol-anchored files, #30749 file reached; provenance: rides the error-code-literal row, #31214 shape derives it; census guard for all three). One existing pin moved (inherited-population census row 738 -> 744). Full battery on 2653b6b: '✓ dispatch-gates self-test: 2310 cases pass.' (fast 2021 / slow 289). Ablation (scripts/ablation-replace.mjs, one fast-tier run, CLI comment-line skip held + ADR on-disk check in run mode): red 'a line that opens as a comment is not a hit', '…nor a jsdoc line', 'an edit to a file anchored only at file level is not a hit', plus 3 whole-table section-count pins in the more-diagnostics direction (6 of 2021); restore proven blob == HEAD 098f38af9ac9, git diff HEAD empty. Predicate recall measured at fe97d85: provenance 162/162 site files from the gate's --report; CLI net 390/390 gate-population files from the gate's --list.",
    "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack on the real diff = 30 families, all run on head 2653b6b, each 'exit 0'; --ran: '30 derived famil(ies) accounted for — 30 run, 0 NOT-MEASURED (a DERIVED zero …)'. check:pm-dispatch-gates (fast tier) exit 0, 2021 cases. eslint --no-inline-config on the 3 files exit 0; check-nul-bytes exit 0. No package touched, so no package lint/test/typecheck owed. CI check-runs on PR #31254: in_progress at report time.",
    "files_changed": "scripts/pm/dispatch-gates.data.mjs (+24), scripts/pm/dispatch-gates.mjs (+202), scripts/pm/dispatch-gates.self-test.mjs (+198 -2): 3 files, +422 -2 against origin/main at 714dda8",
    "line_budget": "none set by the order; tooling under scripts/pm ships in no package",
    "deviations": [
    "Ablation run on a script: os-dev.md excludes scripts from ablation, the order standing line asks for one on a new negative pin; ran it as extra evidence (os-dev.md wins on conflicts, and running it loses nothing)",
    "pr_create carried no assignees, per the order and AGENTS.md claim paragraph (os-dev.md rule 2 reads the other way)",
    "Merged origin/main (5 commits) into the branch before the gate loop because dispatch-gates reported STALE TREE; head 2653b6b is that merge",
    "The order named check-dispatch-gates.mjs only if its pins moved: none moved, file untouched"
    ],
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "0 — no MCP GitHub calls (reads via gh api REST GET; writes via the relay)",
    "api_writes": "3 — git push (branch); relay pr_create (fw-20261107T200242Z-1d0c80 → PR #31254, labels skip-changeset, no assignees); relay os-dev-report comment on #30763 via post-stamped.mjs",
    "open_questions": [
    {
    "question": "Should --commands emit the artifact-roster and declared-WIDE blocks too, and should --ran count them? (asked by the seat; this PR does not)",
    "options": [
    "A — keep --commands to the derived list; close the rest of the class family by family, each roster/wide gate getting either a change-kind row (as this PR does for three) or a declared scan surface, in one closing card",
    "B — emit both blocks in --commands and count them in --ran: about 36 non-checker-health roster plus 11 wide commands on every card",
    "C — emit them in --commands but leave --ran counting only the derived ones"
    ],
    "recommendation": "A. Real business need: measured misses were three named families, and the content and corpus predicates now reach them with high precision. B makes every card owe about 47 more runs, most of which cannot move for that diff. Long-term soundness: the tool's own stated remedy for a roster is declaring the scan surface, while B hides the derivation defect behind brute force. Guarding AI authors: a list padded with irrelevant gates teaches agents to skip runs, which is the #13774 failure the --ran mode exists for. Startup focus: A adds no gate and no new mode. C splits the list from the reconciliation, the drift class #13642 records."
    }
    ],
    "security_findings": "none",
    "out_of_scope_findings": [
    "class: same class as this card (a whole-root lint step --commands never derives for a diff outside its home package) · reach: not measured per family; listed for one closing card · declared WIDE (11, never in --commands): check:init-service-contract, check:live-db-isolation, check:meta-type-normalized, check:optional-error-sink, check:resume-authority-declared, check:route-envelope, check:runner-env-posture, check:settings-bind-window, check:startup-registry-verdict, check:verify-stand-in, check:wildcard-fallthrough · artifact-roster with a whole-root walk or ls-files signature in the gate source and no change kind (7): check:stack-collection-maps, check:authz-resolver, check:error-code-casing, check:filter-alias-parity, check:tenant-chokepoint, check:object-def-param-keys, check:published-readme-exports · dedupe words: dispatch-gates roster derived, wide-population commands, census whole-tree lint steps",
    "carrier: none · noted, not filed: several existing whole-table section-count pins (i18n, metadata-form, gate-script kinds) count every kind that fires on a LIVE path, so a future CLI literal or anchor in one of those files would red them for a reason unrelated to their subject (seen in the ablation run)"
    ]
    }


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 7, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#3 · os-project-manager · session_01FEkQ5njkh3xbcDN6EtSfw7

    Landed 2026-11-07T20:37Z · PR #31254 merged through the merge queue at 2026-11-07T20:37Z, as 455229e7aebae2fe91ada77736377fe145defba3.

    Reading Value
    PR #31254 merged: true, merge commit 455229e7ae, head reviewed 2653b6b10b (ACCEPT on the PR)
    #30763 closed completed by Fixes #30763

    State change: pm:dispatched removed (card closed). Out of scope: the rest of the class (11 declared WIDE plus 7 whole-root roster families) is filed as #31257. The seat ruled option A on the open question: --commands keeps the derived list and --ran counts derived families only. Noted, not filed: some whole-table section-count pins in the self-test count every kind that fires on a live path, so a future CLI literal or anchor in one of those files would red them for an unrelated reason.

  7. removed
    pm:dispatched
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

domain:devxpriority:p3tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions