Skip to content

test(pm): dispatch-gates rows the remaining whole-set key pins - #38756

Merged
os-zhuang merged 3 commits into
mainfrom
claude/issue-38362-whole-set-pins-rest
Nov 30, 2026
Merged

os-zhuang merged 3 commits into
mainfrom
claude/issue-38362-whole-set-pins-rest

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Part of #38362
Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 用户无感:只改开发派单用的门禁推导工具,开发者改动规格里某个键或枚举值时,会被提示去跑真正钉住它的界面测试或回归测试。
  • 属于「整集钉住测试按差异自动推导」的收尾工作,替开发者省掉推上去才发现界面测试变红的一轮来回。
  • 出错最多是多提示或漏提示某个测试,只影响本地提示,持续集成照常全跑;可直接撤回。
  • 无。

What changes

The remaining whole-set pins of the card now derive from the diff, through the same key-set reader the earlier slices added (schema / schemas / within), not by a path match. This covers 26 new pins plus the registry-inputs pin, which grows from 3 to 39 props schemas. All three files are inside the dispatch fence.

  • Data. 59 new declaration rows (116 in all). Each of the 26 new pins has its own CHANGE_KIND row bound to its CI job: 24 rows bind to Test UI, and the 2 dogfood explain tests bind to Dogfood Regression Gate.
  • Engine (N13). rowLiteral now searches for a row's call only inside the declaration's own statement. A re-spaced arrow reads null; before, it landed on the next declaration's arrow.
  • N16. Removed the dead callArgumentStart and the comment that cited it.
  • N11. The os-regen row's kind, why and repair text now name the scripts/regen-artifacts.mjs trigger.
  • N12. The two repair owners are corrected: the lint test's own FUNCTIONS table, and the spec's value-type sets.
  • N14. The separator live case reads the test's own toEqual literal.
  • N15. The census docblock says that enums with no row were searched by neither pass, with a read example.
  • EmbeddedItemEditor. A LIVE census holds the index fallback list equal to IndexSchema's authorable keys, less the retired ones.
  • N7. Already done in fix(pm): dispatch-gates reads a row's chain links, judges a lost spread row by its spreaders, and rows the residue pins and the value-set census #38574. Dropped, with that reading.

Measured population

Method. One key (or value) was added to each of 110 spec declarations, and the seven packages the Test UI job builds were rebuilt. The 270 ui test files that enumerate one of these declarations were run in three probe batches. A clean rerun of the 46 red files was all green, so every red came from a probe.

Result. Of the 46 red files:

  • 19 were already rowed, so each derived before this change. They are dropped, with that reading. The registry-inputs parity is among them, and its schema list grows here.
  • 24 are newly rowed.
  • 3 are left on the card (see Acceptance notes).

page-nav-misc and report-chart-query stayed green under probes of six schemas they read, on a dist built with declarations. They derive by construction, so they are dropped.

The before and after columns below come from one batch --commands: a key or value was added to one member of each pin across 15 spec files, and the files were restored byte-exact afterwards.

  • Before: the batch ran on the base scripts and named 0 of 27 tests.
  • After: the batch ran at fbeae33 and named 27 of 27.
  • Control: a describe-only edit in the same files named 0 of 27.
