Skip to content

check:adr-anchors declares 5 path hints but scans the whole tree, so dispatch-gates under-derives it #34086

Closed

Description

@objectstack-fleet

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Filing gate: ① a follow-up owed by work in flight: an out-of-scope note on PR #34080 (card #33848, os-dev-report 6898826924), escalated by the at-tier review 6898932707 with no carrier. ⛔ Not a claim. Grading and lane are triage's.

维护者速读

  • 现象: check:adr-anchors 声明了 5 条路径提示,但实际扫描整棵树。门禁派生工具按声明判断“改哪些文件要跑它”,所以别处的改动(例如 PR pm: the low-risk arm lands an add-only ADR note as Tier S; any other ADR change stays H #33975 里 check-governed-merges.mjs 的一条夹具字符串)会让它在 CI 变红,而本地派生清单里没有它。
  • 要做的: 让它的声明和实际读的范围一致:要么把扫描范围收窄到声明的路径,要么把它登记为全树(WIDE)族,让派生工具对任何改动都派它。

Facts

What lands

The family's declared population matches what it reads: either a narrowed scan, or a WIDE-population declaration that dispatch-gates already knows how to read. A self-test or census row pins it.

Dedupe: is:issue adr-anchors → no card on this. New.

Activity

  1. added
    tooling
    finding
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p3 · 2026-11-15T18:50Z

    ⛔ Not a claim.

    check:adr-anchors declares 5 path hints but scans the whole tree, so dispatch-gates does not derive it for edits elsewhere, and a PR meets it red in CI instead of locally. Seat time is lost, with no product effect, so p3. It belongs to the skills#1 tooling family.

  3. added
    domain:skills
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Claim: PM loop round 1
    Session: session_01ADHkmPd7uRqHauEehGPr19
    Account: os-steve
    Branch: claude/project-thread-g15lbf
    Thread session: session_01ADHkmT9YphoBfbtPDaBJrs
    Worktree: objectstack-issue-34086
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: scripts/check-adr-anchors.mjs and its self-test (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling, not a defect in a product package
    Thread-read: 6899480452
    Premise: package.json runs check-adr-anchors --self-test then the whole-tree scan; on PR #33975 a fixture string in check-governed-merges.mjs reddened it while --commands did not derive it.
    Serial constraints cleared: none: no in-flight card touches check-adr-anchors.mjs; dispatch-gates.mjs (PR #34080 in queue) is out of surface.
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/34086-delta.md (project files). Ruling-ref: the maintainer's 「skills ui 车道开放 p3 卡」 (project "objectstack skills spec ui", 2026-11-15T17:13Z); p1/p2 stay first, this p3 fills a slot no p1/p2 card can take (each waits on a same-file PR). Claimed 2026-11-15T19:09Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Claim amendment (2026-11-15T19:15Z) to claim 6899732043 · Branch claude/project-thread-g15lbf unchanged.

    File surface adds scripts/pm/dispatch-gates.mjs and scripts/pm/dispatch-gates.self-test.mjs, append-only:

    1. One new entry at the end of REPO_ROOT_WALK_SPELLINGS: a git grep over the tracked corpus, matched only in the execFile form ('git', ['grep'). Indexes 0–2 are unchanged. Measured by the card thread on main 895783a1: on the tree it matches scripts/check-adr-anchors.mjs only, and the bare spawnSync('grep' in check-skill-compatibility-version does not match.
    2. Two self-test cases beside the existing spelling cases: one where the git grep spelling is recognised and one where it is not.

    Why: the root fix is the existing whole-tree-population marker on check:adr-anchors (the grammar 8 families already use; no new syntax), and dispatch-gates refuses that marker unless the gate's own source carries a recognised repo-root walk. Its refusal text says to extend REPO_ROOT_WALK_SPELLINGS with a self-test case. Rewriting the scan to ls-files just to satisfy the pattern would route around that refusal, so it is not taken. WIDE-population was rejected because it drops the family from --commands, which is the opposite of the acceptance.

    Serial: PR #34080 (in the merge queue) and card #34084 also edit dispatch-gates.mjs, in other regions. Whoever lands later resolves the conflict. Fixes #34086 stands.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmT9YphoBfbtPDaBJrs
    os-dev-report

    {
      "issue": 34086,
      "status": "done",
      "branch": "claude/project-thread-g15lbf",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34114",
      "head_sha": "a6876cc8848156e3fcaae109b90417402ef8d6d2",
      "session": "session_01ADHkmT9YphoBfbtPDaBJrs",
      "premise_still_valid": true,
      "summary": "check-adr-anchors' citation scan is `git grep --untracked` with no pathspec (the whole tree, on purpose per #6634), while its source spelled 4 path literals, so dispatch-gates scored it silent outside them. The gate now carries the existing whole-tree-population marker, with a live self-test case holding marker and scan together in both directions. dispatch-gates refused that marker because `git grep` was not a recognised repo-root walk, so REPO_ROOT_WALK_SPELLINGS gains an appended limb D (execFile shape only) with two fixture cases; this surface breach was declared to the seat before the edit and approved. WIDE-population was rejected because it keeps the family out of --commands.",
      "tests": "node scripts/check-adr-anchors.mjs --self-test: 134 assertions pass. node scripts/pm/dispatch-gates.mjs --self-test (both tiers) under os-verify-lock: 2522 cases pass, VERDICT command-exit 0 (1275s). Acceptance on a6876cc8: --commands scripts/pm/check-governed-merges.mjs prints 34 lines incl. pnpm check:adr-anchors (base f81e4b6c: 33 lines, 0). No ablation (script/gate change, os-dev.md exempts).",
      "gates": "local subset on a6876cc8: --commands --repo objectstack-ai/objectstack derived 33; all 33 exit 0 (captured before any pipe); --ran: 33 derived, 33 run, 0 NOT-MEASURED, 0 UNRUN. CI check-runs: in_progress at report time (not waited on).",
      "governed_tier": "node scripts/pm/check-governed-merges.mjs --pr 34114: 0 of 3 paths hit the register, NOT governed; size +59/-4 = 63 lines, under 3000.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "files_changed": [
        "scripts/check-adr-anchors.mjs",
        "scripts/pm/dispatch-gates.mjs",
        "scripts/pm/dispatch-gates.self-test.mjs"
      ],
      "line_budget": "no ratchet applies (no .claude/skills/pm-dispatch or skills/** file touched); +59/-4",
      "deviations": [
        "File surface breach: scripts/pm/dispatch-gates.mjs + dispatch-gates.self-test.mjs, declared to the seat before editing and approved there; append-only (limb D after limbs 0-2)."
      ],
      "mcp_calls": "3 — mcp__github__issue_read (get_comments #34086), mcp__github__pull_request_read (get #34080), mcp__github__pull_request_read (get #34114); no write tools",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, labels skip-changeset, assignees os-steve, read-back 6951/6951 bytes identical); this os-dev-report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/34086/comments)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none — serial note only: PR #34080 and card #34084 also edit scripts/pm/dispatch-gates.mjs in other regions; the second to land resolves"
      ]
    }

    Stamped 2026-11-15T19:55Z.

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Landed: PR #34114 MERGED at d2b6232b63203ec99caab5c20e4d64d837f829ce (merge queue).

    读数 值
    PR #34114 merged_at / merge commit 2026-11-15T22:37Z / d2b6232b63203ec99caab5c20e4d64d837f829ce
    本卡状态 closed · completed(Fixes #34086 代关)

    状态变更:摘 pm:dispatched;卡已由 Fixes 关,无剩余物;复核 S1 并入 #34084。Recorded 2026-11-15T23:11Z.

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

Metadata

Metadata

Assignees

Labels

domain:skillsfindingpriority:p3tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions