Skip to content

Document reference flows (sync vs async) in the tiering plan#101

Merged
renanfulas merged 1 commit into
mainfrom
codex/document-tiering-flows
Jun 29, 2026
Merged

Document reference flows (sync vs async) in the tiering plan#101
renanfulas merged 1 commit into
mainfrom
codex/document-tiering-flows

Conversation

@renanfulas

Copy link
Copy Markdown
Owner

Adds the concrete per-turn and handoff reference flows (synchronous Postgres anchor + outbox enqueue in one transaction; fail-open hot state; async off-box backup via the worker) to the layered-persistence plan, and clarifies Redis is only ever a non-authoritative hot-state backend / read cache (never the durability anchor). Completes the plan started in #100. Doc-only.

🤖 Generated with Claude Code

Adds the concrete operational design agreed in the 2026-06-29 architecture
discussion: the per-turn flow (one synchronous Postgres transaction that persists
the turn and enqueues the outbox; fail-open hot state; async off-box backup via
the worker) and the handoff flow (the support_case + handoff.requested in the same
sync transaction is the consistency gate; async external delivery). Clarifies that
Redis only ever enters as a non-authoritative hot-state backend / read cache
(levels 1-2), never as the durability anchor. Makes the plan self-contained.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@renanfulas renanfulas merged commit 920c056 into main Jun 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant