Repository navigation
fix(bin): disable Claude feedback drafts for fleet launches - #3661
Merged
Merged
Conversation
Scope --settings '{"feedbackDrafts":"off"}' to every Firstmate-launched
Claude crewmate and secondmate, so /bug and /feedback never queue or
submit a bug report on the captain's behalf. feedbackDrafts is the
documented settings key (Claude Code changelog 2.1.247); the
per-launch CLI flag never touches the captain's global settings.json.
Claude-Session: https://claude.ai/code/session_01XYAXXzr4oZx9NjZb1veeE3
Intent
Figure out how to disable this "bug report draft" feature from Claude Code whenever we start them from within the fleet (both as second mates and crewmates).
What Changed
CLAUDE_CODE_SEND_FEEDBACK=0and per-launchfeedbackDraftssettings.Risk Assessment
Testing
The configured changed-test baseline had passed; focused spawn and secondmate tests also passed, and end-to-end evidence shows both fleet launch paths applying the feedback controls while Claude Code v2.1.259 initializes without a SendFeedback tool. Transient worktree data was removed.
Evidence: Crewmate and secondmate launch payloads plus credentialed Claude runtime evidence
Source: Crewmate and secondmate launch payloads plus credentialed Claude runtime evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
bin/fm-spawn.sh:1269- The added--settings '{"feedbackDrafts":"off"}'is a parallel control not required by the intent: the surrounding documentation states thatCLAUDE_CODE_SEND_FEEDBACK=0independently disables drafting and is unaffected by managed-settings precedence. Retain the environment variable as the narrower durable fix and remove the redundant setting plus its related documentation/test expectations.✅ **Test** - passed
✅ No issues found.
bin/fm-test-run.sh --changed --exclude-family real-herdr-gatedBaseline:bin/fm-test-run.sh --changed --exclude-family real-herdr-gatedtests/fm-spawn-dispatch-profile.test.shtests/fm-secondmate-harness.test.shLaunched Claude Code v2.1.259 interactively with the fleet feedback controls and exercised/bug.Spawned isolated crewmate and secondmate fixtures throughbin/fm-spawn.sh, captured their terminal launch payloads, and ran credentialed Claude with those controls to inspect its initialized tool set.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.