Skip to content

feat: remove supervisor mode - #81

Merged
guyskk merged 1 commit into
mainfrom
feature/remove-supervisor
May 20, 2026
Merged

guyskk merged 1 commit into
mainfrom
feature/remove-supervisor

Conversation

@guyskk

@guyskk guyskk commented May 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • 完全移除 supervisor 功能(Agent 停止时自动审查工作质量),已被 Claude Code 自身的 goal 和 loop 功能取代
  • 移除 internal/supervisor/、internal/llmparser/ 包及相关 CLI 命令
  • 将 EnsureStopHook 替换为 RemoveStopHook,在 provider 切换时主动清理遗留的 supervisor hook
  • 清理 go 依赖:google/uuid、claude-agent-sdk-go、jsonrepair、gojsonschema
  • 项目重新定位为 "Claude Code Configuration Switcher"
  • 更新 README、CHANGELOG 及所有相关测试

Test plan

  • go build ./... 编译通过
  • go vet ./... 静态检查通过
  • gofmt 格式化检查通过
  • go test ./... -race 所有单元测试通过
  • ./check.sh 全量检查通过

Completely remove supervisor functionality (Agent stop-time work review),
replaced by Claude Code's built-in goal and loop features.

- Remove internal/supervisor/ and internal/llmparser/ packages
- Remove supervisor CLI commands (supervisor-hook, supervisor-mode)
- Replace EnsureStopHook with RemoveStopHook to clean up leftover hooks
- Remove supervisor config fields from Config struct
- Clean up supervisor slash commands, state files, and log files on provider switch
- Remove go dependencies: uuid, claude-agent-sdk-go, jsonrepair, gojsonschema
- Rebrand project as "Claude Code Configuration Switcher"
- Update README, CHANGELOG to reflect this change
@guyskk
guyskk force-pushed the feature/remove-supervisor branch from 361a330 to 2c54021 Compare May 20, 2026 02:15
@guyskk
guyskk merged commit 514da5e into main May 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant