---
id: 06-archive-template-work
epic: platform-retrofit
title: Archive the shipped template work tree
type: technical-story
status: todo
feature: docs
depends-on: []
blocks: []
created: 2026-07-12T10:22:00Z
---

## Goal

The eight shipped template epics and their nine PRDs live under `docs/work/archive/{epics,prds}/` (with a one-line README), `_state.json` is rebuilt via `pnpm work rebuild-state`, and `pnpm work status` shows only Veect work.

## Why

Dispatch context and prioritization are assembled from the work tree; eight shipped template epics pollute it and point agents at the wrong product (PRD user story 2). Archived work stays greppable — it documents how the machinery was built.

## Done when

- `pnpm work status` lists zero template epics (only the Veect epics — `platform-retrofit`, `walking-skeleton` — remain under `docs/work/epics/`).
- The eight epics (`binder-wrap-helper`, `ci-security-and-supply-chain`, `compliance-docs-scaffolds`, `compliance-manifests-pii-retention-subprocessors`, `dsr-consent-and-cookie-banner`, `library-evaluation-policy`, `product-analytics-channel`, `security-headers-rate-limit-sbom`) and their nine PRDs (the eight matching PRDs + `coverage-architecture`) are under `docs/work/archive/` and greppable; `platform-retrofit.prd.md` and `walking-skeleton.prd.md` stay in `docs/work/prds/`.
- The work CLI ignores the archive path (its state builder walks `docs/work/epics/` only — verified, glob adjusted if not).
- `docs/work/_system/_state.json` is regenerated and passes the state-sync pre-commit guard.
- `pnpm typecheck && pnpm lint && pnpm test && pnpm conformance && pnpm fallow:audit && pnpm coverage:diff` pass.

## Out of scope

- Editing archived epic/story/PRD content.
- Archiving `walking-skeleton.prd.md` or this epic's PRD — they are live Veect work.

## Tasks

- [ ] Create `docs/work/archive/{epics,prds}/` with a one-line README, move the eight shipped template epics and nine shipped PRDs into it, verify the work CLI ignores the archive path (adjust its glob if it doesn't), and run `pnpm work rebuild-state` to regenerate `_state.json` — one commit, `pnpm work status` shows only Veect work, all gates pass.
