Skip to content

docs(agents): PD12 names the load posture for bodies already published or stored - #39697

Merged
os-zhuang merged 4 commits into
mainfrom
claude/issue-39307-pd12-at-rest-posture
Dec 4, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/issue-39307-pd12-at-rest-posture

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

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

维护者速读

  • 用户无感:这是写给开发智能体的内部规则,只改总规则文件里"契约优先"一条,补一句"已发布内容在加载时怎么处理"。
  • 为什么做:落实你在 HotCRM 预发环境应用消失事件上的裁决(收紧的流程规则对已发布内容只警告不拒绝),否则智能体照旧规则读会把这条裁决改回去。
  • 出错会怎样:只是规则文字,不改任何运行行为;这句只管已发布应用包的读取和流程启用,数据库里普通元数据的读取照旧只记诊断、不丢弃;不对可以直接撤回这一句。
  • 要你做什么:无;你已同意把规则文件的字节上限按实测抬高 338 字节,本单同步改了上限。

What changes

Prime Directive 12 gains one sentence, inserted before its closing "Strengthens #5.":

The artifact package reader and flow arming/resume load published or stored bodies past only AT_REST_TOLERATED_RULES, a finding each, which writes (save, publish, os validate) refuse; every other error refuses, structural ones included (ruling record 7372216489). Generic stored-row reads diagnose, never drop (ADR-0087's 2026-07-31 addendum).

  • Two postures, named. Writes (save, publish, os validate) refuse every rule, the tolerated set included. Every parse outside parseAtRest is 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.
  • Which doors. The artifact package reader is resolveArtifactPackageEntries / resolveArtifactPackageOrder in packages/core/src/artifact-packages.ts, which take a required { posture }. Flow arming and resume are the automation engine's canonicalizeFlow(..., { posture: 'at-rest' }) in packages/services/service-automation. packages/spec/src/automation/at-rest-tolerance.ts draws 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".
  • What it leaves alone. The generic stored-row read (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.
  • The set, by name only. AT_REST_TOLERATED_RULES lives in packages/spec/src/automation/at-rest-tolerance.ts and 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.
  • Paying for the sentence inside the ruled budget. Two words of PD12 were trimmed with no change in meaning: "When a piece of metadata" became "When metadata", and "only when the spec itself is genuinely wrong" became "only when it is genuinely wrong". Every other word of PD12 is unchanged, the refuse-at-authoring/publish clause included.

The ruling, verbatim (comment 7372216489 on the HotCRM staging-outage card, posted by the maintainer's account):

Maintainer decision (Jack, 2026-12-03 08:23Z, project thread on the HotCRM staging outage): do it. Rules that tighten flow/metadata shape (#38970, #38871 and their kind) warn, not refuse, when reading an already-published package body on load, so a host pin move never drops an installed app. New saves/publishes keep refusing. This also has to cover tenant-authored metadata stored in the database (AI-authored drafts and published items), not just marketplace packages.

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-ratchet held AGENTS.md at 78712 bytes. origin/main is 78710 bytes, and no commit to main since the merge base has touched AGENTS.md. This PR lands AGENTS.md at 79050 bytes, measured with wc -c at 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.)」). The AGENTS.md row of CEILINGS in scripts/pm/check-skill-line-ratchet.mjs moves 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 --commands at 06ecc7f (37 families), each exit code captured before any pipe:

Local gate readings at 06ecc7f
  • All 37 exit 0. They include 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-prose and check: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).
  • Outside the derivation: pnpm check:doc-authoring exit 0.

Acceptance notes

  • The decision-analysis.md row of the same CEILINGS map belongs to another in-flight card and is untouched here.

Verification

Files to read first: AGENTS.md PD12 (the inserted sentence, last four lines of item 12, and the two trimmed phrases); scripts/pm/check-skill-line-ratchet.mjs, the AGENTS.md row of CEILINGS (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-ratchet on this head. Expected: green, with AGENTS.md is 79050 bytes (ceiling 79050; headroom 0).


Generated by Claude Code

…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>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Dec 4, 2026
@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation labels Dec 4, 2026
…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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

Contract-review-claim: session_01ASNY8VYEJsv7qCYaPgM6nB · head 4d5fa8d · 2026-12-04T14:14Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 4d5fa8dd4a6d032c31437e16cac6b0ebc1be990c
Local-runs: none
Scope: AGENTS.md + scripts/pm/check-skill-line-ratchet.mjs

① Derived judgments

Read: card #39307 (body and all 7 comments), PR #39697 (body, file list, net diff against main, merge-base 5e900d3), the check-runs on the head, and the cited code at the head. The record follows the path-filled template (--template --paths on this file list): no hit is under skills/** or .claude/**, so it carries no Security-touching: and no Rule-change-verified: line.

  • Published surface: none — right. The diff is AGENTS.md (+4/−1, Prime Directive 12 only) and one row of CEILINGS in scripts/pm/check-skill-line-ratchet.mjs (+1/−1). No package source, schema, generated artifact or runtime string moves.
  • Gate accept-set: widened by 338 bytes — right. check:pm-skill-ratchet now admits AGENTS.md up to 79050 bytes (was 78712). The widening is ruled (record 7413403390 on the card) and equals the landed size; see ④.
  • Agent-rule surface: PD12 gains one normative sentence — wrong as worded. It is right at the doors that read through parseAtRest and wrong for the generic stored-row read; see M1.
  • Landing tier: Tier H — right. AGENTS.md is outside Tier S, so this record lands nothing; the PR is draft and waits for the maintainer, as the card and the dev report say.
  • Check-runs on the head: 0 failure, 0 in progress. Success: Lint & Repo Gates, Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · docs & code guards, Lint · ESLint, TypeScript Type Check, Test Core (both shards), Governed Surface Queue Guard, PR-body guards, Check PR Size, Test UI, Dogfood Regression Gate. Skipped on this PR run: Build Core, Lint UI, Type Check UI, Build & E2E UI, Live E2E UI, Temporal Conformance, Check Changeset.

② Semver level

skip-changeset is right: nothing in the diff publishes from a released package. The PR body's Clause-②: no and Metadata-protocol: none are right: nothing a metadata author can write changes, and no capability is widened or narrowed at a consumer.

③ Boundary flags

  • Round-1 open question 1 (byte ceiling, 338 over): answered. Ruling record 7413403390, option A; implemented at exactly +338.
  • Round-1 open question 2 (quote the ruling inside PD12 or cite it): answered. The seat routed A; that agrees with the AGENTS.md header (a rule carries no ruling quotation and cites the record). The PR body's quotation of 7372216489 matches the comment on the outage card word for word.
  • Round-2 report: no open questions. Deviations (local branch left in the shared checkout, PR left draft) do not touch the contract.
  • Claim amendment 7413429576 (overlap with the decision-analysis.md row): not measured — GitHub reports mergeable_state: unknown. Since the merge-base, main moved only the execution-duties.md row of the same map (8e4dda4), a different line from the AGENTS.md row. AGENTS.md on main is still 78710 bytes, so the +338 reading holds.
  • Dev flag in the PR body ("the sentence is scoped to the doors that read through parseAtRest, so it does not contradict ADR-0087's addendum"): not upheld. The sentence in the tree carries no such scope; see M1.
  • SQL push-down: no query code in the diff; nothing to push down.

④ Design judgment

AGENTS.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 the text says. "A load of a body already published or stored goes through parseAtRest: … every other error refuses, structural ones included … (ruling record 7372216489; ADR-0087's 2026-07-31 addendum)."
  • What the cited addendum decides. docs/adr/0087-metadata-protocol-upgrade-contract.md:579-587: "Writes stay gated; reads diagnose, never drop." A row that still fails the schema after conversion is counted, warned under [metadata_spec_invalid] and registered anyway, because "refusal at boot would unhook live tables and make the row unfixable in Studio".
  • What the code does at the head.
    • packages/metadata-protocol/src/protocol-diff-delete-load.ts:1475-1506 (loadMetaFromDb) never calls parseAtRest; it registers a schema-failing stored row ("Registered anyway so it stays serveable and fixable").
    • packages/objectql/src/registry.ts:4175-4195 does the same ("deliberately not a gate").
    • The one class that door refuses (an undeclarable field type) is refused by its own ruling.
    • packages/spec/src/automation/at-rest-tolerance.ts:14-16 draws the line itself: 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."
  • Why it breaks the scenario. The sentence directly follows PD12's "Stored rows: …", so "stored" reads as exactly those rows. An agent applying it at the stored-row door is told to refuse structural errors on load. That reverses an accepted ADR without a superseding one (PD13). It is also the failure the card was filed against, moved one door over: an agent reading PD12 undoes a recorded decision, and a stored tenant row stops loading.
  • What a fix must do. Name the doors the posture governs (the artifact reader and the engine's arming, the doors that take a required posture), and leave the generic stored-row read to the addendum's diagnose-and-register line rather than citing the addendum for the opposite.
  • Byte consequence. The ceiling sits at headroom 0, and ruling 7413403390 authorises +338 for this sentence. A reworded sentence must land at or under 79050 bytes, or the row and the ruling move again by the re-measured delta.

What holds at the parseAtRest doors, checked against the code:

  • parseAtRest and AT_REST_TOLERATED_RULES exist under those names and are exported from @objectstack/spec/automation.
  • "Joined by ruling alone" matches the module header ("nothing joins without a ruling").
  • "Each with a finding" matches AtRestFinding, one per hit.
  • "Every other error refuses, structural ones included" matches parseAtRest (no tolerated hit, or a lowered parse that still fails, answers success: false) and the artifact door (packages/metadata/src/plugin.ts:1507-1508 throws).
  • Saves, publishes and os validate are strict, since every parse outside parseAtRest is.
  • The provenance form is within the header's rule: a ruling record id and an ADR addendum named by its date, no quotation, no issue number.

N1 (nit) — "every other error refuses … as every save, publish and os validate does" leaves unsaid that a write refuses the tolerated rules too. The reader gets that only from "reject it at authoring/publish" earlier in the directive. The card asked for both postures to be named; a rewrite for M1 can say it outright.

scripts/pm/check-skill-line-ratchet.mjs, the AGENTS.md row of CEILINGS

The row agrees with the script's own raise contract (header, "The ratchet discipline"), clause by clause:

  • The raising PR quotes the ruling comment's id and the measured delta in its body: yes — 7413403390 and +338 B.
  • The row moves in the same PR by at most that delta: yes — 78712 → 79050 is +338.
  • The ceiling is the landed size: yes — AGENTS.md is 79050 bytes at the head (blob size), headroom 0; it is 78710 at the merge-base and on main.
  • No other row moved: yes — the diff is that one line, and the table-row pin for AGENTS.md is untouched.
  • The ruling orders the text into the file: yes as recorded — 7413403390 says the sentence goes into AGENTS.md and quotes the maintainer's choice 「A: raise limit +338 (Rec.)」.

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: claude/issue-39307-pd12-at-rest-posture
Reviewed-by: session_01ASNY8VYEJsv7qCYaPgM6nB

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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

Contract-review-claim: session_01ASNY8VYEJsv7qCYaPgM6nB · head 06ecc7f · 2026-12-04T15:11Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 06ecc7fce3b0b1dba279f74cfe988e68e2e359ec
Local-runs: none
Scope: AGENTS.md + scripts/pm/check-skill-line-ratchet.mjs

① Derived judgments

Read: card #39307 (body and all 8 comments), PR #39697 (body, file list, net diff against main, merge-base 5e900d3), both earlier comments on the PR (FAIL record 7414190706 on head 4d5fa8d, claim 7415491854 on this head), the check-runs on this head, and the cited code on main at 758cd97. None of the cited files differs between this head and main. The record follows the path-filled template: no hit is under skills/** or .claude/**, so it carries no Security-touching: and no Rule-change-verified: line.

  • Published surface: none — right. The diff is AGENTS.md (+7/−3, Prime Directive 12 only) and one row of CEILINGS in scripts/pm/check-skill-line-ratchet.mjs (+1/−1). No package source, schema, generated artifact or runtime string moves.
  • Gate accept-set: widened by 338 bytes — right. check:pm-skill-ratchet admits AGENTS.md up to 79050 bytes (was 78712). The widening is ruled (record 7413403390) and equals the landed size; see ④.
  • Agent-rule surface: PD12 gains two sentences and loses two phrases — right. The first sentence names the doors that load at rest and what they refuse. The second leaves the generic stored-row read to ADR-0087's addendum. The two trims change no meaning. See ④.
  • Landing tier: Tier H — right. AGENTS.md is outside Tier S, so this record lands nothing. The PR is draft and waits for the maintainer.
  • Check-runs on the head: 0 failure, 0 in progress.
    • Success: Lint & Repo Gates, Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · ESLint, the three scoped Lint jobs, TypeScript Type Check, the four Type Check jobs, Test Core (both shards), Test UI, Dogfood Regression Gate, Governed Surface Queue Guard, PR-body guards (both runs), Check PR Size.
    • Skipped on this PR run: Build Core, Build Docs, Lint UI, Type Check UI, Build & E2E UI, Live E2E UI, Temporal Conformance, Check Changeset, and the opt-in batteries.
  • Merged result: main has not touched AGENTS.md since the merge-base (78710 bytes at both). It moved only the execution-duties.md row of the same map (8e4dda4), a different line from the AGENTS.md row. The merged file is 79050 bytes against a ceiling of 79050.

② Semver level

skip-changeset is right: nothing in the diff publishes from a released package. The PR body's Clause-②: no and Metadata-protocol: none are right: nothing a metadata author can write changes, and no capability is widened or narrowed at a consumer.

③ Boundary flags

  • Round-1 open questions (byte ceiling; quote or cite the ruling): both answered in record 7414190706, and nothing on this head reopens them. The PR body's quotation of 7372216489 still matches the comment on Flow pause rules (#38970, #38871) refuse already-published packages on load, so a host pin move silently drops installed apps #39282 word for word.
  • Round-3 report 7414780670: no open questions. Its deviations, each judged in ④:
    • "(joined by ruling alone)" dropped — accepted; the set is closed at its own module and pinned by test.
    • the parseAtRest name dropped — accepted; the set name locates the module.
    • two PD12 phrases trimmed — accepted; no meaning changes.
    • the stale local branch ref deleted with git update-ref -d — no contract effect.
  • One reading in that report is wrong. It says "AGENTS.md +6/-5". The net diff is +7/−3. Its other readings hold: 1058 lines against 1054, and 79050 bytes against 78710.
  • Does ruling 7413403390 still cover the row after the rewrite? Yes. The ruling orders PD12's at-rest sentence into the file and a raise of +338. The row moves by exactly +338. The reworded text is longer than the round-2 sentence, and the excess is paid by deleting 24 bytes of the two trimmed phrases, which the ratchet's own rule allows.
  • Claim amendment 7413429576 (overlap with the decision-analysis.md row): that row is untouched in this diff.
  • SQL push-down: no query code in the diff; nothing to push down.

④ Design judgment

AGENTS.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 main:

  • "The artifact package reader … load published or stored bodies past only AT_REST_TOLERATED_RULES."
    • packages/core/src/artifact-packages.ts:397 parses each entry with parseWithPosture under a required posture. Every load path passes 'at-rest': the metadata plugin, objectql, the runtime's artifact handlers, plugin-security, plugin-dev and verify.
    • The whole-artifact load at packages/metadata/src/plugin.ts:1507 reads through parseAtRest.
    • The validation callers in packages/cli/src/utils/namespace-*.ts pass 'strict'.
  • "flow arming/resume."
    • Arming: packages/services/service-automation/src/plugin.ts:858 (AT_REST_ARMING) is passed to registerFlow at line 2813.
    • Resume: engine-resume-facet.ts:301 canonicalizes the recorded version at 'at-rest'.
  • "a finding each." parseAtRest pushes one AtRestFinding per tolerated issue.
  • "which writes (save, publish, os validate) refuse."
    • reportAtRestToleratedRule raises an ordinary issue outside parseAtRest's second pass.
    • registerFlow defaults to 'strict'.
    • No packages/cli/src source reads at rest.
  • "every other error refuses, structural ones included."
    • parseAtRest answers success: false when the lowered parse still fails.
    • The artifact reader then throws INVALID_ARTIFACT_PACKAGE_ENTRY.
    • canonicalizeFlow throws the ZodError (flow-definitions.ts:266-267).
  • "Generic stored-row reads diagnose, never drop (ADR-0087's 2026-07-31 addendum)."
    • This is the addendum's own line: docs/adr/0087-metadata-protocol-upgrade-contract.md:579, "Writes stay gated; reads diagnose, never drop."
    • loadMetaFromDb (packages/metadata-protocol/src/protocol-diff-delete-load.ts, the [metadata_spec_invalid] branch) and the objectql registry ("deliberately not a gate") do what it says.
    • The addendum is now cited for what it decides, not for the opposite.
  • The two sentences do not collide on a stored flow row. The generic read registers it with a diagnostic. The engine's arming refuses it for a structural error. The text assigns each behaviour to its own door.
  • Scenario check against the card. An agent reading PD12 no longer refuses a published body on load for a tolerated rule, and no longer refuses a stored row at the registry. Both failure directions are closed.
  • Provenance form. A ruling record id and an ADR addendum named by its date, with no quotation and no issue number, as the file's header requires.

N1: closed. "which writes (save, publish, os validate) refuse" says outright that a write refuses the tolerated rules too.

The two trims pay bytes and change no meaning:

  • "When a piece of metadata" → "When metadata". Same subject; "it" in the question that follows still binds to it.
  • "only when the spec itself is genuinely wrong" → "only when it is genuinely wrong". The only antecedent in the sentence is "the spec".
  • A word-level diff shows no other word of PD12 changed. No file in the tree quotes either removed phrase.

The two dropped restatements cost nothing the contract needs:

  • "(joined by ruling alone)" stays at the set itself: packages/spec/src/automation/at-rest-tolerance.ts, "nothing joins without a ruling". The set's membership is pinned by at-rest-tolerance.test.ts:58. PD12 keeps "only".
  • The parseAtRest name is one grep from AT_REST_TOLERATED_RULES.

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.

  • An object row with an undeclarable field type does not register. That is the maintainer ruling of 2026-09-10, quoted at protocol-diff-delete-load.ts beside findUndeclarableFieldType.
  • A stored action row of the retired type yields no item (ADR-0160 D7).
  • Each exception is stated at its door with its authority, and PD12 attributes the line to the addendum. An agent at that door meets the ruling before it meets PD12, so this has no effect on correctness.
  • If the exceptions are to be recorded anywhere, the place is the addendum, which is outside this diff. The file is at headroom 0, so a qualifier here would need its own bytes. Left as an accepted deviation.

N4 (nit) — the first sentence is compressed. "which" sits one phrase away from AT_REST_TOLERATED_RULES, and "every other error refuses" is elliptical. It parses one way only. Left as written.

scripts/pm/check-skill-line-ratchet.mjs, the AGENTS.md row of CEILINGS

The row agrees with the script's raise contract (header, "The ratchet discipline"), clause by clause:

  • The raising PR quotes the ruling comment's id and the measured delta in its body: yes — 7413403390 and +338 B, measured at this head.
  • The row moves in the same PR by at most that delta: yes — 78712 → 79050 is +338.
  • The ceiling is the landed size: yes — the AGENTS.md blob is 79050 bytes at the head, headroom 0.
  • No other row moved: yes — the diff is that one line.
  • The ruling orders the text into the file: yes as recorded. The limit named in record 7414190706 stands: 7413403390 was written by the seat's session relaying the maintainer's words, and the maintainer's own merge on this Tier H path is what confirms the utterance.

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: claude/issue-39307-pd12-at-rest-posture
Reviewed-by: session_01ASNY8VYEJsv7qCYaPgM6nB

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

维护者速读

  • 是什么:AGENTS.md 第 12 条加两句,写明已发布或已存储的内容在加载时怎么处理。制品包读取、流程启动和恢复时,只有容忍清单里的规则放行并记一条提示,其余错误照样拒收;普通存储行读取照 ADR-0087 补充条款,只诊断、不丢弃。字节上限按你的裁决 7413403390 调高 338。
  • 风险:只改规则文字,不改运行行为。fable 契约审核第一轮判 FAIL(那句话写得太宽),dev 改过后第二轮 PASS。
  • 要你做什么:批准并合并。契约审核 PASS 是评论 7415650516,Head-sha: 06ecc7fce3b0b1dba279f74cfe988e68e2e359ec。
  • 不合会怎样:agent 照旧的第 12 条读,会把你在 Flow pause rules (#38970, #38871) refuse already-published packages on load, so a host pin move silently drops installed apps #39282 上的裁决改回去(已发布包加载时被拒收)。

席位意见:建议合并。审核留下两个 nit,作为接受的偏差,不改。

席位核对

ACCEPT · head 06ecc7fc

  • 形态:draft,目标 main,首行 Fixes #39307;skip-changeset;Tier H(AGENTS.md)。两个文件:AGENTS.md +7/−3(只动 PD12),scripts/pm/check-skill-line-ratchet.mjs +1/−1(只动 AGENTS.md 的 CEILINGS 行)。
  • 前提实测:AGENTS.md 在 origin/main 上 78710 字节,本 head 79050 字节,新上限 79050,余量 0;AT_REST_TOLERATED_RULES 在 packages/spec/src/automation/at-rest-tolerance.ts:81。
  • 门禁 check-runs:本 head 0 失败、0 运行中(契约审核 7415650516 ① 节已读)。
  • 接受的偏差:审核 N3(「never drop」没写出存储行入口的两个既裁例外;这两个例外在各自入口有出处,只能记在补充条款里,不在本 diff 范围内)、N4(句子压得较紧,但只有一种读法)。
  • 范围外去向:无;Skills-docs: 不欠(Metadata-protocol: none)。
  • 落地条款:Tier H,由维护者合并;合并后执行卡 AGENTS.md slimming, option B: eight serial PRs that delete duplicates and stale rows and move task-scoped rules to existing homes #39728 解锁(它挡在同一个上限行上)。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-mickey · os-mickey · session_01ASNY8VYEJsv7qCYaPgM6nB

Review requested: before merging, read the seat record 7415674464 and the contract-review PASS 7415650516 (Head-sha: 06ecc7fce3b0b1dba279f74cfe988e68e2e359ec). Tier H: the maintainer approves and merges.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Dec 4, 2026
@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 4, 2026 15:20
@os-zhuang
os-zhuang marked this pull request as ready for review December 4, 2026 22:59
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 81043c8 Dec 4, 2026
58 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-39307-pd12-at-rest-posture branch December 4, 2026 23:33
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/s 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.

AGENTS.md Prime Directive 12: name the at-rest load posture for already-published bodies (objectstack#39282 follow-up)

3 participants