harness-everything 1.5.4 → 1.6.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.
Files changed (65) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.github/ISSUE_TEMPLATE/bug_report.yml +68 -0
  4. package/.github/ISSUE_TEMPLATE/config.yml +8 -0
  5. package/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
  6. package/.github/ISSUE_TEMPLATE/platform_compatibility.yml +80 -0
  7. package/.github/PULL_REQUEST_TEMPLATE.md +19 -0
  8. package/.github/dependabot.yml +13 -0
  9. package/.github/workflows/ci.yml +2 -2
  10. package/.github/workflows/release.yml +1 -1
  11. package/CHANGELOG.md +27 -0
  12. package/PRIVACY.md +34 -14
  13. package/README.md +76 -311
  14. package/ROADMAP.md +50 -0
  15. package/SECURITY.md +29 -8
  16. package/SUPPORT.md +4 -4
  17. package/TERMS.md +3 -3
  18. package/behavioral-evals/paired-benchmark.js +2 -2
  19. package/behavioral-evals/run-with-plugin.js +8 -3
  20. package/behavioral-evals/run.js +5 -3
  21. package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/README.md +20 -0
  22. package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/lifecycle.sanitized.jsonl +14 -0
  23. package/benchmarks/results/live-host/opencode-2026-12-02-450-steering/observations.sanitized.json +20 -0
  24. package/bin/cli.js +30 -7
  25. package/ci/ab-test-harness.js +2 -2
  26. package/ci/action-gate.test.js +186 -0
  27. package/ci/installer-roundtrip.test.js +20 -0
  28. package/ci/lib/opencode-v2-driver.js +3 -1
  29. package/ci/mechanism-2aa-codex-action-gate-policy.test.js +21 -0
  30. package/ci/mechanism-2ap-sbom.test.js +6 -6
  31. package/ci/mechanism-2j-behavioral-runner.test.js +45 -1
  32. package/ci/mechanism-2j-fixture-entrypoints.test.js +39 -0
  33. package/ci/mechanism-2x-release-commit-message.test.js +34 -23
  34. package/ci/mechanism-32-paired-benchmark.test.js +38 -0
  35. package/ci/mechanism-341-opencode-lane.test.js +5 -1
  36. package/ci/mechanism-397-cycle-import.test.js +5 -1
  37. package/ci/mechanism-397-opencode-observations.test.js +260 -24
  38. package/ci/mechanism-468-dispatch-cli.test.js +23 -0
  39. package/ci/mechanism-552-ledger-pairs.test.js +2 -0
  40. package/ci/mechanism-system-one-curves.test.js +26 -3
  41. package/ci/mechanism-system-one-cycle.test.js +5 -4
  42. package/ci/mechanism-system-one-live.test.js +6 -1
  43. package/ci/mechanism-task-git-authorization.test.js +14 -0
  44. package/docs/README.md +81 -0
  45. package/docs/codex-action-gate.md +1 -1
  46. package/docs/platform-capabilities.md +9 -4
  47. package/docs/platform-compatibility.json +3 -3
  48. package/docs/system-one-cycle.md +5 -5
  49. package/docs/system-one-routing.md +10 -7
  50. package/docs/system-one-training.md +4 -5
  51. package/harness-everything/SKILL.md +1 -1
  52. package/harness-everything/scripts/system-one/router.js +0 -1
  53. package/hooks/scripts/action-gate.js +82 -2
  54. package/opencode-plugin/index.mjs +97 -35
  55. package/opencode-plugin/plugin.json +1 -1
  56. package/package.json +15 -2
  57. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  58. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  59. package/plugins/harness-everything/hooks/scripts/action-gate.js +82 -2
  60. package/plugins/harness-everything/plugin.json +1 -1
  61. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  62. package/plugins/harness-everything/skills/harness-everything/scripts/system-one/router.js +0 -1
  63. package/sbom.cdx.json +7 -7
  64. package/scripts/dispatch.js +3 -2
  65. package/scripts/system-one-curves.js +4 -32
@@ -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.5.4",
13
+ "version": "1.6.1",
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.5.4",
4
+ "version": "1.6.1",
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
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ open-pull-requests-limit: 5
8
+
9
+ - package-ecosystem: github-actions
10
+ directory: /
11
+ schedule:
12
+ interval: weekly
13
+ open-pull-requests-limit: 5
@@ -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
@@ -91,7 +91,7 @@ jobs:
91
91
 
