[BUG] /goal + /btw bad interaction
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I've used /goal and then asked /btw - agent complained:
The goal's stop hook fired in this side chat too, but I can't do the goal's work from here. This chat can only read files: it can't edit code, run tests or commit, and nothing I do here reaches the main session.
The main session is the one working on the goal: the hotkey rework, auto-train, shift-build, auto-build and the switchable control schemes. That's where it has to be finished and checked, so there's nothing more to do here. Ask me anything else about it in the meantime.
Same problem as before: the hook can't be satisfied from this side chat, because it can only read files and can't change code or run anything. The goal is being done in the main session, which carries on without this chat. You can close this chat, and I'll stop replying to the hook here.
Still stuck for the same reason. This side chat can only read files, so the building and testing the hook asks for can only happen in the main session. The hook checks this chat's transcript, which will never show that work, so it will keep failing here however often it fires.
What Should Happen?
/btw should not have goal hooks
Error Messages/Logs
Steps to Reproduce
give claude a /goal and then ask something minor in /btw
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.2553.1
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