harness-everything 0.21.0 → 0.22.0

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.
Files changed (36) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +12 -0
  4. package/benchmarks/results/system-one/cua-s1-forms-resident-cpu-2026-09-23/README.md +74 -0
  5. package/benchmarks/results/system-one/cua-s1-forms-resident-cpu-2026-09-23/report.json +856 -0
  6. package/ci/fixtures/system-one-resident-stub.py +28 -0
  7. package/ci/mechanism-packaging-bytecode.test.js +61 -0
  8. package/ci/mechanism-system-one-install.test.js +11 -0
  9. package/ci/mechanism-system-one-resident.test.js +185 -0
  10. package/ci/system-one-adapter-test.py +166 -0
  11. package/docs/platform-capabilities.md +3 -0
  12. package/docs/system-one-routing.md +72 -3
  13. package/harness-everything/SKILL.md +1 -1
  14. package/harness-everything/scripts/system-one/cua_adapter.py +265 -6
  15. package/harness-everything/scripts/system-one/install.js +17 -8
  16. package/harness-everything/scripts/system-one/provider.js +5 -2
  17. package/harness-everything/scripts/system-one/resident.js +176 -0
  18. package/harness-everything/scripts/system-one/router.js +1 -1
  19. package/opencode-plugin/plugin.json +1 -1
  20. package/package.json +1 -1
  21. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  22. package/plugins/harness-everything/plugin.json +1 -1
  23. package/plugins/harness-everything/scripts/lib/packaging-noise.js +6 -0
  24. package/plugins/harness-everything/scripts/lib/skills.js +2 -0
  25. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  26. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/cua_adapter.py +265 -6
  27. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/install.js +17 -8
  28. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/provider.js +5 -2
  29. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/resident.js +176 -0
  30. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/router.js +1 -1
  31. package/sbom.cdx.json +7 -7
  32. package/scripts/build-openai-submission.js +2 -0
  33. package/scripts/evaluate-system-one.js +13 -4
  34. package/scripts/lib/packaging-noise.js +6 -0
  35. package/scripts/lib/skills.js +2 -0
  36. package/scripts/sync-openai-plugin.js +2 -1
@@ -10,7 +10,7 @@
10
10
  "name": "harness-everything",
11
11
  "source": "./",
12
12
  "description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
