Repository navigation
docs(agents): PD12 names the load posture for bodies already published or stored - #39697
Conversation
…dy published or stored A save, a publish or `os validate` refuses; a door loading a body already published or stored reads it through `parseAtRest`, past only the rules of `AT_REST_TOLERATED_RULES` with a finding each, and refuses every other error. The generic stored-row read keeps ADR-0087's 2026-07-31 addendum, and no rule joins the set without a ruling (ruling record 7372216489). Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
…entence Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
…at-rest sentence Ruling record 7413403390 (route A), measured delta +338 B. Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB Contract-review-claim: session_01ASNY8VYEJsv7qCYaPgM6nB · head 4d5fa8d · 2026-12-04T14:14Z |
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB Contract reviewServed-tier: ① Derived judgmentsRead: card #39307 (body and all 7 comments), PR #39697 (body, file list, net diff against
② Semver level
③ Boundary flags
④ Design judgmentAGENTS.md, PD12 (lines 262–265 at the head) M1 (must-fix) — The sentence states a universal that the tree and its own citation contradict.
What holds at the
N1 (nit) — "every other error refuses … as every save, publish and scripts/pm/check-skill-line-ratchet.mjs, the The row agrees with the script's own raise contract (header, "The ratchet discipline"), clause by clause:
One limit on that last clause: the record was written by the seat's session relaying the maintainer's words, not by the maintainer's account. I checked the id, the quotation and the arithmetic against the record; the maintainer's own merge on this Tier H path is what confirms the utterance. N2 (nit) — The new row comment omits the "under ruling record 6184799323, letter B" tail its two predecessors on the same row carry. No effect on the gate. Implemented-by: VERDICT: FAIL |
…ic stored-row reads keep ADR-0087's diagnose line Contract review FAIL M1: the load posture is the artifact package reader's and flow arming/resume's, not every stored-row read. Writes refuse the tolerated rules too (N1). The CEILINGS row comment gains its ruling chain (N2). AGENTS.md lands at 79050 bytes, the ruled ceiling. Claude-Session: https://claude.ai/code/session_01ASNY8VYEJsv7qCYaPgM6nB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB Contract-review-claim: session_01ASNY8VYEJsv7qCYaPgM6nB · head 06ecc7f · 2026-12-04T15:11Z |
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB Contract reviewServed-tier: ① Derived judgmentsRead: card #39307 (body and all 8 comments), PR #39697 (body, file list, net diff against
② Semver level
③ Boundary flags
④ Design judgmentAGENTS.md, PD12 (lines 262–266 at the head) M1: closed. The universal is gone. The sentence now names the doors, and each clause holds against the code on
N1: closed. "which writes (save, publish, The two trims pay bytes and change no meaning:
The two dropped restatements cost nothing the contract needs:
No must-fix, no should-fix. N3 (nit) — "never drop" is the addendum's wording, and the stored-row door has two decided exceptions that neither PD12 nor the addendum names.
N4 (nit) — the first sentence is compressed. "which" sits one phrase away from scripts/pm/check-skill-line-ratchet.mjs, the The row agrees with the script's raise contract (header, "The ratchet discipline"), clause by clause:
N2: closed. The row comment now ends its new clause with "under ruling record 6184799323, letter B", as its two predecessors do. Record 6184799323 is the letter-B ruling that authorises a ruled raise. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB 维护者速读
席位意见:建议合并。审核留下两个 nit,作为接受的偏差,不改。 席位核对ACCEPT · head
|
|
repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB Review requested: before merging, read the seat record 7415674464 and the contract-review PASS 7415650516 ( |
Fixes #39307
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Prime Directive 12 gains one sentence, inserted before its closing "Strengthens #5.":
os validate) refuse every rule, the tolerated set included. Every parse outsideparseAtRestis strict. The doors that read a body already published or stored at the'at-rest'posture load it past only the rules of the set, each with a finding, and still refuse every other error, structural ones included.resolveArtifactPackageEntries/resolveArtifactPackageOrderinpackages/core/src/artifact-packages.ts, which take a required{ posture }. Flow arming and resume are the automation engine'scanonicalizeFlow(..., { posture: 'at-rest' })inpackages/services/service-automation.packages/spec/src/automation/at-rest-tolerance.tsdraws the same line: the addendum "already holds that line for rows entering the registry; this module carries it to the artifact door and to the automation engine's arming".loadMetaFromDb, the objectql registry) keeps ADR-0087's 2026-07-31 addendum: it diagnoses under[metadata_spec_invalid], registers the row and never drops it. PD12 now says so instead of citing that addendum for the opposite.AT_REST_TOLERATED_RULESlives inpackages/spec/src/automation/at-rest-tolerance.tsand is exported from@objectstack/spec/automation. Its module header holds "nothing joins without a ruling". PD12 names the set and does not restate its members.The ruling, verbatim (comment 7372216489 on the HotCRM staging-outage card, posted by the maintainer's account):
AGENTS.md's own header bars a ruling date or quotation inside a rule, so the rule text cites the ruling record id and the quotation lives here.
Byte ceiling: raised by ruling record 7413403390
check:pm-skill-ratchetheld AGENTS.md at 78712 bytes.origin/mainis 78710 bytes, and no commit tomainsince the merge base has touched AGENTS.md. This PR lands AGENTS.md at 79050 bytes, measured withwc -cat 06ecc7f: +338 B over the old ceiling, +340 against main. The maintainer chose route A, recorded as ruling record 7413403390 (「A: raise limit +338 (Rec.)」). TheAGENTS.mdrow ofCEILINGSinscripts/pm/check-skill-line-ratchet.mjsmoves 78712 → 79050 (+338 B), exactly the measured delta. The round-3 rewrite also lands at 79050, so the row stays at that value. Its comment cites ruling record 7413403390 under ruling record 6184799323, letter B, as the row's earlier raises do. No other row moved.Tests
No code changes. Local gates for the diff, derived by
node scripts/pm/dispatch-gates.mjs --commandsat 06ecc7f (37 families), each exit code captured before any pipe:Local gate readings at 06ecc7f
pnpm check:pm-skill-ratchet, which prints✓ check-skill-line-ratchet: AGENTS.md is 79050 bytes (ceiling 79050; headroom 0).and runs the script's own--self-test. Also green:check:pm-dispatch-gates,check:ratchet-remedy-authority,check:scripts-symbol-anchors,check:pm-governed-proseandcheck:pm-skill-id-lint.dispatch-gates --ran: 37 derived, 37 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero, every row carrying an exit code).pnpm check:doc-authoringexit 0.Acceptance notes
decision-analysis.mdrow of the sameCEILINGSmap belongs to another in-flight card and is untouched here.Verification
Files to read first:
AGENTS.mdPD12 (the inserted sentence, last four lines of item 12, and the two trimmed phrases);scripts/pm/check-skill-line-ratchet.mjs, theAGENTS.mdrow ofCEILINGS(78712 → 79050, the row comment citing ruling record 7413403390);packages/spec/src/automation/at-rest-tolerance.ts(the set and its "joins only by ruling" header).Two-minute check:
pnpm check:pm-skill-ratcheton this head. Expected: green, withAGENTS.md is 79050 bytes (ceiling 79050; headroom 0).Generated by Claude Code