Files
agentic-dev/docs/work/2026-05-14-ci-security-and-supply-chain/_epic.md
Danijel Martinek c17d3f147d chore(work): decompose 2026-05-14-ci-security-and-supply-chain epic
Decomposer produced 9 stories under docs/work/2026-05-14-ci-
security-and-supply-chain/, ordered to land the schema foundation
first and the cross-referencing content (reviewer prompt, guide)
last:

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 + audit signatures
07 - gitleaks pre-commit
08 - reviewer prompt update
09 - CI security guide + docs

Also fixes a one-char status typo in the PRD frontmatter
(\`appoved\` -> \`approved\`) that landed with the decompose run.

Anchored by ADR-023 + the approved PRD at
docs/work/prds/2026-05-14-ci-security-and-supply-chain.prd.md.
Sequencing: depends on stories 01/02/04/06 of the in-flight
library-evaluation epic landing first.
2026-05-14 18:59:12 +02:00

30 lines
1.8 KiB
Markdown

---
id: 2026-05-14-ci-security-and-supply-chain
prd: docs/work/prds/2026-05-14-ci-security-and-supply-chain.prd.md
title: CI security + supply-chain enforcement stack
type: epic
status: in-progress
features: [scripts, tooling, docs]
created: 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)](01-trace-schema-extensions/_story.md)
- [ ] [02 — Socket integration (skill + CI)](02-socket-integration/_story.md)
- [ ] [03 — Renovate adoption](03-renovate-adoption/_story.md)
- [ ] [04 — Major-bump re-evaluation flow](04-major-bump-reevaluation/_story.md)
- [ ] [05 — Trace revalidation workflow](05-trace-revalidation-workflow/_story.md)
- [ ] [06 — CodeQL workflow + pnpm audit signatures](06-codeql-and-audit-signatures/_story.md)
- [ ] [07 — Gitleaks pre-commit hook](07-gitleaks-precommit/_story.md)
- [ ] [08 — Sandcastle reviewer prompt update](08-reviewer-prompt-update/_story.md)
- [ ] [09 — CI security guide + CLAUDE.md](09-ci-security-guide-and-docs/_story.md)