13
- "version": "0.21.0",
13
+ "version": "0.22.0",
14
14
  "author": {
15
15
  "name": "Miya Daniel"
16
16
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "harness-everything",
3
3
  "description": "Harness OS: an orchestrated agent operating system — tier routing, circuit breaker guardrails, verification gates, WAL session memory, and self-evolving workspace rules.",
4
- "version": "0.21.0",
4
+ "version": "0.22.0",
5
5
  "author": {
6
6
  "name": "Miya Daniel"
7
7
  },
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.22.0](https://github.com/dyphn1/Harness-everything/compare/v0.21.0...v0.22.0) (2026-09-23)
6
+
7
+ ### Features
8
+
9
+ * **router:** add resident system one provider ([eee8cb7](https://github.com/dyphn1/Harness-everything/commit/eee8cb763d2ed65722a2578c83700b02bdc3e668)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
10
+
11
+ ### Bug Fixes
12
+
13
+ * **distribution:** keep python bytecode out of every package ([58135ae](https://github.com/dyphn1/Harness-everything/commit/58135aef92089d731eb44d55efb0ae77ea4d64dd)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
14
+ * **router:** harden resident system one server from adversarial review ([ee5ab0f](https://github.com/dyphn1/Harness-everything/commit/ee5ab0fec9f03808f12a88e66b769b210803baa2)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
15
+ * **router:** replace the whole windows dacl for resident state ([e59af73](https://github.com/dyphn1/Harness-everything/commit/e59af735de1337b3bcb10cbca05500ab6b03b64c)), closes [#233](https://github.com/dyphn1/Harness-everything/issues/233)
16
+
5
17
  ## [0.21.0](https://github.com/dyphn1/Harness-everything/compare/v0.20.7...v0.21.0) (2026-09-23)
6
18
 
7
19
  ### Features
@@ -0,0 +1,74 @@
1
+ # System One: resident CUA-S1-FORMS provider on CPU (2026-09-23)
2
+
3
+ Evidence layer: **local real-checkpoint inference through the resident transport**.
4
+ It is not live-host evidence, not a reviewed holdout, and not a Harness routing quality
5
+ claim. Issue [#233](https://github.com/dyphn1/Harness-everything/issues/233); one-shot
6
+ baseline: [cua-s1-forms-cpu-2026-09-23](../cua-s1-forms-cpu-2026-09-23/README.md).
7
+
8
+ ## Setup
9
+
10
+ - Same host, venv and pinned checkpoint as the one-shot baseline: Intel Core Ultra 5 225H,
11
+ Windows 11 (win32 10.0.26200 x64), Node v24.18.0, CPython 3.13.6, torch `2.14.0+cpu`,
12
+ `cua-s1` at `b7f7e2d8…` (`pinned`), `cua-ai/cua-s1-forms` at `f54adbf4…`, one torch thread.
13
+ - The installer was rerun with `transport: "resident"`: exit 0, `verification.ok: true`,
14
+ server ready in 7230 ms, first warm score 131 ms. The installer then stopped the server it had started.
15
+
16
+ ## Command
17
+
18
+ ```bash
19
+ node scripts/evaluate-system-one.js benchmarks/fixtures/system-one-routing.json \
20
+ ~/.agents/harness-everything/system-one/manifest.json \
21
+ benchmarks/results/system-one/cua-s1-forms-resident-cpu-2026-09-23/report.json
22
+ ```
23
+
24
+ [`report.json`](report.json) is the unmodified output (`evidence.kind: offline-resident`,
25
+ `residentReady: true`, 16 holdout cases × 2 runs, 8 s wall versus 173 s one-shot).
26
+
27
+ ## Results
28
+
29
+ | Metric | One-shot | Resident |
30
+ | --- | --- | --- |
31
+ | Samples | 32 cold | 32 warm |
32
+ | p95 latency (end to end in Node) | 6415 ms | 108.6 ms |
33
+ | p50 latency | — | 63.4 ms |
34
+ | Repeatability (full vectors) | 1.0 | 1.0 |
35
+
36
+ - Score vectors are byte-identical to the one-shot run for every case; decisions are
37
+ unchanged (all `domain-mismatch`, one 225-byte `provider-exit`), coverage 0,
38
+ `rolloutReady: false`.
39
+ - The `warmLatency` gate (p95 ≤ 100 ms) is **not met** (108.6 ms).
40
+
41
+ ## Where the time goes (medians, same host)
42
+
43
+ | Component | ms |
44
+ | --- | --- |
45
+ | Worker-thread bootstrap per call (sync bridge) | 29–41 |
46
+ | Loopback connect | ≈3 |
47
+ | Server `ping` / `score` measured from a Python client (back-to-back) | 1.2 / 7.5 |
48
+ | Server `score` with 30 ms gaps between calls | 12.3 |
49
+ | In-process warm inference (earlier probe) | 2.8–5.6 |
50
+
51
+ Worker `env`/stdio options did not reduce bootstrap. Reusing the reply buffer lowered
52
+ p50 (67 → 55 ms) but not p95, and was not kept.
53
+
54
+ ## Hook wall time
55
+
56
+ `node harness-everything/scripts/kernel-router-core.js "fix a typo in README"`, 25
57
+ interleaved runs per mode, with the server already warm:
58
+
59
+ | Mode | p50 | p95 |
60
+ | --- | --- | --- |
61
+ | `off` | 273 ms | 409 ms |
62
+ | `shadow` (resident) | 383 ms | 494 ms |
63
+
64
+ Resident shadow mode adds roughly 85–110 ms per prompt. The one-shot bridge added 5–7 s.
65
+ The router plan was identical to `off` in all 25 pairs. A cold start returns
66
+ `provider-starting` without waiting.
67
+
68
+ ## Limitations
69
+
70
+ The server survived the exit of the CLI processes that spawned it. Survival after
71
+ exit of a real host's hook runner, and on macOS/Linux, is not verified. The seed
72
+ corpus is 16 unreviewed cases. The forms checkpoint cannot drive Harness routing.
73
+ Worker bootstrap is the remaining bottleneck. One possible follow-up is an async
74
+ pre-score in the hook entry, which would remove the worker; this is not measured.