Files
ruflo/v3/docs
Reuven bbb90046eb docs(adr): ADR-096 — flip status to Accepted, log Phase 1–4 implementation
The high-tier scope (sessions / terminals / memory.db) shipped over
the past four iterations. Updating the ADR so it reflects ground truth
rather than reading like a still-open proposal.

Header changes:
  Status: Proposed → Accepted (Phase 1–4 implemented; Phase 5+ deferred)
  Date: 2026-05-03 (proposed) / 2026-05-04 (accepted)
  Version target: v3.6.25 (next batch publish)
  Related: appended commit refs cb9a9f3 / 98aa256 / 49c8019 / 841365f

Acceptance criteria walked with check / defer status + commit refs:
  ✓ session save→restore round-trip — 98aa256
  ✓ legacy plaintext readable after gate flip — across all 3 wired
    surfaces — 98aa256, 49c8019, 841365f
  ✓ flipped-byte tamper detection — 6 cases in vault tests +
    memory-db tamper test — cb9a9f3, 841365f
  ✓ baseline stays green with gate off — full suite 1933/1933 (was
    1865 + 25 pre-existing failures cleared in iter #39; +68 new
    encryption-track tests)
  ✓ encryption-vault.test.ts exercises every path — 45 cases plus
    8 + 7 + 7 + 9 across the integration files = 76 total encryption
    tests
  ⊘ ruflo doctor encryption-status report — deferred to Phase 5 (small
    surface change, not blocking high-tier ship)
  ⊘ witness manifest entry — deferred until the batch publish per the
    loop directive of "do not publish on every iteration"

New "Implementation status" table:
  Phase 1 cb9a9f3 — vault primitives — 45 tests — suite 1865→1910
  Phase 2 98aa256 — session-tools wired — +7 tests — suite 1910→1917
  Phase 3 49c8019 — terminal-tools wired — +7 tests — suite 1917→1924
  Phase 4 841365f — memory-initializer DB wired — +9 tests — 1924→1933

Renumbered the original "Phase 2" (key rotation) → Phase 5,
"Phase 3" (medium-tier stores) → Phase 7. Now-ordered Phase 5
(doctor report), Phase 6 (sealed-box backups), Phase 7 (medium-tier
extension), plus listed keytar/passphrase resolvers + AgentDB native
column-level encryption as separate follow-up scope.

No code changes — just close-the-loop on the ADR contract so a future
reader doesn't have to chase commits to know what's done.
2026-05-03 21:29:47 -04:00
..