store: rewrite assembly's provider projection off impl Database #39

Merged
PerishFire merged 1 commit from split-assembly-db into main 2026-07-21 03:20:16 +00:00
Owner

Crate-split adaptor-prep A3b. assembly's impl Database methods are provider-input PROJECTION, not raw SQL — they fetch a row via the substrate and build a ProviderItem. Rewrite them from inherent Database methods into free fns taking &Database, so they stay in the assembly domain when Database moves to the adaptor crate (no orphan impl); the raw fetches remain substrate. Behaviour identical; 40 workspace test groups green; core debt 0. The "thin substrate, domain assembles" shape.

🤖 Generated with Claude Code

Crate-split adaptor-prep A3b. assembly's impl Database methods are provider-input PROJECTION, not raw SQL — they fetch a row via the substrate and build a ProviderItem. Rewrite them from inherent Database methods into free fns taking &Database, so they stay in the assembly domain when Database moves to the adaptor crate (no orphan impl); the raw fetches remain substrate. Behaviour identical; 40 workspace test groups green; core debt 0. The "thin substrate, domain assembles" shape. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
store: rewrite assembly's provider projection off impl Database
All checks were successful
guard / guard (pull_request) Successful in 2m12s
42e3bf034f
Crate-split adaptor-prep A3b. assembly's impl Database methods
(provider_item/message_item/thinking_item/tool_call_item/
tool_result_item) are provider-input PROJECTION, not raw SQL — they
fetch a row via the substrate (message_record_by_id, thinking_span_by_id,
...) and build a ProviderItem. Rewrite them from inherent Database
methods into free fns taking &Database, so they stay in the assembly
domain when Database moves to the adaptor crate (no orphan impl). The
raw fetches remain substrate. Behaviour identical; 40 workspace test
groups green; core debt 0. This is the "thin substrate, domain
assembles" shape the ladder targets.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PerishFire deleted branch split-assembly-db 2026-07-21 03:20:16 +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!39
No description provided.