Skip to content

Commit 8a67913

Browse files
authored
Merge pull request #1795 from gkaria/docupdates
docs: add explicit CALM validation instructions to chat mode
2 parents 2e6d289 + 5bbef53 commit 8a67913

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

calm-ai/tools/architecture-creation.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ Every CALM architecture MUST include:
3838
- [ ] Add nodes array (even if empty initially)
3939
- [ ] Add relationships array to connect nodes
4040
- [ ] Include metadata array for operational info
41-
- [ ] Validate against CALM schema before saving
41+
**🚨 MANDATORY VALIDATION (Do not skip):**
42+
- [ ] **Verify calm-cli is installed:** `which calm`
43+
- [ ] **Run CALM validation:** `calm validate -a <filename>.architecture.json`
44+
- [ ] **Review output for errors:** `jsonSchemaValidationOutputs`, `spectralSchemaValidationOutputs`
45+
- [ ] **Fix ALL errors before proceeding** - Do not assume JSON validity equals CALM validity
46+
- [ ] **Confirm output shows:** `"hasErrors": false, "hasWarnings": false`
47+
- [ ] **Document any warnings addressed**
4248

4349
## Best Practices
4450

0 commit comments

Comments
 (0)