Skip to content

chore(guard-rails): architecture tests, CODEOWNERS, PR template, patterns in the core skill - #11

Merged
smith-xyz merged 1 commit into
developmentfrom
chore/guard-rails
Oct 21, 2026
Merged

smith-xyz merged 1 commit into
developmentfrom
chore/guard-rails

Conversation

@smith-xyz

Copy link
Copy Markdown
Contributor

Enforces placement rules in CI instead of in prose:

  • tests/v1/test_architecture.py: row models must be contract tables; services import only their own section's unit of work (TraustUnitOfWork only for use cases that span sections); no file or sqlite access in services or table repositories; no side repositories under repositories/; no in-memory stand-ins in src/; Context creates one engine and opens no connections itself. Each rule was checked against a probe violation.
  • CODEOWNERS for models, repositories, context and the agent docs.
  • PR template with the slice checklist.
  • traust-core-patterns skill: who owns what, where code goes, no duplicated responsibility, composition root.

@smith-xyz
smith-xyz merged commit 58d071d into development Oct 21, 2026
5 checks passed
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