feat(workflow): role-pipeline prompts + artifact-kinds config

This commit is contained in:
2026-06-04 02:04:14 +04:00
parent a408a994e4
commit 6393d578fd
6 changed files with 134 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# 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