chore: add guardrails for domain type operations and git history #340
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore!340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/guardrail-domain-type-operations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Guardrail updates from PR #334 review feedback:
domain-type-operations.md— domain types expose operations via methods/trait impls, not inner value extraction.into_inner()only at IO boundaries.no-rewrite-pushed-history.md— never amend/squash/rebase pushed commits unless explicitly asked.REVIEW.md— added domain type operation checks to invariants and "What to Block" list.blueprints/type-system.md— added "Domain Operations Over Inner Value Extraction" design principle.Test plan
Context
These guardrails were identified during review of PR #334 (nutype Into conversion). The reviewer flagged that extracting inner values for arithmetic defeats the purpose of domain types — callers should use domain operations instead.