pin schema(s) test probe before probe after
registry-inputs-key-set 39 props schemas registry-inputs-spec-parity.test.ts not named (probe on a props schema the pin did not hold; it held 3) named
script-body-key-set HookBodySchema, ExpressionBodySchema, ScriptBodySchema ActionDefaultInspector.scriptBodyLanguage-11921.test.tsx not named named
end-message-key-set EndConfigSchema FlowNodeInspector.endMessage-9336.test.tsx not named named
end-output-variable-key-set EndConfigSchema FlowNodeInspector.endOutputVariable-9335.test.tsx not named named
approval-config-zh-key-set ApprovalNodeConfigSchema flow-node-config.zhPanel-34818.test.ts not named named
package-source-value-set InstalledPackageSourceSchema packageSource-12790.test.ts not named named
access-scope-value-set ObjectAccessScopeSchema PermissionMatrixEditor.recordScope-26187.test.tsx not named named
color-variant-swatch-value-set WidgetColorVariantSchema color-variant-field.test.tsx not named named
color-variant-accent-value-set WidgetColorVariantSchema DatasetWidget.colorVariant.test.tsx not named named
filter-operator-key-set FieldOperatorsSchema FilterConditionField.operators.test.ts not named named
page-block-type-value-set PageComponentType block-config.test.ts not named named
page-kind-value-set PageTypeSchema page-kind-node-type-channel-9642.test.tsx not named named
aggregation-function-value-set AggregationFunction ObjectMetricWidget.countNotCurrency-10356.test.tsx not named named
list-gantt-block-key-set GanttConfigSchema ListView.readersRetired-6152.test.tsx not named named
view-gantt-timeline-key-set GanttConfigSchema, TimelineConfigSchema ObjectView.harness.test.tsx not named named
object-tree-props-key-set ObjectTreePropsSchema ObjectTree.schemaTyped-8655.test.ts not named named
chart-axis-config-key-set ChartAxisSchema chart-axis-config-7690.test.ts not named named
object-chart-axis-config-key-set ChartAxisSchema object-chart-axis-config-10518.test.ts not named named
chart-aggregate-legacy-value-set ChartAggregateFunctionSchema object-chart-legacy-axis-keys-retired-10608.test.ts not named named
list-view-protocol-key-set ListViewShapeSchema, ObjectListViewSchema object-view-unmirrored-keys-7779.test.ts not named named
record-approvals-row-key-set RecordApprovalsProps record-panels-arms-12363.test.ts not named named
select-option-key-set SelectOptionSchema select-option-tier1-convergence-7014.test.ts not named named
user-filter-field-key-set UserFilterFieldSchema spec-symbol-parity.test.ts not named named
tree-config-key-set TreeConfigSchema tree-view-config-readers-8253.test.ts not named named
marketplace-taxonomy-value-set MarketplaceBusinessFunctionSchema, MarketplaceIndustrySchema, MarketplaceSolutionTypeSchema marketplace-taxonomy-labels-31011.test.ts not named named
explain-door-parity-value-set ExplainOperationSchema explain-write-door-parity.dogfood.test.ts not named named
explain-master-write-value-set ExplainOperationSchema cbp-explain-master-write.dogfood.test.ts not named named

Tests

  • node scripts/pm/dispatch-gates.mjs --self-test --fast passed all 2890 cases. The new rows are covered by these cases:
    • Each new declaration row runs through the nested-row loop. A key added to the row derives exactly the pins that hold it, and a describe() derives none.
    • The union world renders all 71 pins runnably, each with its build prerequisite. The dogfood pins state the dogfood closure build.
    • The run record is not ok when any one of the 71 is missing.
    • Each pin renders STALE when its binding is lost.
    • The live-spelling table has 26 new regexes, each checked against its test's source.
    • Three N13 cases: two-declaration fixtures read null, and the live file re-spaced reads null. A control checks that every row still reads.
    • The EmbeddedItemEditor LIVE census, with a reader control.
    • The list view shape is read by a spread row and a schema row but renders once.
  • The slow self-test tier was not run locally (NOT MEASURED). The fast tier alone took 453 s, near the foreground cap.

Acceptance notes

Left on the card:

  • Tombstone sets in the unauthorable-columns test. A key retired in place changes only a member's value (a retiredKey(…) call), so deriving it needs a member-value reader. That is a new mechanism and belongs in a new module, outside this fence.
  • zod-mirror-parity. It pairs eight spec-only keys dynamically over ComponentPropsMap, and no row here attributes them to one schema.
  • object-gantt-properties-bag-10859-b6. Its failures show the same probe collision as flat-props-refusal-10872: one name spelled into both the page component node and a props schema. It needs a single-schema re-probe. flat-props-refusal-10872 itself is a refusal pin, not a whole set, so it is not rowed.
  • Script-body language literals. A language renamed inside an arm's z.literal(…) moves no row. This miss is documented in the docblock.
  • Unsearched enums. Holders of enums that have no row were not searched. For example, the lock-resolution test holds MetadataLockSchema.options. This is documented, not rowed.

Verification

Files to read first, by risk:

  1. scripts/pm/dispatch-gates.mjs: the rowLiteral end bound. It changes every call row.
  2. scripts/pm/dispatch-gates.data.mjs: the 26 CHANGE_KIND rows and the census docblock.
  3. scripts/pm/dispatch-gates.self-test.mjs: the ksByPath union world and ksSpreadShared.

Two-minute check: add 'probe_value', to PageTypeSchema's enum in packages/spec/src/ui/page.zod.ts, then run node scripts/pm/dispatch-gates.mjs --commands. Expect pnpm --dir ui exec vitest run …page-kind-node-type-channel-9642.test.tsx among the commands.

Gates at fbeae33: dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 63 families, and all 63 ran in the foreground with exit 0. --ran reports 63 derived, 63 run, 0 NOT-MEASURED and 0 UNRUN. check:i18n-coverage first exited 3 (PREREQUISITE NOT MET). It passed after its prerequisite closure was built under the lock. The overlap check was clean.

