chore(work): decompose 2026-05-14-library-evaluation-policy epic

Decomposer produced 9 stories under docs/work/2026-05-14-library-
evaluation-policy/, ordered to land the schema foundation first and
the cross-referencing content (skill, guide, backfill) last:

01 - trace schema module + docs/library-decisions/ foundation
02 - pre-commit check script
03 - Claude PreToolUse / PostToolUse hooks
04 - evaluate-library skill
05 - human guide (docs/guides/adding-a-library.md)
06 - sandcastle reviewer prompt update
07 - generator pre-shipped traces for optional cores
08 - backfill traces for existing runtime deps
09 - CLAUDE.md Key Conventions bullet

Anchored by ADR-022 + the approved PRD at
docs/work/prds/2026-05-14-library-evaluation-policy.prd.md.
This commit is contained in:
2026-05-14 06:52:02 +02:00
parent 7f1a8d0212
commit 16a03e026b
11 changed files with 584 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
---
id: 09-claude-md-update
epic: 2026-05-14-library-evaluation-policy
title: CLAUDE.md Key Conventions — library policy bullet
type: technical-story
status: todo
feature: docs
depends-on: [05-human-guide]
blocks: []
---
## Goal
Add one bullet to the "Key Conventions" section of `CLAUDE.md` pointing agents and developers at ADR-022, the `evaluate-library` skill, and `docs/guides/adding-a-library.md`. No other changes to `CLAUDE.md`.
## Why
`CLAUDE.md` is the first file agents and developers read. Without a Key Conventions entry, the library evaluation policy is invisible to any agent starting a fresh session — it may run `pnpm add` without knowing the policy exists, and only hit the hook or pre-commit gate after the fact. The bullet closes the discoverability gap.
## Done when
- `CLAUDE.md` Key Conventions section contains a bullet: _"New runtime dependencies in feature- or core-tier packages require a library trace at `docs/library-decisions/<date>-<name>.md` produced by the `/evaluate-library` skill — see ADR-022 and `docs/guides/adding-a-library.md`."_ (exact wording may vary; substance must include ADR-022, the skill, and the guide path).
- No other changes to `CLAUDE.md`.
- `pnpm lint && pnpm fallow:audit` pass.
## In scope
- `CLAUDE.md` — one bullet in Key Conventions.
## Out of scope
- `docs/glossary.md` — the glossary entries for **Library trace** and **Pre-shipped trace** landed during the 2026-05-14 grill session and are already present.
- Any other documentation changes.
## Tasks
- [ ] Add the one-line library-policy bullet to CLAUDE.md Key Conventions (after confirming glossary entries are already present); all gates pass on this single commit.