Files
correx/examples/workflows/artifacts.config.toml
T
kami be78eaa80f feat(workflow): execution_plan artifact kind + schema + architect prompt
Add docs/schemas/execution_plan.json (goal/stages/edges), the
architect_freestyle prompt that instructs emitting the execution pipeline as
JSON, and register the execution_plan llm-emitted kind in both
artifacts.config.toml and sample-config.toml. Validated via
ExecutionPlanSchemaValidationTest (minimal plan passes; missing stages rejected).
2026-06-08 02:20:45 +04:00

36 lines
1.0 KiB
TOML

# Artifact kinds for role_pipeline.toml — paste these [[artifacts]] blocks into your
# ~/.config/correx/config.toml.
#
# schema_path is resolved: absolute, ~-relative, or RELATIVE TO THE CONFIG FILE'S DIRECTORY.
# So either:
# • copy docs/schemas/*.json to ~/.config/correx/schemas/ and keep the relative paths below, or
# • replace each schema_path with an absolute path to this repo's docs/schemas/<file>.json.
#
# All four are llm_emitted: the stage's model emits JSON, which is validated against the schema
# (never trusted) before the artifact counts as produced (invariant #7).
[[artifacts]]
id = "analysis"
schema_path = "schemas/analysis.json"
llm_emitted = true
[[artifacts]]
id = "design"
schema_path = "schemas/design.json"
llm_emitted = true
[[artifacts]]
id = "impl_plan"
schema_path = "schemas/impl_plan.json"
llm_emitted = true
[[artifacts]]
id = "review_report"
schema_path = "schemas/review_report.json"
llm_emitted = true
[[artifacts]]
id = "execution_plan"
schema_path = "schemas/execution_plan.json"
llm_emitted = true