Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
5250964
site: add the public introduction site (Astro + Starlight) on GitHub …
Xubqpanda Oct 16, 2026
d7b1c8c
site: drop `enablement: true` -- a Pages site cannot be created by GI…
Xubqpanda Oct 16, 2026
b6f6ae2
site(design): retheme to a measured warm palette, cut the front page …
Xubqpanda Oct 16, 2026
6b140cc
site(docs): record the design direction and how it was verified
Xubqpanda Oct 16, 2026
eb6d83b
brand: claim what "Grad" means, and stop calling this a platform
Xubqpanda Oct 16, 2026
3eea56f
site(layout): one text column in the hero, and quiet the search field
Xubqpanda Oct 16, 2026
e1e3417
site: take the shell block off the landing page
Xubqpanda Oct 16, 2026
2dc3848
brand: a mark, chosen by looking at it at 16px
Xubqpanda Oct 16, 2026
a485469
feat(website): benchmarks, methods and contribution pages
Oct 19, 2026
e601106
data(website): publish the complete ALFWorld tables
Oct 19, 2026
6a9e741
build(web,website): vite 8, vitest 5 and react-router 7 -- 13 advisor…
Xubqpanda Oct 19, 2026
868079c
docs(site): say the ALFWorld page in half the words
Oct 19, 2026
99b5ca7
data(website): every method now has its kept round on all three pools
Oct 19, 2026
d33834d
docs(site): break chart lines at unmeasured rounds, and state the sha…
Oct 19, 2026
2487845
docs(site): link the ALFWorld page to the published dataset
Xubqpanda Oct 19, 2026
5415809
docs(site): link the data at the granularity a reader is reading at
Xubqpanda Oct 19, 2026
1143d63
docs(site): results live in one place, and contributions have a door …
Xubqpanda Oct 19, 2026
f74b1bd
docs(site): publish the filled A-line curves
Oct 19, 2026
6d0ab75
data(website): export the complete evaluation grid
Xubqpanda Oct 19, 2026
b81e3fd
docs(site): write down the two things nobody could find
Xubqpanda Oct 19, 2026
63103c0
docs(site): publish the AppWorld results, three methods and a ten-rou…
Xubqpanda Oct 20, 2026
2a66e41
docs(site): make the AppWorld page the same shape as the ALFWorld page
Xubqpanda Oct 20, 2026
f683472
docs(site): add AppWorld's cost tables, in the same two shapes the AL…
Xubqpanda Oct 20, 2026
912425a
docs(site): show the dev cost with its input/output split too
Xubqpanda Oct 20, 2026
7bcf0a2
feat(site): AppWorld shows all nine methods
Xubqpanda Oct 20, 2026
37e011a
docs(site): keep the AppWorld page to the numbers
Xubqpanda Oct 20, 2026
3894e28
feat(site): AppWorld study curves are complete for eight methods
Xubqpanda Oct 20, 2026
9dd309c
docs(site): AppWorld drops meta_harness and rrsi, and shows the r10-r…
Xubqpanda Oct 20, 2026
c229df2
docs(site): withdraw meta_harness, dream_rsi and rrsi from both bench…
Xubqpanda Oct 20, 2026
e818368
website: withdraw four ALFWorld methods and dream_rsi/meta_harness/rr…
Xubqpanda Oct 20, 2026
90ff24d
website(alfworld): the four re-run methods are back, with the study-s…
Xubqpanda Oct 21, 2026
7a5f53e
website: AppWorld gets the three re-runs on train; meta_harness withd…
Xubqpanda Oct 21, 2026
3cc7960
website(alfworld): dream_rsi r6 is a complete hundred-task point again
Xubqpanda Oct 21, 2026
250994a
site+docs: the seven-method exam, two new charts, and a README that m…
Oct 22, 2026
47dc35b
site: drop Concepts and the status page, fold a repaired task into dg…
Oct 22, 2026
60fcc04
site: drop the Benchmarks/Methods indexes and the LoCoMo page, and st…
Oct 22, 2026
ffe3671
site: the ALFWorld page catches up with the checkpoint grid
Xubqpanda Oct 22, 2026
1a58e35
site: the AppWorld exam numbers are re-measured, every verdict now ob…
Xubqpanda Oct 22, 2026
26f61d2
site: an exam row that measured 584 of 585 says so on the number
Xubqpanda Oct 22, 2026
5e5d5a4
site: the coverage note was printed with its backticks
Xubqpanda Oct 22, 2026
e8b1a9c
site: nine train verdicts folded, four ALFWorld cells re-measured on …
Xubqpanda Oct 22, 2026
70a016d
site: eleven dev cells re-measured, and dev-best is provably where it…
Xubqpanda Oct 22, 2026
72b206d
chore(deps): bump astro from 7.4.0 to 7.4.1 in /website
dependabot[bot] Oct 22, 2026
684abe4
site: a verifier timeout is a score of 0, and 43 dev tasks are now me…
Xubqpanda Oct 23, 2026
e58fbf8
merge #23: astro 7.2.10 -> 7.4.1 (dependabot)
Xubqpanda Oct 25, 2026
46cc0cd
hub: the site moves to its own repository, under /HarnessGrad-Hub/
Xubqpanda Oct 27, 2026
ebf07e2
deploy: a Pages workflow at the repository root
Xubqpanda Oct 27, 2026
fdbcdf9
export: the site's three exporters are in the repository, and the num…
Xubqpanda Oct 27, 2026
e8596e5
export: bytecode from a verification run was committed by accident
Xubqpanda Oct 27, 2026
061cb22
docs: add harness upload guide
Xubqpanda Nov 1, 2026
89f8637
Build story-led HarnessGrad homepage with semantic learning diagrams
Xubqpanda Nov 4, 2026
9e845c1
Unify HarnessGrad website with illustrated learning narrative and edi…
Xubqpanda Nov 4, 2026
6aeea36
Migrate official website to HarnessGrad website branch
Xubqpanda Nov 4, 2026
1abed5d
Add English and Chinese website locales
Xubqpanda Nov 5, 2026
1fbf71f
Align bilingual onboarding with managed runtime preparation
Xubqpanda Nov 6, 2026
014670e
docs: align bilingual onboarding with component preparation and run i…
Xubqpanda Nov 7, 2026
ef5c6a5
docs: clarify bilingual component profiles and runtime evidence bound…
Xubqpanda Nov 7, 2026
49b53b8
docs: sync Linux entrypoints and Workbench onboarding
Xubqpanda Nov 8, 2026
34306d8
fix(results): restore reviewed ALFWorld DREAM-RSI round-one score
Xubqpanda Nov 16, 2026
36adcf7
Present three workflows and published ScienceWorld results
Xubqpanda Nov 19, 2026
2018298
Render ScienceWorld in the shared benchmark format
Xubqpanda Nov 19, 2026
f90e4c3
Carry parent scores for failed ScienceWorld checkpoints
Xubqpanda Nov 19, 2026
6d86b87
Expose reusable H0 and a recorded task beside the ALFWorld training c…
Xubqpanda Nov 20, 2026
4dd6f71
Publish reconciled original Train token costs in benchmark reports
Xubqpanda Nov 24, 2026
c723760
Publish PersonaMem-v2 benchmark results
Xubqpanda Nov 26, 2026
c7a9a39
Add persistent domain customization workflow
crepuscular-drizzle Nov 21, 2026
692cab6
Document domain customization design and refresh workflow references
crepuscular-drizzle Nov 22, 2026
f6a53db
Bound model requests and retain safe reply diagnostics
crepuscular-drizzle Nov 22, 2026
6bc3f94
Preserve and verify imported development datasets
crepuscular-drizzle Nov 22, 2026
b20b54b
Protect baseline behavior and evaluator artifacts during execution
crepuscular-drizzle Nov 24, 2026
56d6029
Use measured evidence for analysis, workflow decisions and closure
crepuscular-drizzle Nov 24, 2026
c92e506
Review duplicate questions before publishing development data
crepuscular-drizzle Nov 28, 2026
0f8064f
Require evidence and calibration for rubric scoring
crepuscular-drizzle Nov 28, 2026
8c45d1a
Resume incomplete final tests from saved answers
crepuscular-drizzle Nov 28, 2026
3ea7b64
Let Improve select shared candidate generation steps
crepuscular-drizzle Nov 28, 2026
9bfa2fd
Add opt-in web search for domain customization
crepuscular-drizzle Nov 30, 2026
12993e7
Recover failed candidates and block retries of unresolved reviews
crepuscular-drizzle Nov 30, 2026
0dd22fc
Add a capability-based Harness plugin library
crepuscular-drizzle Dec 1, 2026
7702f2f
Validate plugin changes in domain customization
crepuscular-drizzle Dec 1, 2026
8377251
Adapt customization to the current proposal and source contracts
crepuscular-drizzle Dec 1, 2026
6b32bcb
Publish bilingual WTM-Bench and RoboCasa365 benchmark reports
Xubqpanda Dec 1, 2026
2e977c9
Merge the domain customization workflow and harness plugin library
Xubqpanda Dec 1, 2026
53f4647
Organize HarnessGrad around experiments and harness customization
Xubqpanda Dec 1, 2026
c1616a5
Expose test-time customization alongside domain workflows
Xubqpanda Dec 1, 2026
0b08fca
Nest test-time evolving under Console customization
Xubqpanda Dec 1, 2026
20c21a9
Integrate external harness installations with current native adapters
Xubqpanda Dec 1, 2026
7241770
Organize bilingual workflows around experiments and harness customiza…
Xubqpanda Dec 1, 2026
6c20e92
Show how to start domain development from the customization guide
Xubqpanda Dec 1, 2026
8d1ec5a
Point the standalone site branch at the main Pages source
Xubqpanda Dec 1, 2026
d101dd3
Merge the public website and build Pages from main
Xubqpanda Dec 1, 2026
512f6b6
Settle detached final tests when the evaluator checks status
Xubqpanda Dec 1, 2026
dfcdc8b
Build and publish the project website from main
Xubqpanda Dec 1, 2026
312f84f
Record the standalone website publisher handoff after migrating its s…
Xubqpanda Dec 1, 2026
902aa6f
Handle process reaping while reading the Codex timeout test receipt
Xubqpanda Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 5 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ HG_AGENT_RETRIES=3
# Optional additional dependencies for nonstandard layouts (JSON array):
# HG_OPENCLAW_RUNTIME_PATHS='["/path/to/dedicated-dependency"]'

