Skip to content

Design/transaction lifecycle - #95

Merged
febus982 merged 4 commits into
mainfrom
design/transaction-lifecycle
Aug 3, 2026
Merged

Design/transaction lifecycle#95
febus982 merged 4 commits into
mainfrom
design/transaction-lifecycle

Conversation

@febus982

@febus982 febus982 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

febus982 and others added 4 commits August 3, 2026 21:57
Specs and plans produced during design sessions are scratch working files,
not published documentation. Published design documents live in docs/designs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJb27fB7d7HbQqfXc7U66V
Describes the planned unification of the three current transaction modes
behind a TransactionScope that owns the boundary, with repositories
resolving their session per call from a contextvar.

Covers the motivating defects, the new component model, transaction
semantics, framework integration, the subclass extension contract, and
the deprecation path.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJb27fB7d7HbQqfXc7U66V
find(), paginated_find() and cursor_paginated_find() no longer commit as of
#94, which landed ahead of this redesign. The document described the bug in
the present tense and framed the fix as pending.

Kept in the motivation section rather than deleted: it is the clearest small
illustration of the underlying problem, which is the repository deciding
when to commit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJb27fB7d7HbQqfXc7U66V
@febus982
febus982 merged commit 56803b7 into main Aug 3, 2026
11 checks passed
@febus982
febus982 deleted the design/transaction-lifecycle branch August 3, 2026 21:04
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