This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
feat(scripts): rebuild the changeset polarity instrument, closing its pronoun blindness (objectui#9727) - #9752
Merged
Conversation
… pronoun blindness (objectui#9727) objectui#9727 carries a derived candidate set over pending changeset prose, and both of its tables are TRANSCRIBED — the producing script was cleaned up with its author's worktree, so no number on the card is re-derivable. Acting on a candidate table nobody has run is how a second generation of false records gets made, which is the defect the whole family of cards is about. So the first step is the instrument, not the 53 entries, and no changeset body is edited here. `pnpm census:changeset-polarity` is report-only and wired into no workflow. It reads whole files with whitespace tolerance (this corpus wraps near eighty columns, where a line-anchored probe is structurally blind), distinguishes assertion position from quoted position (objectui#9713's repair quotes the sentence it retires, and re-flagging it forever is the trap), and resolves membership as (interface, name) through the TypeScript parser over both published faces — with an inherited index signature deliberately NOT counted as membership, since a key riding it is admitted and never examined. The blindness the card names is closed: the motivating site's claim has a cross-sentence pronoun for its object, so a sentence-local matcher missed the site the instrument was built from. Run against that site's pre-repair text the rebuild returns exactly the four keys objectui#9713 adjudicated and no others, every one reached across the sentence boundary — pinned by fixture so it survives a shallow clone. The count, the controls and the three measured false-positive sources are what the script prints; they are not restated here, per commandment #9. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
…(objectui#9727) A hand-typed `process.argv[1]` guard is THIS SCRIPT'S OWN DEFECT CLASS. Node resolves symlinks for the module graph but leaves `process.argv[1]` as the caller typed it, so a census reached through a symlink compares two different paths, answers false, does nothing, and exits 0 with no output — a clean-looking zero from an instrument that never ran, inside an instrument whose whole purpose is to stop false zeros being reported as measurements. `check:entry-guard` named it: exit 1 before, exit 0 after, with its own self-test at 63 cases and `invoked-as --self-test` at 12 cases still green. The census reading and the instrument's 47 pins are unchanged by the fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
os-sales
marked this pull request as ready for review
September 18, 2026 01:46
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 28, 2026
…nitialValues`, `initialData` and `submitBehavior` (objectstack-ai#9759) Refs objectstack-ai#8071 Clause-②: no objectui#8071 slice 10. Three `object-form` keys leave `MEMBER_PIN_EXEMPTIONS` and gain real per-block member pins. `MEMBER_PIN_EXEMPTION_CEILING` follows **31 -> 28** in the same commit, as every slice of that card owes. ##⚠️ First: the dispatch's own premise was FALSIFIED, and the card body is the reason This batch was dispatched to convert the three "near-miss" keys the card body flags — `object-form.fields`, `object-grid.exportOptions`, `object-grid.bulkActions` / `bulkActionDefs` — plus `page:accordion.items`, `page:tabs.items`, `record:path.stages`, `record:alert.action`, `element:button.action` as follow-on candidates. **All nine have been pinned since slices 1-7.** Measured on `origin/main` `f73521f93` by TypeScript AST walk of the constant, not by reading the card: ``` MEMBER_PIN_EXEMPTIONS on origin/main = 31, in five blocks object-grid. 15 object-form. 7 object-master-detail-form. 6 object-kanban. 2 (held: `dataSource` is not a block member at all) record:related_list.actions 1 (NO_READ_SITE_TO_PIN — a different debt) ``` The card body's enumerated 58-key list has been stale since PR objectstack-ai#8737 merged on 2026-09-09, and issuecomment-5599611864 already recorded that the authoritative list is the constant, never the card's prose. It has now mis-aimed a dispatch a second time. That note is repeated inside the constant's own docblock in this PR so the next dispatcher reads it where the numbers live. ⇒ the batch was re-selected from the live table. `object-kanban` (held on a stated question) and `record:related_list.actions` (a different debt) were left alone; `object-form` was taken because it is the smallest of the three open multi-key blocks. ## What was converted, and the renderer read pinned for each ### `object-form.initialValues` and `object-form.initialData` — NEW file `packages/plugin-form/src/__tests__/objectFormInitialMembers-8071.test.tsx` Read site: `ObjectForm.tsx`, the two sites that seed `initialData` state (the inline-fields effect and the create branch of `fetchInitialData`), both spelled `setInitialData(schema.initialData || schema.initialValues || {})`. 1. a MEMBER is a FIELD NAME and its value is that control's opening value; 2. ⭐ the two keys are chosen between **as whole objects** — `||`, never a merge. With both authored, **every** `initialValues` member is dropped, including the ones `initialData` says nothing about. Nothing declared distinguishes that from `{ ...initialValues, ...initialData }`, which is what "alternate spelling … read FIRST" reads like and what a per-member precedence would mean; 3. the sharp edge: `||` tests the OBJECT's truthiness, so an **empty** `initialData` shadows a populated `initialValues` completely; 4. non-vacuity control: with neither key authored the same controls render empty. Both keys are registered `type: 'object'` and typed `Record<string, any>`, so every object parses on both declared sides — the read site is the whole member contract. ### `object-form.submitBehavior` — EXISTING file, GROWN before it was registered `packages/plugin-form/src/ObjectForm.submitBehavior.test.tsx` This is a genuine near miss, unlike two of the three the card named at slice 1: its whole subject is the key and it drives the real renderer. But it left two members of the read unasserted, so it was strengthened rather than credited as found. Read site: `ObjectForm.tsx`'s `switch (behavior.kind)`. Every member is touched once there — `url` and `delayMs ?? 0` on `redirect`, `title` and `message` on `thank-you` (both guarded on the discriminant, so no other arm reaches them), and nothing at all on `continue` or `next-record`. - **`delayMs` is a MEMBER, not a constant.** Collapsing `behavior.delayMs ?? 0` to a bare `0` removes the readable pause without changing any destination, so every other row in this file and in `ObjectForm.submitRedirect.test.tsx` stays green. Pinned on the number the wait is armed with, with the **same declaration minus the member as the lit control** — without it, an empty `armed` would be indistinguishable from a spy that never sees this renderer's timers. - **`next-record` is a declared arm that reads NO members.** It shares the confirmation-panel body with `thank-you` by falling through, so an edit giving it its own arm or dropping it into `continue`'s no-op would leave a spec-legal authored value doing something else with nothing red. ## Ablations — every pin shown FAILING, restore proven by blob Each from the committed state, `trap … EXIT INT TERM`, restore by `git checkout HEAD -- path` (never a bare checkout), on-disk proof read **before** any result. | leg | mutation | anchor before/after | result | |---|---|---|---| | 1 | `schema.initialData \|\| schema.initialValues \|\| {}` → `{ ...(schema.initialValues ?? {}), ...(schema.initialData ?? {}) }` (the plausible "improvement") | 2 → 0, injected 2 | **exit 1** — rows **3 and 4** red, rows 1/2/5 green **by construction** | | 2a | `delayMs: behavior.delayMs ?? 0` → `delayMs: 0` | 1 → 0, injected 1 | **exit 1** — the `delayMs` row red, 6 passed | | 2b | `case 'next-record'` moved into `continue`'s no-op arm | verified at `:1105-1106` | **exit 1** — the `next-record` row red, 6 passed | Blobs: HEAD `42b7a9b0855c5a53276af4f1d9b3842ad6a0899d`; mutated `30e2c464…` / `e50a99be…` / `ce8521db…`; restored `42b7a9b0…` = the HEAD blob in all three legs, `git diff HEAD` empty each time. Restored runs: pin A **5 passed**, pin B **7 passed**.⚠️ Rows 1, 2 and 5 of pin A survive leg 1 **by construction** and the file says so — a merge and a `||` agree when only one key is authored. Not every row is presented as if it reddened. ## Exemption ledger — measured by AST, not by arithmetic TypeScript AST walk (`ts.createSourceFile` → `VariableDeclaration` → initializer unwrapped through `as` / `satisfies` / parens → **direct** `PropertyAssignment` children): ``` origin/main (f73521f) this branch MEMBER_PIN_EXEMPTIONS 31 28 MEMBER_PIN_EXEMPTION_CEILING 31 28 MEMBER_PINS 60 63 NEWLY_JUDGED_UNPINNED_MEMBERS 2 2 ``` Exemptions **−3**, pins **+3** — they move together, so the three keys were **converted**, not dropped. Instrument control: `nonPropertyAssignmentMembers` is `[]` on both trees, so no spread, getter or shorthand hides inside a span the counter treats as flat. `object-form` is **not** closed: `customFields`, `dataSource`, `mobile` and `sections` remain — the two-bite shape slice 9 said every remaining block now has. `NEWLY_JUDGED_UNPINNED_MEMBERS` and `record:related_list.actions` are untouched by this slice. ## Gates — exit codes captured to disk before any pipe | gate | exit | |---|---| | `apps/console` `registry-inputs-spec-parity.test.ts` (the gate this card serves) | **0** — 199 passed | | `pnpm --filter @object-ui/console test` | **0** — 101 files, 1158 tests | | `pnpm --filter @object-ui/plugin-form test` | **0** — 93 files, 902 passed / 1 skipped | | `pnpm --filter @object-ui/plugin-form type-check` | **0** | | `pnpm --filter @object-ui/console type-check` | **0** | | `pnpm --filter @object-ui/plugin-form lint` · `@object-ui/console lint` | **0** · **0** (0 errors) | | the repo's 61 `check:*` scripts | **60 × 0**, one caveat below | | `check-governed-queue-guard.mjs --test` over the four changed paths | **0** — NOT GOVERNED, so no maintainer-summary section is owed |⚠️ **`check:node-esm-load` exited 1 on the first run, and it is not this diff.** Its own provenance leg refused 2 of 37 entries because turbo's shared cache replayed artifacts built by a *different worktree* (`/home/user/objectui-issue-9659` — `@object-ui/auth`, `@object-ui/react-runtime`), neither of which this diff touches. The script names that condition and prescribes the remedy itself; re-run with its own `--force-build`: **exit 0, 37 of 37 gradable entries built by this tree.** **Typecheck coverage proven, not assumed:** `tsc -p tsconfig.test.json --listFiles` lists both `ObjectForm.submitBehavior.test.tsx` and `objectFormInitialMembers-8071.test.tsx`, so the greens are not the excluded-tests trap. **Control bytes:** `grep -naP '[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]'` over all four changed files — no match (and `check:control-bytes` exit 0). ## Changeset grade — MEASURED from a build, with both controls Empty-frontmatter changeset. Both packages were built and their published `files[]` output grepped: | marker | corpus | hits | |---|---|---| | `objectFormInitialMembers` | `packages/plugin-form/dist` | **0** | | `Saved — next one`, `from initialValues` | `packages/plugin-form/dist` | **0** | | `MEMBER_PIN_EXEMPTION_CEILING`, `AWAITING_A_PIN` | `apps/console/dist` | **0** | | `submitBehavior` (positive control) | `packages/plugin-form/dist` | **7 files** | | `object-form` (positive control) | `apps/console/dist` | **12 files** | Two zeros with a lit control on the same instrument and corpus. One near-miss chased down: `registry-inputs-spec-parity` matches **1** file in `apps/console/dist`, and it is `vendor-objectstack-*.js` — `@objectstack/spec`'s own prose naming this gate file, not a byte of this diff. ## Serial constraint — re-taken immediately before the first write Enumerated over the **11** open PRs (the dispatch's table listed 3; this lane's tables have been short before). Intersection at FILE level: **empty**. Nothing open touches `apps/console/src/__tests__/registry-inputs-spec-parity.test.ts` or any `packages/plugin-form/src/**`. PR objectstack-ai#8941 touches `packages/plugin-form/package.json` only. Root `package.json` is held by PR objectstack-ai#9752 in the queue — this batch does not need it. ## Out of scope — handed back, not filed and not fixed - The **233** array/object inputs on blocks with no spec contract entry at all are explicitly not this card. Nothing here widens into them. -⚠️ An **empty `initialData` silently discarding a populated `initialValues`** is pinned as the renderer's behaviour and deliberately not endorsed. Changing it is a renderer change, and Clause-② for this batch is `no` — so it is reported to the dispatching seat rather than filed or repaired here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L --- _Generated by [Claude Code](https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L)_ Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9727
Clause-②: no
The first step on this card is not repairing 53 changeset entries. It is rebuilding the instrument, because both tables the card carries are transcribed and the filing seat marked them NOT MEASURED: the producing script was cleaned up with its author's worktree, so no number on that card is re-derivable. This pull request edits no changeset body. It adds a measurement instrument, its pins, and one adjudication.
The rebuilt instrument
pnpm census:changeset-polarity(scripts/changeset-polarity-census.mjs), report-only, wired into no workflow —census:*is this tree's spelling for runnable, reported, not blocking.P, the population. Every sentence of every pending
.changeset/*.mdexceptREADME.md, matched when the sentence names a schema symbol and carries a present-tense declaration verb. Bare pastdeclaredis excluded on purpose: a historical sentence cannot rot, which is the distinction objectui#9713 turns on. Present-tense passive (is declared) is included, because it is a live claim and rots like the active voice.V, the verdict. For each (schema, key) pair a matched assertion predicates, membership is resolved against that schema's member set and compared with the sentence's polarity. A positive claim is contradicted when the key is absent; a negative claim when it is present.
Four properties the rebuild has that the transcribed instrument did not:
foo.mdnever splits a sentence.packages/types/src, across both published faces (theinterfaceand its zod mirror), withextendsresolved transitively. The zod walk is structural: only the literal passed toz.object()/.extend(), the arms of a union, and the base of a.merge()/.and()count. A schema named in a member's value (columns: z.array(ObjectKanbanLaneSchema)) is a different object — walking into it read a lane'scardsas a member of the board, which is the over-approximation this rule forbids, and fixing it is what removed those flags. An inherited index signature ([key: string]: any) is deliberately not membership: a key riding it is admitted and never examined, which is the condition the whole family of cards is about.The blindness closed, and its pin
The transcribed instrument missed the site that motivated the card. The claim in
.changeset/8802-8257-8008-kanban-gantt-family-retirement.mdreads, across a sentence boundary:The object is
them. A matcher that reads only the sentence carrying the verb finds a schema, finds no key of its own, and reports nothing. An instrument blind to the shape that produced it reports a floor, not a census.The rebuild resolves a pronoun object (
them,these,those,none of them,either,both) from the nearest preceding sentence in the same paragraph that names any key. The pin lives inscripts/__tests__/changeset-polarity-census.test.tsand carries the pre-repair text of that site as a fixture, so it survives a shallow clone whereadf581278is unreachable.⭐ The pin is stronger than "found". Run against that pre-repair text, the rebuilt instrument returns exactly
columns,cardTitle,titleField,allowCollapse— the four keys objectui#9713 adjudicated, and no others. The other keys that sentence names are genuinely absent from the surviving face, so a negative claim about them is true and is correctly not flagged. Reproducing a known-good human adjudication from a fixture is the strongest available evidence that the rebuild reads correctly. Both halves are asserted: the flags are found, and every one of them is reachedviaPronoun.The re-derived count, against the card's 154
Read these from a run, not from this paragraph (commandment #9). At
1cfdff814plus this branch,pnpm census:changeset-polarityprints:dea17b469)Controls, same corpus and same instrument, on every run — the run exits 2 and voids its own numbers if either fails:
zzqqNoSuchMemberZZBaseSchema.typeBaseSchema.zzqqNoSuchMemberZZIt differs from 154, and it differs in both directions. Flags are down (154 → 134) while entries are up (53 → 58), which is not a contradiction — they move for different reasons:
ObjectGridComponentProps,GanttConfig), never a key, and reading one as a key inflated the count. The structural zod walk stopped a referenced schema's keys counting as the referrer's. And a sentence in quoted position is no longer flagged at all.⛔ 154 was never reproduced by construction, and the rebuild was not tuned toward it. The two numbers are readings of different instruments over different trees, and the card's own statement stands: its number was a floor.
The ten adjudications
Sample rule, fixed before looking: the first ten distinct flagged entries in sorted filename order. No cherry-picking. Seventeen flags across those ten entries.
For each, the first question is whether the flag is a true positive at all. Only a true positive can be ROTTED or BORN FALSE — a sentence that is true today is neither, and saying otherwise would be a false record of its own. Write-time refs are given for all ten so any reader can re-derive; all ten lie inside this clone's shallow window (boundary
c35fed098, 2026-08-07), and every reading here is an affirmative one, so no negative leg needs a control.5632-svg-host-dom-passthrough.mdSpinnerSchema.icon,SpinnerSchema.colore304a4ef76011-tosortitems-order-spelling.mdSortUISchema.toSortItems,.directionc5fbe0b99; true at1cfdff8146051-gantt-flat-config-declared-keys.mdObjectGanttSchema.startDateField,.endDateField,.titleField75bd83d6d; true at1cfdff8146067-component-meta-derive-from-canonical.mdComponentMetaSchema.tier,.namespace,.skipFallback,.labelling44d075ba0; true at1cfdff8146121-retire-report-data-source.mdReportComponentSchema.data6414dfd45; true at1cfdff8146132-undeclared-action-props.mdDropdownMenuSchema.onOpenChangee28fbf92f; true at1cfdff8146150-undeclared-but-consumed-keys.mdTreeViewSchema.value2c45966ff; true at1cfdff8146169-chatbot-authoring-face-type.mdChatbotSchema.chatbot52a43ded8; true at1cfdff8146235-mergedsort-wrap.mdObjectGridSchema.sort9caa7d474; true at1cfdff8146247-option-visiblewhen-metadata-admin.mdSelectOptionSchema.unrecognized_keys0ea559e7c; true at1cfdff814Entry 1, the one true positive, in full. The sentence is:
On
mainat1cfdff814,SpinnerSchemadeclarestypeandsize, plusbody/childrenas retirement tombstones. It declares neithericonnorcolor— those areIconSchema's. The sentence is false ofSpinnerSchema.The verdict is BORN FALSE, and it is established at the write-time ref, not today. At
e304a4ef7(2026-09-03), the commit that added this entry,SpinnerSchemawas exactly{ type, size }. Nothing later falsified the sentence; it was false the day it was written. Re-derived mechanically by running the rebuilt census with--corpusand--typesboth taken from that ref — two flags,SpinnerSchema.iconandSpinnerSchema.color, with all four controls passing at that ref.ObjectKanbanSchema.groupBy— a member objectui#7322 added. At any ref older than that card the control read 0, the run exited 2, and every historical reading voided itself — and a historical reading is exactly what establishing BORN FALSE requires. A control pinned to a fact a later card moves is the defect this card is about. It is nowBaseSchema.type, the protocol's own recursion point, and the choice is pinned with its reason.The nine false positives, and the three limits they name. All are recorded in the script header so the next reader does not re-derive them:
ComponentMetainRegistry.ts, Add default props to all components to prevent collapse in designer #4), another node's schema (TextSchema.value, 构建一个 **Live Playground (实时演练场)** (用于展示引擎能力) #7; thelist-viewnode'ssort, 完善设计器的每一个细节 #9), a spec schema (GanttConfigSchema, Add public roadmap, VitePress documentation site, and GitHub Pages deployment #3), a registration name rather than a key (chatbot, feat: add live playground for interactive schema demonstration #8), or a zod issue code rather than a key at all (unrecognized_keys, [WIP] Enhance every detail of the designer #10). This is the limit the card's own author stated first and it is still the largest source.DropdownMenuSchemadeclaresonOpenChangeand nothing else)" — the parenthetical asserts exactly what the member set says, andNoneflipped it.SortUISchemadeclaressort?: Array<{ field; direction }>, sodirectionis a member of the inline sort item, not of the schema — and "directionis the keySortUISchemalegitimately declares" is true in context. Descending into inline member objects would re-create the "a name is not a key" failure one level down, so the narrow reading is deliberate and the cost is named rather than paid silently.⛔ None of the three is a reason to stop reporting a flag. They are the reason a flag is a candidate: each is resolved by a human reading the sentence, and none is resolvable by reading the count.
Recommendation on the grade condition
Triage's checkable condition was: true-positive rate materially non-zero ⇒ defect list, p2 confirmed, splittable; ≈ 0 ⇒ re-shape the card into "fix the instrument".
Measured: 1 of 10 entries, 2 of 17 flags. That is not zero — there is a real, previously unrecorded BORN FALSE claim in the sample, and it is a second instance of a class objectui#9713 had already established twice. So the existence question stays answered and
priority:p2is right.But it is nowhere near a defect list, and ⛔ the number must stop being carried as one. At the measured yield, splitting the 58 flagged entries into dispatchable items would dispatch roughly fifty no-ops, each costing a history read — which is the same measurement error in a new coat.
⇒ Re-shape the card to "fix the instrument, then triage its output". Concretely: the instrument now exists, is re-derivable from a clean checkout, and its three false-positive sources are named and individually attackable — polarity-by-keyword is the cheapest and would clear four of the nine. The 154 (now 134) should be carried as "whatever
pnpm census:changeset-polarityprints", never as a figure in prose, which is commandment #9 applied to this card. The one true positive found here is a candidate for its own small card; ⛔ it is not repaired in this pull request, because the fence on this dispatch is absolute.Boundaries honoured
.changeset/file this branch touches is the one it adds..changeset/6051-gantt-flat-config-declared-keys.mdis in the candidate set and is adjudicated above as a reading only. It is being repaired right now by objectui#9743 on another branch, and nothing here touches it. (.changeset/5903-objectgantt-declared-keys.mdleft the candidate set entirely once PascalCase tokens stopped reading as keys.)scripts/(objectui#9748, ci: oneTestaggregator becomes the required test context, shards 4 -> 8, dist pins get their own job #9584, fix(console): return packages/core to the framework chunk by grouping rule, and pin chunk membership #9488, chore(deps): lucide-react 1.31.0 -> 1.43.0, with the one retired spelling repaired #8941) and four touch.changeset/(fix(types): type ObjectGallerySchema.filter as its documented destination #9540, fix(pm-gate): H26 reports no SCHEDULED releaser, not an impossible one #9391, chore(deps): lucide-react 1.31.0 -> 1.43.0, with the one retired spelling repaired #8941, and the release PR chore: release packages #5400). None touches any path this branch adds or modifies. The one shared file isscripts/markdown-test-inputs.mjs, which this branch adds one ledger row to and no open pull request edits.The changeset grade — measured, not assumed
.changeset/9727-changeset-polarity-instrument-rebuild.mdcarries empty frontmatter, which is the explicit claim that nothing published moved. That claim is a gate reading:node scripts/check-changeset-presence.mjson this branch: "10 file(s) changed, 0 of them published source of a package the release covers, 0 of them a manifest whose published contract moved", exit 0.packages/types/srcflips the same gate to exit 1 and demands an entry. Reverted in the same run and proven byte-identical bygit hash-objectbefore and after (bcebba9b9both sides), withgit diff HEADempty.Two zeros on one instrument would mean a broken instrument. This is one zero against a firing control.
Gates
Exit codes captured to disk before any pipe.
node scripts/check-changeset-presence.mjsnode scripts/check-changeset-overwrite.mjspnpm changeset:checkpnpm check:changeset-claimspnpm check:pending-changeset-literalspnpm check:control-bytespnpm check:governed-queue-guardpnpm check:new-line-citationspnpm check:test-path-rootspnpm check:required-check-setpnpm lint:coveragepnpm check:lint-rule-coveragepnpm check:esm-specifierspnpm check:node-esm-loadpnpm type-check:scriptspnpm exec eslinton the three added source filespnpm exec vitest run— the new suite plusmarkdown-test-inputs,check-changeset-presence,check-changeset-claimsThe governed-surface guard was run at
scripts/check-governed-queue-guard.mjs, not underscripts/pm/.The declared file surface, and the two increments beyond it
The dispatch declared "a script under
scripts/plus its test, and a new.changeset/9727-*.md". Two files land outside that, both required, both named here rather than left unexplained:package.json(+1 line) — thecensus:changeset-polarityentry. Without it the instrument has no invocation the tree knows about, andcensus:*is the spelling that carries "runnable, reported, not blocking". It is ascriptskey: not one of the eight publish-contract fields, and the root manifest is private, which is part of why the changeset grade measures as nothing-published.scripts/markdown-test-inputs.mjs(+10 lines) — one ledger row. That ledger asserts every tracked markdown document is an input to some test, and the six fixture documents this change adds would otherwise be uncovered and red it. The row declares what the new test reads and that it walks a markdown tree; the scanner re-derives the same answer from the source, which is why the test spells its fixture paths as literal segment runs.Both are additive and neither is touched by any open pull request.
The fixture names ARE the trap list
They encode the failure modes this lane actually hit, not a happy path:
01-pronoun-pre-repair.md02-quotation-position.md03-wrapped-assertion.md04-past-tense-only.md05-referenced-schema-scoping.md06-index-signature-is-not-membership.md[key: string]: anyis admitted and never examined; counting it as declared erases the finding⭐ A hand-typed entry guard, caught by CI and fixed — the same defect, in this instrument
The first push carried a hand-typed
process.argv[1]entry guard, andcheck:entry-guardfailed the Lint job on it. It is this script's own defect class. Node resolves symlinks for the module graph but leavesprocess.argv[1]as the caller typed it, so a census reached through a symlink compares two different paths, answers false, does nothing, and exits 0 with no output — a clean-looking zero from an instrument that never ran, inside an instrument whose entire purpose is to stop false zeros being reported as measurements. A wrapper holding onlyresult.statuscannot tell that apart from a pass.It now routes through the one predicate,
isEntrypointfromscripts/invoked-as.mjs, with the reason recorded at the guard. ⛔KNOWN_HAND_TYPED_GUARDSwas not touched — it is shrink-only, and adding a baseline line would have been the false record rather than the fix.node scripts/check-entry-guard.mjsbeforescripts/changeset-polarity-census.mjsnode scripts/check-entry-guard.mjsafternode scripts/check-entry-guard.mjs --self-testnode scripts/invoked-as.mjs --self-testThe remaining Lint-job guard steps were run locally rather than eslint alone:
check-lint-coverage,check-entry-guard,check-upstream-port-parity,check-bash32-floor,check-vi-mock-override-shape,check-test-path-roots,check-cross-repo-closer-outcome— all exit 0.pnpm check:node-esm-load(its own workflow, not Lint) exits 1 in this container because turbo shares one cache across every worktree of a checkout and two entries —@object-ui/auth,@object-ui/react-runtime— were replayed from a sibling agent's worktree. The gate refuses to grade artifacts this tree did not produce, which is correct behaviour; the refusal is about the shared cache, not about this diff, which touches no package source.🤖 Generated with Claude Code
https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
Generated by Claude Code