92
92
  - name: Upload release SBOM artifact
93
93
  if: ${{ hashFiles('sbom.cdx.json') != '' }}
94
- uses: actions/upload-artifact@v4
94
+ uses: actions/upload-artifact@v7
95
95
  with:
96
96
  name: release-sbom
97
97
  path: sbom.cdx.json
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [1.6.1](https://github.com/dyphn1/Harness-everything/compare/v1.6.0...v1.6.1) (2026-12-04)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **behavioral-evals:** run opencode v2 arms standalone without --dir ([8a2e081](https://github.com/dyphn1/Harness-everything/commit/8a2e081b802041011b8920c8851aa65e79c8fdd0)), closes [#597](https://github.com/dyphn1/Harness-everything/issues/597)
10
+ * **dispatch:** restore the human diagnostic length cap ([70d1f58](https://github.com/dyphn1/Harness-everything/commit/70d1f58b384891e399cf282d9fd0aa9da6882a79)), closes [#466](https://github.com/dyphn1/Harness-everything/issues/466)
11
+ * **system-one:** expose reference-only options only through diagnostics ([eca770f](https://github.com/dyphn1/Harness-everything/commit/eca770f0579a2e73d12ec4ea7cc29122e00b6657)), closes [#443](https://github.com/dyphn1/Harness-everything/issues/443) [#443](https://github.com/dyphn1/Harness-everything/issues/443)
12
+ * **system-one:** report the active trend as unknown without active identity ([62fce2c](https://github.com/dyphn1/Harness-everything/commit/62fce2cc4df85d7478603d47eac04db4b0bca08d)), closes [#443](https://github.com/dyphn1/Harness-everything/issues/443) [#443](https://github.com/dyphn1/Harness-everything/issues/443)
13
+
14
+ ## [1.6.0](https://github.com/dyphn1/Harness-everything/compare/v1.5.4...v1.6.0) (2026-12-04)
15
+
16
+ ### Features
17
+
18
+ * **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)
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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)
23
+ * **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)
24
+ * **opencode:** bind observations to delivered prompts ([fac4faa](https://github.com/dyphn1/Harness-everything/commit/fac4faa14dfda00dc731da06edf68ff2e5c02421))
25
+ * **opencode:** require durable ordering for turn observations ([62c354a](https://github.com/dyphn1/Harness-everything/commit/62c354a056f01e02f0647678d2c69d7cfb404518))
26
+
5
27
  ## [1.5.4](https://github.com/dyphn1/Harness-everything/compare/v1.5.3...v1.5.4) (2026-12-02)
6
28
 
7
29
  ### Bug Fixes
@@ -365,6 +387,11 @@ Claude-Session: https://claude.ai/code/session_01RPz4xUrN12wGoL19istZUE
365
387
 
366
388
  ## [Unreleased]
367
389
 
390
+ ### CLI & Public Readiness (#591)
391
+
392
+ * **cli:** add `--version`, `-v`, and `version` command output from `package.json` and align `--help` usage with registry-first `npx harness-everything` / `harness` commands.
393
+ * **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.
394
+
368
395
  ### System One external layer (ECHL arm H)
369
396
 
370
397
  * **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 is distributed as an open-source, skill-only plugin for coding agents.
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 plugin
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 intentionally collect or transmit workspace content, prompts, source code, credentials, or usage telemetry to the Harness Everything maintainers.
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
- ChatGPT, Codex, 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.
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 state
17
+ ## Local data mechanisms
18
18
 
19
- 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.
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
- ## Local routing observations
31
+ ### 2. Local System One Observations (routing/learning records)
22
32
 
23
- To improve Harness routing, the hooks keep a local record of each turn by default: the prompt, the previous assistant message (up to 2 KB), the routing suggestion, counts of what the agent did (files written, command categories, skills used; never command text or file contents), and the agent's own label line. Email addresses and home-directory paths are redacted before storage.
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
- - Location: `~/.agents/harness-everything/system-one/observations/` (or `HARNESS_OBSERVATIONS_DIR`), outside every workspace.
26
- - Retention: prompt text is deleted 180 days after it was recorded; labels and counts are kept.
27
- - Nothing is uploaded. The records leave the machine only if you copy them yourself.
28
- - Turn it off with `HARNESS_OBSERVATIONS=off` in the environment the host passes to hooks.
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