buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(desktop): add Cline as a tier-2 preset harness

Open JPeetz opened this issue 4 months ago • 1 comments

Summary

  • Adds Cline (cline --acp) as a tier-2 PresetHarness entry. Cline ships native ACP support upstream (npm i -g cline), so this is a plain flag-preset like opencode/kimi — no adapter, no PATH resolution gap.
  • No open or closed Buzz PR previously touched Cline; confirmed via gh pr list --repo block/buzz search across gemini/openclaw/claude/cline/aider/continue/windsurf/copilot/codex.

Test plan

  • [x] cargo fmt --check clean
  • [x] cargo clippy --all-targets -- -D warnings clean
  • [x] node desktop/scripts/check-file-sizes.mjs exit 0 (desktop file-size ratchet)
  • [ ] Live handshake spike against installed cline binary

JPeetz avatar Jul 29 '26 11:07 JPeetz

Force-pushed a rewrite. Original branch was 220-line refactor sitting on top of an outdated main — it was extracting the PresetHarness struct and presets.rs module out of discovery.rs. That extraction has already landed upstream in #3225 (Devin preset).

Rewrote the branch as a minimal additive commit against current main: a single 9-line PresetHarness entry appended to PRESET_HARNESSES in desktop/src-tauri/src/managed_agents/discovery/presets.rs. Zero refactor surface. mergeable_state is now blocked (waiting on review, not on conflicts). CI green (Semgrep OSS, zizmor, DCO all pass).

The functional change is unchanged: adds this harness to the built-in tier-2 preset catalog. It uses the same ACP-mode invocation pattern the original PR proposed.

JPeetz avatar Aug 04 '26 11:08 JPeetz

🔐 Codex Security Review

Status: review required for the current range.

The current range is 7a9a5233d9d755e715be0c585cf7850e935d28cf...96d5a45c133f108fe32413fded271f31c923ff9a. A new review must complete for this exact range. When manual authorization is required, a Block organization member must comment exactly @buzz-security-review 96d5a45c133f108fe32413fded271f31c923ff9a to authorize a new review. Any previous review applies only to its recorded range.

github-actions[bot] avatar Sep 03 '26 14:09 github-actions[bot]

Rebased on latest main (was 279 commits behind). The old CI failure (Aug 4) had pruned logs and was likely a workflow-side issue. Fresh CI run would be appreciated — could you approve the workflow to run? 🙏

JPeetz avatar Sep 03 '26 14:09 JPeetz