Skip to content

feat: add Claude Code plugin (harness-refine) - #247

Open
alexevan13 wants to merge 1 commit into
google-research:mainfrom
alexevan13:claude-plugin
Open

alexevan13 wants to merge 1 commit into
google-research:mainfrom
alexevan13:claude-plugin

Conversation

@alexevan13

Copy link
Copy Markdown

Summary

Adds an optional, self-contained Claude Code plugin under claude-plugin/ (plus a root .claude-plugin/marketplace.json) that applies the Propose–Probe–Compose idea to a Claude Code harness (CLAUDE.md, skills, agents, commands, rules).

  • Runs a task with the current harness, proposes k candidate edits, probes each by re-running the task, composes a refined harness from the contrasts, and writes REPORT.md.
  • Pure stdlib Python plus the claude CLI. No changes to the existing harness2 package, benchmarks or dependencies.
  • Edits are restricted to harness files; settings and hooks are never modified.

Install: /plugin marketplace add <owner>/harness2 then /plugin install harness-refine@harness-refine.

Testing

  • 2 offline unit tests (path allowlist, JSON extraction, trajectory rendering).
  • claude plugin validate . passes.
  • One real end-to-end run (--k 1, trivial task); not evaluated on any benchmark.

Notes

This is a lightweight reimplementation of the loop for Claude Code, not a Claude executor for the JobBench/LAB/WorkBuddy pipeline. Happy to rework or drop if it is out of scope. CLA: author to confirm.

@google-cla

google-cla Bot commented Dec 1, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@alexevan13 alexevan13 closed this Dec 1, 2026
@alexevan13 alexevan13 reopened this Dec 1, 2026
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