gate-ledgerlisted
Install: claude install-skill adarshpuri20/flow-surface
# Ledgers
The durable state that outlives any single run.
## Two ledgers, two owners
**`research/GATE-LEDGER.md`** — feature gate status across audit runs. Written by the
audit workflow.
```markdown
| Gate | Feature | State | Since | Evidence | Report |
| :--- | :--- | :--- | :--- | :--- | :--- |
| GATE-01 | Dashboard | UNLOCKED | audit-002 | — | audits/audit-002/GATE-01.md |
| GATE-07 | Exports | LOCKED | — | F-014, F-021 | audits/audit-004/GATE-07.md |
```
**`plans/DEBT-LEDGER.md`** — technical debt across build phases. Written by the phase
workflow.
```markdown
| ID | Item | Accepted at | Radius | Revisit trigger |
| :--- | :--- | :--- | :--- | :--- |
| D-007 | No pagination on export | phase-18 | LOW | >10k rows |
```
Both paths — `research/GATE-LEDGER.md` and `plans/DEBT-LEDGER.md` — are conventions
inside the **host project** being audited; they are not paths in this marketplace
repository.
They cross-reference: **open debt lowers a gate's confidence score.** A gate that is
technically `UNLOCKED` but sits on three `MEDIUM` debt items is not the same as a clean one.
## Lifecycle
1. **Read on startup.** Load prior states so previously audited gates aren't re-derived.
2. **Live-update during the run.** Update each gate's row as it completes, so a status
check shows real progress rather than a stale snapshot.
3. **Full merge at report time.** Authoritative merge that preserves gates written by
other runs.
4. **Per-run snapshot.** A read-only copy inside the