harness-everything 1.1.1 → 1.2.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 (27) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +18 -0
  4. package/benchmarks/results/live-host/multi-host-2026-11-25-496-capture/README.md +32 -0
  5. package/benchmarks/results/live-host/multi-host-2026-11-25-496-capture/claude-records.json +1 -0
  6. package/benchmarks/results/live-host/multi-host-2026-11-25-496-capture/codex-hook-trace.txt +24 -0
  7. package/benchmarks/results/live-host/multi-host-2026-11-25-496-capture/opencode-records.json +1 -0
  8. package/benchmarks/results/live-host/multi-host-2026-11-25-496-capture/probe.sh +16 -0
  9. package/ci/mechanism-496-local-error-store.test.js +188 -5
  10. package/ci/mechanism-498-local-store-promote.test.js +402 -0
  11. package/ci/mechanism-498-local-store-scan.test.js +582 -0
  12. package/error-ledger-bootstrap/SKILL.md +1 -1
  13. package/error-ledger-bootstrap/references/workflow.md +15 -1
  14. package/error-ledger-bootstrap/scripts/promote.js +145 -9
  15. package/error-ledger-bootstrap/scripts/scan.js +394 -3
  16. package/hooks/scripts/lib/local-errors.js +24 -7
  17. package/opencode-plugin/plugin.json +1 -1
  18. package/package.json +1 -1
  19. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  20. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  21. package/plugins/harness-everything/hooks/scripts/lib/local-errors.js +24 -7
  22. package/plugins/harness-everything/plugin.json +1 -1
  23. package/plugins/harness-everything/skills/error-ledger-bootstrap/SKILL.md +1 -1
  24. package/plugins/harness-everything/skills/error-ledger-bootstrap/references/workflow.md +15 -1
  25. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/promote.js +145 -9
  26. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/scan.js +394 -3
  27. package/sbom.cdx.json +7 -7
