fix: use single .fleet-task.md filename + cleanup wildcard removal (closes #67)
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
Fixes [#67] — .fleet-task* files accumulating in member repos and being committed to git history.
Single fixed filename (server-side)
src/tools/execute-prompt.ts — removed UUID generation; prompt file is now always .fleet-task.md (overwritten each dispatch, never accumulates)crypto importgitignore / skill doc updates
.gitignore — exact .fleet-task.md entry (no wildcard needed since filename is fixed)skills/fleet/onboarding.md — Step 7 updated to echo '.fleet-task.md'skills/pm/tpl-doer.md — rule updated to exact filenameskills/pm/context-file.md — reference updatedpm cleanup
skills/pm/cleanup.md — cleanup step now runs git rm --cached .fleet-task*.md 2>/dev/null || true; rm -f .fleet-task*.md on both doer and reviewer before the cleanup commit (wildcard covers any legacy variants still present)| Before | After |
|---|---|
.fleet-task-a3f1bc2d.md per dispatch |
.fleet-task.md (single, overwritten) |
| Wildcard gitignore entry sometimes missed files | Exact entry, always matches |
| Cleanup left files behind | Cleanup explicitly removes .fleet-task*.md |
🤖 Generated with Claude Code
Originally posted by: kumaakh
Closing — branch had 21 extraneous commits from sprint/skill-refactor. Replaced with clean branch fix/fleet-task-clean.
Ticket changed by: kumaakh