Repository navigation
fix(dispatch-gates): rows for the zod mirror spec-only direction, the hook body language literals and the enum census holders - #39718
Conversation
… hook body language literals and the enum census Claude-Session: https://claude.ai/code/session_01L9qibzy2tQ8yXrNM7Tng1D Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibzy2tQ8yXrNM7Tng1D Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibzy2tQ8yXrNM7Tng1D Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Contract-review-claim: session_01L9qibvPFnj3TkGq8ps2Jgv · head 3dcde2b · 2026-12-04T14:40Z |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Contract reviewServed-tier: Read: card #38362 (body and all 24 comments), PR #39718 (body, file list, the net diff of its three files against merge base ① Derived judgments
② Semver level
Clause-②: no — holds. No accept-set a customer can reach changes. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits, none touching correctness on the head:
Questions the owning zone asked:
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Filled brief handed to the isolated at-tier reviewer whose record is the comment above (adopted by this L1-a thread): Contract review brief — PR #39718 @
|
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv L1-a · ACCEPT · #39718 @
Tier H (always-H guard instrument): the seat sends it to the maintainer through os-zhuang. |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB 维护者速读
Seat opinion: ACCEPT. Rows only, each pinned by the self-test. 席位核对ACCEPT · head
|
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB 2026-12-04T14:54Z · Hand-off: PR #39718 awaits the maintainer's approval (Tier H); seat record above. |
Requested by Tesla · project thread
Fixes #38362
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
The four items left by hand-back 7279848244. Each was probed first at main a92f1ed: change one key or value, then run
dispatch-gates.mjs --commandson that diff. A member that already derived was dropped with the reading. Only a miss was built.zod-mirror-parity, spec-only direction.extend(), and for a block added to the mapzod-mirror-spec-only-key-set, over 13 rows (form field base shape and extend, ComponentPropsMap, emptyProps, ListViewPageProps, the seven flat object-* props schemas, RecordApprovalsProps). A key added through a spread (list view shape) stayed green, sothroughSpreads: falselanguageliteral rename'expression'renamed to'expr_probe': the census went red (10 of 13) and main did not name itExpressionBodySchema.language,ScriptBodySchema.language) reached by awithinstep throughz.literalargument 0. These rows are added to the existingscript-body-key-setpinpackages/spec: 50 enums enumerated, 31 unrowed, held by 58 files. All 58 were green clean. A value was then added to each of 30 enums (the 31st, a union, already has its one holder rowed), and 22 went redEngine change (
dispatch-gates.mjs):declaredKeySetreads a quotedz.literalargument reached by awithinstep as a one-value set. A template literal with a substitution reads null, which means wide.Data (
dispatch-gates.data.mjs):Test Corewith aciSubset. ui holders go toTest UI.Recordwas not searched.Self-test (
dispatch-gates.self-test.mjs):FormFieldSchema.Xkey in the parity test's SPEC_ONLY_KEY_ROWSdescribe()stays quietRead first (riskiest first):
scripts/pm/dispatch-gates.mjs, the string-literal branch ofdeclaredKeySet. It is the one engine change, and every row the parser reads passes through it.scripts/pm/dispatch-gates.data.mjs, the 21 enum census pins and their change-kind rows. EachciSubsetnames one file. If a subset is wrong, CI runs the wrong file.scripts/pm/dispatch-gates.self-test.mjs,ksProtBesideand theksWorldappend. This is the fixture-world change that lets two siblings share one path.Tests
Self-test (fast tier), at the merged head 3dcde2b
The pre-merge head 2a90d46 was also green: 3044 cases pass, VERDICT command-exit 0.
Ablation: the new cells go red
Three on-disk mutations, applied at once:
if (false)FormFieldBaseSchemaremoved from the zod mirror pinMetadataTypeSchemaResult: 25 of 3044 cases failed. The failures include:
describe()controlsThe tree was then restored with
git checkout HEAD -- scripts/pm, and the status was clean.Probe readings, by run at a92f1ed
To load without refusing, some probes needed their typed label tables to get an entry, the same as a real edit would: the spec value-domain tables, and the platform-objects and service-storage label tables.
Acceptance notes
claude/issue-38362-whole-set-pins-remainder. This is a card thread, so the platform assignedclaude/project-thread-gn5jv4instead. The claim says aClaim:amendment restates it.Record, was not searched. That limit is recorded in the census paragraph.Verification
Two-minute check: in a checkout of this branch, rename
'expression'to'x'inpackages/spec/src/data/hook-body.zod.tsline 147 (language: z.literal('expression')). Then runnode scripts/pm/dispatch-gates.mjs --commands. The output includespnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/inspectors/ActionDefaultInspector.scriptBodyLanguage-11921.test.tsx. At main it does not.Derived local gates at 3dcde2b
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderives 63 commands at the merged head. All 63 were run; each exit code was captured before any pipe:The first run of
check:i18n-coverageexited 3 (PREREQUISITE NOT MET: no CLI build). Its named closure was built under the lock (78 tasks, VERDICT command-exit 0). The gate was then re-run and passed:check-i18n-coverage: OK (15 config(s), 577 baselined untranslated string(s), none new).check:pm-dispatch-gatesruns the fast tier on a dev box. CI's own event selects the tier there.Outside this list: the artifact rosters, wide populations, workflow-valued families and type-check lanes. These are CI's, and their check-runs are read on the PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibzy2tQ8yXrNM7Tng1D