mirror of
https://github.com/azaion/ui.git
synced 2026-04-22 22:46:34 +00:00
1.2 KiB
1.2 KiB
Prerequisite Checks (BLOCKING)
Run sequentially before any planning step:
Prereq 1: Data Gate
_docs/00_problem/acceptance_criteria.mdexists and is non-empty — STOP if missing_docs/00_problem/restrictions.mdexists and is non-empty — STOP if missing_docs/00_problem/input_data/exists and contains at least one data file — STOP if missing_docs/00_problem/problem.mdexists and is non-empty — STOP if missing
All four are mandatory. If any is missing or empty, STOP and ask the user to provide them. If the user cannot provide the required data, planning cannot proceed — just stop.
Prereq 2: Finalize Solution Draft
Only runs after the Data Gate passes:
- Scan
_docs/01_solution/for files matchingsolution_draft*.md - Identify the highest-numbered draft (e.g.
solution_draft06.md) - Rename it to
_docs/01_solution/solution.md - If
solution.mdalready exists, ask the user whether to overwrite or keep existing - Verify
solution.mdis non-empty — STOP if missing or empty
Prereq 3: Workspace Setup
- Create DOCUMENT_DIR if it does not exist
- If DOCUMENT_DIR already contains artifacts, ask user: resume from last checkpoint or start fresh?