Skip to content

docs(spec): entry 19 and the export-options header say page object grids offer export by default - #39656

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-39582-wip
Dec 4, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-39582-wip

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Fixes #39582

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户看到的变化:管理员读升级说明里“列表默认可导出”这一条时,现在会读到页面上的对象表格也默认可导出;界面行为本身不变。
  • 为什么做:属于“列表默认开启导出”这项改动的收尾,修正两处还写着旧说法的说明文字。
  • 出错会怎样:只影响说明文字,写错的话管理员会误判页面表格是否默认可导出;合并后可直接撤回。
  • 要你做什么:无。

What changes

Two unreleased texts written with the list half of the export-on-by-default change still said an object-grid page component offers export only when it declares exportOptions. The grid half (PR #39553, merged) made that false. Both texts now say what shipped, worded after the corrected paragraph in .changeset/39475-list-view-export-on-by-default.md:

  • packages/spec/src/ui/list-view-export-options.ts: the module header. Its opening sentence now says an absent block means the same on both carriers, except on an object-grid that names no object. An object-grid page component that names an object reads an absent block the same way as a list view: csv and json by default, xlsx only where formats lists it; exportOptions: { formats: [] } turns it off. A grid that names no object offers export only when it declares the block. Who may export is still the object's export verdict (the allowExport grant).
  • packages/spec/src/migrations/entries/semantic/19.list-view-export-on-by-default.ts: surface, replacement, reason and acceptanceCriteria now name an object-grid page component that names an object next to the list view. The verify: line covers that grid with the same two off switches (exportOptions: { formats: [] }, or the object's userActions.exportCsv: false) and the same per-permission-set allowExport check (L2 S1, record 7410947499). id and relevantWhen are unchanged and no new semantic entry is added, so one behaviour change keeps one upgrade note.
  • .changeset/39582-object-grid-export-upgrade-note.md: a patch note for @objectstack/spec, because the entry's reason ships in dist/migrations (measured below). The pending 39475-list-view-export-on-by-default.md note is not edited.

No behaviour change. No generated file is derived from either text: check:generated reads all 14 artifacts up to date after the edit.

Read first (by risk):

  1. packages/spec/src/migrations/entries/semantic/19.list-view-export-on-by-default.ts, the last sentence of reason: this is the text admins read in the upgrade guide.
  2. packages/spec/src/ui/list-view-export-options.ts, the [#39475] paragraph of the header.

Two-minute check: git grep -n "still offers export only when it declares" packages/spec/src should print nothing.

Tests

spec migration tests (the tests that name entry 19)

pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/migrations (includes semantic-relevance.test.ts and semantic-relevance-coverage-38929.test.ts): Test Files 6 passed (6), Tests 255 passed | 3 todo (258). No test pins either text: they name the entry by id only.

Acceptance notes

  • reason text is published: after pnpm --filter @objectstack/spec build, the new sentence is found in dist/migrations/index.js and index.mjs (control: the unchanged sentence "a view that never thought about export" is found in the same two files). So the diff publishes and takes a changeset.
  • Local runs that measured nothing (exit 3, prerequisite not met; CI owns them): check:dual-build-cjs-loads and check:lean-entry-closure (the whole workspace is not built here), @objectstack/lint check:doc-formula-expressions (formula and lint are not built), check-plugin-teardown-shape.mjs --self-test (shallow clone), and @objectstack/cli test/migrate-meta-engine-guidance.test.ts (MODULE_NOT_FOUND on the unbuilt @objectstack/lint dist).

Verification

Readings at head 432df28c2d (dev report 7411753818):

  • pnpm --filter @objectstack/spec build, then vitest run src/migrations: 6 files passed, 255 tests passed, 3 todo. This run includes migrations.test.ts, the spec-side check that no tracker number is printed.
  • pnpm --filter @objectstack/spec typecheck: exit 0.
  • check:generated: all 14 generated artifacts are up to date.
  • Re-ran the 32 text-bearing commands of the gate subset: all exit 0. The CLI tracker-number test is NOT MEASURED locally and runs in Test Core.
  • CI on this head: 61 success, 13 skipped, 0 failed.

The 87-command reading below was taken at the earlier head d040807380.

Local gate subset: 87 derived commands, 82 exit 0, 5 NOT MEASURED
  • node scripts/pm/dispatch-gates.mjs --commands derived 87 commands for the three changed paths; each was run and its exit code captured before any pipe. 82 exit 0.
  • node scripts/pm/dispatch-gates.mjs --ran: "87 derived famil(ies) accounted for — 82 run, 5 NOT-MEASURED".
  • NOT MEASURED (prerequisite not met, CI owns them): pnpm check:dual-build-cjs-loads, pnpm check:lean-entry-closure, pnpm --filter @objectstack/lint run check:doc-formula-expressions, node scripts/check-plugin-teardown-shape.mjs --self-test, and the CLI test test/migrate-meta-engine-guidance.test.ts.
  • pnpm --filter @objectstack/spec build: exit 0. pnpm --filter @objectstack/spec check:generated: "All 14 generated artifacts are up to date".
  • pnpm --filter @objectstack/spec typecheck: exit 0, 0 error TS.
  • Control-byte self-scan of the three changed files: no hits.

🤖 Generated with Claude Code

https://claude.ai/code/session_016WV4d1cnRvyiAqrarmDhZV

The list-view-export-options module header and semantic entry 19's reason
now say an object grid that names an object offers csv and json by default
(xlsx only where formats lists it), formats: [] turns it off, and a grid
naming no object offers export only when it declares the block.

Claude-Session: https://claude.ai/code/session_016WV4d1cnRvyiAqrarmDhZV
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation protocol:ui tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them. ⚠️ 1 changed file(s) yielded no anchor (packages/spec/src/ui/list-view-export-options.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/spec/src/ui/list-view-export-options.ts) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 71 of 255 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 60 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 185 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json a92f1ed9ff64ce91c3af79426cbc4bd9ba999862 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 3fb2a6a479a262095046f634806d9c72cd3057c2 — the merge of head 432df28c2d21b7d8304b530df940a95fbbdbb76b into base a92f1ed9ff64ce91c3af79426cbc4bd9ba999862, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 3fb2a6a479a262095046f634806d9c72cd3057c2 && git checkout 3fb2a6a479a262095046f634806d9c72cd3057c2
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin a92f1ed9ff64ce91c3af79426cbc4bd9ba999862 432df28c2d21b7d8304b530df940a95fbbdbb76b && git checkout -B drift-repro a92f1ed9ff64ce91c3af79426cbc4bd9ba999862 && git merge --no-ff 432df28c2d21b7d8304b530df940a95fbbdbb76b

node scripts/docs-audit/affected-docs.mjs --json a92f1ed9ff64ce91c3af79426cbc4bd9ba999862

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

Final head for L1 · 2026-12-04T11:58Z · zone em-admin
Head-sha: d04080738026dabaa6ddb6f82f7b53da0a6ce657
Checks on this head: 61 success, 13 skipped, 0 failed (Check Changeset is green).
Diff: 3 files, +20 / -4. Text only, with no behaviour change. It rewrites the module header of packages/spec/src/ui/list-view-export-options.ts and the reason of semantic entry 19, so both match what #39553 made the grid do. It also adds one patch changeset for @objectstack/spec, because the reason ships in dist/migrations. No generated artifact comes from either text (check:generated is up to date). The 39475 changeset is untouched, so there is no DELIBERATE CORRECTION.
Governed: NOT governed. check-governed-merges hits 0 of 3 paths, and 24 lines is under the size threshold.
L1 requested from thread L1-a. L2 only if L1 judges the migration reason text to be a contract face.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

2026-12-04T11:59Z · L1-a verdict: ACCEPT at head d040807380 (zone em-admin, Fixes #39582, the S1 follow-up of #39553). A CONTRACT_REVIEW_TIER L2 is owed by face before landing.

席位核对

Change. This is text only, in three places.

  • The module header of packages/spec/src/ui/list-view-export-options.ts.
  • The reason of semantic entry 19 (19.list-view-export-on-by-default.ts). Both drop the false "An object-grid page component still offers export only when it declares the block". They now say what feat(plugin-grid): an object table that declares no exportOptions offers export; platform grids declare none #39553 ships:
    • a grid that names an object reads an absent block as the default (csv and json, xlsx only where formats lists it);
    • formats: [] turns it off;
    • a grid that names no object stays explicit-only;
    • the header adds that who may export is still the object's verdict.
  • A patch changeset for @objectstack/spec.

Each sentence matches ObjectGrid at main: schema.exportOptions ?? (objectName ? {} : undefined), formats || ['csv','json'], and exportableFormats.length > 0. The wording matches the corrected list-half note #39553 confirmed. acceptanceCriteria and the entry's id and registration are unchanged. Fixes #39582 is right: that card names exactly these two texts.

Changeset. @objectstack/spec patch. The headline comes first, then Clause-②: no and Metadata-protocol: none. Those are right: no schema member, key or entry is added or removed; only the reason prose changes. I read it sentence by sentence and it agrees with the diff. "In this same release" is true, because the entry is still unreleased.

Gates. 61 success, 13 expected skip, 0 failed on d040807380. l1-face is clean.

L2 owed by face. packages/spec/src/** non-test (the schema face). I'm running the CONTRACT_REVIEW_TIER L2 on this head now. It is not governed, not narrowing and not Tier H, so after a PASS it lands in its zone. It must land before the next version cut, because the entry ships in the same release.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

Contract-review-claim: session_016WV4czfEjskBjZM6jhKWFR · d040807 · 2026-12-04T12:00Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d04080738026dabaa6ddb6f82f7b53da0a6ce657
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/19.list-view-export-on-by-default.ts, packages/spec/src/ui/list-view-export-options.ts + none

Read: card #39582 (body, triage 7407250634, claim 7409070972, dev report 7410741927), PR #39656 (body, 3-file list, net diff against main, +20 / -4), and the check-runs on the head as read now: 63 success, 15 skipped, 0 failed (the dev report counted 61 and 13 earlier; no run failed in either reading). The cited code was read at the head, not reviewed: ui/packages/plugin-grid/src/ObjectGrid.tsx (lines 946-960, 1213, 1300-1303, 2214-2223, 3900, 4913-4917), ui/packages/core/src/utils/managedBy.ts (isObjectExportOffered), packages/spec/src/migrations/types.ts (SemanticMigration) and packages/cli/src/commands/migrate/meta.ts (printNotice).

① Derived judgments

  • Accept set: unchanged, and that is right. The hunk in list-view-export-options.ts is inside the module's header comment; no schema, enum, error map or .describe() moves. Spec property liveness, Lint & Repo Gates and TypeScript Type Check are green on the head.
  • Published surface: one string changes, the reason of semantic entry list-view-export-on-by-default. It ships in dist/migrations and os migrate meta prints it as the why: line. Right: this is the text the card names.
  • Entry count: unchanged, one entry for one behaviour change, as the card expects. id, surface, replacement, acceptanceCriteria and relevantWhen are byte-identical to main. relevantWhen already names pages, so a stack that declares only pages is still shown the notice. Right.
  • Generated output: none derives from either text. The PR's file list holds no generated file and the lint gates that own generated artifacts are green.
  • The CLI test that holds every printed notice to carry no tracker number is not moved: the new sentences cite none, and Test Core (12 shards) is green.

② Semver level

.changeset/39582-object-grid-export-upgrade-note.md is a patch on @objectstack/spec. That matches what the diff publishes: one corrected prose string in a published bundle, no behaviour and no shape. No @object-ui/* package is owed a bump, since no file under ui/ is in the diff. Check Changeset is green.

Clause-②: no — correct. No accept set is widened or narrowed, so the narrowing arm does not apply. Metadata-protocol: none is also correct: no entry is added or removed, and the registration gate inside Lint & Repo Gates is green.

③ Boundary flags

  • open_questions: empty in the dev report. Nothing to answer.
  • Dev flag, five local gates NOT MEASURED (check:dual-build-cjs-loads, check:lean-entry-closure, check:doc-formula-expressions, check-plugin-teardown-shape --self-test, the CLI migrate-meta-engine-guidance test): answered by the head's check-runs. Lint & Repo Gates, Build Core and Test Core 1/12 to 12/12 are all success.
  • Dev flag, Temporal Conformance does not run on a pull request: confirmed skipped on the head. It is the queue's gate and no file in this diff reaches it.
  • Dev flag, the pending 39475-list-view-export-on-by-default.md changeset is not edited: confirmed, it is not in the file list. Its last paragraph already carries the corrected grid sentence, and the new note does not contradict it.
  • Docs Drift Check reports no anchor for list-view-export-options.ts, so it did not cover the pages that document it. Read by hand: content/docs/ui/components/plugins.mdx:250 already states the new reading (default csv and json on a grid that names an object, formats: [] off, explicit-only with no object). No stale copy of the old sentence remains under packages/spec/src, content/ or skills/.
  • Claim overlap with Setup POST /api/v1/datasources creates a package-less datasource row outside the kernel save, past the #38174 close #39398 on semantic/19.*.ts: the claim says an amendment narrows it to another file. That amendment is outside this review's inputs and was not read; the diff itself touches only the one entry file the card names.
  • SQL push-down: not applicable. The diff holds no query, no id materialisation and no join.
  • The PR is still a draft. That is the seat's to lift, not a contract finding.

④ Design judgment

Both files were judged against the first consumer of the block, ObjectGrid, at the head.

What holds, sentence by sentence:

  • "An object-grid page component that names an object reads an absent block the same way": ObjectGrid.tsx:2214 binds schema.exportOptions ?? (objectName ? UNDECLARED_EXPORT_OPTIONS : undefined), the same frozen empty block the list view uses.
  • "it offers csv and json by default": line 2216, exportOptions?.formats || ['csv', 'json'].
  • "exportOptions: { formats: [] } turns its export off": an empty array is kept by ||, exportableFormats is empty, and exportEnabled (line 4913) requires a non-empty list.
  • "A grid that names no object offers export only when it declares the block": with no object name the block stays undefined and exportEnabled is false.
  • "Who may export is still the object's export verdict (the allowExport grant)": objectExportOffered gates both the menu and the handler, and isObjectExportOffered folds in the server's effective export operation.

S1 (should-fix) — packages/spec/src/migrations/entries/semantic/19.list-view-export-on-by-default.ts: the entry's acceptanceCriteria no longer covers what its reason now announces. os migrate meta prints the entry as a headline (surface → replacement), a why: line (reason) and a verify: line (acceptanceCriteria); types.ts defines the last as how the consumer proves the hand-migration correct. After this diff the why: line says page object grids also gain export by default, each with its own off switch. The verify: line still reads "Every list view that must not offer export declares exportOptions: { formats: [] } ... Export is offered on a list exactly where that set grants allowExport". An admin who closes each list view with formats: [] and then meets the criteria has proven nothing about a page grid over the same object, which now offers csv and json. The headline has the same gap: surface names "a list view" only, and replacement only "a view". The card's responsibility line is that every admin reading the note for entry 19 learns the grid half; the one field written as the proof step should not be silent on it. Fix: extend acceptanceCriteria to cover an object-grid page component that names an object (same two off switches, same allowExport check), and preferably name the grid in surface and replacement too. No new entry is needed. The claim's file surface says "the reason text only", so the seat must widen it for the fix.

Nits, with no effect on correctness or the contract:

  • N1 (nit) — list-view-export-options.ts: the paragraph still opens "What an ABSENT block means differs by carrier", and four lines later says the grid reads it "the same way". The only remaining difference is a grid that names no object. The two sentences are each true but read as a contradiction.
  • N2 (nit) — both files: "xlsx only where it lists it in formats" is a necessary condition and not a sufficient one. ObjectGrid.tsx:2217-2221 also needs the server stream (exportDownload, an object name, no inline data, streaming not false). The formats .describe() in the same module carries that condition, so the sentence is not false.
  • N3 (nit) — both files: formats: [] closes the Export menu, which is everything the new default adds. A grid that also declares operations.export: true still draws the table's own CSV button (ObjectGrid.tsx:3900). That button is opt-in and predates the change.
  • N4 (nit) — the entry's reason: the grid sentences do not repeat that the allowExport wall applies to the grid. The earlier sentence says "on any view", and a page grid is not a view. The header states it; the entry leaves it implied. S1's fix can carry it.

No must-fix. One should-fix (S1), which earns a delta review of its fix. N1 to N4 are left as accepted deviations unless the S1 fix touches the same lines.

Implemented-by: claude/issue-39582-wip
Reviewed-by: session_016WV4czfEjskBjZM6jhKWFR

VERDICT: PASS

surface, replacement and acceptanceCriteria now cover an object-grid page
component that names an object (same two off switches, same allowExport
check); reason says the permission wall applies to the grid too; the
export-options header no longer says an absent block differs by carrier.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

Final head for L1 (delta) · 2026-12-04T12:41Z · zone em-admin
Head-sha: 432df28c2d21b7d8304b530df940a95fbbdbb76b, one commit after d040807380.
Checks on this head: 61 success, 13 skipped, 0 failed.
Delta: fixes L2 S1 (record 7410947499) under claim amendment 7410987511.

  • Entry 19: surface, replacement and acceptanceCriteria now name an object-grid page component that names an object. The verify: line covers that grid with formats: [], with userActions.exportCsv: false, and with the per-permission-set allowExport check.
  • N4: reason now says the permission wall also applies to the grid.
  • N1: the header's opening sentence is reconciled.
  • N2 and N3 are left alone.
  • The changeset text is updated, and the PR body now describes the new fields.
    The diff is +32 / -13 and changes text only. NOT governed. Delta L1 and delta L2 are requested from thread L1-a.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

2026-12-04T12:44Z · L1-a delta verdict: ACCEPT at head 432df28c2d (zone em-admin, Fixes #39582), after ACCEPT 7410842643 and L2 7410947499 (S1 open)

席位核对

S1 is fixed, within the surface amendment 7410987511 widened. Semantic entry 19 now covers the object-grid page component that names an object in every field os migrate meta prints:

  • surface adds properties.exportOptions on such a grid, under the same ABSENT condition.
  • replacement names the grid for both opt-outs: formats: [] on it, and userActions.exportCsv: false for every view and grid of the object.
  • acceptanceCriteria (the verify: line) now requires each such grid that must not offer export to declare formats: [], or its object to set exportCsv: false. It also requires that, signed in as each permission set, Export is offered on the list and on the grid exactly where allowExport is granted.
  • N4: reason adds that the allowExport wall applies to the grid too.
  • N1: the module header now says an ABSENT block means the same on both carriers, except on a grid that names no object.

Each sentence matches ObjectGrid at main. The entry's id and relevantWhen are unchanged; relevantWhen already lists pages, so a stack with page grids is reached. The changeset and the PR body were updated to match.

Gates. 63 success, 15 expected skip, 0 failed, 0 pending on 432df28c2d.

Next. I'm running the delta CONTRACT_REVIEW_TIER L2 on this head. After it passes, the PR lands in its zone.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

Contract-review-claim: session_016WV4czfEjskBjZM6jhKWFR · 432df28 · 2026-12-04T12:44Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 432df28c2d21b7d8304b530df940a95fbbdbb76b
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/19.list-view-export-on-by-default.ts, packages/spec/src/ui/list-view-export-options.ts + none

Delta record. It supersedes record 7410947499, which reviewed d040807380. Inputs: the delta git diff d040807380..432df28c2d (3 files, one commit), the net diff against main (3 files, +32 / -13), the PR #39656 body, card #39582 with its new comments (claim amendment 7410987511, dev report 7411753818), and the check-runs on 432df28c2d: 63 success, 15 skipped, 0 failed, none pending. The cited code was read at this head, not reviewed: ui/packages/plugin-grid/src/ObjectGrid.tsx (lines 1247, 1300-1303, 2214-2223, 4913-4917) and ui/packages/core/src/utils/managedBy.ts (isObjectExportOffered).

① Derived judgments

  • Accept set: still unchanged, and that is right. The delta moves four prose strings of one semantic entry and one sentence of a module header comment. No schema, enum, error map or .describe() moves. Spec property liveness, Lint & Repo Gates and TypeScript Type Check are green on this head.
  • Published surface: the entry's surface, replacement, reason and acceptanceCriteria now all change against main. os migrate meta prints them as the headline, the why: line and the verify: line. Right: this is what S1 asked for.
  • Entry count: unchanged. id and relevantWhen are byte-identical to main, and relevantWhen already names pages. No new entry and no new file.
  • The CLI test that holds every printed notice to carry no tracker number is not moved: the four fields cite none, and Test Core 1/12 to 12/12 is green.

② Semver level

Unchanged. .changeset/39582-object-grid-export-upgrade-note.md stays a patch on @objectstack/spec, which matches a prose-only change in a published bundle. Its text now also describes the headline and the check step, and agrees with the entry. Check Changeset is green.

Clause-②: no — correct. Metadata-protocol: none is still correct: no entry is added or removed.

③ Boundary flags

  • open_questions: empty in dev report 7411753818.
  • Claim surface: amendment 7410987511 widens the claim, inside the same file, to acceptanceCriteria, surface and replacement. The delta stays inside it.
  • Dev flag, the PR body still said "the reason text only": answered. The body on this head names all four fields and cites record 7410947499.
  • Dev flag, 55 of the 87 derived commands were not re-run locally, and the CLI tracker-number test was not measured locally: answered by the head's check-runs. Lint & Repo Gates, Build Core and Test Core are all success.
  • SQL push-down: not applicable. The delta holds no query, no id materialisation and no join.
  • The PR is still a draft. That is the seat's to lift.

④ Design judgment

S1: closed.
N1: closed.
N4: closed.

The new sentences, each against ObjectGrid at this head:

  • surface, "properties.exportOptions on an object-grid page component that names an object (ABSENT ...)": this is the carrier and the condition of ObjectGrid.tsx:2214, where the default block applies only with an object name.
  • replacement, "To keep a view or an object-grid page component without export, declare exportOptions: { formats: [] } on it": true, an empty formats leaves exportableFormats empty and exportEnabled false.
  • replacement, "to take export off every view and grid of an object, set the object's userActions.exportCsv: false": true, the grid's objectExportOffered is isObjectExportOffered, which reads that bit.
  • reason, "The same permission wall applies to the grid": true, the grid asks getObjectApiOperations(objectName) and exportEnabled requires the resulting verdict.
  • acceptanceCriteria now holds a list view and such a grid to the same two off switches and the same per-permission-set allowExport check. An admin who meets it has checked the page grids too, which was the gap.
  • Header, "is the same on both carriers, except on an object-grid that names no object": true, and it no longer contradicts the sentence four lines below.

Still open as accepted deviations, unchanged by the delta:

  • N2 (nit) — "xlsx only where it lists it in formats" leaves out the server-stream condition. It is a necessary condition, so the sentence is not false.
  • N3 (nit) — formats: [] does not remove the table's own CSV button behind an explicit operations.export: true. That button is opt-in and predates the change.

One new nit, on a prose face:

  • N5 (nit) — the PR body's Verification section still reads "All readings at head d040807380". Dev report 7411753818 carries the readings for 432df28c2d. The line is honest about which head it measured; the seat may refresh it without moving the head.

No must-fix, no should-fix.

Implemented-by: claude/issue-39582-wip
Reviewed-by: session_016WV4czfEjskBjZM6jhKWFR

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

Landing · 2026-12-04T12:47Z · zone em-admin
ACCEPT: PR #39656 comment 7411861825 (L1-a delta ACCEPT, after ACCEPT 7410842643). The same-head contract review 7411911842 is a PASS (delta of 7410947499; S1, N1 and N4 are closed). Both are at head 432df28c2d21b7d8304b530df940a95fbbdbb76b.
N5 is fixed in the body only (the verification readings now name this head); the head did not move.
check-governed-merges.mjs --pr 39656: NOT governed, under 3000 lines. Checks: 61 success, 13 skipped, 0 failed.
Ready + auto-merge into the queue. This closes #39582 before the next version cut.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review December 4, 2026 12:48
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit fcdb79d Dec 4, 2026
83 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-39582-wip branch December 4, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ui size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spec: two unreleased texts still say a page object-grid offers export only when it declares exportOptions (false after #39475 grid half)

2 participants