Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,17 +249,21 @@ See `ui/AGENTS.md` for the app-id / localStorage / auth gotchas.
— the rule still outranks the hook. **A worktree isolates neither the stash nor the build cache** — another
hook (`guard-shared-stash.sh`, `OS_ALLOW_STASH=1`) and the replacements live in Multi-agent discipline below.
12. **Contract-first — fix the metadata, not the runtime.** `packages/spec` is the one contract between metadata
*producers* and the runtime/renderers that *consume* it. When a piece of metadata "doesn't work," ask **first**:
*producers* and the runtime/renderers that *consume* it. When metadata "doesn't work," ask **first**:
*is it spec-compliant? is this the long-term-correct direction?* If the metadata is wrong, fix it at the
**producer** and **reject it at authoring/publish** (validation / lint) so the error surfaces loudly — ⛔ never
add a lenient alias or `??` fallback in a consumer (a node executor, the REST layer, a renderer) to tolerate
off-spec input: one strict contract beats N dialects, and this is an **internal** contract (we own both ends), so
"be liberal in what you accept" does **not** apply. Change the **spec** only when the spec itself is genuinely
"be liberal in what you accept" does **not** apply. Change the **spec** only when it is genuinely
wrong, and then deliberately (edit the Zod schema + migrate). When an alias must be tolerated at all, declare it
as an **ADR-0087 conversion-layer entry** (never a bare `??`, no executor shims) so it is declared, loud, tested,
and *removable on a schedule*. Stored rows: `applyConversionsToStoredItem` replays the chain the installed release
carries, retired entries included; kits age out one major after retiring (ADR-0087 as amended, ruling 6434038284),
so run `os migrate meta --stored --apply` before leaving a release that still converts the row. Strengthens #5.
so run `os migrate meta --stored --apply` before leaving a release that still converts the row. 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). Strengthens #5.
13. **An accepted ADR binds until a superseding ADR says otherwise.** Reversing a recorded decision is itself a
decision: it needs a **new ADR** (or an amended status line on the old one), not a changeset that quietly does the
opposite. Before changing behaviour in `docs/adr/`-governed territory, **grep the ADRs for the surface you are
Expand Down
2 changes: 1 addition & 1 deletion scripts/pm/check-skill-line-ratchet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const CEILINGS = new Map([
['.claude/skills/checklist-author/SKILL.md', 3574],
['.claude/skills/dogfood-verification/SKILL.md', 9513],
['.claude/skills/spec-property-retirement/SKILL.md', 26922],
['AGENTS.md', 78712], // raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B
['AGENTS.md', 79050], // raised 78712 → 79050 (+338 B, PD12's at-rest load-posture sentence) by ruling record 7413403390 「A: raise limit +338 (Rec.)」 under ruling record 6184799323, letter B; raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B
['CLAUDE.md', 273],
]);

Expand Down
Loading