You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deepen the highest-risk shared platform behavior without changing product UI, publishing identity, migration history, or package layout by assumption.
Why
Recent checkout/deletion and hosted-router work spans durable state, package implementation, Deno adapters, and release tooling. The priority is to concentrate policy behind testable interfaces, preserve release compatibility, and reduce lockstep choreography.
Top priority
PR 1 — checkout lifecycle local-Postgres interface. Replace lifecycle policy duplicated in the billing test fake with characterization against the durable lifecycle. This is the prerequisite for safely changing checkout/deletion orchestration.
Architecture constraints
Credit ledger remains the balance source of truth.
Checkout/deletion durable state remains in Supabase; authentication identity is deleted last.
Preserve idempotency, refund recovery, tombstones, and existing public package consumers.
Use additive forward migrations only; never renumber/rewrite history.
Keep packages UI-free. Shared update presentation is out of scope.
Keep release artifacts, signatures, and latest.json mutually compatible.
No package explosion, shared fake package, generic repository layer, or migration-history rewrite.
No publishing-credential work.
No-feature-flag decision
No feature flag is planned. These slices are implementation integrity, characterization, durable-state, and release-compatibility work rather than incomplete user-facing capability. Each slice must be fully validated before its release; do not merge a partially enabled behavior behind a new flag.
Audit commit snapshot
358aa6b2bb2a2a2a34be44ec3f837f57f3ae59a9 on main.
Current status
Planned
Next action
Open this as the master tracking issue, link #10/#23/#35/#36, then start PR 1 with local-Postgres lifecycle characterization.
Pickforge Platform architecture master plan
Goal
Deepen the highest-risk shared platform behavior without changing product UI, publishing identity, migration history, or package layout by assumption.
Why
Recent checkout/deletion and hosted-router work spans durable state, package implementation, Deno adapters, and release tooling. The priority is to concentrate policy behind testable interfaces, preserve release compatibility, and reduce lockstep choreography.
Top priority
PR 1 — checkout lifecycle local-Postgres interface. Replace lifecycle policy duplicated in the billing test fake with characterization against the durable lifecycle. This is the prerequisite for safely changing checkout/deletion orchestration.
Architecture constraints
latest.jsonmutually compatible.Scope / acceptance checklist
Dependency-ordered PR plan
PR 1 — Lifecycle persistence characterization
PICKFORGE_ALLOW_LOCAL_DB_TESTS=1 bun run test:supabase;bun run typecheck.PR 2 — Consolidate checkout/deletion orchestration
PR 3 — Durable sync last-writer-wins
written/staleresults under concurrent writes and tombstones.PR 4 — Durable router attempt ownership
PR 5 — Transactional AppImage repair
Existing issue coordination
Non-goals
No-feature-flag decision
No feature flag is planned. These slices are implementation integrity, characterization, durable-state, and release-compatibility work rather than incomplete user-facing capability. Each slice must be fully validated before its release; do not merge a partially enabled behavior behind a new flag.
Audit commit snapshot
358aa6b2bb2a2a2a34be44ec3f837f57f3ae59a9onmain.Current status
Planned
Next action
Open this as the master tracking issue, link #10/#23/#35/#36, then start PR 1 with local-Postgres lifecycle characterization.