@hmharness/cli 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +6 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1090,10 +1090,15 @@ flags:
|
|
|
1090
1090
|
stdout.write('no bench cases - run scripts/bench-cases-v2.cjs or seed first\n');
|
|
1091
1091
|
return;
|
|
1092
1092
|
}
|
|
1093
|
+
// treatment injects the skill CONTENT, never the bare name string
|
|
1094
|
+
// (day-49 fix: the first real experiment measured the instrument)
|
|
1095
|
+
const treatmentPrompt = cand.target === 'skill' && cand.payload
|
|
1096
|
+
? await E.loadSkillPayload(home, cand.payload)
|
|
1097
|
+
: (cand.payload ?? '');
|
|
1093
1098
|
stdout.write(DIM(`running ${Math.min(maxCases, cases.length)} gate cases x2 arms (bench route)…\n`));
|
|
1094
1099
|
const armRun = async (c, arm) => {
|
|
1095
1100
|
const runner = makeCaseRunner();
|
|
1096
|
-
const out = await runner(c, arm === 'treatment' ?
|
|
1101
|
+
const out = await runner(c, arm === 'treatment' ? treatmentPrompt : '');
|
|
1097
1102
|
return { pass: E.matchCase(out, c).pass, tokens: E.estTokens(c.prompt + out) };
|
|
1098
1103
|
};
|
|
1099
1104
|
const rep = await E.runCandidateExperiment(home, cand.id, { runCase: armRun, cases, maxCases });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmharness/cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@hmharness/kernel": "0.9.0",
|
|
47
47
|
"@hmharness/observability": "0.7.0",
|
|
48
|
-
"@hmharness/evolution": "0.14.
|
|
48
|
+
"@hmharness/evolution": "0.14.1",
|
|
49
49
|
"@hmharness/domain-harmony": "0.13.5",
|
|
50
50
|
"@hmharness/domain-ops": "0.8.0",
|
|
51
51
|
"@hmharness/agent": "0.11.0",
|