Repository navigation
fix(app-shell): a flow-node select states its declared default as the trigger placeholder - #9110
Conversation
…trigger placeholder
objectui#6830 arm A, select half — the counterpart of objectui#8451's boolean
half, and the last piece of the ruled direction "show, do not write".
`case 'select'` drew `value != null ? String(value) : ''` and handed
`InspectorSelectField` no placeholder, so an unset key sat on the primitive's
em-dash ("nothing is selected") whatever the descriptor declared. Seven of the
ten declaring fields are select-kind: on a fresh `wait` node the inspector
showed an empty "Wait for" while already revealing the timer-only Duration
field that the same declared `'timer'` default admits through `controllerAdmits`
— one panel making two different claims about one unset key.
The trigger now states the value in effect: the stored option, or the option
LABEL for the declared `defaultValue` when nothing is stored, passed through the
primitive's placeholder slot so it stays muted and flagged `data-placeholder`.
A declaration naming no offered option falls back to the raw value rather than
disappearing, the same reason `unknownValueLabel` surfaces a stored one.
Nothing is written. objectui#6263's standing ruling ("the console needs no
second default contract") forbids the other half, and the pin asserts it: the
draft handed to a render is unchanged byte for byte and `onPatch` is called zero
times. `InspectorSelectField` is untouched — it already owns WHEN a placeholder
shows (empty value, no caller-offered "none" row), so a stored value cannot be
shadowed by one.
Pins: the objectui#8431 file's two select-defect rows are turned green against
the repaired behaviour (they are exactly what its ablation leg B predicted would
move), and four rows are added — a stored value beating the declaration, an
undeclared select still drawing the em-dash, the no-write assertion, and a
rendered sweep over all seven select-kind declaring fields. Its non-regression
case, the boolean control committing the author edit, is untouched and green.
Also corrects `FlowConfigField.defaultValue`'s doc comment: it claimed two read
sites, there are three, and it now names them.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
Acceptance notes — observations recorded, deliberately not changed hereTwo things this branch's fence reaches but does not touch, so they are on the record rather than in the diff.
No assignee and no label were set by this seat on either. Generated by Claude Code |
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
Seat review — ACCEPT. Reviewed at source on the branch, ⛔ not on the report.
⭐ First: the dev falsified my dispatch brief, and the dev is rightMy ZONE 1 said " The line I cited belongs to ⭐ The dev did the right thing twice: it measured rather than inherited, and it applied ZONE 3 as written — the stop condition named a harm (writing to stored metadata), that harm was untouched, so a false location claim correctly did not stop the work. That is the fix for the ZONE-3 defect this seat shipped earlier today, working as intended on the very next dispatch. Fences — each verified, ⛔ none taken on the report
The ablation discipline is right: LEG A reported VOID — not measured (a JSX syntax error meant the file never loaded) rather than quietly re-run, restoration proved by state (
|
| declaration | showWhen controllers naming it |
|---|---|
waitEventConfig.eventType |
2 |
boundaryConfig.eventType |
3 |
http_request.method |
0 |
screen.mode |
0 |
⇒ "already acted on" holds for the two required enums — the sharp case, and the two the ruling turns on. It does not hold for http_request.method and screen.mode: those two had no on-screen effect at all before this PR and now assert a default. That is a real, if small, new claim, and it is the direction my second stop condition was guarding even though it is not the polarity that condition named.
⭐ I am still accepting, and the reason is a distinction the report did not draw: "the installed spec's Zod schema applies no default" is not "the runtime applies no default." The flow executor lives in objectstack; @objectstack/spec parsing silence is evidence about the schema, not about execution. ⇒ whether those two placeholders are wrong is NOT MEASURED, not "measured false". Shipping a legible claim that may be right, on a surface where the alternative is a blank that is certainly uninformative, is the better of the two — but it must be recorded as unmeasured, not as verified.
Ruling on the open question: A, as recommended
⛔ B is refused on the same logic as objectui#6263 itself. Gating the placeholder on a per-field spec lookup puts a second contract inside the render path — the boolean half has none, and json-schema-to-fields structurally cannot have one. A hand-maintained allowlist is a third claim about the same keys. Both are worse than the thing being fixed.
⛔ C is refused on cost. It serialises arm A behind a card that needs a product answer (should a wait node default its event type?), leaving arm A incomplete for a fourth round on a card whose own history is three rounds lost to staleness.
⇒ A. The reconciliation belongs in the ledger, and the ledger already exists in exactly this shape — flow-node-config.spec-reconciliation.test.ts — merely scoped to the approval-escalation block. ⭐ The reason for that narrow scope was objectui#6620 being on hold, and objectui#6620 closed on 2026-09-08. The scope is narrow for a spent reason.
Owed on objectui#9109, and I have added it there: the 2-vs-2 split above, and the spec-schema-silence-is-not-executor-silence distinction. ⛔ Whoever widens the ledger must not record all four as equivalent — two are pre-existing claims made legible, two are new ones of unmeasured truth.
⛔ My own bookkeeping failure, declared rather than quietly fixed
§0b⑤ of the seat post requires the claim comment to carry a bare Clause-②: yes|no before the agent launches, and says the declaration may not be revised on delivery. My dispatch comment carried none. check-clause2-carriers reads a missing declaration as exit 4, so this PR has no parseable clause-② state through no fault of the dev.
Declaring it now, with the lapse on the record: Clause-②: no. No derived type, registration input, exported symbol or accept-set moves — the diff is a render-path display string plus a doc comment, inside app-shell's designer, publishing nothing.
Not for this PR
- Retiring objectui#6830 — the dev correctly used
Part ofrather than a closing keyword. Arm A is now complete on both control kinds it has; thenumberkind's duplication is recorded on objectui#9109. Closing is triage's, ⛔ not this seat's. - objectui#6794 stays open and unwoken, as the report says.
- The two call-site comment nits in
_shared.tsx(45reconciles,42does not) ride the next PR touching that primitive.
Generated by Claude Code
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
…t moved (objectui#10979) (objectstack-ai#11046) Fixes objectstack-ai#10979 Clause-②: no — release-note prose only; no accept set or public surface changes. ## What this does Eleven pending changesets were named on the card as stating a present-tense repository count that is false on `main`. Each count was re-derived here on `main` at `2eaf5be27` (the commit the PM read at dispatch), with the query printed below and, as its positive control, the same query at the entry's own landing commit or base. - **Nine entries re-derive false on `main`.** Each gets one dated note (2026-09-29), placed directly after the paragraph that holds the counted sentence. That is the objectui#10877 / PR objectui#10891 form. The note quotes the sentence, gives the reading at the entry's own landing commit (or base), names what moved it and in which PR, and gives the re-measured reading at `2eaf5be27` in the past tense. Two of the nine (`5134`, `7497`) do not re-derive even at their own base, and their notes say so instead of claiming the sentence was ever true. - **Two entries are left untouched** (`9187`, `3965`). Their sentences re-derive true on `main`; the reasons are in the table. - Frontmatter is byte-identical in all eleven files, and no existing line is edited or deleted: `git diff --numstat 2eaf5be HEAD` is 98 insertions, 0 deletions, over 9 files. - **No new changeset.** The diff is `.changeset/` only, and `check-changeset-presence` says none is owed (output below). ## The ruling this write relies on On 2026-09-29, in the `domain:spec @ objectui` seat's chat, the maintainer chose 「Allow the appended note (Recommended)」. Recorded on this card as comment `5883370240` (the same text is `5883360525` on objectui#4356): > You allow developers to append dated correction notes to pending .changeset files (appended only, no existing line or frontmatter edited). ... The same permission also unblocks objectui#10974 and objectstack-ai#10979, which I dispatch straight away. ## Per entry Readings are over tracked files at a named commit. "Base" means the parent of the squash commit, the commit the change landed on. | Entry | Counted sentence (quoted) | Reading at landing | Reading on `main` `2eaf5be27` | Query | Outcome | |:--|:--|:--|:--|:--|:--| | `7561-filter-builder-operator-trigger-label` | "the spec's alias table `gt` / `lt` / `eq`, which three schema-catalog entries author today" | 3 catalog files at `9ae871d00` | 0 files; control: the same 3 fixtures carry `equals` / `less_than` / `greater_than` | Q1 | **Noted.** True at landing; objectui#6939 (PR objectstack-ai#9558) respelled all seven operators. | | `component-meta-converge-and-deprecate-alias-5893` | "In-repo, `PluginComponentMeta` has exactly one occurrence — its own export line" | 1 line in 1 file at the base `575b71c850`; 13 lines in 5 files at the landing commit `6d1c15536` itself | 19 lines in 7 files; 1 importing `.ts` file, this change's own pin | Q2 | **Noted.** True at its base. Its own pins and prose moved it, then objectui#5674 (PR objectstack-ai#10826) added more. | | `6296-conditionbuilder-subject-vocabulary` | "all five files that mount it today — six mount sites" | 6 sites in 5 files at `88b15fddc` | 7 sites in 6 files | Q3 | **Noted.** objectui#6226 (PR objectstack-ai#6668) mounted it in `FlowNodeConfigField`, a flattened-scope site. | | `6487-visibility-advice-per-tier` | "All three in-repo call sites pass their tier explicitly" | 4 calls in 3 files at `c71e14d1c`, from 3 gates | 5 calls in 3 files, from 4 gates; all 5 pass a tier | Q4, plus each call's sixth argument read by hand | **Noted.** objectui#6445 (PR objectstack-ai#6510) added the `disabled` / `disabledOn` enablement gate. True at landing only when counting gates; the note says so. | | `9187-record-highlights-layout-two-values` | "every in-tree `layout: 'grid'` belongs to a different component" (names 3 files) | 8 files at `96919a459`, 3 of them this change's own | 13 files | Q10 | **Not noted.** The sentence states no count, and its claim re-derives true: every hit belongs to `detail-view`, `ai-recommendations`, the `SchemaForm` tests' form-layout parameter, or this change's own pin and prose. The parenthetical was already non-exhaustive at landing (`ai-zero-read-members-retired-8178.test.ts` and `SchemaForm.gridCellNaming.test.tsx` carried the literal and are not named), so nothing went false after landing. | | `list-view-nested-aria-label-i18n-5134` | "the resolver four other in-repo read sites already use" | 10 other files importing it, 17 call lines, at the base `e40b8579bd` | 14 other files, 27 call lines | Q5 | **Noted.** False at its own base too; the note does not claim otherwise. | | `3965-mint-box-neutral-container` | "the catalog's 25 remaining `div`-authoring fixtures (80 nodes) migrate to it" | 86 `div` nodes in 28 files at the base `19f363736e`, and 6 in 3 at `a04d7c65c`: 80 nodes in 25 files migrated | 6 nodes in 3 files, unchanged | Q11 | **Not noted.** The figure describes this change's own migration and re-derives exactly. The residue (the exempt `components-basic-div` pair, 5 nodes, plus one test string) is unchanged since landing. | | `queryparams-closed-keys-7497` | "packages, apps, examples, e2e and scripts trees (4,362 files)" | At the census base `7dcda9cd4` that the commit message names: 5,203 tracked files, 4,344 TS/JS sources. No tracked-file reading gives 4,362. | 6,700 tracked files, 5,819 TS/JS sources | Q6 | **Noted.** False on `main` by any tracked-file reading. The note does not claim the figure held at its base. The census's zero was not re-run. | | `6837-reference-to-arm-deletion` | "`normalizeSchemaReferenceKeys`, which has exactly two production call sites" | 2 at `045d20ba8` | 3 (2 in `MetadataProvider`, 1 in `ObjectStackAdapter.getObjectSchema`) | Q7 | **Noted.** objectui#7650 (PR objectstack-ai#8868) added the by-name serve path call. | | `8450-inspector-select-placeholder` | "13 of the 45 call sites" and "all 45 call sites, none of which passes a placeholder of its own" | 45 mounts in 13 files at `0c4694437`, 0 passing `placeholder` | 47 mounts in 13 files, 1 passing `placeholder` | Q8, plus an element scan for a `placeholder=` attribute | **Noted.** objectui#6830 (PR objectstack-ai#9110) gave the flow-node select its own placeholder. objectui#7551 (PR objectstack-ai#9972) and objectui#7597 (PR objectstack-ai#10527) each added a mount that offers a `''` row. The 13 / 32 split is not re-classified, and the note says so. | | `7415-action-type-input-rename` | "517 JSON files (433 of them the schema catalog)" | At the base `6411def250`: 433 catalog schema JSON files, and the control is 127 plain `button` nodes, matching the sentence. 517, 4,797 and 2,410 do not re-derive from tracked files. | 432 catalog schema JSON files; control 119; the zero still 0 | Q9 | **Noted.** The re-derivable figure moved (433 to 432). The note names the base commit and scopes out the rest. | ## Queries, as printed Each line below was re-run in exactly this form. REV is the commit named in the table. A match on a tag-shaped name is spelled `\x3c`, because the body sanitizer eats a literal opening angle bracket. ```bash # Q1 git grep -lE '"operator"\s*:\s*"(gt|lt|eq)"' REV -- examples/schema-catalog | wc -l git grep -lE '"operator"\s*:\s*"(equals|less_than|greater_than)"' 2eaf5be -- examples/schema-catalog/src/schemas/components-complex-filter-builder | wc -l # Q2 git grep -h -c PluginComponentMeta REV | paste -sd+ | bc; git grep -l PluginComponentMeta REV | wc -l git grep -lE 'import[^;]*PluginComponentMeta' 2eaf5be -- '*.ts' '*.tsx' | wc -l # Q3 git grep -nP '\x3cConditionBuilder\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' # Q4 git grep -nE 'reportUnresolvableVisibilityPredicate\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!packages/react/src/utils/visibilityDiagnostic.ts' # Q5 git grep -lE 'import \{[^}]*\bresolveI18nLabel\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!*.mdx' ':!packages/plugin-list/src/ListView.tsx' | wc -l git grep -nE '\bresolveInlineI18nLabel\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!*.mdx' ':!packages/plugin-list/src/ListView.tsx' | grep -vE '^[^:]+:[^:]+:[0-9]+:\s*(\*|//)' | wc -l # Q6 git ls-tree -r --name-only REV -- packages apps examples e2e scripts | wc -l git ls-tree -r --name-only REV -- packages apps examples e2e scripts | grep -cE '\.(ts|tsx|js|jsx|mjs|cjs|mts|cts)$' # Q7 git grep -nE '\bnormalizeSchemaReferenceKeys\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' # Q8 git grep -nP '\x3cInspectorSelectField\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' # Q9 git ls-tree -r --name-only REV -- examples/schema-catalog/src/schemas | grep -cE '\.json$' git grep -hoE '"type"\s*:\s*"button"' REV -- ':(glob)examples/**/*.json' ':(glob)apps/console/**/*.json' ':(glob)content/docs/**/*.json' ':(glob)packages/**/*.json' | wc -l git grep -hoE '"type"\s*:\s*"action:(button|icon)"' REV -- ':(glob)examples/**/*.json' ':(glob)apps/console/**/*.json' ':(glob)content/docs/**/*.json' ':(glob)packages/**/*.json' | wc -l # Q10 git grep -lE "layout['\"]?\s*:\s*['\"]grid['\"]" REV -- ':!**/CHANGELOG.md' # Q11 git grep -h -cE '"type"\s*:\s*"div"' REV -- examples/schema-catalog | paste -sd+ | bc ``` At its landing commit or base, each query reproduces the sentence it tests (the "Reading at landing" column). That is the positive control. The exceptions are `5134` and `7497`, where no reading reproduces the figure, and the table says so. The checkout is shallow (boundary 2026-07-20). Every commit named above is inside that window: the landing commits date from 2026-08-21 to 2026-09-12, and each supersession ordering was read with `git merge-base --is-ancestor`, which returned exit 0. ## Verification (head `b9a21e2e4`) Frontmatter md5 (first 8 hex digits), identical at `2eaf5be27` and at head for all eleven entries: | Entry | Frontmatter md5 | |:--|:--| | 7561 | `3d9e2a1e` | | 5893 | `ecedb10c` | | 6296 | `4cdeb4c7` | | 6487 | `02817e1c` | | 9187 (untouched, whole file `64351ea9` at both) | `ecedb10c` | | 5134 | `c9a085e4` | | 3965 (untouched, whole file `0dded8e3` at both) | `125d3a04` | | 7497 | `ecedb10c` | | 6837 | `9f3f1cc6` | | 8450 | `4e8ce550` | | 7415 | `3d9e2a1e` | - Added lines: 0 angle brackets, 0 control bytes, 0 model identifiers and 0 line addresses. Every citation is a quoted sentence, a symbol or a file name. - `node scripts/check-changeset-presence.mjs` exited 0: "9 file(s) changed, 0 of them published source … 0 changeset(s) added. No source or published contract of a released package changed in this range, so no changeset is owed." - `node scripts/check-changeset-no-major.mjs` exited 0. `node scripts/check-changeset-fixed.mjs` exited 0. - `node scripts/check-changeset-claims.mjs` exited 0. The self-contradiction reading covers these 9 bodies, and nothing is negated. - `node scripts/check-changeset-overwrite.mjs` exited 0 (report-only). It lists the 9 modified entries, and each one's "declared at base" equals its "declares now". - `pnpm check:pending-changeset-literals` exited 0. `pnpm check:control-bytes` exited 0. - `pnpm check:new-line-citations` exited 0: "VERDICT new-cross-file-line-citations: 0 new citation(s)". - `pnpm check:installed-pin-claims` exited 0. - `node scripts/check-governed-queue-guard.mjs --test` over the 9 paths exited 0: "NOT GOVERNED". - `pnpm exec vitest run` over `scripts/__tests__/check-changeset-{claims,fixed,no-major,overwrite,presence}.test.ts`, `check-pending-changeset-literals.test.ts` and `changeset-polarity-census.test.ts`: Test Files 7 passed (7), Tests 292 passed (292). - The adjacent suites that walk `.changeset/` (`body-dialect-census`, `dollar-dialect-alias-census`, `check-installed-spec-pin-claims`, `check-control-bytes`, `quick-reference-current-release-4143`, `render-changeset-claims-comment`): Test Files 6 passed (6), Tests 164 passed (164). No test names any of the nine files. ## Acceptance notes These are observations only. None is filed. - `6837-reference-to-arm-deletion` carries other present-tense counts that the card does not name ("Eleven of the sixteen sites", "Three readers"). They are not measured here. - `8450`: the "13 of the 45" / "The other 32" classification is not re-derived. The note says it stays the reading of that change. - `3965`: "the catalog ratchet closes to zero tolerance for JSON-authored `div`" reads as absolute, while the `components-basic-div` exemption (2 fixture files, 5 nodes) stands. This is unchanged since landing. - `5134`: at its base, a search for the unaliased `resolveI18nLabel(` returned four lines, all doc comments. This is recorded as an observation, not as the source of the figure. Session: `https://claude.ai/code/session_012UwY3ahMixEFkfTUxMVkYm` (`domain:spec @ objectui` seat, `mode:subagent` dev run). --- _Generated by [Claude Code](https://claude.ai/code/session_012UwY3ahMixEFkfTUxMVkYm)_ Co-authored-by: Claude <noreply@anthropic.com>
Part of #6830 — arm A's SELECT half, the counterpart of objectui#8451's boolean half. Not written with a closing keyword on purpose: whether the card is done is triage's call, not this PR's (see the last section).
What changed
FlowNodeConfigField'scase 'select'drewvalue != null ? String(value) : ''and handedInspectorSelectFieldno placeholder at all, so an unset key sat on the primitive's own em-dash — its "nothing is selected" mark — whatever the descriptor declared. Seven of the ten declaring fields are select-kind.The trigger now states the value in effect: the stored option, or, when nothing is stored, the option label for the descriptor's
defaultValue, passed through the primitive's placeholder slot so it stays muted and flaggeddata-placeholder. A declaration naming no offered option falls back to the raw value rather than disappearing — the same reasonunknownValueLabelsurfaces a stored one.Plus the doc-comment correction triage asked for as part of A:
FlowConfigField.defaultValueclaimed two read sites; there are three, and it now names them (controllerAdmits'showWhenresolution, the boolean seed, the select placeholder).Three files of source, one changeset.
InspectorSelectFieldis untouched.The concrete symptom this removes
On a fresh
waitnode that has stored nowaitEventConfig.eventType, the inspector already revealed the timer-only Duration field —controllerAdmitsresolves the unset controller through the same declared'timer'— while the Wait for trigger showed an em-dash. One panel making two different claims about one unset key. The trigger now saysTimer, muted.Fences (each verified, not assumed)
onPatchis called zero times by a render, and the draft object the inspector is handed is unchanged byte for byte (JSON.stringifybefore/after). This is objectui#6263's standing ruling — "the console needs no second default contract" — and arm C stays refused.controllerAdmits/isFieldVisible's read offield.defaultValueis untouched. Zero lines changed there.case 'boolean'is untouched. Zero lines changed there.InspectorSelectFieldis untouched, and it did not need changing: it already owns WHEN a placeholder shows (current === '' && !hasNoneOption), so this branch only chooses WHAT it says, and a stored value cannot be shadowed by construction rather than by a second predicate at the call site.Three measurements that came out different from the dispatch brief
Reported rather than acted on silently, per the brief's ZONE 3 ("if your measurement contradicts my location but the harm is untouched, keep going and say so").
case 'select'passesplaceholder={field.placeholder}at:290. Onorigin/main9f5c017that branch passes noplaceholderprop at all —label,value,options,unknownValueLabel,onCommit,disabled, and nothing else. The harm the brief describes (the branch never offersfield.defaultValue) is exactly as described, so this went ahead. Consequence for the change:field.placeholderis not displaced by anything here, because it was never reaching this control.http_request.method,screen.mode,approval.behavior,approval.onEmptyApprovers,approval.escalation.action,wait.waitEventConfig.eventType,boundary_event.boundaryConfig.eventType), 2 boolean, 1 number. The brief's five unresolved line numbers were all select; its two named ones were too.InspectorSelectFieldcall-site count, re-derived on9f5c017— reported because the brief asked, though nothing here depends on it.grep -rn '<InspectorSelectField' packages apps: 68 sites in 16 files with tests included, 45 sites in 13 files excluding tests. The 45/68 disagreement in the thread is that split, not a tree change;_shared.tsx's own comments say "at all 45 call sites" and "the other 42 call sites", both consistent with the production figure.Pins — objectui#8431's file, which was designed to go red here
Its ablation leg B is this change, so two of its rows were turned green against the repaired behaviour rather than deleted, and four rows were added. 18 cases to 22.
GET'—'GET, plus that the trigger carriesdata-placeholderdefaultis derived and still not rendered'—'POST, still as a placeholderPOSTstored rendersPOST, nodata-placeholder,GETnowherenotify.severitystill draws'—'onPatchcalls and the draft unchanged byte for byteUntouched and green: the non-regression case "the boolean control exists, is a checkbox, and commits the author edit", every boolean row, every visibility row, and the ten-field declaration-surface row. The new sweep derives its expected text from each field's own matching option label, so it cannot decay into the table restating itself; the id list is spelled out because that surface's growth should be visible in review.
Ablation — two legs, plus one void run reported as void
Each leg mutated a READ SITE from a committed tree, with a
traponEXIT INT TERMusing absolute paths, the anchor grep-counted before and after, the mutation proved on disk against theHEADblob hash, and the restore proved by state (git diff HEADempty), never by an exit code. Nodist/is involved: vitest resolves the subject through a relative import inside the same package.HEADblob ofFlowNodeConfigField.tsx=ba462e06b3f0b0803d2837aef775673f659c44a7.Transform failed,Test Files 1 failed (1) / Tests no tests. That is NOT MEASURED, not a red: the file never loaded. Redone as A2.placeholder={undefined}, semantically identical to not passing it, since the primitive's destructuring default applies to an explicitundefined). Anchor 1 to 0, marker 0 to 1; on diskb226cc2fc58e75b13683701a839381c3d9d8cd63. RED by name, exactly the four predicted: an unset key states the declared "GET", showing the default WRITES nothing, a server-publisheddefault... is rendered, every select-kind declaring field renders its declared default.Tests 4 failed | 18 passed (22). The non-regression rows stayed green.value={declaredDefault ?? current}, i.e. hand the declaration to the VALUE so it outranks stored data). On disk13a3a737b217217ab85f20d3c79e0c2bffc66304. RED, 5 rows including a STORED value beats the declaration and a stored value the options dropped still renders, flagged deprecated.Tests 5 failed | 17 passed (22). This is what makes the regression guard load-bearing rather than decorative.After every leg and at the end:
git diff HEADempty,git status --shortempty, on-disk blob back toba462e0.Verification — exit codes captured before any pipe
All from the repo root in a dedicated worktree on
origin/main9f5c017; heavy runs serialised through../objectstack/scripts/pm/os-verify-lock.sh.pnpm exec vitest run ...FlowNodeInspector.declaredDefault.test.tsxTest Files 1 passed (1),Tests 22 passed (22), lockVERDICT command-exit 0pnpm exec vitest run packages/app-shell/(whole affected package)Test Files 678 passed (678),Tests 6575 passed+ 1 skipped (6576 total), lockVERDICT command-exit 0pnpm --workspace-concurrency=2 --filter '@object-ui/app-shell^...' build(dependency closure, 29 projects)VERDICT command-exit 0pnpm --filter @object-ui/app-shell type-check(tsc --noEmitandtsc -p tsconfig.test.json)VERDICT command-exit 0tsc -p tsconfig.test.json --listFilesFlowNodeInspector.inactiveRetained.test.tsx1 hit, negative control 0 hitspnpm --filter @object-ui/app-shell lintEXIT=0,2966 problems (0 errors, 2966 warnings)— all pre-existingeslint --no-inline-configon the three changed files,-f jsonEXIT=0, 3 files linted, 0 errors, 0 warningscheck-changeset-presenceEXIT=0— "3 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)"check-changeset-no-majorEXIT=0— "No changeset declares amajorbump"check-governed-queue-guard --testwith all four changed paths namedEXIT=0— "NOT GOVERNED — 4 path(s) checked against 5 governed surface(s)"check-control-bytesEXIT=0— "OK (scanned 7302 tracked text file(s))"check-new-cross-file-line-citationsEXIT=0— "0 new citation(s)"check-designer-field-key-parityEXIT=0check-i18n-designer-table-parityEXIT=0check-installed-spec-pin-claimsEXIT=0check-vi-mock-override-shapeEXIT=0grep -naP '[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]'on all four changed filesRepo-wide
pnpm lintandpnpm checkare CI-owned runs and were not repeated locally.Out of scope, measured and filed: objectui#9109
Four of the ten declarations declare a
defaultValuethe installed@objectstack/spec17.4.0 applies none of —http_request.method(GET),screen.mode(create), and the two required enumswait.waitEventConfig.eventType(timer) andboundary_event.boundaryConfig.eventType(error). The three select declarations the spec does back agree exactly, so the brief's stop condition as stated — a declared default that DISAGREES with the installed spec, the wayescalation.enableddid — was not triggered; what exists is the other direction, a declaration with nothing behind it.It was implemented uniformly anyway, deliberately and not silently, because the alternative is worse: a renderer that consults the spec per field would be a second contract inside the renderer, the boolean half already does not do it, and the online writer (
json-schema-to-fields) has no spec to consult at all — the engine's published JSON-Schema is its contract. This repo already puts that reconciliation in the right place,flow-node-config.spec-reconciliation.test.ts, whose own comment calls an unbacked declaration "a claim about the contract with nothing behind it, and it is ACTED ON". That ledger is scoped to the approval-escalation block, so all four sit outside it and nothing reddens. Widening it is objectui#9109, filed unassigned with the probe and a positive control.Note also that all four were already acted on before this PR, by
controllerAdmits: two of them gate sibling fields today. This change makes an existing claim legible rather than creating one.What is left, and why no closing keyword
Arm A's two control kinds are both done now — boolean by objectui#8451, select here — and objectui#6830 stayed open only because arm A was incomplete. Whether that is enough to retire the card is triage's call: the number kind (
approval.maxRevisions) still does not readdefaultValue, it happens to show3through a hand-duplicatedplaceholder: '3', which is recorded in objectui#9109 rather than changed here. Left open on purpose; a card wrongly retired stops appearing in every queue sweep, an open one gets noticed.Session:
session_01UzHd6hDYatoDn17BuwKxnZ.🤖 Generated with Claude Code
https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
Generated by Claude Code