Add prerequisite gate before dispatch

This commit is contained in:
Emil Shanaty
2026-10-27 19:41:36 +03:00
parent c3f58ceb40
commit 2309fda7b7
9 changed files with 180 additions and 23 deletions
+30
View File
@@ -0,0 +1,30 @@
# Prerequisites — {{TASK}}
Checked before dispatch. Do not print secrets.
## Required
| Item | Check command | Status | Version / error | Owner |
|---|---|---|---|---|
| {{tool/runtime}} | `{{command}}` | {{pass/missing/needs_user}} | {{version or exact error}} | lead |
## Optional / degraded
| Item | Check | Impact if missing | Decision |
|---|---|---|---|
| {{display/GPU/service}} | `{{command}}` | {{reduced scope}} | {{skip/ask/install}} |
## User approval
- Missing item: {{name}}
- Why required: {{acceptance check}}
- Proposed command/scope: `{{command}}` ({{project-local/user/system}})
- Alternatives: {{existing path / reduced scope / stop}}
- User decision: {{pending/approved/declined}}
- Recorded in `state.json`: {{passed/needs_user/degraded}}
## Baseline
- Build: `{{command}}` → {{result}}
- Tests: `{{command}}` → {{result}}
- Visual/smoke: `{{command}}` → {{result}}