Add public facade boundary checks

This commit is contained in:
2026-09-22 04:48:58 +00:00
parent 47bc9a6655
commit 722b5ddf59
3 changed files with 361 additions and 2 deletions

View File

@@ -273,6 +273,17 @@ Acceptance: the completed refactor passes the checks; representative violations
fail for the intended reason, and ordinary private implementation changes remain
possible. No ConfigKit checkout or other sibling is needed.
### Completion
- [x] Added a compiled-export-data checker for the root facade's reachable
public type surface, including aliases, promoted methods, and generic
constraints.
- [x] Added package-metadata validation that production internal packages do
not import the root facade.
- [x] Added compact in-memory fixtures for permitted private state and sealed
options, and for direct, nested, field, alias, and promoted-method leaks.
- [x] Recorded the dependency-direction rule in the architecture policy.
## Stage 6: Complete Compatibility And Documentation Review
Purpose: verify the whole refactor, not just successful compilation of each move.