# The OpenCode task Harness installs a native npm release in the experiment store.
# OpenCode defaults to editable v2 source. Use --mode fixed for a native release.
# harnessgrad harness install opencode
# HG_AGENT_OPENCODE_WIRE=chat

Expand All @@ -106,8 +106,10 @@ HG_AGENT_RETRIES=3
# HG_AGENT_API_KEY=local
#
# `HG_AGENT_API_KEY` is a placeholder here: vLLM does not authenticate, but the
# client library refuses to build without a value. Be aware of what the run record
# will therefore say -- `describe_model()` reports "credentials: present" for a local
# client library refuses to build without a value. For Pi, Oh My Pi, Hermes Agent,
# and OpenCode, `local` with this plain loopback HTTP URL is a public placeholder.
# Use a different value for an endpoint that authenticates.
# `describe_model()` reports "credentials: present" for a local
# server exactly as it does for a hosted one, because from inside the platform the two
# are the same shape. It is not a claim that a key was verified.
#
Expand Down
8 changes: 4 additions & 4 deletions .github/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ apply an `area:` label.

## 🌐 Website deployments

The existing [Deploy site workflow](workflows/deploy.yml) builds the `website`
branch and publishes GitHub Pages when its configured triggers run or a maintainer
dispatches it. Review the workflow and site changes before any manual deployment;
deployment history is not a substitute for a tested release.
The [Deploy site workflow](workflows/deploy.yml) publishes [website/](../website/)
from the triggering `main` commit. Changes to the website, the workflow or
`docs/contributors.html` trigger deployment. Maintainers can also select `main`
for a manual deployment. See the [site build instructions](../website/README.md).
30 changes: 8 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Platform changes rebuild the website branch and overlay this commit's contributor record.
name: Deploy site

