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
cli(nightly): four generate-scaffold-gates e2e legs are red on the blank starter, because the starter now ships an app with a Notes entry (os g app, os g permission) #32393
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockingDerived cache from the Blocked-by reverse index: open card with open dependents — never hand-setpriority:p1High: required for production / M2
Filing gate: ① a red test measured by the #32153 dev (PR #32389, out-of-scope findings). The four legs reproduce with generate.ts at the merge base 26f4e6d84a, so they are not #32389's.
Where:packages/cli/test/generate-scaffold-gates.e2e.test.ts, the nightly tier (OS_TEST_TIERS=nightly), run against a fresh blank starter (npm create objectstack).
What happens:
The leg "os g app and its prerequisites exit 0": os g app gate_probe --object gate_target exits 1 with "An app package must define at most one app … ADR-0019 D3", because the blank starter now ships main.app.ts.
Three os g permission legs: after os g permission gate_probe --object gate_target, os validate, os build and os lint report nav-object-ungranted at apps[0].navigation[0].objectName. That is the starter app's Notes entry, which the generated permission set does not grant.
Do:
Measure whether each leg's expectation is stale against the current starter, or whether the CLI should behave differently.
Leg 1: should os g app on a starter that already has an app refuse? The CLI says so by ADR-0019 D3. The leg then pins the refusal and drops the "exit 0" claim.
Legs 2–4: should the e2e grant Notes, scope the gate, or should os g permission say what remains ungranted?
Change the test or the CLI accordingly. A CLI behaviour change states FROM → TO.
Clause-②: declared by the claimer (a test-only fix is no, skip-changeset). Business reason: the nightly CLI scaffold gate is red for a reason nobody reads, so a real regression on that path would go unseen.
Dedupe (generate-scaffold-gates nightly, os g app at most one app, nav-object-ungranted starter): none found.
Reading: today's scheduled Nightly Tiers run 42966527272 (05:33Z, Nightly tiers (1/4)) is red on exactly these four legs of generate-scaffold-gates.e2e.test.ts. Leg 1 fails on "must define at most one app, but found 2"; legs 2–4 on nav-object-ungranted. The card is the run's reader.
Lane:domain:server, which owns packages/cli (lanes/server.md § CLI/runtime face).
Grade: p1. It is a deterministic nightly red that hides every later regression on the CLI scaffold gate. It reproduces at the merge base, so it is not a flake, and it stays red every night until fixed. It is not p0: main push CI and the queue are green.
⛔ No skip or quarantine of the legs. Pin the starter's real behaviour, or change the CLI with FROM → TO.
Claim: PM loop round 3
Session: session_01J8VVAnTcb4cZVkPdhkPicW
Account: huangyiirene
Branch: claude/issue-32393-scaffold-gates-starter
Worktree: objectstack-issue-32393
Domain: domain:server
Seat: domain:server#6
File surface: packages/cli/test/generate-scaffold-gates.e2e.test.ts; packages/cli/src/commands/generate.ts (os g app / os g permission) only if step 0 rules a CLI change; packages/cli/src/commands/init.ts (item 3, the object template's authoring style); their tests; root .changeset/ or skip-changeset for a test-only fix. (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: "floor sonnet · default opus · ceiling fable"; PM judgment: default), effort: xhigh
Clause-②: no
Metadata-protocol: none
Responsibility: packages/cli e2e scaffold gate in objectstack (platform card) | none: the nightly leg is red every night (triage reading, run 42966527272) | every regression on the CLI scaffold path stays hidden behind a standing red
Thread-read: 6788312756
Premise: re-measure owed. PR #32389 (#32153) merged at 2026-11-11T06:10Z and touched this test file and generate.ts. The four legs were red at its merge base; step 0 re-runs them on the tip.
Serial constraints cleared: PR #32389 merged (it touched the same files). No open PR touches generate-scaffold-gates.e2e.test.ts, commands/generate.ts or commands/init.ts (every open PR's file list read at claim).
Maintainer scope order: p1 and p1-blockers only. #32393 is p1.
{
"issue": 32393,
"status": "done",
"branch": "claude/issue-32393-scaffold-gates-starter",
"pr": "https://github.com/objectstack-ai/objectstack/pull/32452",
"session": "session_01J8VVAnTcb4cZVkPdhkPicW",
"premise_still_valid": true,
"summary": "Step 0 on origin/main aab20c10d7 (which contains #32389): the same four legs are still red, 4 failed | 52 passed. Leg 1 is the ADR-0019 D3 one-app refusal, and legs 2-4 report exactly nav-object-ungranted@apps[0].navigation[0].objectName, so #32389 repaired none of them. Leg 1 now pins the refusal: exit 1; Refusing to generate; ADR-0019 D3; both app names; src/apps and its barrel byte-identical to the bare starter's. The permission leg first pins that its first permission set wakes nav-object-ungranted on the starter app's entries and nowhere else (the expected paths derived from the bare starter's build), then grants each listed object with `os g permission NAME_access --object OBJECT` before the three gates run, which still require zero findings. No skip, no ledger line and no filter; no CLI FROM -> TO for os g app or os g permission (a generate-time hint would be a second judge of a rule @objectstack/lint owns). Item 3 is done: os init's app and plugin object templates now write Field.* builders and `export const` (default export kept), with the objects barrel rendered by barrelExportLine('object', ...). The compiled artifact is measured equal for both templates. The declaration-shape parity signature now reads the named export and the field spelling, with a control. One @objectstack/cli patch changeset.",
"tests": "Final head 1cd4ce6bec: OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=1 on generate-scaffold-gates.e2e + starter-field-consumers.e2e + generate-object-namespace-prefix.e2e + generate-scaffolds-reach-stack.e2e -> E2E_EXIT=0, Test Files 4 passed (4), Tests 94 passed (94). pnpm --filter @objectstack/cli typecheck -> TYPECHECK_EXIT=0 (check:test-typecheck OK, 3 file(s) / 28 error(s) / 6 pinned signature(s) in the debt ledger, unchanged). pnpm --filter @objectstack/cli exec vitest run --project unit --maxWorkers=2 -> UNIT_EXIT=0, Test Files 413 passed (413), Tests 5899 passed (5899). On c392e0d901: a probe through the real commands confirmed every shape the new assertions read (apps[0].navigation[0].objectName = tasks_app_note; after os g permission, os validate exits 0 with only that warning; after os g permission note_access --object tasks_app_note, validate/build/lint all exit 0 with [] findings). os init artifact equivalence: each template scaffolded, plus a twin given the base aab20c10d7 object file and barrel (landing proved on disk: new Field.text=1 rawtype=0, base Field.text=0 rawtype=1), both run through os build --json -> ARTIFACT_EQUAL(app) true, ARTIFACT_EQUAL(plugin) true. A first equivalence run was a no-op (the base renderer failed to load, so the twin was never rewritten) and its reading is void; it is declared in the PR body. Step 0 on aab20c10d7: Tests 4 failed | 52 passed (56). Ablation (revert init.ts to aab20c10d7 -> the parity pin must go red -> restore from HEAD): NOT MEASURED, reason: the shared verify lock was never acquired in three 540s budgets (exit 99 each time; a sibling's suite run held it over 1085s); the tree stayed clean (git status empty). The in-file control proves the signature tells a raw { type } field and a default-only export apart, each alone, with the positive control matching the generator's signature.",
"gates": "Local derived set (node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack; 4 paths, +298/-33) on c392e0d901: --ran -> 'Run reconciliation — 68 derived, 68 run, 0 NOT-MEASURED, 0 UNRUN', every exit 0. Exit codes were captured before any pipe. Four first exited 3 (PREREQUISITE NOT MET) and reran at 0 once packages were built: check:dual-build-cjs-loads, check:i18n, check:i18n-coverage, check:i18n-walk-parity. check:query-options-erasure first exited 1 on an ENOENT for a packages/cli/tmp dir that a concurrent unit run deleted mid-scan, and reran at EXIT=0. On the final head 1cd4ce6bec a re-run reached 36/68, all exit 0, and was stopped in favor of CI's lint lanes on the same head. Changed-file eslint --no-inline-config: ESLINT_EXIT=0. Control-byte scan of the 4 changed files: no match. CI check-runs on 1cd4ce6bec: all 36 non-skipped runs success, including Lint & Repo Gates, TypeScript Type Check, Test Core (1/8..8/8), Build Core, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, Test UI, Check Changeset, Lint · PM dispatch-gates, Lint · ESLint, Type Check · consumer gates/debt ledger/source gates/workspace, and Scaffold outside the monorepo, install, build. Skipped by path: Lint UI, Type Check UI, Build & E2E UI.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls",
"api_writes": "3 — POST /repos/objectstack-ai/objectstack/pulls (draft, relay pr_create) · POST /repos/objectstack-ai/objectstack/issues/32452/assignees (same pr_create action) · POST /repos/objectstack-ai/objectstack/issues/32393/comments (this report, post-stamped); each sent through the fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches); git push is not counted",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
PR #32452 merged through the queue at 2026-11-11T16:21Z as e1fc4a2f. The nightly generate-scaffold-gates legs pin the starter's real behaviour: ADR-0019 D3's one-app refusal, and nav-object-ungranted on exactly the starter app's entries before the grants. No leg is skipped. os init's object templates now write Field.* builders and named exports. The compiled artifact is unchanged. The card was closed by Fixes; the seat removes pm:dispatched.
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockingDerived cache from the Blocked-by reverse index: open card with open dependents — never hand-setpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 11, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage:
findingpromoted →domain:server· p1 ·pm:queue· 2026-11-11T05:55Z⛔ Not a claim.
Nightly Tiersrun 42966527272 (05:33Z,Nightly tiers (1/4)) is red on exactly these four legs ofgenerate-scaffold-gates.e2e.test.ts. Leg 1 fails on "must define at most one app, but found 2"; legs 2–4 onnav-object-ungranted. The card is the run's reader.domain:server, which ownspackages/cli(lanes/server.md§ CLI/runtime face).mainpush CI and the queue are green.Generated by Claude Code
objectstack-fleet commentedon Nov 11, 2026
domain:server#6 · huangyiirene · session_01J8VVAnTcb4cZVkPdhkPicW
Claim: PM loop round 3
Session:
session_01J8VVAnTcb4cZVkPdhkPicWAccount:
huangyiireneBranch:
claude/issue-32393-scaffold-gates-starterWorktree:
objectstack-issue-32393Domain:
domain:serverSeat:
domain:server#6File surface:
packages/cli/test/generate-scaffold-gates.e2e.test.ts;packages/cli/src/commands/generate.ts(os g app/os g permission) only if step 0 rules a CLI change;packages/cli/src/commands/init.ts(item 3, the object template's authoring style); their tests; root.changeset/orskip-changesetfor a test-only fix. (stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default tier (dispatch-gates --tier: "floor sonnet · default opus · ceiling fable"; PM judgment: default),effort: xhighClause-②: no
Metadata-protocol: none
Responsibility:
packages/cli e2e scaffold gate in objectstack (platform card) | none: the nightly leg is red every night (triage reading, run 42966527272) | every regression on the CLI scaffold path stays hidden behind a standing redThread-read: 6788312756
Premise: re-measure owed. PR #32389 (#32153) merged at 2026-11-11T06:10Z and touched this test file and
generate.ts. The four legs were red at its merge base; step 0 re-runs them on the tip.Serial constraints cleared: PR #32389 merged (it touched the same files). No open PR touches
generate-scaffold-gates.e2e.test.ts,commands/generate.tsorcommands/init.ts(every open PR's file list read at claim).Maintainer scope order: p1 and p1-blockers only. #32393 is p1.
Claimed at 2026-11-11T06:28Z.
objectstack-fleet commentedon Nov 11, 2026
domain:server#6 · huangyiirene · session_01J8VVAnTcb4cZVkPdhkPicW
os-dev-report
{ "issue": 32393, "status": "done", "branch": "claude/issue-32393-scaffold-gates-starter", "pr": "https://github.com/objectstack-ai/objectstack/pull/32452", "session": "session_01J8VVAnTcb4cZVkPdhkPicW", "premise_still_valid": true, "summary": "Step 0 on origin/main aab20c10d7 (which contains #32389): the same four legs are still red, 4 failed | 52 passed. Leg 1 is the ADR-0019 D3 one-app refusal, and legs 2-4 report exactly nav-object-ungranted@apps[0].navigation[0].objectName, so #32389 repaired none of them. Leg 1 now pins the refusal: exit 1; Refusing to generate; ADR-0019 D3; both app names; src/apps and its barrel byte-identical to the bare starter's. The permission leg first pins that its first permission set wakes nav-object-ungranted on the starter app's entries and nowhere else (the expected paths derived from the bare starter's build), then grants each listed object with `os g permission NAME_access --object OBJECT` before the three gates run, which still require zero findings. No skip, no ledger line and no filter; no CLI FROM -> TO for os g app or os g permission (a generate-time hint would be a second judge of a rule @objectstack/lint owns). Item 3 is done: os init's app and plugin object templates now write Field.* builders and `export const` (default export kept), with the objects barrel rendered by barrelExportLine('object', ...). The compiled artifact is measured equal for both templates. The declaration-shape parity signature now reads the named export and the field spelling, with a control. One @objectstack/cli patch changeset.", "tests": "Final head 1cd4ce6bec: OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=1 on generate-scaffold-gates.e2e + starter-field-consumers.e2e + generate-object-namespace-prefix.e2e + generate-scaffolds-reach-stack.e2e -> E2E_EXIT=0, Test Files 4 passed (4), Tests 94 passed (94). pnpm --filter @objectstack/cli typecheck -> TYPECHECK_EXIT=0 (check:test-typecheck OK, 3 file(s) / 28 error(s) / 6 pinned signature(s) in the debt ledger, unchanged). pnpm --filter @objectstack/cli exec vitest run --project unit --maxWorkers=2 -> UNIT_EXIT=0, Test Files 413 passed (413), Tests 5899 passed (5899). On c392e0d901: a probe through the real commands confirmed every shape the new assertions read (apps[0].navigation[0].objectName = tasks_app_note; after os g permission, os validate exits 0 with only that warning; after os g permission note_access --object tasks_app_note, validate/build/lint all exit 0 with [] findings). os init artifact equivalence: each template scaffolded, plus a twin given the base aab20c10d7 object file and barrel (landing proved on disk: new Field.text=1 rawtype=0, base Field.text=0 rawtype=1), both run through os build --json -> ARTIFACT_EQUAL(app) true, ARTIFACT_EQUAL(plugin) true. A first equivalence run was a no-op (the base renderer failed to load, so the twin was never rewritten) and its reading is void; it is declared in the PR body. Step 0 on aab20c10d7: Tests 4 failed | 52 passed (56). Ablation (revert init.ts to aab20c10d7 -> the parity pin must go red -> restore from HEAD): NOT MEASURED, reason: the shared verify lock was never acquired in three 540s budgets (exit 99 each time; a sibling's suite run held it over 1085s); the tree stayed clean (git status empty). The in-file control proves the signature tells a raw { type } field and a default-only export apart, each alone, with the positive control matching the generator's signature.", "gates": "Local derived set (node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack; 4 paths, +298/-33) on c392e0d901: --ran -> 'Run reconciliation — 68 derived, 68 run, 0 NOT-MEASURED, 0 UNRUN', every exit 0. Exit codes were captured before any pipe. Four first exited 3 (PREREQUISITE NOT MET) and reran at 0 once packages were built: check:dual-build-cjs-loads, check:i18n, check:i18n-coverage, check:i18n-walk-parity. check:query-options-erasure first exited 1 on an ENOENT for a packages/cli/tmp dir that a concurrent unit run deleted mid-scan, and reran at EXIT=0. On the final head 1cd4ce6bec a re-run reached 36/68, all exit 0, and was stopped in favor of CI's lint lanes on the same head. Changed-file eslint --no-inline-config: ESLINT_EXIT=0. Control-byte scan of the 4 changed files: no match. CI check-runs on 1cd4ce6bec: all 36 non-skipped runs success, including Lint & Repo Gates, TypeScript Type Check, Test Core (1/8..8/8), Build Core, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, Test UI, Check Changeset, Lint · PM dispatch-gates, Lint · ESLint, Type Check · consumer gates/debt ledger/source gates/workspace, and Scaffold outside the monorepo, install, build. Skipped by path: Lint UI, Type Check UI, Build & E2E UI.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "3 — POST /repos/objectstack-ai/objectstack/pulls (draft, relay pr_create) · POST /repos/objectstack-ai/objectstack/issues/32452/assignees (same pr_create action) · POST /repos/objectstack-ai/objectstack/issues/32393/comments (this report, post-stamped); each sent through the fleet-write relay (POST /repos/objectstack-ai/objectstack/dispatches); git push is not counted", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 11, 2026
domain:server#6 · huangyiirene · session_01J8VVAnTcb4cZVkPdhkPicW
Landed · #32393 · 2026-11-11T16:27Z
PR #32452 merged through the queue at 2026-11-11T16:21Z as
e1fc4a2f. The nightlygenerate-scaffold-gateslegs pin the starter's real behaviour: ADR-0019 D3's one-app refusal, andnav-object-ungrantedon exactly the starter app's entries before the grants. No leg is skipped.os init's object templates now writeField.*builders and named exports. The compiled artifact is unchanged. The card was closed byFixes; the seat removespm:dispatched.