19 lines
579 B
Markdown
19 lines
579 B
Markdown
|
|
# 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`
|