error: home the error-enum db codecs with their types #37

Merged
PerishFire merged 1 commit from split-error-codec into main 2026-07-21 01:52:26 +00:00
Owner

Adaptor prep (PR-1 precedent: a contract type's canonical serialization lives with the type). The error-enum db codecs (category/severity/retry/incident-status/transition-kind db<->str) move from store/errors/convert.rs into santi-error next to ErrorCategory et al. The SQL row builder map_incident_row stays and calls santi_error::*_from_db. Removes one class of domain coupling from the scattered impl Database blocks, de-risking the adaptor extraction. Pure move; 40 workspace test groups green; core debt 0; guard green under v0.6.0.

🤖 Generated with Claude Code

Adaptor prep (PR-1 precedent: a contract type's canonical serialization lives with the type). The error-enum db codecs (category/severity/retry/incident-status/transition-kind db<->str) move from store/errors/convert.rs into santi-error next to ErrorCategory et al. The SQL row builder map_incident_row stays and calls santi_error::*_from_db. Removes one class of domain coupling from the scattered impl Database blocks, de-risking the adaptor extraction. 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)
error: home the error-enum db codecs with their types
All checks were successful
guard / guard (pull_request) Successful in 5m41s
7d9c826184
Adaptor prep (following the PR-1 precedent that a contract type's
canonical serialization lives with the type). The error-enum db codecs
(category/severity/retry/incident-status/transition-kind db<->str) move
from store/errors/convert.rs into santi-error, next to ErrorCategory et
al. The SQL-coupled row builder (map_incident_row) stays; it now calls
santi_error::*_from_db. This removes one class of domain coupling from
the scattered impl Database blocks, de-risking the later adaptor
extraction. Pure move; 40 workspace test groups green; core debt 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PerishFire deleted branch split-error-codec 2026-07-21 01:52:27 +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!37
No description provided.