Commit d696a25a
d696a25aa0e3Merged
Scott Nixon <[email protected]> ยท 7 months ago ยท 3 files ยท +1 added ยท ~2 modified
Description
docs: add attractor DOT dialect reference and tighten pipeline generation
- Create docs/dot-dialect.md as authoritative grammar, value types, and pipeline semantics reference for the attractor DOT subset
- Add DOT syntax constraints to build_prompt so LLMs know the parser rules
- Add human gate guidance: don't generate hexagon nodes for automatable checks
- Document parallelogram/tool_command in the generation prompt
- Update AGENTS.md to point at the new dialect reference
- Add tests for the new prompt sections
Details
- Commit
- d696a25aa0e3
- Parent
- 63ed9258712e
AGENTS.mdmodifiedView file
@@ -20,13 +20,14 @@
2020
2121
- The default `codergen` handler shells out to the local `claude` CLI โ it requires Claude Code installed, no API key needed2222
- Direct LLM handlers (OpenAI/Anthropic/Gemini) need their respective `*_API_KEY` env vars23-
- Pipeline files use DOT (Graphviz digraph) syntax โ see `docs/guide.md` for node attributes23+
- Pipeline files use a strict DOT subset โ see `docs/dot-dialect.md` for the grammar, supported features, and what breaks the parser. Read this before generating or editing `.dot` files.2424
- Integration tests are in `crates/attractor-pipeline/tests/integration.rs`2525
2626
## Docs Reference2727
2828
| Doc | Contents |2929
|-----|----------|30-
| `docs/guide.md` | DOT syntax, node attributes, pipeline patterns, planning workflow |30+
| `docs/dot-dialect.md` | **Attractor DOT dialect** โ grammar, value types, supported/unsupported features, pipeline semantics |31+
| `docs/guide.md` | Pipeline patterns, planning workflow, handler dispatch |3132
| `docs/cli-reference.md` | CLI commands, flags, environment setup |3233
| `docs/task-verification.md` | Handler dispatch, goal gates, edge routing, budget guards |crates/attractor-cli/src/commands/generate.rsmodifiedView file
Loading diffโฆ
docs/dot-dialect.mdaddedView file
Loading diffโฆ