store: move the effects SQL substrate into db/ #38

Merged
PerishFire merged 1 commit from split-effects-db into main 2026-07-21 03:12:27 +00:00
Owner

Crate-split adaptor-prep A3a. The effects impl Database (pure SQL over model types + shared codecs) moves from store/effects/ into db/effects.rs, consolidating with the db substrate. Its input DTOs (Prepared from runtime, Transition from the effects domain) move with it, become pub, and are re-exported from db so domain callers reference them downward. The domain half (Settlement + impl SantiStore) collapses to store/effects.rs. Rule: impl Database → substrate, impl SantiStore → domain; substrate never depends back on domain. Pure move; 40 workspace test groups green; core debt 0; guard green under v0.6.0.

🤖 Generated with Claude Code

Crate-split adaptor-prep A3a. The effects impl Database (pure SQL over model types + shared codecs) moves from store/effects/ into db/effects.rs, consolidating with the db substrate. Its input DTOs (Prepared from runtime, Transition from the effects domain) move with it, become pub, and are re-exported from db so domain callers reference them downward. The domain half (Settlement + impl SantiStore) collapses to store/effects.rs. Rule: impl Database → substrate, impl SantiStore → domain; substrate never depends back on domain. Pure move; 40 workspace test groups green; core debt 0; guard green under v0.6.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
store: move the effects SQL substrate into db/
All checks were successful
guard / guard (pull_request) Successful in 5m24s
a3f59ef085
Crate-split adaptor-prep A3a. The effects impl Database (pure SQL over
model types + shared codecs) moves from store/effects/ into
db/effects.rs, consolidating it with the rest of the db substrate. The
substrate DTOs it consumes (Prepared, built by runtime; Transition,
built by the effects domain) move with it and become pub, re-exported
from db so the domain callers reference them downward. The domain half
(Settlement + impl SantiStore) collapses to store/effects.rs. Rule
holds: impl Database → substrate (db/), impl SantiStore → domain; the
substrate never depends back on domain. Pure move; 40 workspace test
groups green; core debt 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PerishFire deleted branch split-effects-db 2026-07-21 03:12:28 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PerishFire/santi!38
No description provided.