on:
push:
branches: [main]
paths:
- 'website/**'
- 'docs/contributors.html'
- '.github/workflows/deploy.yml'
workflow_dispatch:
Expand All @@ -20,21 +20,13 @@ concurrency:

jobs:
build:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Check out website source
uses: actions/checkout@v4
with:
ref: website
path: site

- name: Check out triggering platform commit
- name: Check out the triggering commit
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
path: platform-record
sparse-checkout: docs/contributors.html
sparse-checkout-cone-mode: false

- uses: pnpm/action-setup@v4
with:
Expand All @@ -44,24 +36,18 @@ jobs:
with:
node-version: 22.22.1
cache: pnpm
cache-dependency-path: site/pnpm-lock.yaml
cache-dependency-path: website/pnpm-lock.yaml

- name: Install and build website
working-directory: site
- name: Build the site and check its links
working-directory: website
run: |
pnpm install --frozen-lockfile
pnpm exec astro build

- name: Stage platform contributor record
run: cp platform-record/docs/contributors.html site/dist/contributors.html

- name: Check built links
run: pnpm --dir site check:links
pnpm build

- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: site/dist
path: website/dist

deploy:
needs: build
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ harnessgrad_work/
!/docs/egress.md
!/docs/moving-docker-data-root.md
!/docs/architecture.md
!/docs/domain-customization.md
!/docs/domain-customization-design.md
!/docs/harness-plugins.md
!/docs/import-direction.md
!/docs/import-migration.md
!/docs/provenance-separation-design.md
Expand Down
133 changes: 84 additions & 49 deletions INTERFACE.md

