Skip to content

docs(cli): rollback, revert and extension delete fill stored expressions at the change - #34106

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-lfutag
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-lfutag

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33612
Clause-②: no
Metadata-protocol: none

维护者速读

What changes

One row of content/docs/deployment/cli.mdx, the os migrate stored-expressions row. It said the command is for "a rollback or revert, which does not fill". Since #32700 the history doors fill a changed stored computed field at the change, and since #32958 so does the delete of an object_extension that re-declared one. The row now:

  • names those doors beside the save and publish doors as changes that fill at the change, with their routes;
  • keeps the command for a definition changed in a repository and booted (unchanged), and for rows a door's fill could not write, which the stored-expression-fill-incomplete warning names the command for.

Nothing else in the file is touched (open PRs #33675 and #34047 may edit other rows).

The code this teaches (origin/main 27c2f1ea)

packages/metadata-protocol/src/protocol-stored-expression-fill.ts, the docblock of the door list:

 * [#32700] …and the history doors that make a restored definition live
 * (`protocol-package-commits.ts`) fill it the same way, after the storage
 * sync they now run as the save door does:
 *
 * - `rollbackMetaItem` (`POST /api/v1/meta/:type/:name/rollback`);
 * - `revertCommit` (`POST /api/v1/packages/:id/commits/:commitId/revert`),
 *   which captures each object before its first restore and fills it once
 *   after the loop; and `rollbackToPackageCommit`
 *   (`POST /api/v1/packages/:id/rollback`), a loop of `revertCommit`, whose
 *   answer carries every step's notices.
 *
 * [#32958] …and the delete door that hands an object back the definition
 * beneath it (`protocol-diff-delete-load.ts`): `deleteMetaItem`
 * (`DELETE /api/v1/meta/:type/:name`) removing an `object_extension` that
 * re-declared a stored computed field captures before its registry heal and
 * fills after it.

The call sites behind it: protocol-package-commits.ts lines 2273 / 2348 (rollbackMetaItemUnaudited: capture, then fillStoredExpressionChange), 1568 / 1754 / 1903 (revertCommit: capture per object, fill once after the loop); rollbackToPackageCommit (line 1920) loops revertCommit; protocol-diff-delete-load.ts lines 828 / 887 (deleteMetaItem, active target only).

The remedy text of the incomplete-fill warning (same file, fillRemedy, lines 133–137):

'Each such row is computed when it is next written. To fill them all at once, run '
    + `\`os migrate stored-expressions --object ${object} --field ${field} --changed --apply\` against the `
    + 'database (its dry run, without --apply, lists them first).'

Other copies of the claim

Grepped content/docs/** for does not fill, stored-expressions, and rollback/revert within 200 characters of fill/stored computed/expression:

  • ui/translations.mdx:149 ("label does not fill it") and kernel/services-checklist.mdx:103 ("the package named does not fill the …"): different claims, untouched.
  • releases/v18/18-4.mdx:799 already says a rollback or revert fills (release-owned, correct).
  • releases/v18/18-4.mdx lines 79, 956, 1112, 1221: describe the command, make no rollback claim.

No other copy; this PR edits one row.

Tests

Docs-only; no test edits, forced or otherwise.

Acceptance notes

None.

Verification

Head 5336b254. Build closure under os-verify-lock (@objectstack/lint..., @objectstack/spec..., @objectstack/client-react...): VERDICT command-exit 0, 4m55s.

dispatch-gates --commands: 44 derived. --ran: "44 derived famil(ies) accounted for — 44 run, 0 NOT-MEASURED (a DERIVED zero)".

44 commands, exit codes
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-doc-route-spelling.mjs --advisory :: exit 0
node scripts/check-doc-route-spelling.mjs --self-test :: exit 0
node scripts/check-docs-section-name.mjs :: exit 0
node scripts/check-docs-section-name.mjs --self-test :: exit 0
node scripts/check-section-landing-index.mjs :: exit 0
node scripts/check-section-landing-index.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm --filter @objectstack/lint run check:doc-security-posture :: exit 0
pnpm --filter @objectstack/spec run check:docs :: exit 0
pnpm --filter @objectstack/spec run check:empty-state :: exit 0
pnpm --filter @objectstack/spec run check:liveness :: exit 0
pnpm --filter @objectstack/spec run check:skill-examples :: exit 0
pnpm --filter @objectstack/spec run check:strictness-ledger :: exit 0
pnpm --filter @objectstack/spec run check:variant-docs :: exit 0
pnpm --filter @objectstack/spec run check:yaml-examples :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-examples-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:corpus-claim-drift :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-anchors :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:doc-frontmatter :: exit 0
pnpm check:docs-audit-scope :: exit 0
pnpm check:docs-redirects :: exit 0
pnpm check:docs-single-h1 :: exit 0
pnpm check:docs-spec-enumerations :: exit 0
pnpm check:docs-transcript-drift :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:published-readme-links :: exit 0
pnpm check:react-page-adapter-contract :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:role-word :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:vendor-version-stamps :: exit 0
pnpm check:watch-hint-literal :: exit 0

Type-check lanes and Plan Test Core shards are CI's own; no TypeScript is touched.


Generated by Claude Code

…ons at the change

The `os migrate stored-expressions` row still named a rollback or revert as
a change that does not fill. The history doors and the delete of an
object_extension now fill at the change, as the save and publish doors do;
the row names them and keeps the command for a repository-changed
definition and for rows a door's fill could not write.

Claude-Session: https://claude.ai/code/session_01ADHkmRrQB4tkFVtnqiS8an
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 15, 2026
@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation labels Nov 15, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

席位核对

Verdict: ACCEPT — the seat lands · head 5336b2544e67bf71e900d2e3c813dc275f819994 · card #33612 · report 6899799731 · read 2026-11-15T19:33Z

  • Shape: NOT governed (check-governed-merges --pr 34106), ordinary queue landing. content/docs/deployment/cli.mdx, the os migrate stored-expressions row only, +1/−1, skip-changeset. dispatch-gates --tier: no path-derived mandate, so the review tier is the seat's call; the seat reviewed it in place against the code.
  • Seat review (in place): on main 27c2f1ea, packages/metadata-protocol/src/protocol-stored-expression-fill.ts (module docblock, the metadata-protocol: a rollback or revert that changes a stored computed field leaves existing rows unfilled (the save/publish doors fill since #32527) #32700 and metadata-protocol: the object-storage-sync-refused notice still speaks of "this save" and "publish the object again" on rollback, revert and delete answers #32958 blocks) names exactly the doors the new row lists as filling at the change: rollbackMetaItem (POST /api/v1/meta/:type/:name/rollback), revertCommit (POST /api/v1/packages/:id/commits/:commitId/revert), rollbackToPackageCommit (POST /api/v1/packages/:id/rollback), and deleteMetaItem (DELETE /api/v1/meta/:type/:name) removing an object_extension that re-declared a stored computed field, beside the save and publish doors the row already named. The new remainder clause matches fillRemedy, which every stored-expression-fill-incomplete hint carries and which names os migrate stored-expressions … --changed --apply. The stale "rollback or revert, which does not fill" is gone; nothing else in the row moves. The dev's sweep of content/docs/** found no other copy of the claim.
  • Gates: dev on this head: 44 derived, 44 exit 0, --ran 44/44 with 0 NOT-MEASURED. CI on this head: green or path-skipped, none failed, none pending at this read.
  • Accepted deviations: none.
  • Out of scope: none filed.
  • Landing: not governed — the owning seat readies and arms.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 15, 2026 19:34
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 8ce138a Nov 15, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-lfutag branch November 15, 2026 22:37
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 size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(cli): the os migrate stored-expressions row still says a rollback or revert does not fill (stale since #32700)

2 participants