The Refinery now runs as a Claude agent in a tmux session instead of a Go-based polling loop. This aligns it with how polecats work and enables intelligent MR processing. Changes: - Modified refinery.Start() to spawn Claude session (not gt refinery --foreground) - Added gt refinery attach command for interactive access to refinery session - Updated refinery.md.tmpl with comprehensive Claude agent instructions - Added startup directive in gt prime for refinery role The --foreground mode is preserved for backwards compatibility but the default behavior now launches a Claude agent that can review diffs, run tests, handle conflicts, and notify workers via mail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9.4 KiB
9.4 KiB