Skip to content

refactor(api): keep error DTOs at router boundary - #263

Merged
aRustyDev merged 1 commit into
mainfrom
codex/issue-52-compat-dto-boundary
Nov 17, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
codex/issue-52-compat-dto-boundary

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

Summary

  • move router-only error DTOs into thrust-api as private types
  • add a fail-closed thrust-compat-plane dependency-boundary gate
  • document HTTP DTO ownership and the new architecture control

Validation

  • cargo fmt --all --check
  • cargo nextest run -p thrust-api
  • cargo nextest run -p thrust-core
  • scripts/check-deps.sh, including both negative controls
  • scripts/check-book.sh
  • scripts/contract-all.sh (all 25 cells, including Worker E2E)

@aRustyDev
aRustyDev merged commit 866104f into main Nov 17, 2026
40 checks passed
@aRustyDev
aRustyDev deleted the codex/issue-52-compat-dto-boundary branch November 17, 2026 04:50
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