mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Adds the attractor crate implementing all 11 sections of the attractor spec: - DOT parser (lexer, grammar, semantic analysis) for strict DOT subset - Pipeline execution engine with edge selection, goal gates, retry logic, failure routing, checkpoint save/resume, and loop_restart - 9 node handlers: start, exit, codergen, wait_human, conditional, parallel (concurrent with join/error policies), fan_in (with LLM eval), tool, manager_loop - State management: PipelineContext, Outcome, Artifact store, fidelity resolution - Human-in-the-loop: Interviewer trait with auto_approve, callback, queue, recording, and console implementations, plus timeout enforcement - Validation: 14 built-in lint rules with custom rule registration API - Model stylesheet with universal/shape/class/ID selectors and specificity - Transforms: variable expansion, stylesheet application, preamble; plus PipelineBuilder with register_transform and prepare_pipeline - Condition expression language with =, !=, bare-key truthiness, && combinator - Event system with all 16 event types emitted by engine and handlers - Tool call hooks (pre/post) for CodergenHandler - Run directory with manifest.json and per-node status.json 370 tests (354 unit + 16 integration) covering all spec sections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent/reviews | ||
| specs | ||
| spec-structure.md | ||