The previous layout placed epic folders directly under docs/work/
alongside prds/ and _system/. Tightening: epics now live in their
own docs/work/epics/ subfolder, peer to prds/ and _system/. Same
shape as the existing prds/ bucket.
Final docs/work/ layout:
README.md
prds/<slug>.prd.md
_system/_state.json
epics/<slug>/_epic.md + <story-folder>/_story.md
Renames (git mv preserves history):
- docs/work/binder-wrap-helper/
-> docs/work/epics/binder-wrap-helper/
- docs/work/library-evaluation-policy/
-> docs/work/epics/library-evaluation-policy/
- docs/work/ci-security-and-supply-chain/
-> docs/work/epics/ci-security-and-supply-chain/
Tooling updates:
- state-builder.mjs walks workRoot/epics/ directly; SKIP_FOLDERS
obsoleted (no more sibling folders to filter out).
- dispatch.mjs's findNextTask, tickStoryBulletInEpic, and
flipEpicDoneIfAllStoriesDone all join with "epics" segment.
- prd-ship.mjs's deriveShippingCommits walks workRoot/epics/ and
git-logs docs/work/epics/<epic>/.
- decomposer.prompt.md emits epics under docs/work/epics/<epic-id>/.
- handoff + grill-with-docs glossary references updated.
- Glossary entry for Epic updated.
Reserved future shape: when a task-tracker integration (ClickUp,
Linear) ships, the epics/ subfolder hosts <task-id>-<slug>/
folders. Today it just hosts bare slugs.
1.7 KiB
1.7 KiB
id, epic, title, type, status, feature, depends-on, blocks, created, updated
| id | epic | title | type | status | feature | depends-on | blocks | created | updated | |
|---|---|---|---|---|---|---|---|---|---|---|
| 09-claude-md-update | library-evaluation-policy | CLAUDE.md Key Conventions — library policy bullet | technical-story | done | docs |
|
2026-05-14T06:52:02+02:00 | 2026-05-14T19:21:52.308Z |
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.mdKey Conventions section contains a bullet: "New runtime dependencies in feature- or core-tier packages require a library trace atdocs/library-decisions/<date>-<name>.mdproduced by the/evaluate-libraryskill — see ADR-022 anddocs/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:auditpass.
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.