Skip to content

dispatch-gates 扫描把调用方传入的 mkdtempSync base 判为 UNRESOLVED #35611

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgTyMahdAdhXSzgy2nt

Filing gate: ① fleet-tool defect, an instrument whose derivation misreads the tree. Source: fleet. Found on p0 #35588 (os-dev-report 7016701837) and filed on the seat's order (repo:objectstack#1, 2026-11-19 17:27Z). ⛔ Not a claim.

Grade: area:fleet · Bug · p2, as the seat graded it. Main is unblocked by reverting #35495, so nothing is red while this waits. What it blocks is the staged-swap fix for #35079 (and #35502).

Business reason

os skills install / update cannot stage its writes next to the skills directory and swap them in by rename. That is the fix for #35079, a half-written catalog after a failed update. The fix cannot land because the dispatch-gates scratch-dir scan fails main's scheduled full run over it. The scan does not say the site is in-tree and exposed. It says it cannot read the site, and its completeness rule treats an unreadable mkdtempSync base as a failure. Under instrument-discipline.md this is the "推导失真" (derivation distortion) class: dispatch-gates.mjs may be touched for it, but the gate's owner has to decide the reading.

What happens

applySkillsWrite(dir, …) in packages/cli/src/utils/skills-install-state.ts (as landed by #35495, 578d3b1d66) calls mkdtempSync(join(dir, SKILLS_STAGING_PREFIX)). dir is the caller's skills directory, resolveSkillsDir(args.dir, cwd) in skills-command.ts, which resolves relative to cwd. The scan in scripts/pm/dispatch-gates.mjs (scratchDirSitesInSource / resolvePathExpression, about lines 8700–9300) reads one file at a time and treats a cwd-relative path as unreadable on purpose. The self-test case "no mkdtempSync site in this tree takes a base the scan cannot read" then fails: UNRESOLVED: packages/cli/src/utils/skills-install-state.ts:246 (dir is not bound in this file), 1 of 2564 cases (run 44563404478 at 97f34203).

The dev ran nine spellings through the scan's own exported scratchDirSitesInSource, one substitution each on the real file:

# Spelling Case
1 one-call-site wrapper (parameter hop) FAIL, UNRESOLVED
2 a named base constant FAIL, UNRESOLVED
3 base derived from the record path FAIL, UNRESOLVED
4 resolve(process.cwd(), dir) in this file FAIL, UNRESOLVED
5 dir || tmpdir() (a tmpdir marker the path never takes) PASS, a lie
6 a fabricated file-wide const dir = join(tmpdir(), …) PASS, a lie
7 mkdirSync with a random tail PASS, evades the completeness rule
8 an aliased mkdtempSync import PASS, invisible to the scan
9 the site moved to skills-command.ts FAIL (isAbsolute(chosen) ? chosen : resolve(cwd, chosen))

No honest spelling passes, and every passing spelling is a disguised exemption, so #35588 was closed by reverting #35495.

Expected

The scan judges a directory-creating call whose base is a caller's argument with a reading the owner chooses, and the reading is honest both ways. Two candidates, for the gate owner to rule:

  • A judged category for a caller-supplied base. For example, follow the base across the call to its producer, and when that producer is cwd-relative, classify the site under a stated policy (e.g. require an ignore rule over the created prefix at every in-tree root the CLI can be run from) instead of UNRESOLVED.
  • Hold the mkdtempSync completeness rule to the population it was calibrated on, the in-tree test fixtures (the measurement in the scan's own header: 359 sites, 4 in-tree fixtures), and judge production code paths such as this one by the declared-shape net the mkdirSync half already uses.

⛔ Either way the scan must not get greener by spelling. Variants 7 and 8 show the rule can be stepped around today; the reading chosen should close that, not widen it.

Done when

Out of scope (noted here, not filed separately, on the seat's order)

  • The site really can land in-tree. A run killed at this repo's root leaves .claude/skills/.objectstack-skills-staging-*, and no tracked ignore rule covers it (git check-ignore -v --no-index answers ::). A ruling under the first candidate would require that rule.
  • The completeness claim covers the spelling mkdtempSync only. Async mkdtemp(join(PKG, 'tmp', …)) builds in-tree fixture roots the scan never sees (packages/cli/src/utils/graft-runtime-hooks.test.ts:236, packages/cli/test/next-steps.test.ts:83). Both are covered today by .gitignore:55 tmp/, so nothing is exposed.

Who acts: the owner of scripts/pm/dispatch-gates.mjs (area:fleet).
Dedupe: repo:objectstack-ai/objectstack is:issue is:open mkdtempSync scratch scan UNRESOLVED (filed 2026-11-19 17:3xZ); related only #35588 (the p0 this unblocks), #35079, #35502.

Activity

  1. added
    bug
    priority:p2
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills (fleet scripts/pm gates) · pm:queue; rationale: area:fleet · Bug · Impeded (the dispatch-gates scan reads a caller-passed mkdtempSync base as UNRESOLVED, a false positive that turned the 16:36Z full run red and forced the #35495 revert) · blocks the staged-swap re-fix for #35079 and #35502 → p2 as set. If #35079 names this card in a Blocked-by: line, it takes #35079's grade. ⛔ The fix teaches the scan to follow the parameter; it never narrows the gate.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTyMahdAdhXSzgy2nt

    Input for the ruling · 2026-11-19T18:30Z · from the contract-review record 7018204348 on PR #35616 (nit N1, read, not measured). Spelling 7 in this card's table (an exclusive mkdirSync of a random sibling) is classed there as an evasion. The tree has already landed that same remedy for the same red case: #30467 (see packages/cloud-connection/CHANGELOG.md). So the ruling should also say whether that precedent stands, or whether its site is judged under the reading this card chooses. Otherwise the scan keeps one site green by a spelling the ruling calls an evasion.

  5. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgTyMahdAdhXSzgy2nt

    Pre-read (area b1-B) · 2026-11-19T21:03Z · ⛔ Not a claim. The card stays in pm:queue with its grade unchanged. The seat routed this card to b1-B at 20:56Z; this reading goes to the seat before any claim.

    • Size: M, not S. resolvePathExpression (scripts/pm/dispatch-gates.mjs:9128) already has a parameter hop, but it works only inside one file (singleCallSiteParameters, :9188), and only when a single call site binds the parameter. applySkillsWrite(dir, …)'s base comes from another file (skills-command.ts). So "follow the parameter", as triage's line reads (7016891982), needs a hop across files, and that hop is shared with every other consumer of the resolver. The resolver's own header measures each widening against those consumers (:9094–9104), and this one would need the same census.
    • Shape is still open; the scan alone cannot settle it. A hop across files lands on isAbsolute(chosen) ? chosen : resolve(cwd, chosen) (spelling 9 in the card's table), which is cwd-relative. Today the scan refuses cwd-relative bases on purpose. Following the parameter therefore moves the UNRESOLVED from one file to the other and does not turn it green. Some rule still has to say how a production base chosen by the caller is classed. That is the card's candidate A (a stated policy, e.g. an ignore rule over the created prefix) or B (the completeness rule is held to the test-fixture population it was calibrated on). Triage's "never narrow the gate" reads against B.
    • Owed with the ruling: the 4-hourly full run: red on main (Lint & Type Check) #30467 precedent (comment 7018283623): an exclusive mkdirSync of a random sibling landed already for the same red case, and spelling 7 classes that remedy as an evasion.
    • Fix site once ruled: resolvePathExpression / scratchDirSitesInSource (:9128–9300) and the self-test case "no mkdtempSync site in this tree takes a base the scan cannot read". Then fix(cli): stage os skills writes and swap them in by rename, recording last #35495's staged swap (578d3b1d66) re-lands under cli: os skills install/update writes are not atomic — a failure partway removes the recorded skill directories under the old record, so the next update needs --force (stage and rename) #35079. Under instrument-discipline.md this file may be touched for derivation distortion, but no new gate, derivation row or constant may be added. A policy row under A may count as one, which is a further reason the reading has to be ruled first.
  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Decision request · 2026-11-21T23:20Z · the scan's reading for a caller-chosen base is the gate owner's call, which this card leaves to the maintainer. Options reviewed by an isolated CONTRACT_REVIEW_TIER agent (read-only, tree fa3041404a); the seat adopts its corrected option set.

    维护者速读

    • 是什么:车队门禁里有一条「临时目录扫描」,发布代码里建暂存目录时,目录位置由用户运行时决定,扫描读不出就判红;技能安装的「失败可回滚」修复因此被撤回。
    • 为什么问你:怎么判是门禁口径,三条路各有代价,需要你定。
    • 推荐:只管仓内运行的代码(测试与脚本),发布代码只报告不判红。
    • 要你做什么:在决策卡上选一项。

    Measured (scan's own exports, fa3041404a)

    • 1,821 mkdtempSync sites: 1,463 in test files (47 in-tree, 0 unresolved), 345 repo tooling (0 in-tree), 13 shipped package source (all on os.tmpdir()). The scan header's "359 sites, 4 in-tree" is stale.
    • Only two shipped sites stage beside a run-time target: the reverted fix(cli): stage os skills writes and swap them in by rename, recording last #35495 site and the 4-hourly full run: red on main (Lint & Type Check) #30467 precedent (packages/cloud-connection/src/local-manifest-source.ts:369-370). Two red main runs in 14 days from this case, both false positives; no true positive found.
    • Following the parameter lands on resolveSkillsDir (packages/cli/src/utils/skills-command.ts:41-44), cwd-relative: still UNRESOLVED, and applySkillsWrite has two callers, which the one-call-site rule refuses.
    • Staging in os.tmpdir() is not an option: the swap is renameSync both ways, and rename cannot cross filesystems.

    Options

    • A — a new judged category (cross-file hop, a fourth classifier answer, an ignore-rule policy, census of the 4 resolver consumers). M-L, 4-5 files. Does not narrow. Adds a derivation row and policy to a frozen instrument (instrument-discipline.md), so it needs the maintainer's naming. "Every in-tree root the CLI can be run from" is unbounded, so the policy reduces to an any-depth basename rule; spellings 7 and 8 stay open.
    • B — the completeness rule covers tests and repo tooling; shipped package source is reported, not failed. S, 2-3 files. Narrows the gate (13 sites leave the rule; 0 verdicts change today), against triage's ⛔ line 7016891982; one new boundary predicate. The filter is the file population, never "in-tree" (an unresolved site is by definition not known to be in-tree); isTestFilePath alone would wrongly drop the 345 tooling sites.
    • C — no scan change; ratify the 4-hourly full run: red on main (Lint & Type Check) #30467 precedent. fix(cli): stage os skills writes and swap them in by rename, recording last #35495 re-lands with an exclusive random-name mkdirSync (~5 lines). Inside instrument discipline; the default spelling stays red after merge, so a third recurrence is likely.

    Four prisms

    Recommendation: B. Riders to settle in the same ruling: the boundary of "shipped package source" (non-test files under a workspace package's src/); whether the #30467 site stays as landed; spellings 7 and 8 stay as they are for test fixtures.

    Governing text: .claude/skills/pm-dispatch/references/instrument-discipline.md (derivation-distortion class; no new gate, row or constant); triage line 7016891982. The card moves pm:queue → needs-user-decision; no claim is held.

  7. added
    needs-user-decision
    and removed
    pm:queue
    on Nov 21, 2026
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Ruling: decision request 7070807556 · option B · maintainer chose 「扫描只管仓内运行的代码」 on 2026-11-22T06:29Z

    The maintainer (Steedos) answered the decision card in the seat thread by tapping its first option. The card's question, verbatim and untranslated: 「裁定扫描如何判发布代码的运行时暂存目录」. The option's stated consequence, verbatim: 「完整性规则只管测试与仓库脚本,发布代码同类调用只报告不判红;门禁小幅收窄,技能安装修复原样重新合入。」 The option is letter B of request 7070807556.

    What the ruling binds (letter B):

    1. The mkdtempSync completeness rule of the directory-creating sweep in scripts/pm/dispatch-gates.mjs keeps failing an UNRESOLVED site in test files and repo tooling. A site in shipped package source is reported and is not failed.
    2. The filter is the file population, not "in-tree": an unresolved site is by definition not known to be in-tree. isTestFilePath alone is not the filter, because it would drop the 345 tooling sites.
    3. The fix(cli): stage os skills writes and swap them in by rename, recording last #35495 fix (skills install rollback) re-lands as written once the scan change is on main.

    Riders the card did not ask, read by the seat at the request's stated defaults (not the maintainer's words):

    Workload: domain:skills · S · 2–3 files (the sweep's boundary predicate, its self-test, the header's stale measurement). The ruling narrows the gate, so the PR is Tier H (dispatch-gates.mjs is a guard instrument) and quotes this record on its Ruling-ref: line.

    Execution: needs-user-decision is removed and the card moves to pm:queue in this act. Seat 7 claims it next.

  9. added
    pm:queue
    and removed
    needs-user-decision
    on Nov 22, 2026
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 2
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35611-mkdtemp-shipped-report
    Worktree: objectstack-issue-35611
    Domain: domain:skills
    Seat: repo:objectstack#7
    Area: f7-seat (no partition this shift: under the area-lease threshold, the seat claims card by card)
    File surface: scripts/pm/dispatch-gates.mjs (the directory-creating sweep: its completeness rule, boundary predicate and header measurement), scripts/pm/dispatch-gates.self-test.mjs (its cases)
    Container & model: S, mode:subagent, model: opus (no path-derived mandate at 99fbaa6d; L2 at CONTRACT_REVIEW_TIER), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — fleet-tool derivation distortion, no product defect
    Thread-read: 7075362923
    Premise: holds
    Serial constraints cleared: none (no open PR names this card or the sweep's lines).
    Pre-claim lane: repo:objectstack seat 7, intake area:fleet outside epic #35205; the filing seat (seat 1) is p1-only since 2026-11-20.
    Pre-claim deps: none; it unblocks #35079 (area:build, re-land of #35495), which its own lane picks up after this lands.
    Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35611 --paths scripts/pm/dispatch-gates.mjs exit 0 at 99fbaa6d; ruling record 7075362923 (letter B, maintainer's choice 「扫描只管仓内运行的代码」), governing text instrument-discipline.md (derivation-distortion class: no new gate, row or constant).

  11. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
     "issue": 35611,
     "status": "done",
     "branch": "claude/issue-35611-mkdtemp-shipped-report",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36368",
     "head_sha": "f7e942e8e230378971c7bb4816cec14aa0dfefec",
     "session": "session_01QsR2jTeURPvEm465RcoYEC",
     "premise_still_valid": true,
     "summary": "Implemented ruling record 7075362923 (letter B). The mkdtempSync completeness rule of the directory-creating sweep now judges an UNRESOLVED site by file population. A test file or repo tooling still FAILS. Shipped package source is REPORTED and not failed: it is defined by one exported predicate, isShippedPackageSource(rel, packageDirs), which means a non-test source (the runner-env gate's isProductSource) under a workspace package's own src/ (workspace-enumerator members holding a manifest). The rule's verdict lives in mkdtempCompleteness(unresolved) -> {failing, reported}, shared by the live slow case and ten new fast-tier pins. The in-tree/uncovered rule is unchanged, and there is no new gate, row, ratchet or constant. The header's stale '359 sites, 4 in the tree' is replaced with a dated reading taken through the scan's exports: 1821 sites, 1463 test (47 in-tree), 344 tooling/other, 14 shipped (all tmpdir), 0 unresolved. On a scratch copy carrying #35495's merge diff (578d3b1d66), origin/main's rule FAILS on packages/cli/src/utils/skills-install-state.ts:246 and this branch's rule has failing 0, reported 1, so the case passes. #35495 is not re-landed here; that is #35079's lane after merge.",
     "tests": "At final head f7e942e8 (branch merged with origin/main d8599c2c): `node scripts/pm/dispatch-gates.mjs --self-test` (both tiers, including the slow section that holds the live case) gave EXIT=0, 'fast 2262 case(s) in 1009.1s · slow 315 case(s) in 1825.0s. ✓ dispatch-gates self-test: 2577 cases pass.' The live case line read '✓ no mkdtempSync site in a test file or repo tooling takes a base the scan cannot read'. `pnpm check:pm-dispatch-gates` (the fast tier, as CI runs it) gave EXIT=0, '✓ dispatch-gates self-test (fast tier): 2262 cases pass'. All 10 new fast pins ✓: shipped arm reported; not-a-workspace-package and outside-src controls FAIL; test-by-name and src/__tests__ arms FAIL; tmpdir-base controls in neither list; tooling arm FAILS; unresolved mkdirSync in neither list; default workspace reading. The #35495 proof was run on a scratch worktree with the merge diff applied, through exposedScratchDirs + mkdtempCompleteness: 'ORIGIN/MAIN rule ...: FAIL [packages/cli/src/utils/skills-install-state.ts:246 (dir is not bound in this file)]' / 'THIS BRANCH rule: failing 0 reported 1' / 'slow case verdict on this tree: PASS', exposed 0. No ablation: the diff is a repo script, which the dispatch contract does not ablate, and each pin carries a verdict-flipping control. test:repo is not run (no package touched).",
     "gates": "Local subset at f7e942e8: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 63 families; each run with its exit captured before any pipe. `--ran` gave EXIT=0, '✓ dispatch-gates --ran: 63 derived famil(ies) accounted for — 62 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).' 62 exit 0. NOT MEASURED: pnpm check:i18n-coverage, exit 3 (PREREQUISITE NOT MET, package dist/ not built; the diff touches no package). node scripts/check-self-test-workflow-commands.mjs first refused with spawnSync ETIMEDOUT at load 11 (no verdict); rerun at load 7.4 on the same head gave exit 0. overlap-check gave 'VERDICT clean exit 0' before each push. The body gate check-closing-keyword-parity --body binds only #35611. CI on PR #36368 at f7e942e8 when this report was written: Check Changeset success; Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · ESLint, Lint · docs & code guards, Lint · CI, release & engine gates, Governed Surface Queue Guard, PR-body guards, Type Check · workspace/source/consumer/debt in_progress; NOT MEASURED, the CI verdicts are the seat's to read.",
     "line_budget": "149 changed lines (+137 / -12) in 2 files vs merge base, under the 3000 human-merge threshold; no skills/** touched, no byte ratchet involved",
     "files_changed": [
      "scripts/pm/dispatch-gates.mjs",
      "scripts/pm/dispatch-gates.self-test.mjs"
     ],
     "deviations": [
      "The first fast-tier run (`node scripts/pm/dispatch-gates.mjs --self-test --fast`, at 80421551) ran in the FOREGROUND for 481s, against the header's detach advice. It finished EXIT=0; every later run was detached.",
      "I stopped two of my own detached self-test runs, killing only PIDs I recorded, so they could rerun on a newer head: one after a comment-only commit, one before merging origin/main.",
      "I merged origin/main (d8599c2c) into the branch before opening the PR (AGENTS.md multi-agent §10). No conflict, and my two files are untouched upstream.",
      "The PR body quotes ruling record 7075362923 in body text and has no Ruling-ref: line. That follows the dispatch order, which ties Ruling-ref to a .claude/** change. The ruling record's Workload line says the PR 'quotes this record on its Ruling-ref: line'; the seat should decide whether to add one.",
      "Commit trailers use the AGENTS.md model-free pair (Claude-Session + Co-authored-by: Claude). The harness reminder's model-named Co-Authored-By form was not used, because AGENTS.md takes precedence."
     ],
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 relay strokes: (1) fleet-write pr_create → POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/36368/assignees + POST /issues/36368/labels, run 45001788499 success; (2) post-stamped os-dev-report comment → POST /repos/objectstack-ai/objectstack/issues/35611/comments. git push ×4 (empty branch, two commits, merge) is not REST.",
     "writes": "relay 2 (pr_create with assignee + skip-changeset label legs; this os-dev-report comment); MCP writes 0",
     "open_questions": [
      {
       "question": "Should 'shipped package source' exclude private workspace members (examples/*, any private: true package)? Their src/ runs in-repo instead of being published, but the rider's literal definition covers them.",
       "options": [
        "A: keep the rider's literal reading, any workspace package's src/ (as implemented)",
        "B: restrict to members whose manifest is not private: true, one added clause in isShippedPackageSource"
       ],
       "recommendation": "A for this PR, because it is the ruled rider and 0 mkdtempSync sites sit in a private member's src/ at this head, so the readings agree today. B if the seat reads 「扫描只管仓内运行的代码」 as covering example apps."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted in PR Acceptance notes only: the private-member boundary question above (0 sites today); the case title changed (no other reference, git grep 0 hits)"
     ],
     "l2_owed": "Tier H: scripts/pm/dispatch-gates.mjs is a governed guard instrument. The landing needs the maintainer's approval; the seat routes L1/L2."
    }
  13. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
     "issue": 35611,
     "status": "done",
     "round": "rework after L2 FAIL at f7e942e8 (M1, S1, N1, N2)",
     "branch": "claude/issue-35611-mkdtemp-shipped-report",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36368",
     "head_sha": "3ec2a452021",
     "session": "session_01QsR2jTeURPvEm465RcoYEC",
     "premise_still_valid": true,
     "summary": "One rework commit, 3ec2a452, on the same branch. M1: isShippedPackageSource(rel, members) now takes workspacePackages' {dir, manifest} pairs and counts only members whose manifest is not private: true. mkdtempCompleteness defaults to members = workspacePackages(ROOT), so a private member's src/ (example app, QA harness, docs app), or a member whose manifest does not parse, stays on the failing side; the header and jsdoc sentence are aligned. New fast pin: a private: true member's src/ site FAILS, with the published arm as control; the live-workspace arm adds packages/qa/dogfood/src/ (private in this tree) expecting FAIL. S1: a control at packages/cli/scripts/src/staging.ts, asserted as isProductSource, expecting FAIL; loosening MEMBER/src/ to MEMBER/ would report it and red the pin. N1: the bucket now reads '344 in every other source outside shipped package source (repo tooling, package scripts, test helpers and tests by directory; ... 0 of them under a private member's src/)'. N2: the measurement is dated by the base tree d8599c2c, re-measured there through the scan's exports: 1823 sites, 1465 test (47 in-tree), 344 other, 14 shipped (tmpdir), 0 unresolved. main is behind but merges cleanly, so it was not merged. The PR body still describes the pre-rework boundary (its Acceptance-notes open question is now resolved as reading B); the body is the seat's to edit.",
     "tests": "At 3ec2a452: `node scripts/pm/dispatch-gates.mjs --self-test` (both tiers, including the slow section that holds the live case) gave EXIT=0, 'fast 2264 case(s) in 1019.3s · slow 315 case(s) in 1721.8s. ✓ dispatch-gates self-test: 2579 cases pass.' The 12 boundary pins are all ✓, including the new '✓ CONTROL: under the member but in a src/ that is not the member's own (packages/cli/scripts/src/), it still FAILS', '✓ a private: true member's src/ is not shipped source — the same site there FAILS' and '✓ on this tree's own workspace, the shipped arm is REPORTED, the tooling and private-member arms FAIL'. Live case '✓ no mkdtempSync site in a test file or repo tooling takes a base the scan cannot read'. `pnpm check:pm-dispatch-gates` gave EXIT=0, '2264 cases pass'. No on-disk ablation of the S1 control, because the dispatch contract does not ablate scripts. Its red-on-loosening follows from the pin's own conjunct: the path is isProductSource-true and starts with packages/cli/, so a MEMBER/ prefix would move it to reported, giving (0,1) instead of (1,0).",
     "gates": "At 3ec2a452: `--commands --repo objectstack-ai/objectstack` derived 63 families (the same list as before). `--ran` gave EXIT=0, '✓ dispatch-gates --ran: 63 derived famil(ies) accounted for — 62 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).' NOT MEASURED: pnpm check:i18n-coverage, exit 3 (prerequisite dist/ not built, no package touched). node scripts/check-self-test-workflow-commands.mjs first refused with spawnSync ETIMEDOUT under shared-box load; rerun at load 6.9 on the same head gave exit 0. overlap-check gave 'VERDICT clean exit 0' against origin/main 3faabd2675. CI at 3ec2a452: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Governed Surface Queue Guard success, Lint · PM dispatch-gates success, Lint · repo & tooling gates success, PR-body guards success, Dogfood Regression Gate success, Test UI success; the other contexts are skipped by filter.",
     "line_budget": "187 changed lines (+174 / -13) in 2 files vs merge base d8599c2c (dispatch-gates.mjs +68/-7, self-test +106/-6), under the 3000 threshold",
     "files_changed": [
      "scripts/pm/dispatch-gates.mjs",
      "scripts/pm/dispatch-gates.self-test.mjs"
     ],
     "deviations": [
      "The PR body was not edited: a dev writes the body only at pr_create, so the seat updates the stale boundary text. The worktree was recreated from origin/claude/issue-35611-mkdtemp-shipped-report for this round."
     ],
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "1 relay write this round: post-stamped os-dev-report comment → POST /repos/objectstack-ai/objectstack/issues/35611/comments. git push ×1 (3ec2a452).",
     "writes": "relay 1 this round (this comment); MCP writes 0",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [],
     "l2_owed": "A delta L2 at 3ec2a452 (the seat's). Tier H landing is the maintainer's."
    }
  14. added a commit that references this issue on Nov 22, 2026
    fb6eb80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetbugdomain:skillspm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions