fix: consistent zero-padding and file naming across agents

- plan-phase.md: zero-pad phase number in mkdir
- roadmapper: explicit zero-padding instruction with printf
- discuss-phase workflow: use PADDED_PHASE in file paths
- planner: fix {plan}-PLAN.md -> {phase}-{plan}-PLAN.md
- researcher: fix double-path bug in git add command
- researcher: add CONTEXT.md loading from discuss-phase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 13:17:26 -06:00
parent d1df08cfbc
commit 339e0613d8
5 changed files with 25 additions and 16 deletions

View File

@@ -515,12 +515,14 @@ Run through verification protocol checklist:
Use the output format template. Populate all sections with verified findings.
Write to: `.planning/phases/{phase_dir}/{phase}-RESEARCH.md`
Write to: `${PHASE_DIR}/${PHASE}-RESEARCH.md`
Where `PHASE_DIR` is the full path (e.g., `.planning/phases/01-foundation`)
## Step 6: Commit Research
```bash
git add .planning/phases/${PHASE_DIR}/${PHASE}-RESEARCH.md
git add "${PHASE_DIR}/${PHASE}-RESEARCH.md"
git commit -m "docs(${PHASE}): research phase domain
Phase ${PHASE}: ${PHASE_NAME}
@@ -553,7 +555,7 @@ When research finishes successfully:
### File Created
`.planning/phases/{phase_dir}/{phase}-RESEARCH.md`
`${PHASE_DIR}/${PHASE}-RESEARCH.md`
### Confidence Assessment