Skip to content

retention: make backup and restore disposition-aware #213

Closed

Description

@fieldmouseworks-workers

Child of #64. Finish only this task in one fresh session and one PR. The parent's original authorization boundaries still apply; this child grants no additional authority. Do not read earlier sessions' transcripts.

Depends on the reviewed disposition contract and minimal event storage. Refs #64 and #44. Implement the recovery protocol required before destruction can be enabled: disposition evidence must survive restoration of an older database or recovery into a clean installation, and missing/stale recovery evidence must fail closed. Cover scheduled/manual/pre-migration/pre-restore snapshots, configured plain or encrypted copies, copy catch-up, and restore-created backups. Provide typed recovery states and durable progress interfaces for the later executor; no destruction endpoint in this PR. Explicitly handle unavailable copy destinations and externally retained copies without claiming their bytes were destroyed. Preserve existing backup integrity and read-only doctor guarantees. Restrict automatic operations to the contracted installation-owned scope; do not perform actual external-data deletion or deployment.

Verification: Run process-level recovery tests and an invented-data restore drill using a pre-disposition snapshot, including clean-installation recovery, stale/missing evidence, unreachable copy storage, interrupted progress, and encrypted-copy recovery. Prove catch-up cannot republish forbidden content. Full current gates pass; distinguish scripted drill evidence from real-host proof.

If this is too big, publish any progress, split it with proj split FILE (a JSON array of title/body/check tasks), then end the session. Wait for the PR to land before declaring this task done.

Activity

  1. added
    later
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    later

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions