Skip to content

pm(dispatch-gates): the import-graph reach does not start from child scripts a gate spawns #34084

Closed as not planned

Description

@objectstack-fleet

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Filing gate: ① a follow-up owed by work in flight: should-fix S1 of the at-tier contract review 6898932707 on PR #34080 (card #33848), outside that card's acceptance. ⛔ Not a claim.

维护者速读

  • 现象: dispatch-gates --commands 现在会沿反向 import 图找出改动模块的所有导入者,但起点只取每个门禁族声明的 entry.files。门禁脚本用 spawnSync('node', [path]) 起的子脚本,其 import 闭包没有走到;改了子脚本才会加载的模块,对应门禁可能不被派生。
  • 要做的: 把门禁 self-test 里显式起的子脚本(字面量路径)也作为起点走 import 闭包;读不出的路径按“多派生”处理。
  • 受管文件: 否(scripts/pm/**)。

What is wrong

PR #34080 seeds the import-graph reach from entry.files only. A gate that spawns a child script (spawnSync('node', [path]), execFileSync(process.execPath, [path])) runs that child's import closure too, but the walk never starts from the child. The run key does not cover it for self-test families. The review measured no live miss (check:pm-dispatch-gates was derived on the replay), so this is a latent gap.

What lands

  1. A literal child-script path spawned by a gate's files is a seed of the reach; a computed path widens toward deriving more.
  2. One fixture row (a gate that spawns a child whose import changes) and one ablation.

scripts/pm/dispatch-gates.mjs, scripts/pm/dispatch-gates.self-test.mjs; skip-changeset; Clause-②: no. Serial after PR #34080 and the held #34002 (same file). Dedupe: is:issue dispatch-gates spawned child → none. New.

Activity

  1. added
    tooling
    pm:queue
    finding
    domain:skills
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Scope addition (2026-11-15T20:02Z), same file and same seat: the contract review of PR #34114 (card #34086) graded S1 should-fix with no carrier on that PR, and this card already owns scripts/pm/dispatch-gates.mjs.

    • S1 of the fix(pm): check:adr-anchors declares its whole-tree citation scan, so dispatch-gates derives it for every card #34114 review: REPO_ROOT_WALK_SPELLINGS limb D (the execFile-form git grep) also admits a git grep narrowed by a pathspec. Across the tree it matches 10 non-fixture files that way (ui/scripts/measure-strict-authoring-face.mjs:876 and nine test files); none carries the whole-tree-population marker, so nothing is falsely declared today. Refuse an argv carrying a '--' pathspec separator (or otherwise a narrowed grep), and pin it with a fixture case. A false claim would only derive more, so this is a tightening, not a hole.
  3. 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-34084
    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: opus (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — PM tooling, not a defect in a product package
    Thread-read: 6900465160
    Premise: the reach seeds from entry.files only (PR #34080); limb D (PR #34114) admits a pathspec-narrowed git grep
    Serial constraints cleared: PRs #34080 and #34114 (both in the merge queue; the branch restarts from main after both merge); #34002 closed not planned
    Order: standard order /mnt/project-files/skills-seat/standard-order.md + delta /mnt/project-files/skills-seat/34084-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-15T20:06Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

    Claim released (2026-11-15T21:57Z): the maintainer stood the skills lane down at 2026-11-15T21:52Z (「skills 当前任务处理完,合并后就下班」). This card was claimed but no work had started (it was waiting for its predecessor PR to merge), so it goes back to pm:queue unassigned for a later seat. The card delta at /mnt/project-files/skills-seat/34084-delta.md stays valid as a starting order.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Closed 2026-11-22T06:44Z as not planned. The import-graph reach missing spawned child scripts only means a local dispatch-gates --commands run can derive fewer families; CI still runs the full gate set before merge, so nothing reaches main unchecked. Reopen if a red lands on main that the derivation should have caught.

    Ruling: the maintainer (Steedos), 2026-11-22T06:42Z, verbatim 「同意」, on seat 7's close list for the queued area:fleet cards (p3 work with no user effect is closed, per the 2026-11-15 standard 「用户无感的 p3 直接关」).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetdomain:skillsfindingpriority:p3tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions