Skip to content

fix(skills): prevent stale RESULT.json/TASK.md pollution in worktrees#898

Merged
JeremyDev87 merged 1 commit intomasterfrom
fix/stale-result-pollution-887
Mar 23, 2026
Merged

fix(skills): prevent stale RESULT.json/TASK.md pollution in worktrees#898
JeremyDev87 merged 1 commit intomasterfrom
fix/stale-result-pollution-887

Conversation

@JeremyDev87
Copy link
Owner

Summary

  • Add RESULT.json issue field validation to watch_workers() loop — mismatch against TASK.md assigned issue triggers auto-removal with logging (fix: prevent stale RESULT.json/TASK.md pollution in worktrees #887)
  • Add explicit RESULT.json/TASK.md exclusion rule to ship SKILL.md Step 6 commit rules
  • Un-gitignore .claude/skills/ship/ to enable git tracking of ship skill changes
  • Verified create_worktrees() already has artifact cleanup at worktree creation (no duplication)

Test plan

  • Run /taskmaestro watch with a worktree containing a stale RESULT.json (wrong issue number) — verify it is auto-removed
  • Run /taskmaestro status — verify stale RESULT.json is flagged and removed
  • Run /ship — verify RESULT.json and TASK.md are not staged in commit
  • Create new worktrees via /taskmaestro wave-transition — verify RESULT.json/TASK.md are cleaned up

Closes #887

- Add RESULT.json issue validation to watch_workers() loop: mismatch
  against TASK.md assigned issue triggers auto-removal with logging
- Add RESULT.json/TASK.md exclusion rule to ship SKILL.md Step 6
- Un-gitignore ship skill to enable git tracking of changes
- Verified create_worktrees() already has artifact cleanup (no dup)

Closes #887
@JeremyDev87 JeremyDev87 added fix sub-issue 상위 이슈의 하위 작업 labels Mar 23, 2026
@vercel
Copy link

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Mar 23, 2026 1:35am

@JeremyDev87 JeremyDev87 self-assigned this Mar 23, 2026
@JeremyDev87 JeremyDev87 merged commit fcfaf68 into master Mar 23, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the fix/stale-result-pollution-887 branch March 23, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix sub-issue 상위 이슈의 하위 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: prevent stale RESULT.json/TASK.md pollution in worktrees

1 participant