Large diffs are not rendered by default.

91 changes: 42 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<h1 align="center">HarnessGrad: Harness as A Continual Learner</h1>

<p align="center"><strong>Build agent harnesses that improve with feedback.</strong><br>Run reproducible experiments, build for a new domain, or turn corrections into changes to your own harness.</p>
<p align="center"><strong>Run experiments and customize agent harnesses.</strong><br>Compare harness changes on benchmarks. Build a harness for your domain and refine it from feedback during use.</p>

<p align="center">🧭 <a href="#table-of-contents">Contents</a> · 🧪 <a href="#run-experiments">Experiments</a> · 🛠️ <a href="#customize-harness">Customize</a> · 🌱 <a href="#evolve-personal-harness">Evolve</a> · 📚 <a href="docs/README.md">Docs</a> · 💬 <a href="https://github.com/Xubqpanda/HarnessGrad-Community">Community</a> · 📖 <a href="#citation">Citation</a></p>
<p align="center">🧭 <a href="#table-of-contents">Contents</a> · 🧪 <a href="#run-experiments">Experiments</a> · 🛠️ <a href="#customize-harness">Customize</a> · 📚 <a href="docs/README.md">Docs</a> · 💬 <a href="https://github.com/Xubqpanda/HarnessGrad-Community">Community</a> · 📖 <a href="#citation">Citation</a></p>

<p align="center">
<a href="https://github.com/zjunlp/HarnessGrad/actions/workflows/quality.yml"><img src="https://github.com/zjunlp/HarnessGrad/actions/workflows/quality.yml/badge.svg" alt="Quality checks"></a>
Expand All @@ -28,23 +28,17 @@

