Expand description
The JSON DAG: the plan the loop executes (CONTEXT.md §10).
Nodes plus dependency edges. A generator-evaluator pair is not a separate
structure — it is two nodes with a loop-back policy. Phase 3 parses and
executes the full shape; the evaluator/loop-back/checkpoint semantics land
in Phase 5, but the fields are modeled here so a complete plan.json round
trips losslessly.
Structs§
- Acceptance
- A tool evaluator’s acceptance check (
CONTEXT.md§10). - Node
- One node in the DAG (
CONTEXT.md§10 field reference). - Node
Budget - Per-node loop cap (
CONTEXT.md§10). - Plan
- A complete plan (
CONTEXT.md§10). - Plan
Budget - Run-level budget (
CONTEXT.md§10).
Enums§
- Checkpoint
- A human checkpoint position (
CONTEXT.md§10). - Evaluator
Kind - The kind of evaluator on a node (
CONTEXT.md§10, §11). - OnFail
- A parsed failure policy (
CONTEXT.md§10on_fail).
Functions§
- parse_
on_ fail - Parse an
on_failexpression such as:loop_back(n2, critique=artifacts/review.md),loop_back(n2),loop_with(n3),fixer, orreplan.