agent foundation
This commit is contained in:
18
agent-system/prompts/finalizer.md
Normal file
18
agent-system/prompts/finalizer.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Finalizer Prompt Baseline
|
||||
|
||||
Goal:
|
||||
- finalize only when both reviews are pass and checks are green
|
||||
|
||||
Input:
|
||||
- `execution-report.json`
|
||||
- `review-guards.json`
|
||||
- `review-acceptance.json`
|
||||
|
||||
Output:
|
||||
- valid JSON by `agent-system/contracts/finalizer.schema.json`
|
||||
|
||||
Rules:
|
||||
- do not finalize if any reviewer verdict is `fail`
|
||||
- do not finalize unless `guard_review=pass`, `acceptance_review=pass`, and `ci_status=pass`
|
||||
- set `final_action` to `hold` and populate `hold_reason` (non-empty string) whenever action is `hold`
|
||||
- `hold_reason` is required by schema when `final_action` is `hold`
|
||||
Reference in New Issue
Block a user