focus-flow/Codex Documentation/Completed Plans/Persistence Plan 1 - SQLite Runtime Persistence/PERSISTENCE_PLAN_1_EXECUTION_ORDER.md

1.9 KiB

Persistence Plan 1 Execution Order

Status: Complete on 2026-07-02.

Run these files in order. All chunks are intended for xhigh execution unless a chunk explicitly says otherwise.

  1. PERSISTENCE_PLAN_1_BLOCK_01_REPO_AND_SCOPE_GUARDRAILS.md

    • Reconcile current repo state.
    • Confirm demo seed retirement scope.
    • Confirm schema migration strategy.
    • Lock package-boundary rules for this persistence slice.
  2. PERSISTENCE_PLAN_1_BLOCK_02_SQLITE_SCHEMA_APP_RECORDS.md

    • Add or verify missing SQLite tables for application-layer records.
    • Add Drift migration/schema tests.
    • Keep table rows behind adapter mapping helpers.
  3. PERSISTENCE_PLAN_1_BLOCK_03_SQLITE_APPLICATION_UNIT_OF_WORK.md

    • Implement a SQLite-backed ApplicationUnitOfWork.
    • Implement application repository adapters needed by current read/command use cases.
    • Add transaction, idempotency, and close/reopen tests.
  4. PERSISTENCE_PLAN_1_BLOCK_04_FLUTTER_RUNTIME_COMPOSITION.md

    • Build persistent runtime composition.
    • Open the configured SQLite file.
    • Bootstrap owner settings and the default project.
    • Dispose the database cleanly.
  5. PERSISTENCE_PLAN_1_BLOCK_05_RETIRE_DEMO_SEED_AND_WIRE_COMMANDS.md

    • Stop normal app startup from inserting arbitrary demo tasks.
    • Preserve demo/test composition only for tests or explicit demo mode.
    • Wire quick capture, schedule, done, and uncomplete against SQLite state.
  6. PERSISTENCE_PLAN_1_BLOCK_06_LIFECYCLE_VALIDATION_HANDOFF.md

    • Add temp-file lifecycle tests for add/schedule/done/reopen.
    • Run backend and Flutter validation gates.
    • Update handoff docs and README status.

Do not jump ahead into broader task editing, backup UI, export UI, navigation, calendar sync, notifications, or Shield/Recovery screens while executing this plan.