You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dispatch-gates: a new ui/packages/*/scripts/*.mjs does not derive the ui/scripts suite gate #37254
area:fleetdomain:devxDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3toolingFix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface
Found by zone a4-S while building #37223 (PR #37230). It was reported to seat repo:objectstack#4 as out of scope, and the seat files it here.
What
The dev added a new script under ui/packages/*/scripts/. node scripts/pm/dispatch-gates.mjs --commands printed no ui/scripts suite gate for that file. CI Test UI then went red on exactly ui/scripts/__tests__/check-ui-root-lookups.test.ts.
Why, read at main
The ui-scripts-suite-input row in scripts/pm/dispatch-gates.data.mjs matches through UI_SCRIPTS_SUITE_ROOTS.
Those roots are ui/packages/**/src, ui/packages/**/src/**, ui/apps/**, skills/objectui/** and ui/scripts/**.
ui/packages/*/scripts/** is not among them.
Yet ui/scripts/check-ui-root-lookups.mjs scans the whole ui tree, and its test runs in that suite. Today ui/packages/components/scripts/ and ui/packages/fields/scripts/ exist.
A path under ui/packages/*/scripts/ makes dispatch-gates --commands print the pnpm --dir ui exec vitest run scripts/ gate. Either widen the roots to every ui file the suite reads, or derive them from what the suite reads. A self-test case pins it.
Notes
scripts/pm/dispatch-gates.mjs and its data module are guard instruments: Tier H.
Triage: lands in area:fleet · domain:devx · Bug · priority:p2 · pm:queue · size XS; rationale: dispatch-gates.mjs derives no ui/scripts suite gate for a new ui/packages/*/scripts/*.mjs, so a dev ships a red Test UI it was never told to run. Measured on PR #37230. p2. This restates the 2026-11-25 first touch in the shape the board reads.
Claim: PM loop round 1
Session: session_016WV4cxRDKprCtjpEdtiPFW
Account: os-elon-musk
Branch: claude/issue-37254-ui-scripts-suite-roots
Worktree: objectstack-issue-37254
Domain: domain:devx
Seat: repo:objectstack#1
Area: o1-F
File surface: scripts/pm/dispatch-gates.data.mjs (UI_SCRIPTS_SUITE_ROOTS) and the dispatch-gates self-test (guard instrument: Tier H, handed to the seat)
Container & model: XS, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: scripts/pm/dispatch-gates.data.mjs:1419 UI_SCRIPTS_SUITE_ROOTS in objectstack | none | every dev whose diff adds or edits ui/packages/*/scripts/**; seen on PR #37230
Thread-read: 7186930374
Premise: holds (UI_SCRIPTS_SUITE_ROOTS at scripts/pm/dispatch-gates.data.mjs:1419-1425 on 93fa911 has no ui/packages/*/scripts/** root)
Serial constraints cleared: none — no open PR touches scripts/pm/dispatch-gates*.mjs; #37884 edits the same module and queues behind this card (serial, different defect)
Pre-claim lane: domain:devx per triage 7186930374; path scripts/pm/dispatch-gates.data.mjs, stays in this seat; Tier H lands through the seat.
Pre-claim deps: none named.
Prior rulings read: check-prior-rulings.mjs --card 37254: 65 ⛔ lines in the data module, 3 with an id shape, none on the suite roots.
{
"issue": 37254,
"status": "done",
"branch": "claude/issue-37254-ui-scripts-suite-roots",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38118",
"head_sha": "20a777d0248d67c29830f246c8cf702bf9816ec7",
"session": "session_016WV4cxRDKprCtjpEdtiPFW",
"premise_still_valid": true,
"summary": "UI_SCRIPTS_SUITE_ROOTS was five sub-tree roots. It is now ui, ui/** and skills/objectui/**, so a path under ui/packages/PKG/scripts/ now derives the pnpm --dir ui exec vitest run scripts/ gate. I widened the roots instead of deriving them because the suite reads the whole ui tree. check-ui-root-lookups scans ui/{scripts,packages,apps} with no exclusion for a package's scripts dir, and suite files name every other top-level ui dir (docs 58, examples 53, e2e 26, eslint-rules 13, patches 8) and the ui root configs (package.json 144, .changeset 36, tsconfig.json 35, vitest.config.mts 32). The self-test now keys specimens by reader and adds the card's miss, a package manifest (the old control ui/packages/core/package.json was wrong, since package-files-exist reads it), the ui root config, two directory surfaces and a uikit/ prefix control. The PR is a draft, Tier H, and is left for the seat to land.",
"files_changed": ["scripts/pm/dispatch-gates.data.mjs", "scripts/pm/dispatch-gates.self-test.mjs"],
"line_budget": "+37 / -25 (62 changed lines, 2 files) vs merge base 93fa9118a",
"tests": "At 20a777d0, under os-verify-lock: node scripts/pm/dispatch-gates.mjs --self-test --fast gave 'VERDICT command-exit 0' and '2369 cases pass; 9 slow section(s) deferred'. All 32 ui/scripts-suite cases pass, including 'a path under a ui package's own scripts/ directory is read by the ui/scripts suite (ui/packages/components/scripts/new-script.mjs)' and 'CONTROL: uikit/packages/core/scripts/x.mjs is outside the roots'. A first run before pnpm install had 6 failures, all 'install the workspace first' (cli-binary and README net cases, outside this diff); after install the run is clean. Done-when: node scripts/pm/dispatch-gates.mjs --commands ui/packages/components/scripts/build-css.mjs exits 0 and prints 'pnpm --dir ui exec vitest run scripts/'. Reverse check: readByUiScriptsSuite with the old five roots returns false for all three new specimens, so the new cases fail on the pre-fix list.",
"gates": "Local, exit codes captured before any pipe, all 0 at 20a777d0: pnpm check:nul-bytes · pnpm check:issue-citations · node scripts/check-issue-citations.mjs · node scripts/check-declaration-mirrors.mjs · node scripts/check-self-test-wired.mjs · pnpm check:pm-governed-prose · pnpm check:scripts-symbol-anchors · pnpm check:ratchet-remedy-authority · node scripts/check-published-list-mirrors.mjs · node scripts/check-comment-mask-corpus.mjs · dispatch-gates --self-test --fast. --ran reconciliation: '54 of 63 derived famil(ies) UNRUN'. This is a declared narrowing, and CI runs the full set. NOT MEASURED locally: pnpm check:pm-dispatch-gates slow tier, reason: longer than the foreground limit, so it is left to CI. PR check-runs at report time: Check Changeset success · Governed Surface Queue Guard success; Lint · PM dispatch-gates, Lint · ESLint, Lint · repo & tooling gates, Lint · scoped · tooling self-tests, Type Check · workspace, PR-body guards and the rest in_progress.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2: (1) relay pr_create via POST /repos/objectstack-ai/objectstack/dispatches, which executed POST /repos/objectstack-ai/objectstack/pulls (draft), POST /repos/objectstack-ai/objectstack/issues/38118/assignees and POST /repos/objectstack-ai/objectstack/issues/38118/labels; the read-back reported the body byte-identical (5069), assignee os-elon-musk and label skip-changeset; (2) this os-dev-report comment, POST /repos/objectstack-ai/objectstack/issues/37254/comments. Not REST: git push twice (the empty probe and 20a777d0).",
"deviations": [
"The commit trailer uses 'Co-Authored-By: Claude' without the model name the harness reminder asked for, because the dispatch and os-dev require model-free trailers. A first commit attempt that carried the model name was refused by the permission classifier before it landed.",
"In the PR body, 'Fixes #37254' is line 3. The dispatch order said the body starts with exactly its two lines (attribution comment and Requested-by), while os-dev says Fixes follows the attribution line directly. I followed the dispatch order.",
"The PR footer uses the os-dev session-URL form, not the harness's 'Generated with' line.",
"I built the worktree with --no-install and ran pnpm install --frozen-lockfile later, after the first self-test run showed the 6 install-dependent failures.",
"I ran git stash -q once by mistake on a clean tree. It created no stash: git stash list came back empty and the tree was unchanged."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Landed · 2026-11-28T03:34Z · PR #38118 merged 5b8ca361c0 at 2026-11-28T03:33:52Z (Fixes #37254). ACCEPT came from L1-a, comment 7232816543; Tier S per L1-a (the 恒 H row names dispatch-gates.mjs, not its data module).
area:fleetdomain:devxDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3toolingFix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch 2026-11-25T08:32Z.
ui/scriptssuite, so the dev never ran it, and CITest UIwent red oncheck-ui-root-lookups.test.ts.pm:queue→ seat 2 (fleet p2).objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:fleet · domain:devx · Bug · priority:p2 ·
pm:queue· size XS; rationale:dispatch-gates.mjsderives no ui/scripts suite gate for a newui/packages/*/scripts/*.mjs, so a dev ships a redTest UIit was never told to run. Measured on PR #37230. p2. This restates the 2026-11-25 first touch in the shape the board reads.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
Claim: PM loop round 1
Session:
session_016WV4cxRDKprCtjpEdtiPFWAccount:
os-elon-muskBranch:
claude/issue-37254-ui-scripts-suite-rootsWorktree:
objectstack-issue-37254Domain:
domain:devxSeat:
repo:objectstack#1Area:
o1-FFile surface:
scripts/pm/dispatch-gates.data.mjs(UI_SCRIPTS_SUITE_ROOTS) and the dispatch-gates self-test (guard instrument: Tier H, handed to the seat)Container & model: XS, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility:
scripts/pm/dispatch-gates.data.mjs:1419 UI_SCRIPTS_SUITE_ROOTS in objectstack | none | every dev whose diff adds or edits ui/packages/*/scripts/**; seen on PR #37230Thread-read: 7186930374
Premise: holds (
UI_SCRIPTS_SUITE_ROOTSat scripts/pm/dispatch-gates.data.mjs:1419-1425 on 93fa911 has noui/packages/*/scripts/**root)Serial constraints cleared:
none — no open PR touches scripts/pm/dispatch-gates*.mjs; #37884 edits the same module and queues behind this card (serial, different defect)Pre-claim lane:
domain:devxper triage 7186930374; pathscripts/pm/dispatch-gates.data.mjs, stays in this seat; Tier H lands through the seat.Pre-claim deps: none named.
Prior rulings read:
check-prior-rulings.mjs --card 37254: 65 ⛔ lines in the data module, 3 with an id shape, none on the suite roots.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
os-dev-report
{ "issue": 37254, "status": "done", "branch": "claude/issue-37254-ui-scripts-suite-roots", "pr": "https://github.com/objectstack-ai/objectstack/pull/38118", "head_sha": "20a777d0248d67c29830f246c8cf702bf9816ec7", "session": "session_016WV4cxRDKprCtjpEdtiPFW", "premise_still_valid": true, "summary": "UI_SCRIPTS_SUITE_ROOTS was five sub-tree roots. It is now ui, ui/** and skills/objectui/**, so a path under ui/packages/PKG/scripts/ now derives the pnpm --dir ui exec vitest run scripts/ gate. I widened the roots instead of deriving them because the suite reads the whole ui tree. check-ui-root-lookups scans ui/{scripts,packages,apps} with no exclusion for a package's scripts dir, and suite files name every other top-level ui dir (docs 58, examples 53, e2e 26, eslint-rules 13, patches 8) and the ui root configs (package.json 144, .changeset 36, tsconfig.json 35, vitest.config.mts 32). The self-test now keys specimens by reader and adds the card's miss, a package manifest (the old control ui/packages/core/package.json was wrong, since package-files-exist reads it), the ui root config, two directory surfaces and a uikit/ prefix control. The PR is a draft, Tier H, and is left for the seat to land.", "files_changed": ["scripts/pm/dispatch-gates.data.mjs", "scripts/pm/dispatch-gates.self-test.mjs"], "line_budget": "+37 / -25 (62 changed lines, 2 files) vs merge base 93fa9118a", "tests": "At 20a777d0, under os-verify-lock: node scripts/pm/dispatch-gates.mjs --self-test --fast gave 'VERDICT command-exit 0' and '2369 cases pass; 9 slow section(s) deferred'. All 32 ui/scripts-suite cases pass, including 'a path under a ui package's own scripts/ directory is read by the ui/scripts suite (ui/packages/components/scripts/new-script.mjs)' and 'CONTROL: uikit/packages/core/scripts/x.mjs is outside the roots'. A first run before pnpm install had 6 failures, all 'install the workspace first' (cli-binary and README net cases, outside this diff); after install the run is clean. Done-when: node scripts/pm/dispatch-gates.mjs --commands ui/packages/components/scripts/build-css.mjs exits 0 and prints 'pnpm --dir ui exec vitest run scripts/'. Reverse check: readByUiScriptsSuite with the old five roots returns false for all three new specimens, so the new cases fail on the pre-fix list.", "gates": "Local, exit codes captured before any pipe, all 0 at 20a777d0: pnpm check:nul-bytes · pnpm check:issue-citations · node scripts/check-issue-citations.mjs · node scripts/check-declaration-mirrors.mjs · node scripts/check-self-test-wired.mjs · pnpm check:pm-governed-prose · pnpm check:scripts-symbol-anchors · pnpm check:ratchet-remedy-authority · node scripts/check-published-list-mirrors.mjs · node scripts/check-comment-mask-corpus.mjs · dispatch-gates --self-test --fast. --ran reconciliation: '54 of 63 derived famil(ies) UNRUN'. This is a declared narrowing, and CI runs the full set. NOT MEASURED locally: pnpm check:pm-dispatch-gates slow tier, reason: longer than the foreground limit, so it is left to CI. PR check-runs at report time: Check Changeset success · Governed Surface Queue Guard success; Lint · PM dispatch-gates, Lint · ESLint, Lint · repo & tooling gates, Lint · scoped · tooling self-tests, Type Check · workspace, PR-body guards and the rest in_progress.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2: (1) relay pr_create via POST /repos/objectstack-ai/objectstack/dispatches, which executed POST /repos/objectstack-ai/objectstack/pulls (draft), POST /repos/objectstack-ai/objectstack/issues/38118/assignees and POST /repos/objectstack-ai/objectstack/issues/38118/labels; the read-back reported the body byte-identical (5069), assignee os-elon-musk and label skip-changeset; (2) this os-dev-report comment, POST /repos/objectstack-ai/objectstack/issues/37254/comments. Not REST: git push twice (the empty probe and 20a777d0).", "deviations": [ "The commit trailer uses 'Co-Authored-By: Claude' without the model name the harness reminder asked for, because the dispatch and os-dev require model-free trailers. A first commit attempt that carried the model name was refused by the permission classifier before it landed.", "In the PR body, 'Fixes #37254' is line 3. The dispatch order said the body starts with exactly its two lines (attribution comment and Requested-by), while os-dev says Fixes follows the attribution line directly. I followed the dispatch order.", "The PR footer uses the os-dev session-URL form, not the harness's 'Generated with' line.", "I built the worktree with --no-install and ran pnpm install --frozen-lockfile later, after the first self-test run showed the 6 install-dependent failures.", "I ran git stash -q once by mistake on a clean tree. It created no stash: git stash list came back empty and the tree was unchanged." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
Landed · 2026-11-28T03:34Z · PR #38118 merged
5b8ca361c0at 2026-11-28T03:33:52Z (Fixes #37254). ACCEPT came from L1-a, comment 7232816543; Tier S per L1-a (the 恒 H row namesdispatch-gates.mjs, not its data module).pm:dispatchedcomes off in this stroke. dispatch-gates: a key added to a nested served schema (ListColumnSchema, InlineGridColumnSchema, ColumnPrefixSchema, ColumnSummaryConfigSchema, the lookupAutofill pair) derives no metadata-core object-schema-fls-references test #37884 (the samescripts/pm/dispatch-gates.data.mjs) is now free and is claimed next by this area when a dev slot opens.