This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
[WIP] Investigate large size of packaged components - #83
Closed
huangyiirene with Copilot wants to merge 4 commits into
Closed
huangyiirene with Copilot wants to merge 4 commits into
huangyiirene with Copilot wants to merge 4 commits into
Conversation
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
…cies Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot stopped work on behalf of
huangyiirene due to an error
January 15, 2026 12:30
This was referenced Sep 8, 2026
This was referenced Sep 12, 2026
os-tesla
pushed a commit
that referenced
this pull request
Sep 13, 2026
…he arm its published `data` row declares The nine reds on this branch were fixture-side, not a production defect, and eight of them were one cause seen at two altitudes. Rung 1 of the record-source ladder is judged against the BLOCK's own published `data` row (objectui#8348, decision batch #83 — "the row decides"): - `object-calendar`.data is `z.array(z.unknown()).optional()` -> arm 'array', so a `{ provider, items }` CONFIG OBJECT is refused by kind. - `object-map`.data is `ViewData` -> arm 'view-data', so a BARE ARRAY is refused by kind, and the objectui#5305 normalizing head is gone. Both new pin files used the other block's spelling. Refused by kind, the ladder fell through `staticData` and `objectName` to null, so the view had no record source at all and hit `DataSource required for object/api providers`. The calendar helper reads that through `getByTestId` ("unable to find calendar-view"); the map helper reads it through `queryAllByTestId`, which counts an error screen as '0' — the same failure, two altitudes. - calendar: the six inline rows now use `staticData`, the one rung that wraps into `{ provider: 'value', items }` on this block. Every assertion is unchanged. - map: `arrayShorthandSpelling` asserted the retired bare-array rung. Replaced by `offArmDataSpelling`, the mirror image of the calendar's new row of the same name; each carries a lit control, so the absence half is a reading about the SPELLING and not about the harness. `ObjectMap.filterConfig.test.tsx` is a second, genuinely different cause: it grades map CONFIG resolution and authored `filter` values purely as a vehicle. Those filters were inert on an inline set before this branch — the fail-OPEN bug #9061 repairs — and now correctly select nothing. - describe (d)'s ordinary `[['owner','=','me']]`: the row now satisfies it, so the case reads BOTH that the filter is honoured and that it did not eat `schema.map`. - describe (a)'s legacy `filter.map` stash is a query filter that no row can satisfy, so its two marker-counting rows take the exempt host `data` prop. This also repairs a phantom green: the `toHaveLength(0)` row had started passing because the set was empty, and would have gone on passing with config resolution completely broken. No production byte is changed by this commit. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
This was referenced Sep 15, 2026
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…ing on inline `value` data (objectstack-ai#9138) * fix(plugin-calendar,plugin-map): honour filter, sort and the row ceiling on inline `value` data Ports objectui#8769's repair off `ObjectGantt` to the two siblings that carry a hand copy of the same short-circuit. Their fetch effect exited on `provider: 'value'` with `setData(dataItems)` BEFORE the adapter query, which is the one site in each file that lowers `schema.filter` onto `$filter`, `schema.sort` onto `$orderby` and the objectui#7210 ceiling onto `$top`. An authored `filter` therefore reached nothing and every authored row was drawn — the fail-OPEN direction, because the key that was dropped is the key that NARROWS. Not a literal transplant: `ObjectGantt` resolves ONE adapter for every provider and could delete the branch and fall through, while these two call `find` inside their `dataProvider === 'object'` arm, behind an `$expand` projection an inline set has no metadata to build. So each resolves `ValueDataSource` for the inline provider only, leaving the `api` arm exactly as it was, and no dependency array moves. Part of objectui#9061.⚠️ BLOCKED on a decision — see the PR body: routing the inline rows through `ValueDataSource` makes them pass through that adapter's `JSON.parse(JSON.stringify(...))` constructor clone, which retires objectui#6018's pinned guarantee that a map's inline rows never have to be serializable. Three standing assertions are left RED and untouched on purpose. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ * docs(plugin-calendar,plugin-map): state that the provider does not change which query keys apply The changeset and both docs sets for objectui#9061: an authored `filter` / `sort` narrows and orders inline rows on every provider, the objectui#7210 ceiling applies to inline rows and is applied to the FILTERED set, and the two consequences of routing inline rows through the in-memory adapter — deep-copied row identity, and the JSON round-trip that makes inline rows have to be serializable. Part of objectui#9061. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ * test(plugin-calendar,plugin-map): spell each block's inline rows on the arm its published `data` row declares The nine reds on this branch were fixture-side, not a production defect, and eight of them were one cause seen at two altitudes. Rung 1 of the record-source ladder is judged against the BLOCK's own published `data` row (objectui#8348, decision batch objectstack-ai#83 — "the row decides"): - `object-calendar`.data is `z.array(z.unknown()).optional()` -> arm 'array', so a `{ provider, items }` CONFIG OBJECT is refused by kind. - `object-map`.data is `ViewData` -> arm 'view-data', so a BARE ARRAY is refused by kind, and the objectui#5305 normalizing head is gone. Both new pin files used the other block's spelling. Refused by kind, the ladder fell through `staticData` and `objectName` to null, so the view had no record source at all and hit `DataSource required for object/api providers`. The calendar helper reads that through `getByTestId` ("unable to find calendar-view"); the map helper reads it through `queryAllByTestId`, which counts an error screen as '0' — the same failure, two altitudes. - calendar: the six inline rows now use `staticData`, the one rung that wraps into `{ provider: 'value', items }` on this block. Every assertion is unchanged. - map: `arrayShorthandSpelling` asserted the retired bare-array rung. Replaced by `offArmDataSpelling`, the mirror image of the calendar's new row of the same name; each carries a lit control, so the absence half is a reading about the SPELLING and not about the harness. `ObjectMap.filterConfig.test.tsx` is a second, genuinely different cause: it grades map CONFIG resolution and authored `filter` values purely as a vehicle. Those filters were inert on an inline set before this branch — the fail-OPEN bug objectstack-ai#9061 repairs — and now correctly select nothing. - describe (d)'s ordinary `[['owner','=','me']]`: the row now satisfies it, so the case reads BOTH that the filter is honoured and that it did not eat `schema.map`. - describe (a)'s legacy `filter.map` stash is a query filter that no row can satisfy, so its two marker-counting rows take the exempt host `data` prop. This also repairs a phantom green: the `toHaveLength(0)` row had started passing because the set was empty, and would have gone on passing with config resolution completely broken. No production byte is changed by this commit. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: os-tesla <yinlianghui@steedos.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…arm (objectstack-ai#9348) `ComponentPropsMap['object-calendar'].data` on `@objectstack/spec` declares `z.array(z.unknown()).optional()` — "Pre-fetched records — skips the internal fetch". Both published faces of `@object-ui/types` declared `ViewData` on the same key: a `{ provider, items }` config object, which that row refuses by kind. After objectui#8348 put the renderer on the protocol's side (decision batch objectstack-ai#83, maintainer verbatim 8348 uses the protocol as the authority), this mirror was the lone published face still teaching the config-object spelling, so an author who validated against `@object-ui/types` got a green verdict for metadata the renderer ignores, `os validate` refuses and the save gate rejects. - TS face: `data?: ViewData` -> `data?: SpecObjectCalendarProps['data']`, DERIVED from the protocol's own row so the key cannot drift from it again. - Zod mirror: `ViewDataSchema.optional()` -> `z.array(z.unknown()).optional()`. - Requiredness unchanged on both faces, so the zod-mirror-parity ratchet is unmoved (verified with `tsc -p tsconfig.test.json`, which is the only instrument that sees that ledger's type-level reconciliation). - The `data` equality with `TsObjectGanttSchema['data']` is INVERTED rather than deleted, and both sides are named; the `staticData` and `objectName` equalities were re-checked individually and still hold. - `requireRecordSource`'s docblock says what `data` means per member: the ladder is shared, the arm is not. `object-map` / `object-gantt` keep the `ViewData` arm — neither has a `ComponentPropsMap` row, so the row governing them is this package's own. `@objectstack/spec` is untouched. Claude-Session: https://claude.ai/code/session_01L5xpA5q533BgTTNADibEFt Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 17, 2026
…t-arm blocks (objectui#9571) (objectstack-ai#9578) Fixes objectstack-ai#9571 Executes objectui#8348 Q2-C — decision batch objectstack-ai#136 item 3, maintainer 「同意」 on the seat's recommendation. Not a decision; execution. ## What was wrong 「8348 以协议为准」 (batch objectstack-ai#83) retired the bare-array `data` shorthand at the shared record-source ladder. The authored key had a SECOND carrier the ruling did not reach, and it is the one that wins: `SchemaRenderer` spreads every non-metadata node key as a React prop, and `ObjectGrid` (`passedData`), `ObjectMap` (`dataProp`) and `ObjectGantt` each lift a `data` PROP with an unconditional `Array.isArray` at higher priority than the ladder. An authored `data: [ ...rows... ]` therefore still drew end-to-end. AGENTS.md #0.1: one key, one honoured spelling — the tolerated second carrier is the defect. ## What this does `SchemaRenderer` no longer spreads an authored `data` key for a block whose published `data` row is the `ViewData` OBJECT arm. The key reaches such a block only as `schema.data`, judged by the row. One new reading in `@object-ui/core` answers the arm — `recordSourceDataArmForType(type)` — for the one consumer that cannot be handed the arm as a parameter, a renderer generic over every registered type. ⛔ The `data` PROP is untouched. Option B (gating the prop on the arm) was refused: that prop is how a host such as `plugin-list`'s `ListView` hands down rows it already fetched. `...props` is spread LAST in `SchemaRenderer`, so a host still delivers its rows and still outranks the authored key; a host that renders the block component directly never passes through here at all. Both legs are pinned. Array-arm blocks are untouched by kind: `object-calendar`'s published row is `z.array(...)`, so its bare array is on-contract and keeps the prop seat. Every type the reading does not list keeps today's behaviour verbatim — the default is the no-change direction, so the table's mere existence re-decides nothing. ## Three PM mechanism assumptions, measured **(a) The card's title mislocates the file — CONFIRMED, with one refinement.** The symbol is `packages/react/src/SchemaRenderer.tsx`, so the package is `@object-ui/react`. `git grep -nw` finds THREE definition-shaped hits, not two: the real one, the `packages/vscode-extension` test fixture the PM named, and a third in `scripts/__tests__/check-component-surface-parity.test.ts` (a fixture string). Neither extra is the renderer. **(b) The "two blocks" census is WRONG — there are THREE.** `ObjectGantt` does exactly what the card describes: it passes `'view-data'` to the shared ladder, and its `reload` opens with a `data`-prop check (`(rest as any).data && Array.isArray(...)`, step "1. Check for data prop (Unified ListView)"), plus a sibling `hasHostData` read. So it is an object-arm block whose prop carrier outranks the ladder.⚠️ This PR covers it, and that is the ruling's own scope rather than a widening. Ruling C is stated over the ARM, not over a block list: excluding gantt would require either a two-name allowlist — the second de-facto contract AGENTS.md #0.1 forbids — or a false row in the arm table. ⛔ No gantt source file is touched, and gantt's own `data`-prop reader is not changed. Flagged for the seat: if the ruling was meant to be block-scoped rather than arm-scoped, that is a one-line change to the arm table and a re-read of this paragraph. `ObjectTree` and `ObjectKanban` also lift a `data` prop with `Array.isArray`, and are correctly outside the ruling: tree's arm is `'undeclared'` (no published face declares a `data` row) and kanban's published row is the array arm and walks no shared ladder at all. **(c) The array-arm boundary — CONFIRMED at the boundary, and the change does not depend on it.** `plugin-calendar/src/index.tsx`'s `resolveExternalData` is `Array.isArray(raw) ? raw : undefined`, and nothing is spread from `rest`. But the stronger fact is that the strip is keyed on the arm: `object-calendar` is the `'array'` arm, so it is not stripped at all. Pinned as a control in the new `packages/react` file rather than in `plugin-calendar`, which is outside this card's file surface. ##⚠️ A card premise that is FALSE: "the retired-spelling signal the ladder emits" The acceptance asks that the signal the ladder already emits be what the author sees. Measured: **the ladder emits nothing.** `resolveRecordSourceConfig` returns `null` and falls through silently; `validateSchema` — the `__DEV__` pass in `SchemaRenderer` — never reads `data` against a block's row; no `console.warn` exists anywhere on that path. The refusal is loud at authoring time (`os validate`, the save gate, the zod row) and mute at render time. Without a signal this ruling lands as a page whose rows were on screen yesterday and are gone today, with nothing naming the dropped key — the "author gets a success receipt" shape AGENTS.md #0.1 and `ObjectGrid`'s own column diagnostic exist to prevent. So the strip site emits one `__DEV__` warn-once naming the key, the arm and the spelling that works. It lives inside `SchemaRenderer.tsx`, inside the declared file surface, and is read-only. ## ⭐ A trap the registry-derived pin caught on its first run One `ComponentRegistry.register()` call produces SEVERAL keys, and `SchemaRenderer` looks the arm up with the raw `schema.type`. The first draft of the arm table carried a row for bare `grid` — which is **not** a grid key: `plugin-grid` registers its `view` alias with `skipFallback: true` precisely so the bare key stays with `@object-ui/components`' LAYOUT grid container. That row would have stripped `data` from a block that declares no `data` row at all. The table's rows are now the measured registry keys (`object-grid`, `plugin-grid:object-grid`, `view:grid`; `object-map`, `plugin-map:object-map`, `view:map`, `map`; `object-gantt`, `plugin-gantt:object-gantt`), and the pins read them back off `ComponentRegistry.getAllTypes()` grouped by resolved renderer — so a new alias without a row goes red instead of quietly answering `'undeclared'`. A control pins that bare `grid` is a different renderer and answers `'undeclared'`. ## Pins, and that they can go red New: `packages/react/src/__tests__/SchemaRenderer.dataPropArm-9571.test.tsx` (23 tests) — per-key refusal on the object arm, the key still reaching `schema.data`, array-arm and undeclared-arm controls, the two host-path legs, a byte-identical-bag leg, the dev warning firing and not firing, and the bare-`grid` control. Updated: `gridBareArrayDataRefused-8348.test.tsx` row 3 and `ObjectMap.schemaDataShorthand.test.tsx` row 3 — both previously asserted "through `SchemaRenderer` the array still draws, from the PROPS channel", which is exactly the sentence this card retires. Both files' docblocks are rewritten to say what is true now rather than left describing the old tree. The card asks that the new pins be shown able to go red, honouring `ObjectCalendar.recordSourceMembers-8314.test.tsx`'s warning about a pin that cannot fail. The ablation (mutate, prove the mutation reached disk, run, restore, prove the restore) is recorded in the report on objectui#9571. ## Acceptance notes Out of scope, noted and not filed: - `plugin-grid/src/index.tsx`'s `gridNeedsDataSource` still carries `if (Array.isArray(schema?.data)) return false;` — an escape hatch meaning "this placement can draw without an adapter". objectui#8348 already made its stated reason false at the ladder; this PR makes it false at the remaining carrier too. Consequence: a grid authored with a bare `data` array, an `objectName` and NO adapter now draws nothing while the "no data source" gate stays silent. The new `__DEV__` warning names the dropped key, so the author is no longer told nothing at all. That file is source, not a pin, and is outside this card's declared file surface — reported for the seat rather than repaired here. Dedupe words: `gridNeedsDataSource`, `requiresDataSource`, bare array escape hatch, ElementDataSourceGate, objectui#5378 item 2. - `ObjectGantt`, `ObjectMap` and `ObjectGrid` each still read the `data` prop through an `as any` / untyped `rest` bag, so nothing type-checks the one prop this card just made single-purpose. Observation, not a defect. Noted, not filed. Successor: whoever next types those props bags. ## 本轮改动的中文速读 改了什么:`SchemaRenderer` 不再把作者写的 `data` 键当 React prop 铺给「object 臂」的区块(grid / map / gantt),该键只以 `schema.data` 到达,由区块自己发布的行裁决。宿主传的 `data` prop 一字未动。 为什么改:8348 的裁决在阶梯上落了地,却漏了优先级更高的第二条载体,于是裁决对作者不可见 —— 写裸数组照样出数据。 风险与回滚:风险面是「object 臂」的三个区块;数组臂(日历)按类不受影响。回滚 = 还原 `SchemaRenderer.tsx` 里那一段 strip 与 `@object-ui/core` 的新读数,两处都是加法。 --- _Generated by [Claude Code](https://claude.ai/code/session_01XeoGH6X7MtfbjcRDscyXi1)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 28, 2026
… array as 「no adapter needed」 (objectstack-ai#9783) Fixes objectstack-ai#9580 `Clause-②: no` `object-grid`'s 「no data source」 gate stops treating a bare `data` ARRAY as evidence that a placement can draw rows without an adapter. ## The defect `gridNeedsDataSource` in `packages/plugin-grid/src/index.tsx` enumerates the escape hatches that let THIS placement draw rows without a runtime adapter, and `Array.isArray(schema.data)` was one of them. Both carriers of that shorthand had already been retired: - objectui#8348 (「8348 以协议为准」, decision batch objectstack-ai#83) at the shared record-source ladder — this block's published `data` row is the `ViewData` OBJECT arm; - objectui#9571 (ruling objectui#8348 Q2-C, batch objectstack-ai#136 item 3, maintainer 「同意」) at the props channel — `SchemaRenderer` no longer spreads an authored `data` as a React prop for a block on that arm. ⇒ an authored array draws **nothing**, while the predicate still answered 「this placement needs no adapter」. So a grid authored with a bare `data` array, an `objectName` and no adapter rendered the EMPTY SHELL that objectui#5378 item 2 exists to replace, with the one diagnostic addressed to exactly that situation staying silent. The warn-once objectui#9571 added at the strip site is `__DEV__`-only; this gate is the production-facing half. ⛔ The bare-array CARRIER is **not** re-opened — that was ruled twice. Only what the gate SAYS moves. ## The change - `packages/plugin-grid/src/index.tsx` — one line removed from the predicate (`Array.isArray(schema?.data)`), and the docblock that enumerates the hatches re-derived: it had also carried the now-false clause that `getDataConfig` folds an array `data` into inline rows. - `packages/plugin-grid/src/__tests__/gridNeedsDataSourceBareArray-9580.test.tsx` — the pin, 8 rows. - `.changeset/9580-grid-needs-datasource-bare-array.md` — `patch` on `@object-ui/plugin-grid`; the behaviour of a published block moves, so this is not a `skip-changeset` change. ## Premises re-verified on `origin/main` before writing anything The card is written in the conditional (「After objectui#9571 lands」). Re-taken on `f0b49792159de76697b06109bfe7760938e463a0`, which is this branch's base and was `origin/main` at branch time: | Premise | Reading | |---|---| | `SchemaRenderer` no longer spreads an authored `data` for a `view-data`-arm block | TRUE — the strip is live in `SchemaRenderer.tsx`, gated on `'data' in componentProps && recordSourceDataArmForType(type) === 'view-data'` | | `gridNeedsDataSource` still returned false for `Array.isArray(schema?.data)` | TRUE — the line was present in `packages/plugin-grid/src/index.tsx`, unmoved | | objectui#9571's mitigation is `__DEV__`-only | TRUE — the strip site calls `reportRefusedDataPropSpread` under `if (__DEV__)`, and that function's own docblock says 「Read-only and `__DEV__`-only」 | ⇒ the defect exists as written; `premise_still_valid: true`. ## The pin can go red — measured, not asserted The repair was committed first, then the removed line was planted back through `ablation-replace.mjs` (literal anchor, hit count declared, write verified against the DISK and against `git hash-object`, restore proven by blob-equals-HEAD plus an empty `git diff HEAD`). Predicted direction before running: 转红 — rows 1-2 fail, every control holds. ``` ablation-replace: ok mutation landed: anchor 1 -> 0, blob b0c0ade -> d9f649b0cf7a × 1. REPRODUCTION: bare `data` array + `objectName` + no adapter => the gate FIRES 1067ms × 2. ...and it says the sentence the family says, naming THIS block and object 1015ms Test Files 1 failed (1) Tests 2 failed | 6 passed (8) ablation-replace: ok restored: blob == HEAD (b0c0ade) and `git diff HEAD` is empty ``` With the repair in place the same file is `Tests 8 passed (8)`. The ablation runs entirely against SOURCE — the root vitest config aliases `@object-ui/react` to `packages/react/src` and the block itself is imported relatively — so there is no `dist/` leg for it to be true-but-unbuilt in. Rows 3-8 are the controls that a repair reaching too far would break: the declared `data: { provider: 'value', items: [...] }` form, the deprecated `staticData` array, the data-scope `bind`, the `data` REACT PROP a host such as `plugin-list`'s `ListView` uses to hand down rows it already fetched (the leg objectui#9571 deliberately kept), the `objectName` clause, and a grid that HAS an adapter. ## Local verification Gate list hand-derived from this repo's `package.json` and `.github/workflows/` — `scripts/pm/dispatch-gates.mjs` lives only in `objectstack` and refuses to answer for this repo. Exit codes were redirected to files and read from there, never from a pipeline's tail. | Check | Verdict | |---|---| | `pnpm exec vitest run packages/plugin-grid/src/__tests__/gridNeedsDataSourceBareArray-9580.test.tsx` | exit 0 — `Tests 8 passed (8)` | | `pnpm exec vitest run packages/plugin-grid/` | exit 0 — `Test Files 136 passed (136)`, `Tests 1259 passed (1259)` | | `pnpm exec vitest run packages/plugin-view/ packages/plugin-list/` | exit 0 — `Test Files 120 passed (120)`, `Tests 1342 passed (1342)` | | spot run: the console, core and schema-catalog files that author an `object-grid` with a bare `data` array | exit 0 — `Test Files 3 passed (3)`, `Tests 691 passed (691)` | | `pnpm --filter @object-ui/plugin-grid run type-check` | exit 0 — both legs (`tsc --noEmit` and `tsc -p tsconfig.test.json`; the first EXCLUDES `__tests__`, which is why the second is the one that reads the new pin) | | `pnpm --filter @object-ui/plugin-grid run lint` | exit 0 — 841 warnings, 0 errors (all pre-existing `no-explicit-any` / react-hooks advisories) | | `pnpm --workspace-concurrency=2 --filter "@object-ui/plugin-grid^..." build` | exit 0 | | `check-changeset-presence` · `check-changeset-no-major` · `check-changeset-claims` · `check-pending-changeset-literals` | exit 0 | | `check-control-bytes` · `check-new-cross-file-line-citations` · `check-test-path-roots` | exit 0 | | `check-element-data-source-declaration` · `check-component-surface-parity` · `check-registry-bare-name-collisions` · `check-unreferenced-sources` · `check-lint-rule-coverage` | exit 0 | | `check-vi-mock-specifiers` · `check-vi-mock-inherit` · `check-vi-mock-override-shape` · `check-comment-mask-corpus` | exit 0 | | `check-sdui-registration-pins` | **NOT MEASURED** — exit 2, prerequisite not met: it needs an `apps/console` bundle to weigh. Owned by `performance-budget.yml`, which builds the console first. No registration array moved in this diff. | | repo-wide `pnpm lint` / full `pnpm test` | left to CI — the affected package's own `lint` and the three suites above are the narrowed substitute, declared here rather than skipped silently | Byte scan beyond the gate: `grep -naP '[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]'` over both changed source files returns nothing. ## Acceptance notes⚠️ Out of scope, noted and NOT filed — `packages/plugin-grid/src/ObjectGrid.tsx` is outside this card's declared file surface, so it is untouched here. Its `getDataConfig` docblock still states as a MEASURED conclusion that an authored `data` array reaches the component TWICE and that 「through `SchemaRenderer` an authored `data: [ ...rows... ]` still draws, from the props channel」. objectui#9571 made both halves false, and the pin that paragraph cites — row 3 of `__tests__/gridBareArrayDataRefused-8348.test.tsx` — now asserts the opposite in the same tree. It is prose drift rather than one of the three filing classes, so no card is raised from here; per AGENTS.md it is the kind of thing the next change to that file repairs opportunistically. Named handler: none. Dedupe terms if a seat does decide to file it: `getDataConfig` · `passedData` · `two carriers` · `props channel` · `objectui#9571 docblock drift`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018HrVaotisyhgmot9o2MLRq --- _Generated by [Claude Code](https://claude.ai/code/session_018HrVaotisyhgmot9o2MLRq)_ Co-authored-by: Claude <noreply@anthropic.com>
os-support-ai
pushed a commit
that referenced
this pull request
Sep 30, 2026
…otocol row declares `ComponentPropsMap['object-tree']` in the installed `@objectstack/spec` now declares `data` as the `ViewData` union and `staticData` as an array, so the tree is judged against its own row like the other ladder blocks (decision batch #83, 「8348 以协议为准」; ruling batch #136 item 3, Q1-C). The ruling's 「协议没有的能力删」 clause does not fire: the row declares `data`, so the tree keeps the object arm and loses only the bare-array spelling. - `record-source.ts`: the four tree spellings move from `undeclared` to `view-data` in the arm table, so `SchemaRenderer` stops spreading an authored `data` on a tree node as a prop. - `ObjectTree.tsx`: the ladder call passes `view-data`, and the fetch effect no longer reads `schema.data` beside the host prop; that second reader bypassed the ladder, so the arm move alone removed nothing end to end. - map, gantt, tree: one pin per block derives the arm from the installed row and compares it with the arm table for every registered key. The map and gantt call-site comments stop restating the interim reading. Part of #8348 Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec
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.
Bundle Size Reduction Plan
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.