- Add tickStoryBulletInEpic(workRoot, epic, story) helper that finds the bullet in the parent epic's `## Stories` section linking to the given story folder and flips `- [ ]` to `- [x]`. Idempotent. - applyApprovedState now ticks the parent epic bullet whenever a story flips to status: done (alongside the existing per-task tick and epic-status flip). Epic file gets staged on either ticked-or- flipped, not just flipped. - Backfill all 3 existing epics: 21 bullets ticked to match their already-done story statuses (binder-wrap-helper x3, library- evaluation-policy x9, ci-security-and-supply-chain x9).
1.8 KiB
id, prd, title, type, status, features, created
| id | prd | title | type | status | features | created | |||
|---|---|---|---|---|---|---|---|---|---|
| 2026-05-14-ci-security-and-supply-chain | docs/work/prds/2026-05-14-ci-security-and-supply-chain.prd.md | CI security + supply-chain enforcement stack | epic | done |
|
2026-05-14 |
Goal
Implement a four-pillar CI security stack — Renovate-managed bumps + Action SHA pinning, Socket-based supply-chain-behavior detection, continuous trace revalidation extending ADR-022, and baseline GitHub-native gates — composed via a single failure-mode hierarchy that the sandcastle reviewer prompt enforces machine-readably for agent-driven PRs. Codifies ADR-023.
Why
The repo's security posture has zero security tooling. ADR-022 + the library-evaluation epic close the adoption-time gate for new dependencies but not the drift gate. Six post-adoption threats remain uncovered: CVE disclosures, supply-chain behavior compromise, maintainer-account compromise, GitHub Actions supply-chain (major-tag pinning), license drift, and EU-residency drift. This epic closes all six via the four-pillar stack.
Stories
- 01 — Trace schema extensions (socketRisk + lastRevalidated)
- 02 — Socket integration (skill + CI)
- 03 — Renovate adoption
- 04 — Major-bump re-evaluation flow
- 05 — Trace revalidation workflow
- 06 — CodeQL workflow + pnpm audit signatures
- 07 — Gitleaks pre-commit hook
- 08 — Sandcastle reviewer prompt update
- 09 — CI security guide + CLAUDE.md