Repository navigation
docs(skills): the lifecycle rule teaches the signed-expiry scope and the retention floor of a packaged sealed object - #37913
Conversation
…the retention floor of a packaged sealed object Claude-Session: https://claude.ai/code/session_01L6bhgXcjUDyiKHv8oX32ik Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Read: card 37881 with its three comments (triage, claim, dev report), this PR's body, its two files, the net diff against
① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1 (should-fix) — the deletion leaves eval case 16 unable to pass on a correct answer. No must-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Label · 2026-11-27T11:19Z · |
…ecycle rule now carries Claude-Session: https://claude.ai/code/session_01L6bhgXcjUDyiKHv8oX32ik Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Delta review of the one commit
① Derived judgments
② Semver levelUnchanged: ③ Boundary flags
④ Design judgmentS1: closed
The changeset paragraph is true: the case graded the two withdrawn statements, and N1 (nit) — the changeset says No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head c68dc00 · card #37881 · area s2-ai · 2026-11-27T11:48ZL1 checklist
Tier: H. Landing: hand-off to the maintainer follows this record. |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Tier H hand-off · 2026-11-27T11:49Z · head c68dc00 · approver 维护者速读
|
Requested by Sales · project thread
Fixes #37881
Clause-②: no
Metadata-protocol: none
Related: #31908, #37605, #33773
维护者速读
What changes
One published skill page and one eval case of the same bundle, prose only. No code, no ceiling row.
skills/objectstack-data/rules/lifecycle.mdseal). The last sentence said expiry is not built, "so the sweeper still deletes sealed rows, which then read as missing". After PR feat(plugin-audit): seal the audit log by default and expire sealed rows by whole checkpoints (ADR-0154 D8, D10) #37605 that holds only for some sealed objects. The section now ends with one paragraph, in the wording the merged changeset,content/docs/data-modeling/objects.mdxand thelifecycle.sealdescription use:expired.archive, a retention override below the declared window is rejected and the declared window applies; to keep rows for less time, shorten the declared window.retention_overridesrow points at that paragraph ("sealed objects: see § Sealing"), so a reader who starts from the settings table meets the floor.os audit verifyhas shipped and reads the checkpoints back, and the new paragraph says how rows read, so that clause is removed. See Decided in the thread.The page teaches behaviour only: what an author declares and what then happens to the rows. It says nothing about how a checkpoint or an expiry is signed.
skills/objectstack-data/evals/objects-fields-relationships.json(case 16 only; S1 of contract review 7216914110, claim amendment 7216941615)must_containheldnot reportedandread as missing, and the grader passes an answer only when every token appears. It now holdsexpiredin their place.expected_outputended with "Two limits today: no verifier ... until expiry ships ...". It now ends with the three sentences of the new paragraph, and says the prompt's object is one declared in packaged metadata.must_not_contain, and the one-checkpoint-per-organization wording (card 33773's).Paid for in the same file (token ratchet, no ceiling moves). Each cut is restatement, rationale or filler, and what an author needs stays on the page:
recordrow of Lifecycle Classes ("permanent; policies FORBIDDEN") and the rule sentence that followsbeforeInsert/afterUpdate…)" in the introSkill size readings, against
main@f7f9345e:skills/objectstack-data/rules/lifecycle.mdskills/objectstack-data/evals/objects-fields-relationships.json(eval fixture, measured and not ratcheted)SKILL.md, summedNet lines across
skills/**: 0 (the page +1, the eval case -1; the claim's budget is +12).Decided in the thread (small, listed per the standing rule):
lifecycle.md:164-166 item of card 33773 (queued, unclaimed). It shares one sentence with the expiry clause this card rewrites, and leaving it would put "no verifier" beside "read asexpired". The seat agreed in the thread to take that one item here and not to fold the card; a deletion only, which also pays part of the ratchet. Everything else of card 33773 stays with it: the one-checkpoint-per-organization wording (page :131-133 and the eval case'sexpected_output) and thechainFieldteaching. The seat notes this on that card after the merge.expiredis the token the review named: it is the one word the new paragraph teaches for an object an author declares that the old page did not carry.content/docs/data-modeling/objects.mdxcarries all three.Skills-docs:line: the kind isnoneand there is no(narrowing)arm.claude/project-thread-zjjrt8, so it does not carry the issue number.Why
PR #37605 (merged 2026-11-27) made sealed rows of packaged objects expire by whole checkpoints and floored their retention overrides at the declared window. It declared the skill text as a follow-up because
skills/**is governed. Until the page changes, an agent that writes a sealed object from it expects a settings override to shorten the window, and tells its user that expired sealed rows read as missing.Tests
Prose only, so no unit test changes and no ablation.
Local gates, run on the final head
c68dc00c(main@f7f9345emerged in, fullpnpm build123 of 123 tasks before the eval commit, which touches no built file):node scripts/pm/dispatch-gates.mjs --commandsderives 48 families for this diff, all 48 ran with exit 0, and--rananswers:The ones that read the page:
verdict lines
check:skill-compatibility,check:skill-frame-sync,check:skill-identifier-liveness,check:doc-authoring,check:pm-skill-id-lint,check:nul-bytes,check:dual-build-cjs-loads,check:lean-entry-closureand lintcheck:doc-formula-expressions: exit 0. The same 48 also ran with exit 0 on the two earlier heads:66fa70d6, beforemainwas merged in, andca1303b9, the head the contract review read.Everything else is CI's run: the check-runs on this PR are the record.
Acceptance notes
main@1e721fdbbefore writing:lifecycle.md:164-166 and theretention_overridesrow (:173) still carried the old text, and the blocker is merged (0296d972).mainmoved one commit while the branch was open (f7f9345e,packages/metadata-protocoland one docs page, nothing underskills/); it is merged in and the gates above ran on the merged head. The wording was read from the merged changeset (.changeset/31908-p4c-sealed-expiry.md),content/docs/data-modeling/objects.mdx(Sealed audit objects), thelifecycle.sealdescription inpackages/spec/src/data/object.zod.ts, and the floor's own remedy text inpackages/plugins/plugin-audit/src/audit-seal/retention-floor.ts("to keep its rows for less time, shorten the window the object declares").main(takesSignedExpiry,packages/objectql/src/lifecycle/signed-expiry-scope.ts); the page says "declared in packaged metadata" and "created at runtime", as the public docs do, and names no internal.packages/spec/scripts/skill-served-sections.json) and is byte-identical tomain.Verification
Read first:
skills/objectstack-data/rules/lifecycle.md, the last paragraph of Sealing (seal), then theretention_overridesrow of Operations, then case 16 of the eval file. The risk hunk is the new paragraph: each of its three sentences should match what PR #37605 merged.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprintsskills/objectstack-data/rules/lifecycle.md 1931 / 1931 (+0)and exits 0.Tier H:
skills/**. Contract review 7216914110 (PASS, one should-fix) read headca1303b9; the eval commit answers its S1, and the delta review overc68dc00cis the seat's.Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgXcjUDyiKHv8oX32ik
Generated by Claude Code