harness-everything 1.5.3 → 1.6.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.github/ISSUE_TEMPLATE/bug_report.yml +68 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
- package/.github/ISSUE_TEMPLATE/platform_compatibility.yml +80 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +19 -0
- package/.github/dependabot.yml +13 -0
- package/.github/workflows/ci.yml +2 -2
- package/.github/workflows/release.yml +1 -1
- package/CHANGELOG.md +24 -0
- package/PRIVACY.md +34 -14
- package/README.md +76 -311
- package/ROADMAP.md +50 -0
- package/SECURITY.md +29 -8
- package/SUPPORT.md +4 -4
- package/TERMS.md +3 -3
- package/benchmarks/results/live-host/agy-2026-12-02-linux-loader/README.md +33 -0
- package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/README.md +20 -0
- package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/lifecycle.sanitized.jsonl +14 -0
- package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/observations.sanitized.json +20 -0
- package/bin/cli.js +30 -7
- package/ci/action-gate.test.js +186 -0
- package/ci/installer-roundtrip.test.js +20 -0
- package/ci/lib/opencode-v2-driver.js +3 -1
- package/ci/mechanism-2aa-codex-action-gate-policy.test.js +21 -0
- package/ci/mechanism-2ap-sbom.test.js +6 -6
- package/ci/mechanism-2x-release-commit-message.test.js +34 -23
- package/ci/mechanism-341-opencode-lane.test.js +5 -1
- package/ci/mechanism-397-cycle-import.test.js +5 -1
- package/ci/mechanism-397-opencode-observations.test.js +260 -24
- package/ci/mechanism-548-bigint-identity.test.js +252 -5
- package/ci/mechanism-552-ledger-pairs.test.js +2 -0
- package/ci/mechanism-error-ledger-promote.test.js +122 -1
- package/ci/mechanism-system-one-install.test.js +50 -0
- package/ci/mechanism-task-git-authorization.test.js +14 -0
- package/docs/README.md +81 -0
- package/docs/codex-action-gate.md +1 -1
- package/docs/platform-capabilities.md +17 -5
- package/docs/platform-compatibility.json +6 -6
- package/docs/system-one-cycle.md +2 -1
- package/harness-everything/SKILL.md +1 -1
- package/harness-everything/scripts/system-one/cua_adapter.py +4 -2
- package/harness-everything/scripts/system-one/install.js +1 -5
- package/harness-everything/scripts/system-one/manifest.js +7 -3
- package/harness-everything/scripts/system-one/provider.js +3 -4
- package/hooks/scripts/action-gate.js +82 -2
- package/opencode-plugin/index.mjs +97 -35
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +15 -2
- package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/hooks/scripts/action-gate.js +82 -2
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/cua_adapter.py +4 -2
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/install.js +1 -5
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/manifest.js +7 -3
- package/plugins/harness-everything/skills/harness-everything/scripts/system-one/provider.js +3 -4
- package/sbom.cdx.json +7 -7
- package/scripts/system-one-cycle/package.js +2 -2
|
@@ -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": "1.
|
|
13
|
+
"version": "1.6.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": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Miya Daniel"
|
|
7
7
|
},
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: Report a bug in Harness CLI, skills, hooks, or plugins
|
|
3
|
+
labels: ["bug"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Please do not include secrets, credentials, private source, or personal data. For security vulnerabilities, see [SECURITY.md](https://github.com/dyphn1/Harness-everything/blob/main/SECURITY.md).
|
|
9
|
+
- type: input
|
|
10
|
+
id: harness_version
|
|
11
|
+
attributes:
|
|
12
|
+
label: Harness version
|
|
13
|
+
description: Output of `harness --version` (or commit SHA if running from source).
|
|
14
|
+
placeholder: e.g. 1.5.4
|
|
15
|
+
validations:
|
|
16
|
+
required: true
|
|
17
|
+
- type: input
|
|
18
|
+
id: host_version
|
|
19
|
+
attributes:
|
|
20
|
+
label: Host / IDE & version
|
|
21
|
+
description: Coding-agent host or IDE and its version.
|
|
22
|
+
placeholder: e.g. Claude Code 2.1.330, Codex CLI 0.162.1, AGY 2.34.0
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: input
|
|
26
|
+
id: os_node
|
|
27
|
+
attributes:
|
|
28
|
+
label: OS & Node.js version
|
|
29
|
+
description: Operating system and `node --version` (Harness supports Node.js 22+; 24 is primary).
|
|
30
|
+
placeholder: e.g. macOS 15.3 / Node v24.0.0
|
|
31
|
+
validations:
|
|
32
|
+
required: true
|
|
33
|
+
- type: dropdown
|
|
34
|
+
id: integration_surface
|
|
35
|
+
attributes:
|
|
36
|
+
label: Integration surface
|
|
37
|
+
options:
|
|
38
|
+
- Native Hooks
|
|
39
|
+
- Native Plugin
|
|
40
|
+
- User Hooks
|
|
41
|
+
- Skills / Advisory
|
|
42
|
+
- CLI / Installer
|
|
43
|
+
- Other
|
|
44
|
+
validations:
|
|
45
|
+
required: true
|
|
46
|
+
- type: textarea
|
|
47
|
+
id: repro_steps
|
|
48
|
+
attributes:
|
|
49
|
+
label: Reproduction steps
|
|
50
|
+
description: Smallest prompt, command, or workflow that reproduces the problem.
|
|
51
|
+
placeholder: |
|
|
52
|
+
1. ...
|
|
53
|
+
2. ...
|
|
54
|
+
validations:
|
|
55
|
+
required: true
|
|
56
|
+
- type: textarea
|
|
57
|
+
id: expected_actual
|
|
58
|
+
attributes:
|
|
59
|
+
label: Expected vs. actual behavior
|
|
60
|
+
description: What you expected to happen and what happened instead.
|
|
61
|
+
validations:
|
|
62
|
+
required: true
|
|
63
|
+
- type: textarea
|
|
64
|
+
id: evidence
|
|
65
|
+
attributes:
|
|
66
|
+
label: Redacted logs / evidence
|
|
67
|
+
description: Relevant logs, hook output, or error messages with secrets and private data removed.
|
|
68
|
+
render: text
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
blank_issues_enabled: true
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: Security Vulnerability Report
|
|
4
|
+
url: https://github.com/dyphn1/Harness-everything/blob/main/SECURITY.md
|
|
5
|
+
about: Do not open a public issue for security vulnerabilities. Follow SECURITY.md to report privately.
|
|
6
|
+
- name: General Support & Troubleshooting
|
|
7
|
+
url: https://github.com/dyphn1/Harness-everything/blob/main/SUPPORT.md
|
|
8
|
+
about: Read SUPPORT.md for help, scope, and what to include before opening an issue.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Feature Request
|
|
2
|
+
description: Suggest an improvement or new capability for Harness
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: problem
|
|
7
|
+
attributes:
|
|
8
|
+
label: Problem statement
|
|
9
|
+
description: What problem or workflow gap are you trying to solve?
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: proposal
|
|
14
|
+
attributes:
|
|
15
|
+
label: Proposed solution
|
|
16
|
+
description: Describe the behavior, mechanism, or skill/hook change you would like to see.
|
|
17
|
+
validations:
|
|
18
|
+
required: true
|
|
19
|
+
- type: input
|
|
20
|
+
id: affected_area
|
|
21
|
+
attributes:
|
|
22
|
+
label: Affected area / platform
|
|
23
|
+
description: Which skill, hook, CLI command, or host platform does this affect?
|
|
24
|
+
placeholder: e.g. routing, Claude Code hooks, OpenCode V2 plugin, skills
|
|
25
|
+
validations:
|
|
26
|
+
required: false
|
|
27
|
+
- type: textarea
|
|
28
|
+
id: alternatives
|
|
29
|
+
attributes:
|
|
30
|
+
label: Alternatives considered
|
|
31
|
+
description: Any workarounds or alternative designs you considered.
|
|
32
|
+
validations:
|
|
33
|
+
required: false
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
name: Platform Compatibility Report
|
|
2
|
+
description: Report host compatibility, plugin loading, or hook behavior for a coding-agent platform
|
|
3
|
+
labels: ["compatibility"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
See [docs/platform-capabilities.md](https://github.com/dyphn1/Harness-everything/blob/main/docs/platform-capabilities.md) for current platform support boundaries and evidence levels. Redact all secrets, credentials, and private paths.
|
|
9
|
+
- type: dropdown
|
|
10
|
+
id: host
|
|
11
|
+
attributes:
|
|
12
|
+
label: Host
|
|
13
|
+
options:
|
|
14
|
+
- Claude Code
|
|
15
|
+
- Codex
|
|
16
|
+
- Antigravity / AGY
|
|
17
|
+
- OpenCode V2
|
|
18
|
+
- Cursor
|
|
19
|
+
- GitHub Copilot
|
|
20
|
+
- Continue.dev
|
|
21
|
+
- Hermes Agent
|
|
22
|
+
- Other
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: input
|
|
26
|
+
id: host_version
|
|
27
|
+
attributes:
|
|
28
|
+
label: Host version
|
|
29
|
+
placeholder: e.g. 2.4.1
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: input
|
|
33
|
+
id: os
|
|
34
|
+
attributes:
|
|
35
|
+
label: OS
|
|
36
|
+
placeholder: e.g. macOS 15.3, Ubuntu 24.04, Windows 11
|
|
37
|
+
validations:
|
|
38
|
+
required: true
|
|
39
|
+
- type: input
|
|
40
|
+
id: harness_version
|
|
41
|
+
attributes:
|
|
42
|
+
label: Harness version
|
|
43
|
+
description: Output of `harness --version` (or commit SHA).
|
|
44
|
+
placeholder: e.g. 1.5.4
|
|
45
|
+
validations:
|
|
46
|
+
required: true
|
|
47
|
+
- type: dropdown
|
|
48
|
+
id: integration_surface
|
|
49
|
+
attributes:
|
|
50
|
+
label: Integration surface
|
|
51
|
+
options:
|
|
52
|
+
- Native Hooks
|
|
53
|
+
- Native Plugin
|
|
54
|
+
- User Hooks
|
|
55
|
+
- Skills / Advisory
|
|
56
|
+
- Other
|
|
57
|
+
validations:
|
|
58
|
+
required: true
|
|
59
|
+
- type: textarea
|
|
60
|
+
id: expected_behavior
|
|
61
|
+
attributes:
|
|
62
|
+
label: Expected behavior
|
|
63
|
+
description: Expected skill discovery, plugin loading, or hook lifecycle behavior.
|
|
64
|
+
validations:
|
|
65
|
+
required: true
|
|
66
|
+
- type: textarea
|
|
67
|
+
id: actual_behavior
|
|
68
|
+
attributes:
|
|
69
|
+
label: Actual behavior
|
|
70
|
+
description: Observed behavior on this host and version.
|
|
71
|
+
validations:
|
|
72
|
+
required: true
|
|
73
|
+
- type: textarea
|
|
74
|
+
id: evidence
|
|
75
|
+
attributes:
|
|
76
|
+
label: Redacted evidence / trace
|
|
77
|
+
description: Sanitized session trace, hook payload, or CLI output establishing the observation.
|
|
78
|
+
render: text
|
|
79
|
+
validations:
|
|
80
|
+
required: true
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
<!-- Describe the scope and purpose of this change. Link related issues if applicable. -->
|
|
4
|
+
|
|
5
|
+
## Evidence Layer
|
|
6
|
+
|
|
7
|
+
Report the highest verification layer established for this change (see [AGENTS.md](AGENTS.md) and [docs/platform-capabilities.md](docs/platform-capabilities.md)):
|
|
8
|
+
|
|
9
|
+
- [ ] Package / build / manifest consistency
|
|
10
|
+
- [ ] Deterministic mechanism tests (`npm test`, `npm run test:mechanism`, etc.)
|
|
11
|
+
- [ ] Live-host session evidence (specify host, version, and OS)
|
|
12
|
+
- [ ] Behavioral / benchmark evidence
|
|
13
|
+
|
|
14
|
+
## Checklist
|
|
15
|
+
|
|
16
|
+
- [ ] PR title follows [Conventional Commits](CONTRIBUTING.md#conventional-commits-and-releases) and no package/plugin versions were manually bumped
|
|
17
|
+
- [ ] Relevant local quality gates pass (`npm run verify:all -- --fast` or targeted gates from `CONTRIBUTING.md`)
|
|
18
|
+
- [ ] Generated docs/manifests synced if applicable (`npm run docs:sync`, `npm run plugin:sync`)
|
|
19
|
+
- [ ] `CHANGELOG.md` updated under `[Unreleased]` for user-visible changes
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -121,9 +121,9 @@ jobs:
|
|
|
121
121
|
fetch-depth: 0
|
|
122
122
|
- uses: actions/setup-node@v7
|
|
123
123
|
with:
|
|
124
|
-
node-version: 22
|
|
124
|
+
node-version: '22.0.0'
|
|
125
125
|
- name: Install dependencies on minimum supported Node
|
|
126
|
-
run: npm ci
|
|
126
|
+
run: npm ci --engine-strict
|
|
127
127
|
- name: Run representative regression suite on Node 22
|
|
128
128
|
run: npm test
|
|
129
129
|
- name: Verify installer contract on Node 22
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.6.0](https://github.com/dyphn1/Harness-everything/compare/v1.5.4...v1.6.0) (2026-12-04)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **repo:** professionalize public docs, CLI version flag, policies, and community templates ([#592](https://github.com/dyphn1/Harness-everything/issues/592)) ([0df4f90](https://github.com/dyphn1/Harness-everything/commit/0df4f900a9e1c021d7a69992fc80f07f6f0b7075)), closes [#591](https://github.com/dyphn1/Harness-everything/issues/591) [package.json#version](https://github.com/dyphn1/package.json/issues/version) [#591](https://github.com/dyphn1/Harness-everything/issues/591)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **action-gate:** defer scoped codex create_issue to host ([039aa50](https://github.com/dyphn1/Harness-everything/commit/039aa508be593a321bb666cb6cae4eb5c4e2aeee)), closes [#508](https://github.com/dyphn1/Harness-everything/issues/508)
|
|
14
|
+
* **action-gate:** restrict codex create_issue deferral to confirmed github tools ([30e0393](https://github.com/dyphn1/Harness-everything/commit/30e03939594f55113db548364b5fa00bbe2c7d51)), closes [#508](https://github.com/dyphn1/Harness-everything/issues/508) [#603](https://github.com/dyphn1/Harness-everything/issues/603)
|
|
15
|
+
* **opencode:** bind observations to delivered prompts ([fac4faa](https://github.com/dyphn1/Harness-everything/commit/fac4faa14dfda00dc731da06edf68ff2e5c02421))
|
|
16
|
+
* **opencode:** require durable ordering for turn observations ([62c354a](https://github.com/dyphn1/Harness-everything/commit/62c354a056f01e02f0647678d2c69d7cfb404518))
|
|
17
|
+
|
|
18
|
+
## [1.5.4](https://github.com/dyphn1/Harness-everything/compare/v1.5.3...v1.5.4) (2026-12-02)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **system-one:** unify version ID validation ([678a84b](https://github.com/dyphn1/Harness-everything/commit/678a84b6315bdaecb738efa86d55a5c5773ea310))
|
|
23
|
+
|
|
5
24
|
## [1.5.3](https://github.com/dyphn1/Harness-everything/compare/v1.5.2...v1.5.3) (2026-12-01)
|
|
6
25
|
|
|
7
26
|
### Bug Fixes
|
|
@@ -359,6 +378,11 @@ Claude-Session: https://claude.ai/code/session_01RPz4xUrN12wGoL19istZUE
|
|
|
359
378
|
|
|
360
379
|
## [Unreleased]
|
|
361
380
|
|
|
381
|
+
### CLI & Public Readiness (#591)
|
|
382
|
+
|
|
383
|
+
* **cli:** add `--version`, `-v`, and `version` command output from `package.json` and align `--help` usage with registry-first `npx harness-everything` / `harness` commands.
|
|
384
|
+
* **docs & community:** align `README.md`, `package.json`, policy docs (`SECURITY.md`, `PRIVACY.md`, `SUPPORT.md`, `TERMS.md`), `docs/README.md`, `ROADMAP.md`, and `.github/` templates with unified Harness Everything identity and evidence boundaries.
|
|
385
|
+
|
|
362
386
|
### System One external layer (ECHL arm H)
|
|
363
387
|
|
|
364
388
|
* **system-one:** a version may now carry a per-stage `<stage>.layer.json` (temperature, per-option bias and a char-gram kNN blend over the train split) recorded in the manifest as `layer` + `layerSha256`. Install, activation, the provider and the resident verify it like the weights and include it in the active identity; versions without a layer score exactly as before. The cycle fits the layer on the trainer's validation split with two-fold out-of-fold selection, calibrates thresholds on the out-of-fold scores, and packages it (`scripts/system-one-fit-layer.py`). Training data and the kNN index stay private (#567).
|
package/PRIVACY.md
CHANGED
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
# Privacy Notice
|
|
2
2
|
|
|
3
|
-
Harness Everything
|
|
3
|
+
**Harness Everything** (npm package `harness-everything`, CLI `harness`) is an open-source AI Agent Behavior and Orchestration Runtime (AI Agent Harness) providing skills, routing, lifecycle hooks, and host plugins for coding agents. Only the public OpenAI Skills-only submission artifact (`submission/openai/`) is distributed as skills-only without local lifecycle hooks.
|
|
4
4
|
|
|
5
|
-
## Data handled by the
|
|
5
|
+
## Data handled by the runtime
|
|
6
6
|
|
|
7
|
-
Harness Everything does not operate a hosted backend, require an account with the project, or include a bundled third-party app/MCP connection. The packaged skills and hooks run in the host environment and may guide the coding agent to read files, write files, run development commands, and produce verification evidence in the workspace.
|
|
7
|
+
Harness Everything does not operate a hosted backend, require an account with the project, or include a bundled third-party app/MCP connection. The packaged skills, routing, and hooks run locally in the host environment and may guide the coding agent to read files, write files, run development commands, and produce verification evidence in the workspace.
|
|
8
8
|
|
|
9
|
-
The project does not
|
|
9
|
+
The project does not collect or transmit workspace content, prompts, source code, credentials, or usage telemetry to the Harness Everything maintainers or any remote server.
|
|
10
10
|
|
|
11
11
|
## Host and third-party services
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Claude Code, OpenCode, Codex, ChatGPT, GitHub, package registries, command-line tools, and any other services used by the host or explicitly invoked during a workflow have their own privacy practices. Installing Harness Everything does not change those services' permissions or privacy policies.
|
|
14
14
|
|
|
15
15
|
Users should review commands, tool permissions, connected apps, and repository content before allowing an agent to perform actions that may transmit data outside the local environment.
|
|
16
16
|
|
|
17
|
-
## Local
|
|
17
|
+
## Local data mechanisms
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Harness Everything maintains **two distinct local data mechanisms**, both of which stay on your machine and never send data over the network:
|
|
20
|
+
|
|
21
|
+
### 1. Local Telemetry (content-free operational metrics)
|
|
22
|
+
|
|
23
|
+
Harness telemetry is a local operational evidence layer for invocation counts, completion statuses, and timing metrics (`skillLoadDurationMs`, `activeWindowMs`, `attributedToolDurationMs`).
|
|
24
|
+
|
|
25
|
+
- **Content-free:** Records skill/runtime metadata only (skill name/version, host, locally hashed session/turn/agent IDs, random invocation ID, tool name without arguments, status/retry count, timings, and short reason codes).
|
|
26
|
+
- **No prompts or messages:** The telemetry sink explicitly rejects content-bearing fields (prompts, source/code contents, command/tool arguments, file paths, transcripts, messages, email/user identity).
|
|
27
|
+
- **Location:** `~/.agents/harness-everything/workspaces/<workspace-key>/state/telemetry/events.jsonl` (outside project files; not committed automatically).
|
|
28
|
+
- **Network:** Never sends data over the network.
|
|
29
|
+
- **Disable:** Set `HARNESS_TELEMETRY=off` in the environment to disable local telemetry writes.
|
|
20
30
|
|
|
21
|
-
|
|
31
|
+
### 2. Local System One Observations (routing/learning records)
|
|
22
32
|
|
|
23
|
-
To improve Harness routing,
|
|
33
|
+
To improve Harness routing, System One observation hooks/plugins are **enabled by default** on supported hosts (Claude Code, Codex, and OpenCode V2) and record per-turn routing and outcome data locally:
|
|
24
34
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
35
|
+
- **What is stored:**
|
|
36
|
+
- **Text store (`text/<sha256>.json`):** The user `prompt` and the `previous` assistant message (truncated to 2 KB). Email addresses and home-directory paths are redacted before storage; however, this redaction is **not** comprehensive secret, credential, token, or PII removal.
|
|
37
|
+
- **Session state:** Temporary text-bearing session state (the previous-message tail and an unfinished turn's prompt) is also stored locally until the turn completes or expires.
|
|
38
|
+
- **Index (`observations-index.json`):** Hashed session/turn IDs, host, timestamp, router output/System One scores, `scope.taskTerms` (normalized terms derived from the prompt for retrieval of similar past turns), behavior counts and categories (files written, distinct repositories written, files created, command classes, skills loaded/read, subagents started — never command text or file contents), and the turn's self-report label line.
|
|
39
|
+
- **Location:** `~/.agents/harness-everything/system-one/observations/` (or `HARNESS_OBSERVATIONS_DIR` if set), outside every workspace (never written under `memories/repo`).
|
|
40
|
+
- **Retention & expiry:**
|
|
41
|
+
- **Text and text-bearing session state (180 days):** Text records (`text/<sha256>.json`) and text-bearing session state (previous-message tails and unfinished prompts) expire **180 days** after capture (`validUntil`). Finishing or recovering an old turn does not renew that deadline. Once expired, text blobs are deleted when no active record references them and are skipped on read by exporters and review tools.
|
|
42
|
+
- **Index and derived metadata (retained):** Expiration applies only to stored text; the index record in `observations-index.json` — including labels, behavior counts, metadata, and derived fields such as `scope.taskTerms` — is retained after text expiry.
|
|
43
|
+
- **Network:** Nothing is uploaded and there is no remote collection. Records leave the machine only if you copy or export them yourself.
|
|
44
|
+
- **Disable:** Set `HARNESS_OBSERVATIONS=off` in the environment passed to hooks/plugins. (On OpenCode V2, `HARNESS_OBSERVATIONS=off` disables observation capture while routing injection remains active.)
|
|
45
|
+
|
|
46
|
+
## Other local state
|
|
47
|
+
|
|
48
|
+
Some Harness workflows may write local runtime state or project artifacts needed for routing, verification, or recovery. These files stay in locations controlled by the user and the host environment unless another tool or service is explicitly used to share them.
|
|
29
49
|
|
|
30
50
|
## Changes
|
|
31
51
|
|
|
32
|
-
If a future release adds a hosted service, telemetry, external app, or MCP integration that changes data handling, this notice must be updated before that capability is published.
|
|
52
|
+
If a future release adds a hosted service, remote telemetry, external app, or MCP integration that changes data handling, this notice must be updated before that capability is published.
|
|
33
53
|
|
|
34
54
|
For questions or reports, use the repository issue tracker: https://github.com/dyphn1/Harness-everything/issues
|