This repository was archived by the owner on May 11, 2026. It is now read-only.
Commit 41dfca5
committed
fix(ci): unblock validate.yml — quarantine broken .advanced.yaml + fix swarm/voice paths
The salvaged validate.yml workflow had three issues that broke its
"Schema compliance" job in the most recent CI run:
1. .grok/grok-{agent,security,workflow}.advanced.yaml fail validation
against the canonical schemas (additionalProperties: false rejects
`model_override` / `safety_profile`; tool names like recall_memory,
summarize_changes, fetch_url, search_x, save_memory aren't in the
schema enum). These files came from the polish-yKpCT branch and
targeted an older schema generation; salvage preserved them as
reference but they don't conform to v1.3.0 schemas.
Fix: move them under .grok/proposed/ (mirrors the schemas/proposed/
pattern established when the Draft 2020-12 schemas were relocated).
Drop the .advanced.yaml lines from validate.yml. The files are
preserved on disk; promoting them to the canonical surface later
requires either fixing the content or extending the schemas.
2. validate.yml referenced schemas/grok-{swarm,voice}.schema.json,
but those Draft 2020-12 files were relocated to schemas/proposed/
in commit 8e4f441 to keep the schema-smoke check in
validate-schemas.yml green.
Fix: update the two paths to schemas/proposed/...
3. The swarm/voice steps now make their role explicit — they cover
the polish-branch (Draft 2020-12) design at specs/grok-{swarm,
voice}.yaml. The audit-ecosystem-state design at .grok/grok-swarm.yaml
+ schemas/grok-swarm.json (Draft 7) is already covered by the
canonical validate-schemas.yml workflow.
Reproduced locally with:
pip install "check-jsonschema>=0.28"
check-jsonschema --schemafile schemas/grok-agent.json \
.grok/grok-agent.advanced.yaml # FAIL before this commit
Verified after fix:
- all 14 schema-validate steps in validate.yml: PASS
- validate-schemas.yml (yamllint + ajv-cli + schema-smoke): green
- 31/31 ajv-cli matrix entries: PASS
https://claude.ai/code/session_019yLiz83EHCnYXCZkEK9c9i1 parent 1dbe30a commit 41dfca5
4 files changed
Lines changed: 15 additions & 13 deletions
File tree
- .github/workflows
- .grok/proposed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
89 | 88 | | |
90 | | - | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | | - | |
94 | | - | |
| 92 | + | |
95 | 93 | | |
96 | | - | |
| 94 | + | |
97 | 95 | | |
98 | 96 | | |
99 | | - | |
100 | | - | |
| 97 | + | |
101 | 98 | | |
102 | 99 | | |
103 | 100 | | |
| |||
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
129 | | - | |
130 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | | - | |
133 | | - | |
| 134 | + | |
| 135 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments