PRD persistence consistently skipped during Algorithm execution
Problem
The Algorithm mandates PRD creation during OBSERVE and dual-tracking (working memory + persistent memory) throughout all phases. In practice, the persistent memory track (PRD file in MEMORY/WORK/) is consistently skipped while the working memory track (TaskCreate) is followed.
This is a recurring failure mode across sessions — not a one-off miss.
Root Cause Analysis
- TaskCreate is frictionless — it's a tool call inline with the Algorithm flow
- PRD write is a separate step — requires constructing a full markdown file, choosing a path, and writing to disk
- No enforcement mechanism — nothing blocks BUILD if no PRD exists
- Implementation gravity — once OBSERVE creates ISC via TaskCreate, the pull toward BUILD is strong and the PRD step gets deprioritized
- Template weight — the full PRD template is heavyweight, which raises friction for simple/standard tasks
Impact
- Session work is not persisted to disk
- Cross-session continuity breaks (no PRD to resume from)
MEMORY/WORK/ directories are empty or incomplete
- Violates the Algorithm's dual-tracking sync rules
Possible Solutions
1. Pre-BUILD hook (enforcement)
A hook that checks for PRD file existence after OBSERVE/PLAN and blocks BUILD if none exists. Similar to how the Quality Gate blocks THINK if ISC are insufficient.
2. Lighter PRD creation path
A simplified PRD creation mechanism for Standard and below effort levels — perhaps auto-generated from TaskCreate entries rather than manually written.
3. TaskCreate → PRD auto-sync
When TaskCreate is called with ISC prefix, automatically append to a PRD file. This would eliminate the dual-write requirement entirely.
4. Algorithm reflection reinforcement
The LEARN phase reflection already captures this, but the signal doesn't persist strongly enough across sessions. A dedicated "PRD compliance" check in the Phase Discipline Checklist with explicit self-correction might help.
Reproduction
- Start any Standard+ effort level task
- Observe that TaskCreate ISC criteria are created in OBSERVE
- Note that no PRD file is written to
MEMORY/WORK/{session}/
- Work completes, LEARN phase runs, but no persistent artifact exists
PRD persistence consistently skipped during Algorithm execution
Problem
The Algorithm mandates PRD creation during OBSERVE and dual-tracking (working memory + persistent memory) throughout all phases. In practice, the persistent memory track (PRD file in
MEMORY/WORK/) is consistently skipped while the working memory track (TaskCreate) is followed.This is a recurring failure mode across sessions — not a one-off miss.
Root Cause Analysis
Impact
MEMORY/WORK/directories are empty or incompletePossible Solutions
1. Pre-BUILD hook (enforcement)
A hook that checks for PRD file existence after OBSERVE/PLAN and blocks BUILD if none exists. Similar to how the Quality Gate blocks THINK if ISC are insufficient.
2. Lighter PRD creation path
A simplified PRD creation mechanism for Standard and below effort levels — perhaps auto-generated from TaskCreate entries rather than manually written.
3. TaskCreate → PRD auto-sync
When TaskCreate is called with ISC prefix, automatically append to a PRD file. This would eliminate the dual-write requirement entirely.
4. Algorithm reflection reinforcement
The LEARN phase reflection already captures this, but the signal doesn't persist strongly enough across sessions. A dedicated "PRD compliance" check in the Phase Discipline Checklist with explicit self-correction might help.
Reproduction
MEMORY/WORK/{session}/