Step 6: Validate the Graph
Check for orphan components and validate the complete graph.
Future Enhancement
This step currently uses AI-assisted validation. Deterministic tooling for graph validation is planned for a future release.
Instructions
Follow the AI-assisted workflow for this step:
Validation Checks
- Schema compliance: Graph matches Rivière schema
- Orphan detection: Components with no incoming or outgoing links
- Domain coverage: Each domain has expected component types
- Link integrity: All link targets exist
Output
Your complete graph at .riviere/graph.json.
Next Steps
After validation:
Visualize: Open the graph in Éclair
texthttps://living-architecture.dev/eclair/Enable enforcement: Prevent architecture drift
Integrate into CI: Run extraction on every commit
Iteration
If validation reveals issues:
- Re-run extraction steps with corrections
- Update config rules in
.riviere/config/ - Add missing decorators or annotations to code
The workflow is designed for iteration—each cycle improves extraction accuracy.