Skip to content

pm(dispatch-gates): --commands does not derive the self-test of a script that imports a changed scripts/pm module #33848

Closed

Description

@objectstack-fleet

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Filing gate: ① (a gate-derivation defect measured on PR #33804, record 6893545108).

On PR #33804's first head (two files: scripts/pm/check-governed-queue-guard.mjs, scripts/pm/check-governed-merges.mjs), node scripts/pm/dispatch-gates.mjs --commands derived 35 gates and did NOT derive check:pm-fleet-write-execute, although scripts/pm/fleet-write/execute.mjs imports readWorkflowDiff from a changed file and its self-test fakes that function's git calls. The developer's "35 of 35 exit 0" coexisted with a red Lint · repo & tooling gates on the head (2 of 415 executor cases). Once the PR also touched execute.mjs, 42 gates were derived, that one among them.

What lands

scripts/pm/dispatch-gates.mjs and its self-test; skip-changeset; Clause-②: no. Ungoverned. Grading is triage's.

Activity

  1. added
    tooling
    finding
    domain:skills
    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 · p2 · 2026-11-15T13:06Z

    ⛔ Not a claim.

    dispatch-gates --commands does not derive the self-test (pm tooling). p2.

  3. added
    pm:queue
    priority:p2
    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-8x8llj
    Thread session: session_01ADHkmRtrFmEsp5pAjTBpMT
    Worktree: objectstack-issue-33848
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: scripts/pm/dispatch-gates.mjs, scripts/pm/dispatch-gates.self-test.mjs (stop on breach; explain in the report)
    Container & model: M, mode:thread, model TIER_DEFAULT, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling, not a defect in a product package
    Thread-read: 6894767153
    Premise: re-measured on main a3aa1d2: --commands over the two governed-merges scripts derives 35 commands, none for fleet-write
    Serial constraints cleared: #33847 merged (PR #33998, a3aa1d2)
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/33848-delta.md (project files). Ruling-ref: the maintainer's 「尽快把 p1 p2 卡处理完」 (project "objectstack skills spec ui", 2026-11-15T14:15Z). Claimed 2026-11-15T16:32Z.

  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_01ADHkmRtrFmEsp5pAjTBpMT
    os-dev-report

    {
      "issue": 33848,
      "status": "done",
      "branch": "claude/project-thread-8x8llj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34080",
      "head": "80bc14b0",
      "session": "session_01ADHkmRtrFmEsp5pAjTBpMT",
      "premise_still_valid": true,
      "summary": "Premise re-measured on a3aa1d29: --commands over the two governed-merges scripts derived 35 commands, no fleet-write. dispatch-gates gains an import-graph key, consulted last in coveringKey: a changed path under scripts/pm/ matches every family whose gate files LOAD it transitively (static import, re-export, side-effect import, literal and new-URL dynamic import; an unreadable import() widens to every relative module literal in that file). Same two paths now derive 62 commands including check:pm-fleet-write-execute/-validate/-dispatch; each added row prints its import chain. Outside scripts/pm/ the #13126 refusal stands. Price: the pm tools form one cycle, so most pm-module edits name about 42 families (24 modules, 1003 pairs).",
      "tests": "node scripts/pm/dispatch-gates.mjs --self-test (both tiers) on 80bc14b0: 2528 cases pass, lock VERDICT command-exit 0 (same 2528 on e6452d31 pre-merge). 8 new fast-tier rows: fixture edge-reader rows (4), transitive row (gate -> a -> b, chain printed), scope row (outside scripts/pm/ no key), replay row (PR #33804 first file list -> pnpm check:pm-fleet-write-execute via import graph), validator+dispatcher row. Forced edits, named in the PR body: the #13126 witness row now asserts the import-graph key names bare-root-worklist; the read-key additivity row also strips importReach so it compares against keys consulted before it (was 7 false re-attributions). Ablation on e6452d31 via ablation-replace.mjs (anchor 1->0, blob 7d65b7fe4962->09197c9f6da0): import-graph branch disabled -> VERDICT command-exit 1, exactly the 4 key rows red (witness, transitive, replay, validator/dispatcher); restored blob == HEAD, git diff HEAD empty.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 80bc14b0 (main merged): 62 commands, 61 exit 0, 1 exit 3 (pnpm check:i18n-coverage: self-test half passed, scan half PREREQUISITE NOT MET, CLI build closure not built; declared to CI). --ran: 62 derived, 61 run, 1 NOT-MEASURED (derived from recorded exit 3), 0 UNRUN, exit 0. Same result on e6452d31 before the merge. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "files_changed": ["scripts/pm/dispatch-gates.mjs", "scripts/pm/dispatch-gates.self-test.mjs"],
      "line_budget": "n/a — no ratcheted surface touched; +347 / -7",
      "deviations": [
        "os-dev.md says scripts are not ablated; the delta orders one ablation, done on disk as the #33847 precedent did (one-off proof, no permanent mutation file).",
        "Ablation ran on e6452d31; origin/main was merged afterwards (80bc14b0, no overlap with the two files) and the full battery plus the derived gates were re-run on the merged head.",
        "pnpm check:i18n-coverage scan half NOT MEASURED locally (exit 3, build closure not built); its self-test half, the only part that loads the engine, passed."
      ],
      "mcp_calls": "4 — mcp__github__issue_read get, mcp__github__issue_read get_comments x2, mcp__github__pull_request_read get (all reads)",
      "api_writes": "2 — fleet-write relay pr_create (run 43744107346, read-back 13474 bytes sent == stored, label skip-changeset, assignee os-steve); this os-dev-report comment via post-stamped.mjs",
      "open_questions": [
        {
          "question": "The pm tools close into one load cycle, so an edit to most scripts/pm modules now derives about 62 commands (was about 30). Keep the full transitive key, or cut it?",
          "options": ["A keep it transitive as ordered: every row is a real load chain and prints it", "B one level only: misses importer-of-importer chains such as validate.mjs -> check-governed-merges.mjs -> check-governed-queue-guard.mjs", "C a fan-in cap: the volume rule the #13126 docblock says has no provenance"],
          "recommendation": "A, because the delta requires failing toward deriving more and every added row is a real import chain that prints its path"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none (under-declared gate population) · check:adr-anchors declares 5 hints (docs/adr, scripts/adr-anchors, its own script, two CHANGELOG.md files) and no whole-tree marker, while its scan reads the whole tree's text; that is why a fixture string in check-governed-merges.mjs reddened it on PR #33975 while --commands did not derive it · carrier: none · noted in the PR's Acceptance notes · dedupe words: adr-anchors whole-tree population dispatch-gates"
      ]
    }

    Stamped 2026-11-15T18:00Z.


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 33848,
      "status": "done",
      "branch": "claude/project-thread-8x8llj",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34080",
      "head": "b8685e50",
      "session": "session_01ADHkmRtrFmEsp5pAjTBpMT",
      "premise_still_valid": true,
      "summary": "Round 2 for review FAIL 6898932707. M1: an unreadable import() now also takes the code-position module literals spelled from the repo root under scripts/ (the dispatcher self-test's sender roster via pathToFileURL(join(REPO_ROOT, sender)), check-dispatch-gates' import(resolve(ROOT, TOOL))); live row pins scripts/pm/issue-create.mjs -> check:pm-fleet-write-dispatch. S2: measured before/after wall clock written into the derivationInputs docblock and the body (discovery 16.6/14.8 s -> 17.2/17.0 s; whole --commands 36.0/37.0 s -> 38.0/35.7 s, quiet box). Nit: a self-test row prints the price (28 pm modules, 1195 pairs, clause2-line.mjs names 53 families). S1 and adr-anchors carried by #34084 and #34086 in the new body.",
      "tests": "node scripts/pm/dispatch-gates.mjs --self-test (both tiers) on b8685e50: 2530 cases pass, lock VERDICT command-exit 0 (round 1: 2528 on 80bc14b0). Round-2 rows: root-spelled roster row (live), price row; fixture widen row and its CONTROL now cover the root spelling. Ablation round 2 via ablation-replace.mjs (anchor 1->0, blob 8e00e6752a69->fcd7324b7a64): root-spelled admission skipped -> VERDICT command-exit 1, exactly 2 of 2215 fast rows red (fixture widen row, sender row); restored blob == HEAD, git diff HEAD empty. Round-1 ablation (4 key rows) stands.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on b8685e50: 62 commands (same list as round 1), 61 exit 0, 1 exit 3 (pnpm check:i18n-coverage scan half PREREQUISITE NOT MET; self-test half passed). --ran: 62 derived, 61 run, 1 NOT-MEASURED, 0 UNRUN, exit 0.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "files_changed": [
        "scripts/pm/dispatch-gates.mjs",
        "scripts/pm/dispatch-gates.self-test.mjs"
      ],
      "line_budget": "n/a — no ratcheted surface touched; +347 / -7",
      "deviations": [
        "os-dev.md says scripts are not ablated; the delta orders one ablation, done on disk as the #33847 precedent did (one-off proof, no permanent mutation file).",
        "Ablation ran on e6452d31; origin/main was merged afterwards (80bc14b0, no overlap with the two files) and the full battery plus the derived gates were re-run on the merged head.",
        "pnpm check:i18n-coverage scan half NOT MEASURED locally (exit 3, build closure not built); its self-test half, the only part that loads the engine, passed.",
        "Round-2 PR body is NOT patched by this thread: os-dev.md rule 3 says a dev writes the PR body only at pr_create; the full replacement body is at /mnt/project-files/skills-seat/34080-body-r2.md for the seat to send."
      ],
      "mcp_calls": "4 — unchanged since round 1 (all reads)",
      "api_writes": "3 — round 1: pr_create, os-dev-report; round 2: this os-dev-report comment",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "S1 (spawned children's import closure not walked) · carrier: #34084",
        "check:adr-anchors population under-declared · carrier: #34086"
      ]
    }

    Stamped 2026-11-15T18:47Z.


    Generated by Claude Code

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Landed: PR #34080 MERGED at e9b44aba6b7f24400eed2a49927d7efdb246b0ee (merge queue).

    读数 值
    PR #34080 merged_at / merge commit 2026-11-15T22:33Z / e9b44aba6b7f24400eed2a49927d7efdb246b0ee
    本卡状态 closed · completed(Fixes #33848 代关)

    状态变更:摘 pm:dispatched;卡已由 Fixes 关,无剩余物;复核范围外事项由 #34084(子脚本起点)与 #34086(已由 PR #34114 承接)接。Recorded 2026-11-15T22:33Z.

  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:p2tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions