Readiness Check
PIN-1 Order: #1 Construction
Updated 4 weeks, 2 days ago
Guidance
Purpose
Validate all prerequisites before planning begins. User provides a goal sentence (e.g. "we aim to complete act-11"). Each gate is checked in order — if any fails, stop with specific remediation instructions.
Input
The user's stated goal sentence. Example: "we aim to complete act-11" or "implement team management features".
Gates
Gate 1 — BSP (Bootstrap)
Check that the project has been bootstrapped:
test -f Makefile && echo "PASS" || echo "FAIL: Run BSP workflow — project not bootstrapped"
test -f requirements.txt && echo "PASS" || echo "FAIL: Run BSP workflow — requirements.txt missing"
If either fails: STOP — "Project not bootstrapped. Run the BSP (Bootstrap Project) workflow first."
Gate 2 — User Journey Coverage
Identify the target act from the user's goal (e.g. "act-11", "team management"). Check docs/features/user_journey.md for a matching section:
grep -i "act-{N}" docs/features/user_journey.md && echo "PASS" || echo "FAIL"
If missing: STOP — "No user journey section found for {target}. Add the act section to docs/features/user_journey.md before planning."
Gate 3 — Feature Specs (BDD)
Check that docs/features/act-{N}/ exists and contains .feature files:
ls docs/features/act-{N}/*.feature 2>/dev/null && echo "PASS" || echo "FAIL"
If missing: STOP — "No feature specs found for act-{N}. Run the ESM (Envision the System) workflow to produce .feature files."
Gate 4 — Architecture (SAO.md)
test -f docs/architecture/SAO.md && echo "PASS" || echo "FAIL"
If missing: STOP — "No docs/architecture/SAO.md found. Run the DTA (Define Architecture) workflow first."
Gate 5 — AI IDE Config (DSP)
test -f CLAUDE.md && echo "PASS" || echo "FAIL"
If missing: STOP — "No CLAUDE.md found. Run the DSP (Deploy Software Process) workflow to configure the AI IDE."
Gate 6 — Agent proof harness (optional; when SAO §17 applies)
When docs/architecture/SAO.md §17 documents in-app LLM agents (not "Not applicable"):
test -f tests/support/agent_story.py && echo "PASS" || echo "FAIL: TFK-02 must bootstrap tests/support/agent_story.py before agent-feature BPE"
If SAO §17 is N/A: SKIP — record agent_harness: n/a.
If SAO §17 applies and the file is missing: STOP — "Agent proof helper missing. Run TFK-02 (Bootstrap Test Harness) to create tests/support/agent_story.py and ScriptedLLM fixtures before planning agent features."
Mockup Check (advisory, after all gates pass)
ls docs/ux/mockups/act-{N}/ 2>/dev/null && echo "Mockups found" || echo "No mockups"
If no mockups: ask — "No mockups found for {target}. Create them per ESM-04 before planning? (yes/no)"
- Yes → run ESM-04, then return to PIN-01 after mockups are created
- No → proceed with feature specs only
Output
When all gates pass:
- target_act: extracted act identifier (e.g. "act-11")
- feature_files[]: list of .feature files in docs/features/act-{N}/
- has_mockups: boolean
- agent_harness: ready | n/a (from Gate 6)
Proceed to PIN-02 Orient & Validate Scope.
Success Criteria
- All required gates pass (Gates 1–5; Gate 6 pass or skipped when SAO §17 N/A)
- User has confirmed mockup status
target_actandfeature_files[]identifiedagent_harnessrecorded when SAO §17 applies
Details
- Order:
- #1
- Phase:
- Created:
- May 20, 2026
- Last Updated:
- Aug 21, 2026
Workflow
Plan Iteration
Dark-factory sprint planning. Use PIN when ESM, DTA, DSP, and BSP are complete and you want to deliver a full …
View WorkflowAssigned Agent
No agent assigned
Required Skills
No skills linked
Rules
No rules linked.
Input Artifacts
No input artifacts
Output Artifacts
No output artifacts