plan(conformance): milestone ii — assertFeatureConformance + boot wiring
12-task implementation plan for the runtime boot-time check of the conformance system. Reifies the phantom-type brands from milestone i as non-enumerable runtime markers via Object.defineProperty, and ships assertFeatureConformance(container, manifest, symbols, ctx) which walks the manifest, resolves each use case from the feature's container, and throws ConformanceError synchronously when a binding is missing a required brand. Per-feature self-assertion: each bindProductionX(ctx) calls assertFeatureConformance at its tail, so the boot check runs once per feature and is forward-compatible with future apps wiring those binders. Also bundles the two forward-looking items the milestone-i reviewer flagged (re-export authManifest from auth root barrel; TODO breadcrumb in withAudit for future automation). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1292
docs/superpowers/plans/2026-05-12-conformance-milestone-ii.md
Normal file
1292
docs/superpowers/plans/2026-05-12-conformance-milestone-ii.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user