Commit 146b5e8
docs: document classification routing and custom workflow graphs (#1015)
Two gaps in the current README, both verified against `main` at
`7be7eea`.
**The routing isn't on the page.** The README presents the
executor–verifier loop as universal. `getBase()` in
`src/config-router.ts:61-73` says otherwise: TRIVIAL goes to
`single-worker` with no validator at all, and any DEBUG above TRIVIAL
goes to `debug-workflow`, which is an investigator/fixer/tester shape
rather than executor plus verifier. "Fix a login bug" is one of the
README's own good-fit examples and lands on that second path. The new
table lists the rules in router precedence order, first match wins, and
states the TRIVIAL exception rather than leaving it to be discovered.
**`--config` was invisible.** `zeroshot run --config`
(`cli/index.js:2709`) and `zeroshot config list/show/validate`
(`cli/index.js:4709+`) appeared zero times in the README, so the page
reads as a fixed pipeline when the runtime is a general graph engine.
Adds a short section and both commands in the reference block.
Every claim in the new sections checked against source:
- validator counts per workflow: the `condition` gates in
`cluster-templates/base-templates/full-workflow.json`, against
`getValidatorCount()`
- CRITICAL's two stages: the `meta-coordinator` loading
`quick-validation` then `heavy-validation`, 2 validators each
- "CRITICAL is meant to be rare": the bias instruction in both conductor
prompts in `conductor-bootstrap.json`
- trigger predicates: `src/logic-engine.js:12,166` evaluates them in a
`vm` sandbox
- cycle rule: `src/config-validator.js:1660-1680` errors on a 3+ ring
with no escape logic, warns when there is
- nesting: `MAX_DEPTH = 5` in `src/config-validator.js:84`
## One copy change
The Open Engine section promised "approve, or a reproducible failure."
Only `validator-requirements` requires command evidence
(`criteriaResults[].evidence` with command, exitCode, output).
`validator-code` and `validator-security` return free-text `errors[]`,
and an instant-reject on a swallowed error has no command to re-run.
Changed to the specific objections that blocked it, which is what those
validators actually return.
Docs only. Prettier clean. Companion to #1014; both lift the parts of
#863 that are still true after the README rewrite in #945.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01LeBinMzJJjDvW2fPSAu14S
Co-authored-by: Eivind <eivindcovibes.ai@Eivinds-MacBook-Pro.local>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 7be7eea commit 146b5e8
1 file changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
77 | 107 | | |
78 | 108 | | |
79 | 109 | | |
| |||
108 | 138 | | |
109 | 139 | | |
110 | 140 | | |
| 141 | + | |
111 | 142 | | |
112 | 143 | | |
113 | 144 | | |
| |||
119 | 150 | | |
120 | 151 | | |
121 | 152 | | |
| 153 | + | |
122 | 154 | | |
123 | 155 | | |
124 | 156 | | |
| |||
181 | 213 | | |
182 | 214 | | |
183 | 215 | | |
184 | | - | |
| 216 | + | |
185 | 217 | | |
186 | 218 | | |
187 | 219 | | |
| |||
0 commit comments