Skip to content

Commit a1f198c

Browse files
committed
fix(architecture-guardrails): correct schema evidence selection and update executable proof documentation
1 parent f2d90d0 commit a1f198c

15 files changed

Lines changed: 167 additions & 77 deletions

docs/demo/executable-architecture-proof.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Test:
504504
This case matches your schema experiment:
505505

506506
* **Test:** `StandardPackageSchemaSanityTest.each_standard_bounded_context_must_contain_required_canonical_families`
507-
* **Violation:** canonical family **`controller`** is missing because you renamed it (e.g., `controller``controllerx`).
507+
* **Violation:** canonical family **`controller`** is missing because you renamed it (e.g., `controller``controllers`).
508508

509509
#### 9) Baseline — Standard Schema Intact (GREEN)
510510

@@ -534,7 +534,7 @@ mvn verify
534534

535535
Introduce the deliberate schema violation by renaming the canonical package family:
536536

537-
* `...controller...``...controllerx...`
537+
* `...controller...``...controllers...`
538538

539539
This is illegal because the guardrails schema sanity test requires the canonical families to exist.
540540

@@ -565,16 +565,16 @@ The build fails deterministically.
565565
Console evidence (aligned to your output):
566566

567567
```
568-
STANDARD package schema integrity failure under base scope 'io.github.blueprintplatform.greeting'.
569-
570-
Required canonical families: [controller, service, domain]
571-
Violations:
572-
- context: io.github.blueprintplatform.greeting
573-
present: controller ❌, service ✅, domain ✅
574-
missing: controller
575-
576-
Test:
577-
StandardPackageSchemaSanityTest.each_standard_bounded_context_must_contain_required_canonical_families
568+
STANDARD package schema integrity failure under base scope 'io.github.blueprintplatform.greeting.bp.sample
569+
570+
Required canonical families: [controller, service, domain]
571+
Violations:
572+
- context: io.github.blueprintplatform.greeting.bp.sample
573+
present: controller ❌, service ✅, domain ✅
574+
missing: controller
575+
576+
Test:
577+
StandardPackageSchemaSanityTest.each_standard_bounded_context_must_contain_required_canonical_families
578578
```
579579

580580
---
556 KB
Loading
575 KB
Loading
664 KB
Loading
627 KB
Loading
615 KB
Loading
717 KB
Loading
169 KB
Loading
173 KB
Loading
326 KB
Loading

0 commit comments

Comments
 (0)