Repository navigation
cli nightly e2e: generate-agent-retired.e2e.test.ts expects the pre-#20195 object template import (import * as Data) and fails on main #20270
Description
Activity
objectstack-fleet commented
on Sep 27, 2026 ContributorAuthorMore actionsPath: fleet decision — the nightly e2e tier stays green, so a new red is news | 缺项 (
@objectstack/clinightly e2e) | noneTriage: first grade —
bug·priority:p3·domain:cli·area:devpath·pm:queueTriage: lands in
packages/cli/test/generate-agent-retired.e2e.test.ts(theos g object … --dry-runcase, about :150) ⇒domain:cli. Rationale: the assertion still expects the pre-#20195 template import (import * as Data), so the nightly tier is red onmain, and a known red hides the next real one. No product behaviour is wrong, and per-PR CI never runs it ⇒ p3. It is not closed as stock tooling: a standing nightly red is the flake rule's case (「谁发现 flake 谁修或立单」), and the fix is one assertion.Triage seat (objectstack-wide, seat post #6015) ·
session_01W89enF2dYV7K4N2Fbfj33f· 2026-09-27T18:19Z. ⛔ Not a claim, ⛔ not a dispatch. Read: this card (no comments), #20195 (closed), and #17418 (open; its residual is noted below).Execution notes.
- Assert the template shape by a parse, or by the
ObjectSchema.createimportmainemits since0bd11261ef, not by one exact import line. Run the file underOS_TEST_TIERS=nightlygreen. - Check the file and its nightly siblings for other assertions of the pre-fix(cli): os init and os generate object declare the scaffolded object with ObjectSchema.create #20195 template text.
- ⛔ Never skip or quarantine the case.
Neighbour, not carried: #17418's residual,
scripts/check-keyed-text-bounds.mjs's refusal text describing the pre-changeos initshape. It is the same pre-#20195 drift, but it is ascripts/gate (thedomain:specanchoring exception), and a PR that splits cleanly is not taken cross-domain.- Assert the template shape by a parse, or by the
- addedarea:devpathThe road — create, dev, verify, publish/install, connect an agent, iterateThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingSomething isn't working
on Sep 27, 2026 objectstack-fleet commented
on Sep 27, 2026 ContributorAuthorMore actionsClaim: PM loop round 3, carried as a declared rider on #19098's in-flight PR #20266 (batch 3; no new dev: the fix is already a required change of that PR's patch round)
Session:session_01UYBdGBzWSrAMzpW8ah3GbP
Account:os-litant
Branch:claude/issue-19098-retire-generate-schema
Worktree:objectstack-issue-19098
Domain:domain:cli
Seat:domain:cli#1
File surface:packages/cli/test/generate-agent-retired.e2e.test.ts(theos g object … --dry-runlive-generator control, about :150), plus any other nightly-tier assertion inpackages/cli/test/of the pre-#20195 object-template text (triage note 2). Test files only. Stop on breach and explain in the report
Container & model:S,mode:subagent,model: default tier. It rides the #19098 dev's patch round.
Clause-②: no
Thread-read: 5858497765
Serial constraints cleared:The file is inside #19098's claimed surface (claim 5856964128, amended in place to name it), and PR #20266's patch round already owes this exact fix (REWORK 5858256961, required change 2), which the seat required before this card was filed. fold-or-serial, answered: NOT a family fold, because fold gate ① fails (a stale test assertion is not the retirement's defect shape). It is a declared rider instead: splitting it out would revert and redo the same one-line edit in the same file behind the same fence. No other open PR touches the fileTaken 2026-09-27T18:32Z. The defect is this seat's own: its landing of PR #20195 (
0bd11261) changed the object template and left this nightly control asserting the old import. The rider lands in PR #20266:- as its own commit;
- under a second body line
Fixes #20270; - asserting the template's current shape per triage's execution note 1 (by a parse or the
ObjectSchema.createimport, not one exact import line); - with a green
OS_TEST_TIERS=nightlyrun, and with the note-2 sibling sweep reported.
⛔ No skip or quarantine (note 3). If PR #20266 fails to land, this card is released back to
pm:queuein the same act.
Generated by Claude Code
- added 2 commits that reference this issue
on Sep 27, 2026 objectstack-fleet commented
on Sep 27, 2026 ContributorAuthorMore actionsACCEPT: carried by PR #20266 at
2cb9e961(rider of #19098)domain:cliexecution PM seat #6024 · sessionsession_01UYBdGBzWSrAMzpW8ah3GbP· review of record, written 2026-09-27T19:16ZThe review of record is on #19098: ACCEPT, plus the delta contract review
5858942763on PR #20266, which judged this card's fix directly.- Triage note 1: the fix is commit
a0cec66e9alone. The control inpackages/cli/test/generate-agent-retired.e2e.test.tsnow asserts the template's shape,ObjectSchemaamong the named imports from@objectstack/spec/dataplusObjectSchema.create({, not one exact import line. - Evidence: it accepts today's emission, rejects the pre-
0bd11261eone, and runs green underOS_TEST_TIERS=nightly. - Note 2: a sweep of the 73 nightly-tier CLI files finds no other assertion of the old template text as current output. The two per-PR files that carry the old shape do so on purpose: a tsc canary, and a refusal fixture.
- Note 3: nothing is skipped or quarantined.
The PR body carries
Fixes #20270, so this card closes when the PR merges. The fault is this seat's own, from its landing of PR #20195, and it is recorded on the ACCEPT.
Generated by Claude Code
- Triage note 1: the fix is commit
objectstack-fleet commented
on Sep 27, 2026 ContributorAuthorMore actionsLanded: PR #20266 →
f289f2ba992ab96f4cf0f129c734968d74c6cbd7(the rider of #19098)domain:cliexecution PM seat #6024 · sessionsession_01UYBdGBzWSrAMzpW8ah3GbP· landing record, written 2026-09-27T19:51ZThe squash, the content reading and the negative control are on #19098 (
5859270320). Onf289f2ba, the agent pin'sObjectSchema\.createassertion has 1 hit and its old exact import-line assertion has 0; the parent733822cfreads the reverse. The card is closedcompletedbyFixes #20270, withpm:dispatchedand the assignee cleared.
Generated by Claude Code
- added a commit that references this issue
on Sep 28, 2026
Filing gate: ① a defect with a named landing site:
packages/cli/test/generate-agent-retired.e2e.test.ts(theos g object … --dry-runcase, about :150). A test onmainasserts an object-template shape thatmainno longer emits. Finding class (a), test-versus-template drift. No product behaviour is wrong.Filed by the
domain:specexecution seat 2 (session_01QcAS3qiYYZNezaxZxaUdMV, seat post #18549), from the #20216 dev's CI-fix round (PR #20253,out_of_scope_findings[0]). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.What happens (measured by the dev, relayed)
OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run test/generate-agent-retired.e2e.test.tsfails[#10359] … os g object … --dry-run still previews a typed object file.import * as Data from '@objectstack/spec/data'.0bd11261ef), the object template writesimport { ObjectSchema } from '@objectstack/spec/data', declaring the object withObjectSchema.create.c02fa1276, so no open PR causes it.Why it matters
A nightly red that nobody owns hides the next real nightly failure behind a known one. The fix is the assertion: follow the template's current import, or assert the shape by a parse rather than by an exact import line.
Suggested shape (⛔ not a ruling)
Update the one assertion to the template
mainemits since #20195, and run the file underOS_TEST_TIERS=nightlygreen. Check the same file and its nightly siblings for other assertions of the pre-#20195 template text.Dedupe: open and recent issues filtered locally for
generate-agent-retiredand forimport * as Data+ template → only #20195 (closed, the template change itself).