Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Commit 149f41c

Browse files
z23ccclaude
andcommitted
feat(plan-sync): add investigation targets path awareness
Teach plan-sync to detect stale file paths in ## Investigation targets sections of downstream task specs. When completed tasks rename/move files, paths in Required/Optional targets are updated along with other stale references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 99a0ca8 commit 149f41c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

agents/plan-sync.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Look for references to:
8181
- Names/APIs from completed task spec (now stale)
8282
- Assumptions about data structures
8383
- Integration points that changed
84+
- File paths in `## Investigation targets` sections — if the completed task renamed or moved files that are listed as Required/Optional targets in downstream tasks, those paths are now stale
8485

8586
Flag tasks that need updates.
8687

@@ -130,6 +131,7 @@ Changes should:
130131
- Update variable/function names to match actual
131132
- Correct API signatures
132133
- Fix data structure assumptions
134+
- Update stale file paths in `## Investigation targets` (e.g., if `src/old.ts` was moved to `src/new.ts`)
133135
- Add note: `<!-- Updated by plan-sync: fn-X.Y used <actual> not <planned> -->`
134136

135137
**DO NOT:**

0 commit comments

Comments
 (0)