# `.ciagent/archive/` — Completed-Milestone History

This directory holds byte-identical snapshots of `.ciagent/` files that
were compressed out of the active agent context. Compression is **lossless
via relocation**: every original byte is reachable here, and the git
history at the commit prior to compression preserves the authoritative
state for offline agent loading.

## Why archive

The active milestone is v1.26 (Live Pilot Estate Activation). The
`.ciagent/` root held ~11,164 lines dominated by completed-milestone
narratives (v1.0–v1.24). Per the run.md context-loading model, agents
read `.ciagent/` every `/ci-run`; the historical narrative was not
load-bearing for v1.26 execution and was relocated to keep the working
context lean.

## Contents

### Snapshots of slimmed files (full content before compression)

| File | Original (lines) | Replaces | Status at time of snapshot |
|---|---|---|---|
| `PROJECT-v1.0-v1.24.md` | 1784 | `.ciagent/PROJECT.md` | v1.0–v1.24 milestone-by-milestone narrative + active milestone v1.26 sections |
| `REQUIREMENTS-v1.0-v1.24.md` | 2490 | `.ciagent/REQUIREMENTS.md` | All requirements v1.0 (REQ-01) through v1.26 (REQ-322) |
| `ROADMAP-v1.0-v1.24.md` | 2341 | `.ciagent/ROADMAP.md` | All phase breakdowns v1.0 through v1.26 |
| `ARCHITECTURE-v1.0-v1.24.md` | 945 | `.ciagent/ARCHITECTURE.md` | Full architecture reference + historical "how we got here" narrative |

The slimmed in-place files retain: active milestone v1.26 context, the
v1.25 milestone (since v1.26 tags ride the v1.25.x line), the durable
vision/tenets/RACI/capability-status sections, and the current-state
architecture reference.

### Completed-phase artifacts (relocated verbatim)

| File | Original (lines) | Phase(s) documented |
|---|---|---|
| `REVIEW.md` | 111 | Multi-persona code review records from completed phases |
| `AUDIT.md` | 553 | Project health audit records (reconstruction tests, branch hygiene) |
| `VERIFY.md` | 86 | Per-phase verification records |
| `PRE_MORTEM.md` | 228 | Pre-mortem analyses for completed milestones |

### Live operational files NOT archived

These files remain at their canonical `.ciagent/` paths because they are
read/write targets of live code paths and must not be relocated:

- `REGRESSION_REPORT.json` — written by `core/regression_verify.py:705`,
  read by `core/metrics/collector.py:27` + `core/metrics/trust_snapshot.py:21`
  + `metrics/` views.
- `REGRESSION_REPORT.md` — written by `core/regression_verify.py:704`,
  referenced by `scripts/run_regression.sh`.
- `CHECKPOINT.json` — the authoritative resume point for `/ci-run`.
- `config.json` — operational configuration (no historical content).

## How to load archived content

Agents that need completed-milestone history can read these files
directly (they live inside `.ciagent/`, so the path convention holds):

```
.ciagent/archive/PROJECT-v1.0-v1.24.md
.ciagent/archive/REQUIREMENTS-v1.0-v1.24.md
.ciagent/archive/ROADMAP-v1.0-v1.24.md
.ciagent/archive/ARCHITECTURE-v1.0-v1.24.md
.ciagent/archive/{REVIEW,AUDIT,VERIFY,PRE_MORTEM}.md
```

For the authoritative pre-compression state of any `.ciagent/` file,
use git history at the commit immediately preceding the compression
commit (search the log for `chore(P02): compress .ciagent/ files`).

## `completed-milestones/`

Reserved for future per-milestone summary files if a milestone's
narrative is too large for the slimmed in-place ROADMAP/PROJECT. Currently
empty; v1.0–v1.24 narrative is fully preserved in the four snapshot
files above.