<table>
<tr>
<td align="center" width="33%">
<td align="center" width="50%">
<a href="#run-experiments"><img src=".github/assets/showcase/experiments-preview.png" alt="ScienceWorld experiment curve" width="245"></a>
<br><strong>🧪 Run experiments</strong>
<br>Follow how a harness changes across rounds.
<br><a href="#run-experiments">Open experiments →</a>
</td>
<td align="center" width="33%">
<td align="center" width="50%">
<a href="#customize-harness"><img src=".github/assets/showcase/ocean-preview.png" alt="Ocean Harness showing research evidence" width="245"></a>
<br><strong>🛠️ Customize a harness</strong>
<br>See a domain harness collect evidence and answer.
<br><a href="#customize-harness">Open customization →</a>
</td>
<td align="center" width="33%">
<a href="#evolve-personal-harness"><img src=".github/assets/showcase/xiaolv-preview.png" alt="Xiao Lü desktop assistant alongside a chat" width="245"></a>
<br><strong>🌱 Evolve your harness</strong>
<br>Turn a correction into a proposed change.
<br><a href="#evolve-personal-harness">Open personal evolution →</a>
<br>Build for a domain or refine a harness from session feedback.
<br><a href="#domain-customization">Domain customization</a> · <a href="#test-time-evolving">Test-time evolving</a>
</td>
</tr>
</table>
Expand All @@ -60,10 +54,9 @@
- [Dataset storage](#dataset-storage)
- [Experiment workbench](#the-workbench) · [Contributors](#contributors)
- [🛠️ Customize a harness](#customize-harness)
- [Installation](#customize-installation) · [Quick start](#customize-quick-start)
- [Customization workbench](#customize-workbench)
- [🌱 Evolve your personal harness](#evolve-personal-harness)
- [Installation](#personal-installation) · [Quick start](#personal-quick-start)
- [Domain customization](#domain-customization) · [Installation](#customize-installation) · [Quick start](#customize-quick-start)
- [From a benchmark harness to an interactive agent](#interactive-agent) · [Customization workbench](#customize-workbench)
- [Test-time evolving](#test-time-evolving) · [Start the local workspace](#personal-quick-start)
- [💬 Community](https://github.com/Xubqpanda/HarnessGrad-Community)
- [📚 Documentation](docs/README.md)
- [📖 Citation](#citation)
Expand Down Expand Up @@ -145,7 +138,7 @@ The table records the inventory at this README revision; the benchmark row is ch

| axis | what ships | where |
| --- | --- | --- |
| **harnesses** | 8: `loop`, `codex`, `opencode`, `deepseek-harness`, `openclaw`, `claude-code`, `miniswe`, `oracle` | `base_harness/<name>/` |
| **harnesses** | 11: `loop`, `codex`, `opencode`, `deepseek-harness`, `openclaw`, `claude-code`, `pi`, `oh-my-pi`, `hermes-agent`, `miniswe`, `oracle` | `base_harness/<name>/` |
| **RSI methods** | 9: `dgm`, `rrsi`, `ahe`, `tthe`, `dream_rsi`, `sica_ci`, `hyperagents`, `meta_harness`, `harnessx` | `experiments/method-<name>.json` |
| **benchmarks** | 43 declared adapters; preparation and runtime prerequisites vary — every one listed: `agentdojo`, `aime`, `alfworld`, `appworld`, `authored_example_fix_bug`, `bfcl_v3`, `bird_minidev`, `chessbench_puzzles`, `cooperbench`, `costbench`, `costbench_dynamic`, `deepswe`, `ds1000`, `fever`, `gaia`, `gsm8k`, `hotpotqa`, `jericho`, `jobbench`, `kumo`, `livecodebench`, `locomo`, `memoryagentbench`, `musique`, `personamem_v2`, `physicsquestions`, `ptc_bench`, `reasoning_gym`, `robocasa365`, `scienceworld`, `sportsunderstanding`, `spreadsheetbench`, `spreadsheetbench2`, `strategyqa`, `strongreject`, `swe_bench_pro`, `tau2_bench`, `tau3_bench`, `tau_bench`, `terminal_bench`, `triviaqa`, `twowikimultihopqa`, `wtm_bench` | `data/datasets/`, detail in [`DATASETS.md`](DATASETS.md) |

Expand Down Expand Up @@ -247,13 +240,19 @@ Want to join? [Bring a harness](docs/bring-your-own-harness.md), [add a method](
</details>

<details>
<summary><strong>🛠️ Customize a harness</strong> — build for a model, environment or task</summary>
<summary><strong>🛠️ Customize a harness</strong> — build for a domain and refine the harness during use</summary>

<a id="customize-harness"></a>

The workflow starts with a domain task. Develop a harness on examples you can train on, give people an interface to its useful capabilities, then use their feedback to refine it.

<a id="domain-customization"></a>

### Domain customization

<p align="center"><a href=".github/assets/showcase/ocean.gif"><img src=".github/assets/showcase/ocean.gif" alt="Ocean Harness assembles research evidence and returns a sourced answer" width="800"></a></p>

Ocean Harness is one example built with HarnessGrad. It combines domain sources, research tools, and an answer workflow to answer ocean questions with citations. Build a harness for your own domain using the workflow below.
If a domain benchmark supplies only a test set, reserve it for the final evaluation. Use separate domain sources to construct training and validation questions. The domain workflow evaluates a baseline, edits candidate source and checks candidate changes against validation tasks. Compatible harnesses can also install versioned plugins from the library. [Domain workflow](docs/domain-customization.md) · [Plugin library and supported formats](docs/harness-plugins.md)

<a id="customize-installation"></a>

Expand All @@ -267,20 +266,20 @@ python -m pip install .

<a id="customize-current"></a>

### Current capabilities

**Choose a starting harness → Edit a candidate → Inspect the diff → Try it on tasks.**

Start from a base or saved candidate, edit its files with an assistant and evaluate the result. See [bring your own harness](docs/bring-your-own-harness.md). The [customization proposal command](docs/customization.md) can also generate an unevaluated candidate from explicitly supplied feedback and text, using the explicit `text-edit-v1` stage and export a source-checked patch for review.

> [!TIP]
> Already have a harness? Run `harnessgrad customize inspect --root ./my-harness` to see the components declared in its manifest, or see [bring your own harness](docs/bring-your-own-harness.md) for the entrypoint and manifest format.
If you already have a harness, `harnessgrad customize inspect --root ./my-harness` lists its declared components. You can also propose a single change to selected text files with the example below. [Harness manifest and entrypoint](docs/bring-your-own-harness.md)

<a id="customize-quick-start"></a>

### 🚀 Quick start

[Install HarnessGrad](docs/getting-started.md) and configure an OpenAI-compatible editor endpoint as described in the [customization guide](docs/customization.md). Choose the files and feedback you want to share with that endpoint; for example, put the following in `feedback.json`:
Prepare a task configuration with your domain sources and validation criteria using the [domain workflow guide](docs/domain-customization.md#start-a-run). Keep the run directory outside the checkout. List the available plugins and start development with:

```bash
harnessgrad customize plugins list
harnessgrad customize workflow run --config /path/to/task.json --run-dir /path/to/domain-run --env-file /path/to/.env
```

For a single text edit, configure an editor endpoint using the [customization guide](docs/customization.md) and choose the feedback and files you want it to see. For example, put the following in `feedback.json`.

```json
[{"id": "review-1", "kind": "failure", "text": "The task ended without running the project tests."}]
Expand All @@ -295,46 +294,40 @@ harnessgrad customize review --request request.json --proposal proposal.json --r
Replace `./my-harness` and `skills/main.md` with your own selected paths. The proposal includes candidate text and a diff for review; use the [guide](docs/customization.md#export-a-patch) to export a patch and test it on a copy.

<a id="customize-workbench"></a>
<a id="interactive-agent"></a>

### Customization workbench
### From a benchmark harness to an interactive agent

The same Console used to inspect experiments also provides a workspace for editing harness candidates. See the [workbench guide](console/WORKBENCH.md) for setup and sessions.
Choose a task that shows what the harness does well, then expose the inputs, evidence and result a user needs. In the Ocean Harness demo above, a user asks an ocean-science question and can inspect the sources behind the answer. A browser workbench can present a domain-specific interaction like this. The Console also provides an editor for the harness itself. [Browser workbench plugins](docs/harness-plugins.md) · [Console editor](console/WORKBENCH.md)

<p align="center"><a href=".github/assets/console-gallery/editor.png"><img src=".github/assets/console-gallery/editor.png" alt="Harness editor view" width="720"></a><br><strong>Harness editor</strong></p>

</details>

<details>
<summary><strong>🌱 Evolve your harness</strong> — turn feedback into improvements to your own harness</summary>

<a id="evolve-personal-harness"></a>
<a id="test-time-evolving"></a>

<p align="center"><a href=".github/assets/showcase/xiaolv.gif"><img src=".github/assets/showcase/xiaolv.gif" alt="Xiao Lü demonstrates turning personal feedback into a proposed change" width="760"></a></p>
### 🌱 Test-time evolving

Xiao Lü is one example of personal Harness evolution built with HarnessGrad. The desktop assistant shows how a correction from a session can become a scoped change proposal for review.
Use feedback from a session to adapt a harness you already use. Select a correction and the project instructions it concerns. The local workspace freezes those inputs, generates a proposed edit and shows its diff. For a supported instruction check, it can also compare the baseline and candidate and retain both run records for review. [Offline review guide](docs/personal-evolution-review.md)

<a id="personal-installation"></a>

### 📦 Installation
Today this path uses an adapter for the selected project instructions. Extending it to a newly evolved harness requires discovering which parts can be edited and how to check the resulting behavior.

Use Python 3.12+ and install from the HarnessGrad checkout. To build the native desktop shell, follow the [desktop setup guide](desktop/personal/README.md).
<p align="center"><a href=".github/assets/showcase/xiaolv.gif"><img src=".github/assets/showcase/xiaolv.gif" alt="Xiao Lü demonstrates turning personal feedback into a proposed change" width="760"></a></p>

```bash
python -m pip install .
```
<a id="personal-installation"></a>
Xiao Lü demonstrates the workflow in a desktop assistant. The local service uses the same [HarnessGrad installation](#customize-installation). To build the native shell, follow the [desktop setup guide](desktop/personal/README.md).

<a id="personal-quick-start"></a>

### 🚀 Quick start
#### Start the local workspace

Open the local personal workspace with a synthetic session. Choose an existing project directory and a separate state directory outside the checkout and project.

```bash
harnessgrad personal demo --state-root /path/to/state --project /path/to/project
harnessgrad personal serve --state-root /path/to/state
harnessgrad customize test-time demo --state-root /path/to/state --project /path/to/project
harnessgrad customize test-time serve --state-root /path/to/state
```

Open the printed local URL and select the service's `connection.json` in the browser. This example previews the workspace without model calls. For the desktop workflow shown above, see the [personal evolution guide](docs/personal-evolution.md) and the [proposal preview in PR #64](https://github.com/zjunlp/HarnessGrad/pull/64).
Open the printed local URL and select the service's `connection.json` in the browser. The demo uses a synthetic session and makes no model calls. Existing `harnessgrad personal` commands use the same local service. [Test-time evolving guide](docs/personal-evolution.md)

</details>

Expand Down Expand Up @@ -370,7 +363,7 @@ If the platform, the measurement protocol or a curve produced here is useful in
</td>
<td align="center" width="150">
<a href="https://github.com/Prism-Shadow/penguin-harness">
<img src="https://avatars.githubusercontent.com/u/236323912?v=4&s=200" width="80" style="border-radius:50%" alt="PenguinHarness"/>
<img src="https://avatars.githubusercontent.com/u/236323912?v=4&s=200" width="80" style="border-radius:50%" alt="Prism-Shadow"/>
<br />
<sub><b>PenguinHarness</b></sub>
</a>
Expand Down
6 changes: 5 additions & 1 deletion base_harness/claude-code/harness.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"name":"claude-code","version":"0.1.0","path":".","entrypoint":"agent.py","backend":"cli","install":null,"runtime_paths":[],"env_kinds":["files","exec"],
"name":"claude-code","external_adapter":"claude-code","version":"0.1.0","path":".","entrypoint":"agent.py","backend":"cli","install":null,"runtime_paths":[],"env_kinds":["files","exec"],
"plugin_capabilities": {
"skill": {"format": "agent-skills", "directory": "skills"},
"workbench": {"format": "static-html"}
},
"components":{"control":["harness.json","settings.json",".claude-plugin/**"],"context":["CLAUDE.md","output-styles/**"],"tools":["skills/**","commands/**",".mcp.json",".lsp.json","servers/**"],"delegation":["agent.py","agents/**"],"recovery":["hooks/**"],"reliability":["claude_runtime.py","resources.py"],"unattributed":["README.md"]}
}
Loading
Loading