@@ -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.1.1",
13
+ "version": "1.2.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.1.1",
4
+ "version": "1.2.1",
5
5
  "author": {
6
6
  "name": "Miya Daniel"
7
7
  },
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [1.2.1](https://github.com/dyphn1/Harness-everything/compare/v1.2.0...v1.2.1) (2026-11-26)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **errors:** drop the claude exit-code wrapper from generic signatures ([#527](https://github.com/dyphn1/Harness-everything/issues/527)) ([c221b73](https://github.com/dyphn1/Harness-everything/commit/c221b73ac0fb819b4da9a5120ecf16db00ddeae0)), closes [#526](https://github.com/dyphn1/Harness-everything/issues/526)
10
+ * **errors:** reject cross-kind provisional ids and unscoped store reads ([#527](https://github.com/dyphn1/Harness-everything/issues/527)) ([e33ce07](https://github.com/dyphn1/Harness-everything/commit/e33ce07e817a6598bb93af371316656af7ce5f7f)), closes [#498](https://github.com/dyphn1/Harness-everything/issues/498)
11
+
12
+ ## [1.2.0](https://github.com/dyphn1/Harness-everything/compare/v1.1.1...v1.2.0) (2026-11-25)
13
+
14
+ ### Features
15
+
16
+ * **error-ledger-bootstrap:** bind local-store leads at promotion ([#498](https://github.com/dyphn1/Harness-everything/issues/498)) ([19f3b57](https://github.com/dyphn1/Harness-everything/commit/19f3b574613725819698558dc363ade2b890a036))
17
+ * **error-ledger-bootstrap:** opt-in local-store scan source ([#498](https://github.com/dyphn1/Harness-everything/issues/498)) ([6ef61ae](https://github.com/dyphn1/Harness-everything/commit/6ef61ae3f4209f380d41529ef7d078931bbe05fd)), closes [#496](https://github.com/dyphn1/Harness-everything/issues/496)
18
+
19
+ ### Bug Fixes
20
+
21
+ * **error-ledger-bootstrap:** exclude provisional id collisions, check reader contract ([#498](https://github.com/dyphn1/Harness-everything/issues/498)) ([17a28db](https://github.com/dyphn1/Harness-everything/commit/17a28dba01bf91424a243ac9cea60bf0b751d9e3))
22
+
5
23
  ## [1.1.1](https://github.com/dyphn1/Harness-everything/compare/v1.1.0...v1.1.1) (2026-11-25)
6
24
 
7
25
  ### Bug Fixes
@@ -0,0 +1,32 @@
1
+ # #496 L0 capture on live hosts (macOS, 2026-11-25)
2
+
3
+ **Observed:** macOS (Darwin 25.6.0), release `v1.1.0` (includes #522 `819175cb`). Claude Code 2.1.332 (installed plugin 1.1.0, model haiku), Codex CLI 0.172.0 (compat-hooks runtime `1.1.0-8d1bc23f452c`, `gpt-6-luna` low), OpenCode 2.1.4 (`--standalone`, global plugin shim loading `opencode-plugin/index.mjs` from main `d2c63df5`, model `opencode/hy4-flash-free`).
4
+
5
+ Each host ran [`probe.sh`](probe.sh): a fresh empty Git repo, its own `HARNESS_OBSERVATIONS_DIR` and `TMPDIR`, one prompt asking the model to run `ls ./missing-496-probe-dir .` (exit 1) and report the exit code. Afterwards `scripts/errors-local.js list --json` ran in the same workspace with the same store. Home and scratch paths are replaced in the retained files.
6
+
7
+ ```mermaid
8
+ flowchart LR
9
+ P["probe prompt<br/>ls missing dir (exit 1)"] --> C["Claude Code<br/>PostToolUseFailure"]
10
+ P --> X["Codex<br/>PostToolUse"]
11
+ P --> O["OpenCode V2<br/>tool hook"]
12
+ C --> S1["occurrence recorded"]
13
+ O --> S2["occurrence recorded"]
14
+ X --> U["outcome unknown<br/>(text-only tool_response) → no record"]
15
+ ```
16
+
17
+ | Host | Hook delivered | Record | Notes |
18
+ |---|---|---|---|
19
+ | Claude Code | `PostToolUseFailure` | [`claude-records.json`](claude-records.json): 1 `occurrence`, `host: claude`, `commandClass: shell`, `exitCode: null`, `destination: unknown` | The host payload carries no structured exit code; the excerpt starts with the host's `Exit code 1` line. |
20
+ | OpenCode V2 | tool hook in `--standalone` run | [`opencode-records.json`](opencode-records.json): 1 `occurrence`, `host: opencode`, `exitCode: 1`, `destination: unknown` | |
21
+ | Codex | `PostToolUse` fired 5× ([`codex-hook-trace.txt`](codex-hook-trace.txt)) | none (`list` → `[]`) | By design: `readCodexToolOutcome` returns `unknown` without a structured exit status, and capture runs only on `failure`. This is the #488 host gap, not a capture defect. |
22
+
23
+ ## What this establishes
24
+
25
+ - Live capture works end to end on Claude Code and OpenCode V2 for a shell failure: host hook → redacted store record → `errors-local list` in the same workspace.
26
+ - Records are workspace-scoped (`workspaceKey`), carry a `p-` provisional id outside the `E-` namespace, and default to `destination: unknown`.
27
+
28
+ ## What this does not establish
29
+
30
+ - **Codex capture:** not observed; blocked on a structured exit status from the host (#488). No text parsing was added.
31
+ - **Cross-host signatures:** the same failure produced different signatures (`v1-shell-generic-6732037fac2f` on Claude vs `v1-shell-generic-b6246d9928fe` on OpenCode) because the Claude excerpt includes the host's `Exit code 1` prefix. L1 clustering across hosts would split this class (finding, follow-up).
32
+ - Matcher delivery of provisional lessons, review/CI sources, other OSes (Windows is #516), other host versions, and any behaviour change.
@@ -0,0 +1 @@
1
+ [{"schemaVersion":1,"kind":"occurrence","provisionalId":"p-81ef79757bc2bcc0fc75","workspaceKey":"ws-e123bcbdaa0c","destination":"unknown","createdAt":"2026-11-25T12:20:57.120Z","signature":"v1-shell-generic-6732037fac2f","source":"tool-failure","host":"claude","sessionKey":"125cd801deeff1df69ee138b","toolUseId":"4b451c21415e5431259c483d","commandClass":"shell","exitCode":null,"outputExcerpt":"Exit code 1\nls: ./missing-496-probe-dir: No such file or directory","matchedLedgerIds":[]}]
@@ -0,0 +1,24 @@
1
+ hook: PreToolUse
2
+ hook: PreToolUse
3
+ hook: PreToolUse
4
+ hook: PreToolUse
5
+ hook: PreToolUse Completed
6
+ hook: PreToolUse Completed
7
+ hook: PreToolUse Completed
8
+ hook: PreToolUse Completed
9
+ exec
10
+ /bin/zsh -lc 'ls ./missing-496-probe-dir .' in <scratch>/496live/codex/ws
11
+ exited 1 in 0ms:
12
+ ls: ./missing-496-probe-dir: No such file or directory
13
+ .:
14
+
15
+ hook: PostToolUse
16
+ hook: PostToolUse
17
+ hook: PostToolUse
18
+ hook: PostToolUse
19
+ hook: PostToolUse
20
+ hook: PostToolUse Completed
21
+ hook: PostToolUse Completed
22
+ hook: PostToolUse Completed
23
+ hook: PostToolUse Completed
24
+ hook: PostToolUse Completed
@@ -0,0 +1 @@
1
+ [{"schemaVersion":1,"kind":"occurrence","provisionalId":"p-fadb4641d6c4245be1f0","workspaceKey":"ws-936a53060334","destination":"unknown","createdAt":"2026-11-25T12:21:02.660Z","signature":"v1-shell-generic-b6246d9928fe","source":"tool-failure","host":"opencode","sessionKey":"81724dce7b8e2c8055515547","toolUseId":"1aebf58c5b965ab9d88aeaa8","commandClass":"shell","exitCode":1,"outputExcerpt":"ls: ./missing-496-probe-dir: No such file or directory\n","matchedLedgerIds":[]}]
@@ -0,0 +1,16 @@
1
+ #!/bin/bash
2
+ # usage: probe.sh <host> — one fresh git dir + isolated store per host
3
+ set -u
4
+ H=$1; S=$(cd "$(dirname "$0")" && pwd); D=$S/$H; rm -rf "$D"; mkdir -p "$D/ws" "$D/store" "$D/tmp"
5
+ cd "$D/ws" && git init -q && git commit -q --allow-empty -m init
6
+ export HARNESS_OBSERVATIONS_DIR="$D/store" TMPDIR="$D/tmp"
7
+ P='Run exactly this one shell command: ls ./missing-496-probe-dir . Then reply with only its exit code. Do nothing else.'
8
+ date -u +%FT%TZ > "$D/start.txt"
9
+ case $H in
10
+ claude) claude -p "$P" --model haiku --allowedTools "Bash(ls:*)" ;;
11
+ codex) codex exec -m gpt-6-luna -c model_reasoning_effort='"low"' -s workspace-write "$P" ;;
12
+ opencode) opencode run --standalone -m opencode/hy4-flash-free "$P" ;;
13
+ esac < /dev/null > "$D/host.log" 2>&1
14
+ echo "host exit $?" >> "$D/host.log"
15
+ node <home>/Desktop/Skills/Harness-everything/scripts/errors-local.js list --json > "$D/list.json" 2> "$D/list.err"
16
+ echo "list exit $?" >> "$D/host.log"
@@ -214,10 +214,98 @@ test('per-workspace and total retention/size bounds are enforced', () => {
214
214
  }, { env: s.env, limits });
215
215
  assert.strictEqual(r.status, 'appended');
216
216
  }
217
- const all = localErrors.listRecords({ env: s.env });
217
+ const all = [
218
+ ...localErrors.listRecords({ env: s.env, workspaceRoot: s.repoA }),
219
+ ...localErrors.listRecords({ env: s.env, workspaceRoot: s.repoB }),
220
+ ];
218
221
  assert.strictEqual(all.length, 3, 'total cap keeps at most 3 records across workspaces');
219
222
  });
220
223
 
224
+ test('same-workspace cross-kind IDs reject the lesson and preserve retries', () => {
225
+ const s = makeSandbox();
226
+ const occurrenceInput = {
227
+ workspaceRoot: s.repoA,
228
+ host: 'claude',
229
+ sessionKey: 'cross-kind-session',
230
+ toolUseId: 'cross-kind-tool-use',
231
+ command: 'npm test',
232
+ exitCode: 1,
233
+ output: 'npm ERR! code 1',
234
+ };
235
+ const occurrence = localErrors.appendOccurrence(occurrenceInput, { env: s.env });
236
+ assert.strictEqual(occurrence.status, 'appended');
237
+
238
+ const indexPath = path.join(s.store, localErrors.INDEX_FILE);
239
+ const before = fs.readFileSync(indexPath);
240
+ assert.throws(() => localErrors.addProvisionalLesson({
241
+ workspaceRoot: s.repoA,
242
+ provisionalId: occurrence.record.provisionalId,
243
+ signature: 'v1-git-cross-kind-lesson',
244
+ match: { actions: [{ tool: 'shell', executable: 'git', subcommand: 'commit' }] },
245
+ lesson: 'Keep failure IDs unique within their workspace.',
246
+ }, { env: s.env }), /invalid provisionalId: already in use in this workspace/);
247
+ assert.deepStrictEqual(fs.readFileSync(indexPath), before,
248
+ 'rejecting a lesson collision leaves the store bytes unchanged');
249
+
250
+ const occurrenceRetry = localErrors.appendOccurrence(occurrenceInput, { env: s.env });
251
+ assert.strictEqual(occurrenceRetry.status, 'duplicate', 'same-kind occurrence retries still dedupe');
252
+ const lessonInput = {
253
+ workspaceRoot: s.repoA,
254
+ provisionalId: 'same-kind-lesson',
255
+ signature: 'v1-git-same-kind-lesson',
256
+ match: { actions: [{ tool: 'shell', executable: 'git', subcommand: 'commit' }] },
257
+ lesson: 'A same-kind lesson retry stays idempotent.',
258
+ };
259
+ assert.strictEqual(localErrors.addProvisionalLesson(lessonInput, { env: s.env }).status, 'appended');
260
+ assert.strictEqual(localErrors.addProvisionalLesson(lessonInput, { env: s.env }).status, 'duplicate',
261
+ 'same-kind lesson retries still dedupe');
262
+
263
+ const sameIdOtherWorkspace = localErrors.addProvisionalLesson({
264
+ ...lessonInput,
265
+ workspaceRoot: s.repoB,
266
+ provisionalId: occurrence.record.provisionalId,
267
+ }, { env: s.env });
268
+ assert.strictEqual(sameIdOtherWorkspace.status, 'appended',
269
+ 'the same raw ID remains available in another workspace');
270
+ });
271
+
272
+ test('same-workspace cross-kind IDs reject the occurrence using its deterministic writer ID', () => {
273
+ const s = makeSandbox();
274
+ const occurrenceInput = {
275
+ workspaceRoot: s.repoA,
276
+ host: 'claude',
277
+ sessionKey: 'reverse-cross-kind-session',
278
+ toolUseId: 'reverse-cross-kind-tool-use',
279
+ command: 'npm test',
280
+ exitCode: 1,
281
+ output: 'npm ERR! code 1',
282
+ };
283
+ const probeStore = path.join(s.dir, 'probe-store');
284
+ fs.mkdirSync(probeStore);
285
+ const deterministicOccurrence = localErrors.appendOccurrence(occurrenceInput, {
286
+ env: s.env,
287
+ root: probeStore,
288
+ });
289
+ assert.strictEqual(deterministicOccurrence.status, 'appended');
290
+
291
+ const lesson = localErrors.addProvisionalLesson({
292
+ workspaceRoot: s.repoA,
293
+ provisionalId: deterministicOccurrence.record.provisionalId,
294
+ signature: 'v1-git-reverse-cross-kind-lesson',
295
+ match: { actions: [{ tool: 'shell', executable: 'git', subcommand: 'commit' }] },
296
+ lesson: 'A lesson may not claim a future occurrence ID.',
297
+ }, { env: s.env });
298
+ assert.strictEqual(lesson.status, 'appended');
299
+
300
+ const indexPath = path.join(s.store, localErrors.INDEX_FILE);
301
+ const before = fs.readFileSync(indexPath);
302
+ const rejected = localErrors.appendOccurrence(occurrenceInput, { env: s.env });
303
+ assert.strictEqual(rejected.status, 'invalid');
304
+ assert.strictEqual(rejected.error, 'provisional-id-in-use');
305
+ assert.deepStrictEqual(fs.readFileSync(indexPath), before,
306
+ 'rejecting an occurrence collision leaves the store bytes unchanged');
307
+ });
308
+
221
309
  test('lock contention returns fail-open without throwing and leaves index untouched', () => {
222
310
  const s = makeSandbox();
223
311
  const lockFile = path.join(s.store, '.index.lock');
@@ -443,6 +531,82 @@ test('real failure signature fixtures are stable across volatile details and div
443
531
  assert.notStrictEqual(multiA, npm1, 'multi-family output must not collapse to first single-family match');
444
532
  });
445
533
 
534
+ test('Claude exit-code wrapper preserves the shared v1 signature and stored excerpts', () => {
535
+ const s = makeSandbox();
536
+ const captureDir = path.join(ROOT, 'benchmarks/results/live-host/multi-host-2026-11-25-496-capture');
537
+ const claudeCapture = JSON.parse(fs.readFileSync(path.join(captureDir, 'claude-records.json'), 'utf8'))[0];
538
+ const opencodeCapture = JSON.parse(fs.readFileSync(path.join(captureDir, 'opencode-records.json'), 'utf8'))[0];
539
+ const expected = 'v1-shell-generic-b6246d9928fe';
540
+
541
+ const appendCapture = (capture, id) => localErrors.appendOccurrence({
542
+ workspaceRoot: s.repoA,
543
+ host: capture.host,
544
+ sessionKey: `session-${id}`,
545
+ toolUseId: `tool-${id}`,
546
+ commandClass: capture.commandClass,
547
+ exitCode: capture.exitCode,
548
+ output: capture.outputExcerpt,
549
+ }, { env: s.env });
550
+
551
+ const claude = appendCapture(claudeCapture, 'claude');
552
+ const opencode = appendCapture(opencodeCapture, 'opencode');
553
+ assert.strictEqual(claude.status, 'appended');
554
+ assert.strictEqual(opencode.status, 'appended');
555
+ assert.strictEqual(claude.record.signature, expected, 'Claude and OpenCode share the existing OpenCode v1 key');
556
+ assert.strictEqual(opencode.record.signature, expected);
557
+ assert.strictEqual(claude.record.outputExcerpt, claudeCapture.outputExcerpt, 'Claude excerpt keeps its wrapper line');
558
+ assert.strictEqual(claude.record.exitCode, null, 'text does not supply a structured exit code');
559
+ assert.strictEqual(opencode.record.outputExcerpt, opencodeCapture.outputExcerpt);
560
+
561
+ const signature = (output, host = 'claude') => localErrors.normalizeSignature(
562
+ { commandClass: 'shell', output },
563
+ { host }
564
+ );
565
+ const failure = opencodeCapture.outputExcerpt;
566
+ assert.strictEqual(signature(`Exit code 1\r\n${failure}`), expected, 'CRLF wrapper is removed for Claude');
567
+ assert.notStrictEqual(
568
+ signature(`Exit code 1\nExit code 2\n${failure}`),
569
+ signature(`Exit code 2\n${failure}`),
570
+ 'only one leading wrapper line is removed'
571
+ );
572
+ assert.notStrictEqual(
573
+ signature(`${failure}Exit code 2\npermission denied`),
574
+ signature(`${failure}permission denied`),
575
+ 'an interior header-like line remains part of the fallback signature'
576
+ );
577
+
578
+ const wrapped = `Exit code 1\n${failure}`;
579
+ assert.strictEqual(
580
+ signature(wrapped, 'opencode'),
581
+ localErrors.normalizeSignature({ commandClass: 'shell', output: wrapped }),
582
+ 'non-Claude behavior is unchanged'
583
+ );
584
+ assert.notStrictEqual(signature('command not found: jq'), expected, 'unrelated generic failures stay distinct');
585
+ assert.strictEqual(
586
+ localErrors.normalizeSignature({
587
+ command: 'git commit',
588
+ output: 'Exit code 1\r\n✖ subject must be lower-case [subject-case]',
589
+ }, { host: 'claude' }),
590
+ 'v1-git-commitlint-subject-case',
591
+ 'named diagnostics are classified before fallback normalization'
592
+ );
593
+
594
+ const legacyInput = {
595
+ workspaceRoot: s.repoA,
596
+ host: 'claude',
597
+ sessionKey: 'legacy-session',
598
+ toolUseId: 'legacy-tool',
599
+ commandClass: 'shell',
600
+ exitCode: null,
601
+ output: claudeCapture.outputExcerpt,
602
+ };
603
+ const legacy = localErrors.appendOccurrence({ ...legacyInput, signature: claudeCapture.signature }, { env: s.env });
604
+ const replay = localErrors.appendOccurrence(legacyInput, { env: s.env });
605
+ assert.strictEqual(legacy.status, 'appended');
606
+ assert.strictEqual(replay.status, 'duplicate');
607
+ assert.strictEqual(replay.record.signature, claudeCapture.signature, 'replay retains the previously stored signature');
608
+ });
609
+
446
610
  test('D1b row 1: issueUrl with userinfo is rejected and leaves index bytes unchanged', () => {
447
611
  const s = makeSandbox();
448
612
  const validMatch = {
@@ -671,16 +835,35 @@ test('D1b row 6: workspace-scoped reads and matcher-supplied bounded reader look
671
835
 
672
836
  const keyA = addedA.record.workspaceKey;
673
837
  const keyB = addedB.record.workspaceKey;
838
+ const signatures = (records) => records.map(record => record.signature).sort();
839
+
840
+ // Missing or unrecognized selectors never enumerate the shared store.
841
+ assert.deepStrictEqual(localErrors.listRecords({ env: s.env }), []);
842
+ assert.deepStrictEqual(localErrors.listRecords({ env: s.env, workspacePath: s.repoA }), []);
843
+ assert.deepStrictEqual(localErrors.listRecords({ env: s.env, root: s.store }), []);
844
+ assert.deepStrictEqual(localErrors.listRecords({
845
+ env: { ...s.env, HARNESS_WORKSPACE_ROOT: s.repoA },
846
+ }), [], 'environment-only workspace identity is not a read scope');
674
847
 
675
848
  // Normal workspace-scoped read works.
676
849
  const byRoot = localErrors.listRecords({ env: s.env, workspaceRoot: s.repoA });
677
- assert.strictEqual(byRoot.length, 1);
678
- assert.strictEqual(byRoot[0].signature, 'v1-git-read-a');
850
+ assert.deepStrictEqual(signatures(byRoot), ['v1-git-read-a']);
679
851
 
680
852
  // Matcher-supplied key works for bounded read lookup.
681
853
  const byKey = localErrors.listRecords({ env: s.env, workspaceKey: keyA });
682
- assert.strictEqual(byKey.length, 1);
683
- assert.strictEqual(byKey[0].signature, 'v1-git-read-a');
854
+ assert.deepStrictEqual(signatures(byKey), ['v1-git-read-a']);
855
+
856
+ // Matching explicit root plus key works; the top-level root remains the store location.
857
+ assert.deepStrictEqual(signatures(localErrors.listRecords({
858
+ env: s.env,
859
+ workspaceRoot: s.repoA,
860
+ workspaceKey: keyA,
861
+ })), ['v1-git-read-a']);
862
+ assert.deepStrictEqual(signatures(localErrors.listRecords({
863
+ env: s.env,
864
+ root: s.store,
865
+ workspaceKey: keyA,
866
+ })), ['v1-git-read-a']);
684
867
 
685
868
  // Disagreeing root + key on read returns empty.
686
869
  assert.deepStrictEqual(localErrors.listRecords({ env: s.env, workspaceRoot: s.repoA, workspaceKey: keyB }), []);