Skip to content

retention: execute confirmed disposition with recoverable copy cleanup #214

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 exact-scope preview, minimal event storage, and disposition-aware recovery. Refs #64 and #44. Implement one owning typed execution API, initially unavailable through HTTP or the operator UI. Recompute policy eligibility, holds, authority, dependency closure, and confirmation binding inside the execution write transaction. Remove every contracted in-scope database copy and preserve ordinary immutable-record protections outside the authorized operation. Coordinate SQLite residual-content treatment and application-owned file/copy cleanup through the reviewed durable state machine; retries must be idempotent and success must remain unavailable until required cleanup and recovery evidence are durable. Record only minimal result evidence. Refuse unsupported scope and retain explicit incomplete states for unresolved copies. No default schedule, implied authority, deployment, or deletion of arbitrary external data.

Verification: Integration tests scan invented content across canonical bytes, drafts, reviews, acknowledgments, amendments, snapshots, and dependent material. Inject failures before/after commits and at each cleanup boundary; restart and retry without lost obligations or duplicate completion. Race holds, policy, scope and grant changes against confirmation. Raw ordinary mutations remain rejected. Full current gates pass.

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