L2 fix round

Head 1758942. This round addresses S1 and S2, plus nits N2 and N3, from the L2 record (comment 7277396273). N1 needs no change.

S1. registry-inputs-key-set now holds 43 schemas:

  • the 39 props schemas it held before;
  • RecordApprovalsProps;
  • ElementFormPropsSchema, newly rowed;
  • the shared emptyProps literal, newly rowed (strictObject/1, empty by design);
  • ComponentPropsMap's own block list, newly rowed (call null: the literal after the =, with quoted keys read by their content).

The row's kind and why are rewritten to cover what the pin now holds: the partition of the block list, the inputs parity, and the retired-upstream and empty-shape ledger arms.

The earlier "green" for element:form was a batch artifact. The ledger case stops at its first failing block, and element:filter's probe in the same batch failed first.

S2.

  • approval-config-zh-key-set now also holds DecisionConfigSchema, newly rowed.
  • page-block-type-value-set now also holds RecordDetailsProps.sections. This is a new within row: one step from RecordDetailsProps into the inline strictObject of sections.
  • Both rows' kind and why are rewritten to match.

N2. The census sentence is rewritten. Three blocks stay out, and each was green on its own probe: the inline ai:suggestion, element:image and element:metadata_viewer. All three are in the test's EXPECTED_WITHOUT_INPUTS. The four retiredComponentProps blocks are a z.never with no key set. The docblock also now says that a red file was attributed to its probe's schema, so other sets the file holds were not read, and that a batch can hide a red.

N3. The census names #38757 as the carrier of the tombstone member-value reader.

One-schema probes

The ui test column adds one key, or one block to the map, to the spec source and runs that one test file. The spec JS was rebuilt for each run, and the source was restored byte-exact afterwards. Each file was also green on a clean run (registry parity: 261 tests; zh panel: 7; block-config: 47).

The base and head columns record whether --commands names the test for that same edit. Base ran on the fbeae33 data and self-test, swapped in and then restored (sha256 verified). Head ran at 1758942.

member ui test ui test under probe --commands base --commands head
ComponentPropsMap (a block added) registry-inputs parity red: partition and size cases not named named
ElementFormPropsSchema registry-inputs parity red: retired-upstream arm not named named
RecordApprovalsProps registry-inputs parity red: empty-shape arm not named (arms test only) named
emptyProps literal registry-inputs parity red: empty-shape arm (app:launcher first) not named named
DecisionConfigSchema zh panel red: served decision string not named named
RecordDetailsProps.sections[] block-config red: section editor coverage not named named (block-config alone)
ai:suggestion inline registry-inputs parity green — not rowed
ElementImagePropsSchema registry-inputs parity green — not rowed
ElementMetadataViewerPropsSchema registry-inputs parity green — not rowed

Controls on head. A describe-only edit in component.zod.ts names no ui test, and neither does one in schemaless-node-config.zod.ts.

Self-test. --self-test --fast passes all 2904 cases. Every new row is held by the nested-row loop: a key added derives exactly the pins that hold it, and a describe() derives none. There are three new LIVE cases (the block list, the section entry and the element:form row) and one rendering control: the section entry and its host render as one declaration.

Gates at 1758942. The derived list is the same 63 families. All 63 ran in the foreground and exited 0. --ran reports 63 derived, 63 run, 0 NOT-MEASURED. The overlap check was clean before the push.

…ured

Each new declaration row is held by the nested-row loop (a key added
derives exactly the pins that hold it, a describe() derives none). The
union world grows one edit per declaring file. The census docblock now
records the ui re-measure by run, the enums no search covered, the
bounded call search, the os-regen driver-table trigger and the two
repair owners.

Claude-Session: https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmRJUY9Ncce14hVHd25

Final green head for review: fbeae3347815e7e2ed66cd1ab52c1d0a1f527ef3 (read 2026-11-30T11:26Z: 26 check-runs success, 27 skipped, 0 failed or pending; mergeable clean). Card #38362 (Part of; the card stays open for the leftovers the dev report names), claim 7274112397, dev report 7276488185 on the card. Tier H (scripts/pm/dispatch-gates.mjs, surface guard-tiers), Rule-change: none, +663/−76 (739 changed lines, under the 3000 human-merge threshold). Out of scope filed by the seat: #38757 (tombstone member-value reader, lands after this PR). Owed: L1 (L1-b) and the seat's contract review; the PR stays draft and lands through the owner seat.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: fbeae3347815e7e2ed66cd1ab52c1d0a1f527ef3
Local-runs: none
Scope: scripts/pm/dispatch-gates.mjs + scripts/pm/dispatch-gates.data.mjs
Security-touching: no
Rule-change-verified: none

PR #38756 (Part of #38362), read as the net diff against main: 3 files, +663 −76, merge base cb8d8539e6. scripts/pm/dispatch-gates.self-test.mjs is the test remainder (the lane seat's ACCEPT); it was read only where it pins the two files in scope. The spec declarations and the pinned tests were read on origin/main acf3b33e31, never run.

① Derived judgments

  • No published surface moves. The diff is scripts/pm/** alone: no package, no schema, no accept set a consumer reads. Right.
  • The derivation widens, by rows. SERVED_KEY_SET_DECLARATIONS goes 57 → 116 (+59, counted in the tree), SERVED_KEY_SET_PINS 45 → 71 (+26), and CHANGE_KIND_ROWS gains 26 rows, one per new pin, 24 bound to Test UI and 2 to Dogfood Regression Gate. The registry-inputs pin's schemas grows 3 → 39. No existing row, pin or binding is removed or respelled: the data file's 24 deleted lines are prose and the one widened schemas list. Right.
  • Each of the 59 new rows addresses a live declaration. Read one by one on origin/main: every declares name is declared exactly once in the row's path, the row's call sits inside that declaration's own statement, and the argument the row names opens a literal (the shape passed second to strictObject(options, shape), a z.object or .extend first argument, a z.enum or z.discriminatedUnion list). None of the 59 literals spreads a member object, so none needs a spread row. component.zod.ts and view.zod.ts moved on main after the merge base (feat(spec)!: actions that act on many records are placed at selection; a list view's bulkActions is retired #38550); the rows still read there. Right.
  • Nothing pinned before is unpinned. The engine change can only turn a call row's reading to null, and changesServedKeySet reads a null side as a change (dispatch-gates.mjs:12744-12749), so a row the bound cut short would fire on every edit of its file: wide, never quiet. No silent hole found among the 57 earlier rows.
  • Rename, move, split, generated file. A declaration renamed or moved out of its file reads null at the head and fires its pins; a literal replaced by a shared name reads null (the argument no longer opens a brace); a member object newly spread shows as a ...NAME member and moves the set. No row names a generated file. Each is exact to the pins that hold the row. Right.
  • rowLiteral's bound (dispatch-gates.mjs:12489-12507): the row's call is searched up to the initializer's own ; at depth zero, else the next line that starts a top-level export / const / let / var / function. A miscounted depth can only push the bound later, which is the earlier behaviour. Right.
  • The two dogfood bindings are sound. ci.yml:2974-2980 and :3146-3148: the Dogfood Regression Gate shards run pnpm turbo run test --filter=@objectstack/dogfood through scripts/run-with-stall-guard.mjs and never on pull_request, as the rows' why says. Both rows say "Read, not run". Right.
  • Wrong: the registry-inputs pin and two of the new pins hold less than the tests they name hold. See S1 and S2.

② Semver level

skip-changeset is right: the diff publishes nothing, and Check Changeset concluded success on this head.
Clause-②: no. Agreed: no accept set, default or published type moves.

③ Boundary flags

  • Open question, the tombstone member-value reader (A: a new module on its own card; B: leave it documented). Answered A by the review brief, which names follow-up card dispatch-gates: a member-value reader so a tombstone set changed by an in-place retiredKey retirement derives its pin from the diff (unauthorable-columns) #38757 as the carrier; that card was not an input here and was not read. The docblock's statement of the gap is accurate: retiredKey(…) is a member VALUE (packages/spec/src/ui/page.zod.ts:698, :739), so an in-place retirement moves no key set a row reads.
  • Deviation, base cb8d8539 instead of the dispatched 991520c3. Accepted: main had moved; the three files are unchanged on main since that base.
  • Deviation, the slow self-test tier was not measured locally. CI did NOT run it on this head either. Lint · PM dispatch-gates concluded success, and on pull_request that job runs the fast tier only (scripts/pm/check-dispatch-gates.mjs:66-69, FAST_TIER_EVENTS at :347; lint.yml:322-324). The slow tier's first run over the new rowLiteral bound is the push to main after the merge, by that file's own ruling. Not a finding; stated because the engine hunk changes every call row.
  • Check-runs on this head: no failure. Test UI and Dogfood Regression Gate concluded success as aggregates with their shards skipped (the path filter, and the dogfood job's pull_request exclusion). Governed Surface Queue Guard, PR-body guards, Check PR Size and every Lint · and Type Check · lane concluded success.
  • Rule-change: none: verified. The hunks add derivation rows a dev must run, bound a search and correct prose. None changes what an agent may do without the maintainer, what is graded, dispatched or scoped and in what order, which tier or reviewer a PR needs, or what must go to him.
  • The 1,000-line rule (AGENTS.md:74): held. dispatch-gates.mjs takes a fix inside the existing rowLiteral and loses the dead callArgumentStart (+21 −12); no new concern enters it. dispatch-gates.data.mjs takes rows in existing tables and docblock prose. The one new concern (the member-value reader) was not built.
  • SQL push-down: not applicable; the diff touches no data access.
  • Left on dispatch-gates: whole-set key pins outside the served metadata types (ui spec-parity battery, TemplateManifestSchema, EmailServiceConfigSchema, CloneFlowRequestSchema, engine options, ExplainOperationSchema) derive no test when a key changes #38362 by declaration, not findings here: zod-mirror-parity, the object-gantt-properties-bag re-probe, the script-body language-literal rename miss, the enums read without a row.

④ Design judgment

scripts/pm/dispatch-gates.mjs (hits). The N13 fix holds against its fixtures and the live file: appTranslationDataShape ends at its own }); (translation.zod.ts:1315 to :2712), so the re-spaced arrow reads null where it used to read platformSettingsShape's literal at :2766. The docblock above rowLiteral agrees with the loop, sentence by sentence. callArgumentStart had no caller left; the one comment that cited it now cites callArgumentAt. No finding above a nit.

scripts/pm/dispatch-gates.data.mjs (implementing).

S1 (should-fix) — registry-inputs-key-set does not hold everything ui/apps/console/src/__tests__/registry-inputs-spec-parity.test.ts holds, and the row's shown text is false at this head. Read, not run:

  • ComponentPropsMap's own member list has no row. The test requires its three sets to partition Object.keys(ComponentPropsMap) (:4814-4832), so a block added to or removed from the map reds it and derives nothing. The literal follows the = (component.zod.ts:8698), which a row with no call reads. The census docblock does not declare it.
  • RecordApprovalsProps is rowed but left out of this pin's schemas, and the docblock says it "stays out". The test ledgers record:approvals as EMPTY SPEC SHAPE and asserts specTopLevelKeys(type) equal to [] (:4969-4974), so a key added there reds this test as well as the arms test; only the arms pin derives.
  • ElementFormPropsSchema has no row, and the docblock says it stayed green under the probe. The test's RETIRED UPSTREAM arm asserts isRetiredUpstream(type) and an empty specTopLevelKeys(type) (:4948-4959), which a live key added to that schema fails on its face. The two readings disagree; a one-schema probe settles it.
  • The row's kind (dispatch-gates.data.mjs:1576) still lists three schemas, and its why (:1583) still says "Measured on three of those schemas … the rest of ComponentPropsMap is not read by this row, and a key added there still derives nothing". At this head the pin holds 39, so a dev whose PageHeaderProps edit derives this gate is told the opposite of what just happened.
    Fix: a row for the map and RecordApprovalsProps in the pin (or each miss declared in the census docblock), the element:form reading settled, and the kind and why rewritten to the 39.

S2 (should-fix) — two new pins hold one of the sets their test holds whole, and the census does not say the others were left unread. Read, not run:

  • approval-config-zh-key-set holds ApprovalNodeConfigSchema alone. flow-node-config.zhPanel-34818.test.ts:52-61 runs the same served-string case over ['decision', DecisionConfigSchema], so a key added to DecisionConfigSchema (schemaless-node-config.zod.ts:537, a strictObject shape) reds it the same way and derives nothing. The row's kind and why name approval only.
  • page-block-type-value-set holds PageComponentType alone. previews/__tests__/block-config.test.ts:120-136 also holds the keys of one RecordDetailsProps.sections[] entry whole ("a NINTH key landing upstream still fails here"); that inline strictObject (component.zod.ts:1328) is one within step from the RecordDetailsProps row and has none.
    The re-measure attributed each red file to the schema whose probe reddened it and did not read what else the file holds; the ⚠ "green FOR THE KEY PROBED" sentence covers files that stayed green, not these. Fix: row both, or state in the census docblock that a new pin holds only the schema its probe reddened and name these two.

N1 (nit) — rowLiteral's unterminated fallback stops at export / const / let / var / function lines only; an unterminated declaration followed by a type, interface, class or async function line searches on to the next ;. The docblock states the list exactly and the result is wider, never quiet.

N2 (nit) — "Four ComponentPropsMap members stay out of the registry-inputs pin" miscounts: the inline ai:suggestion shape (component.zod.ts:8869) is a fifth, and element:image and element:metadata_viewer are in the test's EXPECTED_WITHOUT_INPUTS, not its unjudged ledger. S1's rewrite of that sentence can carry it.

N3 (nit) — the census docblock no longer names a carrier for the tombstone gap (it read "carried by #38362" before); the follow-up card is named only outside the tree.

No must-fix. S1 and S2 are open on this head and each earns a delta review of its fix.

Implemented-by: claude/issue-38362-whole-set-pins-rest
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T11:48Z · first review

席位核对

ACCEPT @ fbeae33 (card #38362, Part of; three files under scripts/pm/, +663/−76)

  • Relation. Part of #38362 is right. The card stays open for the leftovers the body names: zod-mirror-parity, the object-gantt re-probe, the script-body language-literal miss and the unsearched enums. The tombstone reader has its own card, dispatch-gates: a member-value reader so a tombstone set changed by an in-place retiredKey retirement derives its pin from the diff (unauthorable-columns) #38757, which lands after this one. No closing keyword binds any other card. Under landing rule B, dispatch-gates: whole-set key pins outside the served metadata types (ui spec-parity battery, TemplateManifestSchema, EmailServiceConfigSchema, CloneFlowRequestSchema, engine options, ExplainOperationSchema) derive no test when a key changes #38362 keeps pm:dispatched until someone removes it by hand.
  • Declarations. Clause-②: no, Metadata-protocol: none and Rule-change: none match the face: tooling only, with no published package touched. skip-changeset was hung at PR creation, and the classifier refused nothing (classifier_refusals: []).
  • Data. CHANGE_KIND matches: rows go from 74 on main to 100 at this head, which is the 26 new pins. The registry-inputs pin's list grows to 39 props schemas. The merge=os-regen row is kept. The N11 kind text now names scripts/regen-artifacts.mjs, and that is true of the matcher: changesOsRegenRouting already returns true for OS_REGEN_DRIVER_TABLE. The two N12 repair owners read correctly.
  • Engine (N13). rowLiteral now ends the call search at the declaration's own ; at depth zero, or at the next top-level export/const/let/var/function line. The dead callArgumentStart is gone, and its docblock is folded into callArgumentAt.
  • My runs at this head:
    • Two-minute check (the body's own). I added 'probe_value', to PageTypeSchema, then ran dispatch-gates.mjs --commands. It named pnpm --dir ui exec vitest run packages/components/src/__tests__/page-kind-node-type-channel-9642.test.tsx. I restored the file byte-exact.
    • Ablation of N13. I passed no end to callArgumentAt in rowLiteral, then ran --self-test --fast (7m34s). Exactly the two N13 cases went red: "null, not the NEXT declaration's literal…" and "⭐ LIVE: the arrow re-spaced on the live file reads null…". I restored the file. The bound is pinned, both by a fixture and by the live file.
    • Six other cases were red in that run. They are the gate readers' exit 3: install the workspace first and the cases that follow from it, because my review worktree was not installed. They have nothing to do with the mutation. I did not run an unmutated control in the same worktree, so I rely on the dev's 2890/2890 and the green CI at this head for those.
  • Measured population. The body's before/after (0/27 → 27/27) and its control (a describe-only edit, 0/27) are given with commands and a byte-exact restore. The 46-red re-measure is split into 19 already rowed, 24 newly rowed and 3 left on the card, with the 3 named. I did not re-run the ui probes; that part is NOT MEASURED by me.
  • Not measured by anyone. The self-test's slow tier, as the body says.

Checks at this head (read before writing): 26 success, 27 skipped, 0 failure, 0 pending. mergeable_state is clean. The four Dogfood battery skips are the opt-in lane, which is not owed: there is no ! and no (narrowing) arm.
Governed: scripts/pm/dispatch-gates.mjs is Tier H (CODEOWNERS @os-zhuang). Landing needs os-zhuang's approval, and the PR is still draft.
L2: the seat's contract review is owed on this head, per the seat's green comment 7277037406.

…wo pins hold their second set

The registry-inputs pin now holds ComponentPropsMap's own block list and
the element:form, record:approvals and emptyProps literals the test
ledgers to no authorable key, each measured red on a one-schema probe.
The zh approval pin holds DecisionConfigSchema too, and the block-type
pin one record:details section entry through a within step. The rows'
kind and why say what the pins hold, and the census names the three
blocks that stay out (each measured green) and the follow-up carrier.

Claude-Session: https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmRJUY9Ncce14hVHd25

Final green head for delta review: 175894264c4cf7a09b9685c7afc4730731bfbf82 (read 2026-11-30T12:42Z: 25 check-runs success, 21 skipped, 0 failed or pending; mergeable clean). One commit on fbeae3347815e7e2ed66cd1ab52c1d0a1f527ef3, no rebase or force-push, touching scripts/pm/dispatch-gates.data.mjs and scripts/pm/dispatch-gates.self-test.mjs only. It closes the contract review's S1 and S2 and nits N2/N3 (record 7277396273); N1 unchanged as directed. Fix-round dev report 7278782994 on #38362; probes red on base and named on head, with controls, are in the PR body's "L2 fix round" section. PR now +718/−80. Owed: the seat's delta contract review and L1-b's delta on this head (L1 ACCEPT 7277570005 was at fbeae334); then the governed hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 175894264c4cf7a09b9685c7afc4730731bfbf82
Local-runs: none
Scope: scripts/pm/dispatch-gates.mjs + scripts/pm/dispatch-gates.data.mjs
Security-touching: no
Rule-change-verified: none

Delta review of record 7277396273 (head fbeae3347815). The new head is one commit on that head, no rebase: scripts/pm/dispatch-gates.data.mjs +39 −14 and scripts/pm/dispatch-gates.self-test.mjs +34 −8. scripts/pm/dispatch-gates.mjs is untouched, so the earlier record's reading of it stands. Read: the delta diff, dev report 7278782994, green note 7278809371, the check-runs on this head, and the spec and test files the new rows cite on origin/main acf3b33e31. Nothing was run.

① Derived judgments

  • Five declaration rows added (116 → 121), no row or pin removed. Each addresses a live declaration, read on origin/main:
    • ComponentPropsMap, no call: the literal follows the = (component.zod.ts:8698, closing } as const; at :8964), its members quoted block types. Right.
    • ElementFormPropsSchema, strictObject argument 1 (:3298). Its keys are tombstones; a live key added moves the set. Right.
    • emptyProps, strictObject argument 1 (:473-481): the one {} every emptyProps(…) block shares. Empty by design, and the self-test's empty-by-design list now names it. Right.
    • RecordDetailsProps.sections, a within step (member: 'sections', strictObject argument 1) into the row that already reads RecordDetailsProps (:1328). Right.
    • DecisionConfigSchema, strictObject argument 1 (schemaless-node-config.zod.ts:537). Right.
  • Three pins widened. registry-inputs-key-set 39 → 43 (RecordApprovalsProps, ElementFormPropsSchema, emptyProps, ComponentPropsMap); approval-config-zh-key-set adds DecisionConfigSchema; page-block-type-value-set adds RecordDetailsProps.sections. Each addition is a set the pin's own test holds, by the assertions the earlier record cited. Right.
  • No over-firing introduced. A key added to the section entry moves the within row alone; the host row reads RecordDetailsProps's own top-level keys, which do not move, so the registry pin stays quiet on it. A block added to the map moves the map row alone. Right.
  • No published surface moves. scripts/pm/** only. Right.

② Semver level

skip-changeset still right: the delta publishes nothing; Check Changeset concluded success on this head.
Clause-②: no. Agreed.

③ Boundary flags

  • Check-runs on this head, read here: 26 success, 24 skipped, none failed, none pending. Lint · PM dispatch-gates success is the fast tier, as on the earlier head; the slow tier is still unmeasured on this PR and first runs on the push to main.
  • Open questions: none this round.
  • Deviation, the ui probes rebuilt the spec JS alone (tsup, no declarations). Accepted: the three tests read the spec at run time, not its types.
  • Deviation, the worktree was added by hand on the existing branch; main not merged in. Accepted: the three files are unchanged on main since the merge base, and the five new rows read on origin/main.
  • Rule-change: none: still verified. The delta adds rows and rewrites shown text; no tier, reviewer, order or maintainer routing moves.
  • The 1,000-line rule: held. Rows and prose in the data file; no engine hunk.
  • SQL push-down: not applicable.

④ Design judgment

S1: closed. The map's block list, RecordApprovalsProps, ElementFormPropsSchema and the shared emptyProps literal are rowed and held by the pin. The element:form disagreement is settled by a one-schema probe the dev reports red ("is ledgered as retired upstream, and its row accepts keys"), with the earlier green explained: the ledger case stops at its first failing block. The row's kind and why (dispatch-gates.data.mjs:1576, :1583) now state the block list and the 42 schemas, and name the three blocks that stay out with the reason. The probe results are the dev's measurement; the rows and the test assertions they answer were read here and agree with it.

S2: closed. DecisionConfigSchema and the section entry are rowed and held, both rows' kind and why name the second set, and the census now says a red file was attributed to its probe's schema alone and that a batch can hide a red. "Bar its deferred nine" matches block-config.test.ts:164-176.

N2: fixed in the census (three blocks stay out, all in EXPECTED_WITHOUT_INPUTS; the four retiredComponentProps rows named as z.never).
N3: fixed; the census names #38757 as the tombstone reader's carrier.
N1: unchanged, left as an accepted deviation; it has no effect on correctness.

Nothing new graded on this delta.

No must-fix, no should-fix.

Implemented-by: claude/issue-38362-whole-set-pins-rest
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-11-30T12:46Z · delta review

席位核对

ACCEPT @ 1758942 (card #38362, Part of). This is a delta from fbeae33 and my ACCEPT 7277570005: one commit, 17589426, with no rebase. It touches dispatch-gates.data.mjs and dispatch-gates.self-test.mjs only, +73/−22. It addresses L2's S1, S2, N2 and N3 (7277396273).

  • S1. The registry-inputs-key-set pin now holds 43 schemas. The four new rows each name a declares/call/argument that exists at this head:

    • ComponentPropsMap (call: null, the literal after the =);
    • ElementFormPropsSchema and emptyProps (strictObject/1);
    • RecordApprovalsProps joins the pin's list.

    The row's kind and why are rewritten to cover the partition, the inputs parity and the two ledger arms.

  • S2.

    • approval-config-zh-key-set gains DecisionConfigSchema.
    • page-block-type-value-set gains RecordDetailsProps.sections, a within row one step into the inline sections strictObject.
  • N2. The census sentence now names three blocks that stay out: ai:suggestion inline, element:image and element:metadata_viewer, all in EXPECTED_WITHOUT_INPUTS. It says the four retiredComponentProps blocks are z.never, and it adds the batch-probe caveats.

  • N3. The docblock names dispatch-gates: a member-value reader so a tombstone set changed by an in-place retiredKey retirement derives its pin from the diff (unauthorable-columns) #38757 as the carrier.

  • My runs at this head, dispatch-gates.mjs --commands, with each edit restored afterwards and git status clean:

    • S2 zh pin. A key probeKeyL1b added to DecisionConfigSchema's key set (argument 1, after }, {) named flow-node-config.zhPanel-34818.test.ts.
    • Control. A .describe() text edit on the same schema's conditions named it 0 times.
    • S2 within row. A key added to the record:details section entry's key set named …/previews/__tests__/block-config.test.ts.
    • My first probe put the key into DecisionConfigSchema's argument 0, its options, and named nothing. That is right, because the row reads argument 1. I record it so the reading is not mistaken for a miss.
  • Not run by me: the S1 probes on ComponentPropsMap and emptyProps, the ui files themselves, and --self-test --fast (2904 per the body). Those are NOT MEASURED by me. The dev's one-schema probe table and the base/head columns give them, with byte-exact restores.

Checks at this head (read before writing): 26 success, 24 skipped, 0 failure. mergeable_state is clean.
Governed: Tier H, as before, so landing needs os-zhuang. L2: the seat closes its S1 and S2 on this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

维护者速读

Seat opinion: land as is.

席位核对

ACCEPT at head 175894264c4cf7a09b9685c7afc4730731bfbf82 · Tier H (scripts/pm/dispatch-gates*.mjs, Rule-change: none verified by L2) · Part of #38362

  1. Shape: three files: dispatch-gates.data.mjs (rows), dispatch-gates.mjs (rowLiteral fix), dispatch-gates.self-test.mjs (pins).
  2. Premise: each new row reads its set on origin/main. On each probe, base names no pin, head names its pin, and the control names none.
  3. Gates: on this head, 26 success, 24 skipped, 0 failed; skip-changeset. The slow self-test tier first runs on the push to main.
  4. Accepted deviations: L2 nit N1 (rowLiteral's fallback stops at declaration keywords, as its docblock says).
  5. Out of scope and where it went:
  6. Landing: L1 ACCEPT 7277570005 and delta 7278917625; L2 PASS 7277396273 and delta PASS 7278862734 on this head. Lands after os-zhuang approves.

ACCEPT → comment 7278917625 · Contract review → comment 7278862734

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 30, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 30, 2026 12:48
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 43fe8e4 Nov 30, 2026
58 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-38362-whole-set-pins-rest branch November 30, 2026 13:09
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/l skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants