mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-23 18:29:18 -05:00
642 B
642 B
Find Plan File
Locate the plan file created in the previous step.
Variables
issue_number: $1 work_order_id: $2 previous_output: $3
Instructions
- The previous step created a plan file
- Find the exact file path
- Pattern:
specs/issue-{issue_number}-wo-{work_order_id}-planner-*.md - Try these approaches:
- Parse previous_output for file path mention
- Run:
ls specs/issue-{issue_number}-wo-{work_order_id}-planner-*.md - Run:
find specs -name "issue-{issue_number}-wo-{work_order_id}-planner-*.md"
Output
Return ONLY the file path (e.g., "specs/issue-7-wo-abc123-planner-fix-auth.md") Return "0" if not found