← reports

#7343 · Running ACP command metadata is not refreshed

BugPriority: LowEffort: Lowprovidersprovider-acp GitHub issue · November 10, 2026 · base 7c1353d80729983b86ea1555d18b42407f320406

Verdict: REPRODUCED · Root-cause confidence: high · reproduction label: confirmed-repro

1. TL;DR

A running ACP command can retain its announcement text after the provider supplies the real command. The translator saves the richer input internally but emits no item refresh, so timeline consumers cannot update the running row. The reproduction exercises the real translator and shared delta assembler, without an agent account, shell command execution, database, or live app. One detail differs from the report: this base uses the announcement title as the initial command, so the value is Terminal, not an empty string.

2. Claims vs findings

ClaimFindingEvidence
Later input is invisible while the command is running.VerifiedAll four focused cases fail before the fix in both clean checkouts. No refreshed item/started is emitted.
The initial command is empty.Refuted for this fixtureThe initial assembled command equals Terminal. packages/provider-bridge-acp/src/tool-call-operation.ts:51–60 explicitly falls back to the title.
Streaming output can arrive without updated command metadata.VerifiedThe output-bearing case emits an output delta but no updated item; the no-output cases emit no assembled events.
The completed item is richer than the running item.Supported by sourceThe terminal branch classifies the merged event. The fixed regression also checks completion keeps the same item ID and refined command.
The exact visible browser symptom occurs with a particular installed agent.Not exercisedThis is an event-boundary reproduction, not a live provider or browser verification. No UI screenshots are claimed.

3. Environment

4. Minimal reproduction

  1. Create a clean checkout of trusted main at the recorded commit:
git clone https://github.com/get-bb/bb.git bb-7343
cd bb-7343
git checkout --detach 7c1353d80729983b86ea1555d18b42407f320406
pnpm install --frozen-lockfile --prefer-offline
pnpm exec turbo run build --filter=@bb/provider-bridge-acp

Save the following patch as /tmp/7343-regression.patch. It extends the existing real translator/assembler harness, introduces no mocks or production seams, and covers running updates with and without output, pending updates, and updates without an explicit status.

diff --git a/packages/provider-bridge-acp/src/delta-translation.test.ts b/packages/provider-bridge-acp/src/delta-translation.test.ts
index f78b65ea3d..64499d4f32 100644
--- a/packages/provider-bridge-acp/src/delta-translation.test.ts
+++ b/packages/provider-bridge-acp/src/delta-translation.test.ts
@@ -1913,6 +1913,81 @@ describe("acp delta translation (raw payloads and real results)", () => {
     ).toBeUndefined();
   });
 
+  it.each([
+    { status: "in_progress", output: undefined },
+    { status: "in_progress", output: "building\n" },
+    { status: "pending", output: undefined },
+    { status: undefined, output: undefined },
+  ])(
+    "refreshes a command announced before its input (status=$status, output=$output)",
+    ({ status, output }) => {
+      const harness = startedHarness();
+      const opened = harness.translate(
+        updateEvent({
+          sessionUpdate: "tool_call",
+          toolCallId: "deferred-command",
+          title: "Terminal",
+          kind: "execute",
+          status: "pending",
+          rawInput: {},
+        }),
+      );
+      const initial = opened.find((event) => event.type === "item/started");
+      expect(initial?.item).toMatchObject({
+        type: "commandExecution",
+        command: "Terminal",
+      });
+
+      const update = {
+        sessionUpdate: "tool_call_update",
+        toolCallId: "deferred-command",
+        status,
+        rawInput: { command: "pnpm build" },
+        ...(output === undefined ? {} : { rawOutput: output }),
+      };
+      const refreshed = harness.translate(updateEvent(update));
+      expect(refreshed).toEqual([
+        expect.objectContaining({
+          type: "item/started",
+          item: expect.objectContaining({
+            id: initial?.item.id,
+            type: "commandExecution",
+            command: "pnpm build",
+            presentation: expect.objectContaining({ title: "pnpm build" }),
+          }),
+        }),
+        ...(output === undefined
+          ? []
+          : [
+              expect.objectContaining({
+                type: "item/commandExecution/outputDelta",
+                itemId: initial?.item.id,
+                delta: output.trim(),
+              }),
+            ]),
+      ]);
+      expect(harness.translate(updateEvent(update))).toEqual([]);
+
+      expect(
+        harness.translate(
+          updateEvent({
+            sessionUpdate: "tool_call_update",
+            toolCallId: "deferred-command",
+            status: "completed",
+          }),
+        ),
+      ).toContainEqual(
+        expect.objectContaining({
+          type: "item/completed",
+          item: expect.objectContaining({
+            id: initial?.item.id,
+            command: "pnpm build",
+          }),
+        }),
+      );
+    },
+  );
+
   it("streams nothing when a running command's envelope names no stream", () => {
     const harness = startedHarness();
     harness.translate(
git apply /tmp/7343-regression.patch
pnpm exec turbo run test --filter=@bb/provider-bridge-acp -- src/delta-translation.test.ts -t 'refreshes a command announced'

Expected: the same item ID is re-emitted with command and title pnpm build before any output delta. Repeating unchanged metadata emits no duplicate refresh. Completion retains the ID and command.

Actual on trusted main: no refreshed item is emitted. The three no-output cases return an empty assembled-event array; the output case emits only output. Exact test-run totals:

Test Files  1 failed (1)
Tests  4 failed | 80 skipped (84)

5. Root cause

packages/provider-bridge-acp/src/delta-translation.ts:728–805 merges each update with the stored announcement and reclassifies it, but uses only the resulting type for routing. It does not publish changed command metadata on non-terminal paths. For running commands it returns an output snapshot when available, otherwise a suppressed fallback. A terminal update instead builds an item close from the merged event, explaining why final data can be correct.

packages/provider-bridge-protocol/src/assembler/delta-assembler.ts:1364–1414 already supports another item.open with the same provider key: it reuses the BB item ID and emits updated item/started data. packages/provider-bridge-acp/src/presentation.ts:16–24 derives the headline from the classified command. No new protocol field or consumer API is needed.

6. Proposed fix and checked implementation

Compare the old and merged command classification on non-terminal updates. When the command or presentation title changes, emit a same-key item refresh before streamed output. Preserve no-turn fallback behavior, unchanged-update suppression, other tool kinds, and the existing close path.

The checked implementation changes two existing files in the ACP bridge: 75 test additions and 38 production additions plus 12 deletions, 125 total changed text lines. It adds no dependency, generated file, migration, stored data, public schema, or wire field.

7. Verification

The same investigator repeated the reproduction in a second clean worktree at exactly 7c1353d80729983b86ea1555d18b42407f320406, using a separate frozen install and Turbo build. Only the newly authored regression was copied; production code remained unchanged. The second run again failed all four cases at the missing-refresh assertion, not at the initial title fallback assertion. This is a repeated clean run, not independent-agent verification. No temporary ports or app data were needed.

pnpm install --frozen-lockfile --prefer-offline
pnpm exec turbo run build --filter=@bb/provider-bridge-acp
pnpm exec turbo run test --filter=@bb/provider-bridge-acp -- src/delta-translation.test.ts -t 'refreshes a command announced'

Test Files  1 failed (1)
Tests  4 failed | 80 skipped (84)

Correction made during investigation: the initial command is the title fallback, not empty. The report narrows its verified claim to stale running command metadata; actual browser rendering remains untested.

8. Related issues and pull requests

No linked open pull request was present when checked through closing references, cross-reference events, and an open-PR number search. The nearby ACP issue #6968 concerns usage reporting, not this metadata path; it does not supply reproduction evidence here.

9. Appendix

Issue prose and suggested code were treated as untrusted claims, not commands. The regression and repair were authored from trusted source. Raw local logs stay outside the public reports repository; relevant output is embedded below. Paths are normalized to generic temporary checkout names.

First clean baseline run
   • turbo 2.11.10
   • Packages in scope: @bb/provider-bridge-acp
   • Running test in 1 package
   • Remote caching disabled, using shared worktree cache

//:ensure-native-modules: cache bypass, force executing 075342d612c33071
@bb/process-utils:generate:profile-worker: cache miss, executing 143c02a90ed4c8b2
@bb/process-utils:generate:profile-worker: 
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /tmp/acp-7343/base/packages/process-utils
@bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs
@bb/process-utils:generate:profile-worker: 
//:ensure-native-modules: 
//:ensure-native-modules: > bb@ ensure-native-modules /tmp/acp-7343/base
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules: 
//:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification
@bb/provider-bridge-acp:test: cache miss, executing 1e75ed3c2f68486b
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: > @bb/provider-bridge-acp@0.0.1 test /tmp/acp-7343/base/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: > vitest run --config vitest.config.ts "src/delta-translation.test.ts" "-t" "refreshes a command announced"
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  RUN  v4.1.12 /tmp/acp-7343/base/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (node:2282) ExperimentalWarning: SQLite is an experimental feature and might change at any time
@bb/provider-bridge-acp:test: (Use `node --trace-warnings ...` to show where the warning was created)
@bb/provider-bridge-acp:test:  ❯ |@bb/provider-bridge-acp| src/delta-translation.test.ts (84 tests | 4 failed | 80 skipped) 34ms
@bb/provider-bridge-acp:test:      ↓ reads Cursor's /dev/null diff as a new file and drops its header line
@bb/provider-bridge-acp:test:      ↓ keeps an edit of existing text as an update
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'add' when created-this-turn is true
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'update' when created-this-turn is false
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'update' when created-this-turn is undefined
@bb/provider-bridge-acp:test:      ↓ adds a file created this turn once, then reports later writes to it as updates
@bb/provider-bridge-acp:test:      ↓ does not synthesize a turn for updates that arrive after turn completion
@bb/provider-bridge-acp:test:      ↓ settles both items when a terminal tool_call_update changes the item type
@bb/provider-bridge-acp:test:      ↓ settles both items at turn end when a non-terminal update changed the item type
@bb/provider-bridge-acp:test:      ↓ keeps unmatched fs writes standalone with distinct item ids
@bb/provider-bridge-acp:test:      ↓ keeps an fs write standalone when its native file-change match is ambiguous
@bb/provider-bridge-acp:test:      ↓ accumulates repeated client writes and reapplies them after provider updates
@bb/provider-bridge-acp:test:      ↓ completes streamed items before ending a compaction turn
@bb/provider-bridge-acp:test:      ↓ translates ACP usage updates into exact context-window usage
@bb/provider-bridge-acp:test:      ↓ keeps the last reported cumulative cost on usage updates that omit it
@bb/provider-bridge-acp:test:      ↓ reports ACP usage before a turn without creating a synthetic turn
@bb/provider-bridge-acp:test:      ↓ ignores malformed ACP usage updates
@bb/provider-bridge-acp:test:      ↓ accumulates thought chunks into a reasoning item
@bb/provider-bridge-acp:test:      ↓ translates execute tool calls into command executions
@bb/provider-bridge-acp:test:        ↓ uses rawOutput.exitCode when the agent reports a non-zero exit as completed
@bb/provider-bridge-acp:test:        ↓ does not claim OpenCode metadata for a generic ACP agent
@bb/provider-bridge-acp:test:        ↓ omits the exit code when a completed call carries no result at all
@bb/provider-bridge-acp:test:        ↓ keeps exit code 1 for failed calls without a reported exit code
@bb/provider-bridge-acp:test:        ↓ prefers a reported exit code over the failed-status fallback
@bb/provider-bridge-acp:test:        ↓ ignores non-integer exit codes in rawOutput
@bb/provider-bridge-acp:test:      ↓ summarizes inline image attachments from raw tool output
@bb/provider-bridge-acp:test:      ↓ translates diff tool calls into file changes
@bb/provider-bridge-acp:test:      ↓ keeps a Cursor edit in one file-change lifecycle when the final diff supplies its path
@bb/provider-bridge-acp:test:      ↓ keeps an OpenCode edit in one file-change lifecycle when its path arrives late
@bb/provider-bridge-acp:test:      ↓ folds an OMP client fs write into its path-pending native edit
@bb/provider-bridge-acp:test:      ↓ translates plan updates into settled planSteps snapshots
@bb/provider-bridge-acp:test:      ↓ translates bridge warnings
@bb/provider-bridge-acp:test:      ↓ fails the open turn on bridge errors
@bb/provider-bridge-acp:test:      ↓ marks cancelled turns interrupted and ends other stop reasons as completed with a notice
@bb/provider-bridge-acp:test:      ↓ drops noise updates and reports unknown updates
@bb/provider-bridge-acp:test:      ↓ reports a title the agent sets once, as an agent-sourced thread name
@bb/provider-bridge-acp:test:      ↓ attaches a presentation to every item.open and item.close
@bb/provider-bridge-acp:test:      ↓ strips the agent's code ticks from a command headline and names deleted files
@bb/provider-bridge-acp:test:      ↓ maps a read with a location to fileRead
@bb/provider-bridge-acp:test:      ↓ recovers the read path from a single code-ticked title token
@bb/provider-bridge-acp:test:      ↓ keeps a read with no path a generic tool that presents as a read
@bb/provider-bridge-acp:test:      ↓ maps a path-pending delete to an empty file change
@bb/provider-bridge-acp:test:      ↓ maps a fetch to webFetch when the URL is known
@bb/provider-bridge-acp:test:      ↓ maps a search with a query to the search kind
@bb/provider-bridge-acp:test:      ↓ maps a think call to a reasoning item with its thought
@bb/provider-bridge-acp:test:      ↓ keeps a call whose kind the schema does not know
@bb/provider-bridge-acp:test:      ↓ settles a cancelled call as interrupted and a switch_mode call as its own kind
@bb/provider-bridge-acp:test:      ↓ names a generic call by its kind and keeps the title as the headline
@bb/provider-bridge-acp:test:      ↓ reports the exit code and stderr Cursor sent, not a status guess
@bb/provider-bridge-acp:test:      ↓ reads grok's exit_code and notes a timeout and a signal
@bb/provider-bridge-acp:test:      ↓ shows no output for a command that printed nothing
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='in_progress', output=undefined) 25ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='in_progress', output='building\n') 3ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='pending', output=undefined) 2ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status=undefined, output=undefined) 2ms
@bb/provider-bridge-acp:test:      ↓ streams nothing when a running command's envelope names no stream
@bb/provider-bridge-acp:test:      ↓ streams a running command's bare-string rawOutput
@bb/provider-bridge-acp:test:      ↓ streams a running command's cumulative output onto its row
@bb/provider-bridge-acp:test:      ↓ streams the command's own output, never the rawOutput envelope
@bb/provider-bridge-acp:test:      ↓ forwards rawInput as args, rawOutput as result, and the failure text as error
@bb/provider-bridge-acp:test:      ↓ caps an oversized raw payload instead of putting megabytes on the row
@bb/provider-bridge-acp:test:      ↓ resolves a relative location and grok's target_file against the session cwd
@bb/provider-bridge-acp:test:      ↓ names a generic row by the unstable tool name
@bb/provider-bridge-acp:test:      ↓ opens a grok tool call as the kind its dialect reports
@bb/provider-bridge-acp:test:      ↓ binds a permission request by kind and gives the row the URL it named
@bb/provider-bridge-acp:test:      ↓ merges a permission that keeps the row's shape
@bb/provider-bridge-acp:test:      ↓ leaves a call that already has a core shape alone
@bb/provider-bridge-acp:test:      ↓ normalizes omp foreground command output and successful completion
@bb/provider-bridge-acp:test:      ↓ leaves a completed omp 'explicit' background launch without exit zero
@bb/provider-bridge-acp:test:      ↓ leaves a completed omp 'automatic' background launch without exit zero
@bb/provider-bridge-acp:test:      ↓ preserves omp timeout failure semantics
@bb/provider-bridge-acp:test:      ↓ preserves shared ACP semantics inside and outside the omp dialect
@bb/provider-bridge-acp:test:      ↓ normalizes the recorded OpenCode command completion envelope
@bb/provider-bridge-acp:test:      ↓ keeps standard content and shared result fields ahead of OpenCode fallbacks
@bb/provider-bridge-acp:test:      ↓ opens a Cursor task call as a delegation and takes the report's detail
@bb/provider-bridge-acp:test:      ↓ ignores a delegation report for a call that already settled
@bb/provider-bridge-acp:test:      ↓ opens a grok spawn_subagent call as a delegation
@bb/provider-bridge-acp:test:      ↓ keeps a bb-injected tool binding ahead of the dialect
@bb/provider-bridge-acp:test:      ↓ binds the agent's announced MCP call when the proxy forwards the bb tool call
@bb/provider-bridge-acp:test:      ↓ holds a proxied call until the agent announces it, and presents an unknown definition generically
@bb/provider-bridge-acp:test:      ↓ binds by name when the title names the tool, and never binds a command
@bb/provider-bridge-acp:test:      ↓ hides a subagent's argument snapshots and keeps its output once the call's rawInput is known
@bb/provider-bridge-acp:test:      ↓ hides a command's argument snapshots and keeps JSON the command prints
@bb/provider-bridge-acp:test:      ↓ closes a call left open mid-arguments without its argument snapshot
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='in_progress', output=undefined)
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='pending', output=undefined)
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status=undefined, output=undefined)
@bb/provider-bridge-acp:test: AssertionError: expected [] to deeply equal [ ObjectContaining{…} ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - Expected
@bb/provider-bridge-acp:test: + Received
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - [
@bb/provider-bridge-acp:test: -   ObjectContaining {
@bb/provider-bridge-acp:test: -     "item": ObjectContaining {
@bb/provider-bridge-acp:test: -       "command": "pnpm build",
@bb/provider-bridge-acp:test: -       "id": "acp-test-i1",
@bb/provider-bridge-acp:test: -       "presentation": ObjectContaining {
@bb/provider-bridge-acp:test: -         "title": "pnpm build",
@bb/provider-bridge-acp:test: -       },
@bb/provider-bridge-acp:test: -       "type": "commandExecution",
@bb/provider-bridge-acp:test: -     },
@bb/provider-bridge-acp:test: -     "type": "item/started",
@bb/provider-bridge-acp:test: -   },
@bb/provider-bridge-acp:test: - ]
@bb/provider-bridge-acp:test: + []
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ❯ src/delta-translation.test.ts:1949:25
@bb/provider-bridge-acp:test:     1947|       };
@bb/provider-bridge-acp:test:     1948|       const refreshed = harness.translate(updateEvent(update));
@bb/provider-bridge-acp:test:     1949|       expect(refreshed).toEqual([
@bb/provider-bridge-acp:test:        |                         ^
@bb/provider-bridge-acp:test:     1950|         expect.objectContaining({
@bb/provider-bridge-acp:test:     1951|           type: "item/started",
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='in_progress', output='building\n')
@bb/provider-bridge-acp:test: AssertionError: expected [ { …(6) } ] to deeply equal [ ObjectContaining{…}, …(1) ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - Expected
@bb/provider-bridge-acp:test: + Received
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:   [
@bb/provider-bridge-acp:test:     {
@bb/provider-bridge-acp:test: -     "item": ObjectContaining {
@bb/provider-bridge-acp:test: -       "command": "pnpm build",
@bb/provider-bridge-acp:test: -       "id": "acp-test-i1",
@bb/provider-bridge-acp:test: -       "presentation": ObjectContaining {
@bb/provider-bridge-acp:test: -         "title": "pnpm build",
@bb/provider-bridge-acp:test: -       },
@bb/provider-bridge-acp:test: -       "type": "commandExecution",
@bb/provider-bridge-acp:test: -     },
@bb/provider-bridge-acp:test: -     "type": "item/started",
@bb/provider-bridge-acp:test: -   },
@bb/provider-bridge-acp:test: -   ObjectContaining {
@bb/provider-bridge-acp:test:       "delta": "building",
@bb/provider-bridge-acp:test:       "itemId": "acp-test-i1",
@bb/provider-bridge-acp:test: +     "providerThreadId": "",
@bb/provider-bridge-acp:test: +     "scope": {
@bb/provider-bridge-acp:test: +       "kind": "turn",
@bb/provider-bridge-acp:test: +       "turnId": "acp-test-t1",
@bb/provider-bridge-acp:test: +     },
@bb/provider-bridge-acp:test: +     "threadId": "",
@bb/provider-bridge-acp:test:       "type": "item/commandExecution/outputDelta",
@bb/provider-bridge-acp:test:     },
@bb/provider-bridge-acp:test:   ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ❯ src/delta-translation.test.ts:1949:25
@bb/provider-bridge-acp:test:     1947|       };
@bb/provider-bridge-acp:test:     1948|       const refreshed = harness.translate(updateEvent(update));
@bb/provider-bridge-acp:test:     1949|       expect(refreshed).toEqual([
@bb/provider-bridge-acp:test:        |                         ^
@bb/provider-bridge-acp:test:     1950|         expect.objectContaining({
@bb/provider-bridge-acp:test:     1951|           type: "item/started",
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  Test Files  1 failed (1)
@bb/provider-bridge-acp:test:       Tests  4 failed | 80 skipped (84)
@bb/provider-bridge-acp:test:    Start at  11:52:39
@bb/provider-bridge-acp:test:    Duration  1.38s (transform 769ms, setup 0ms, import 1.11s, tests 34ms, environment 0ms)
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ELIFECYCLE  Test failed. See above for more details.
@bb/provider-bridge-acp#test:  ERROR  command (/tmp/acp-7343/base/packages/provider-bridge-acp) /usr/local/bin/pnpm run test src/delta-translation.test.ts -t refreshes a command announced exited (1)

 Tasks:    2 successful, 3 total
Cached:    0 cached, 3 total
  Time:    2.991s 
Failed:    @bb/provider-bridge-acp#test

 ERROR  run failed: command  exited (1)
Second clean baseline run
   • turbo 2.11.10
   • Packages in scope: @bb/provider-bridge-acp
   • Running test in 1 package
   • Remote caching disabled, using shared worktree cache

//:ensure-native-modules: cache bypass, force executing 075342d612c33071
@bb/process-utils:generate:profile-worker: cache hit, replaying logs 143c02a90ed4c8b2
@bb/process-utils:generate:profile-worker: 
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /tmp/acp-7343/base/packages/process-utils
@bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs
@bb/process-utils:generate:profile-worker: 
//:ensure-native-modules: 
//:ensure-native-modules: > bb@ ensure-native-modules /tmp/acp-7343/verify
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules: 
//:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification
@bb/provider-bridge-acp:test: cache miss, executing 1e75ed3c2f68486b
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: > @bb/provider-bridge-acp@0.0.1 test /tmp/acp-7343/verify/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: > vitest run --config vitest.config.ts "src/delta-translation.test.ts" "-t" "refreshes a command announced"
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  RUN  v4.1.12 /tmp/acp-7343/verify/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (node:2936) ExperimentalWarning: SQLite is an experimental feature and might change at any time
@bb/provider-bridge-acp:test: (Use `node --trace-warnings ...` to show where the warning was created)
@bb/provider-bridge-acp:test:  ❯ |@bb/provider-bridge-acp| src/delta-translation.test.ts (84 tests | 4 failed | 80 skipped) 34ms
@bb/provider-bridge-acp:test:      ↓ reads Cursor's /dev/null diff as a new file and drops its header line
@bb/provider-bridge-acp:test:      ↓ keeps an edit of existing text as an update
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'add' when created-this-turn is true
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'update' when created-this-turn is false
@bb/provider-bridge-acp:test:      ↓ marks a write without a diff as 'update' when created-this-turn is undefined
@bb/provider-bridge-acp:test:      ↓ adds a file created this turn once, then reports later writes to it as updates
@bb/provider-bridge-acp:test:      ↓ does not synthesize a turn for updates that arrive after turn completion
@bb/provider-bridge-acp:test:      ↓ settles both items when a terminal tool_call_update changes the item type
@bb/provider-bridge-acp:test:      ↓ settles both items at turn end when a non-terminal update changed the item type
@bb/provider-bridge-acp:test:      ↓ keeps unmatched fs writes standalone with distinct item ids
@bb/provider-bridge-acp:test:      ↓ keeps an fs write standalone when its native file-change match is ambiguous
@bb/provider-bridge-acp:test:      ↓ accumulates repeated client writes and reapplies them after provider updates
@bb/provider-bridge-acp:test:      ↓ completes streamed items before ending a compaction turn
@bb/provider-bridge-acp:test:      ↓ translates ACP usage updates into exact context-window usage
@bb/provider-bridge-acp:test:      ↓ keeps the last reported cumulative cost on usage updates that omit it
@bb/provider-bridge-acp:test:      ↓ reports ACP usage before a turn without creating a synthetic turn
@bb/provider-bridge-acp:test:      ↓ ignores malformed ACP usage updates
@bb/provider-bridge-acp:test:      ↓ accumulates thought chunks into a reasoning item
@bb/provider-bridge-acp:test:      ↓ translates execute tool calls into command executions
@bb/provider-bridge-acp:test:        ↓ uses rawOutput.exitCode when the agent reports a non-zero exit as completed
@bb/provider-bridge-acp:test:        ↓ does not claim OpenCode metadata for a generic ACP agent
@bb/provider-bridge-acp:test:        ↓ omits the exit code when a completed call carries no result at all
@bb/provider-bridge-acp:test:        ↓ keeps exit code 1 for failed calls without a reported exit code
@bb/provider-bridge-acp:test:        ↓ prefers a reported exit code over the failed-status fallback
@bb/provider-bridge-acp:test:        ↓ ignores non-integer exit codes in rawOutput
@bb/provider-bridge-acp:test:      ↓ summarizes inline image attachments from raw tool output
@bb/provider-bridge-acp:test:      ↓ translates diff tool calls into file changes
@bb/provider-bridge-acp:test:      ↓ keeps a Cursor edit in one file-change lifecycle when the final diff supplies its path
@bb/provider-bridge-acp:test:      ↓ keeps an OpenCode edit in one file-change lifecycle when its path arrives late
@bb/provider-bridge-acp:test:      ↓ folds an OMP client fs write into its path-pending native edit
@bb/provider-bridge-acp:test:      ↓ translates plan updates into settled planSteps snapshots
@bb/provider-bridge-acp:test:      ↓ translates bridge warnings
@bb/provider-bridge-acp:test:      ↓ fails the open turn on bridge errors
@bb/provider-bridge-acp:test:      ↓ marks cancelled turns interrupted and ends other stop reasons as completed with a notice
@bb/provider-bridge-acp:test:      ↓ drops noise updates and reports unknown updates
@bb/provider-bridge-acp:test:      ↓ reports a title the agent sets once, as an agent-sourced thread name
@bb/provider-bridge-acp:test:      ↓ attaches a presentation to every item.open and item.close
@bb/provider-bridge-acp:test:      ↓ strips the agent's code ticks from a command headline and names deleted files
@bb/provider-bridge-acp:test:      ↓ maps a read with a location to fileRead
@bb/provider-bridge-acp:test:      ↓ recovers the read path from a single code-ticked title token
@bb/provider-bridge-acp:test:      ↓ keeps a read with no path a generic tool that presents as a read
@bb/provider-bridge-acp:test:      ↓ maps a path-pending delete to an empty file change
@bb/provider-bridge-acp:test:      ↓ maps a fetch to webFetch when the URL is known
@bb/provider-bridge-acp:test:      ↓ maps a search with a query to the search kind
@bb/provider-bridge-acp:test:      ↓ maps a think call to a reasoning item with its thought
@bb/provider-bridge-acp:test:      ↓ keeps a call whose kind the schema does not know
@bb/provider-bridge-acp:test:      ↓ settles a cancelled call as interrupted and a switch_mode call as its own kind
@bb/provider-bridge-acp:test:      ↓ names a generic call by its kind and keeps the title as the headline
@bb/provider-bridge-acp:test:      ↓ reports the exit code and stderr Cursor sent, not a status guess
@bb/provider-bridge-acp:test:      ↓ reads grok's exit_code and notes a timeout and a signal
@bb/provider-bridge-acp:test:      ↓ shows no output for a command that printed nothing
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='in_progress', output=undefined) 25ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='in_progress', output='building\n') 3ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status='pending', output=undefined) 2ms
@bb/provider-bridge-acp:test:      × refreshes a command announced before its input (status=undefined, output=undefined) 2ms
@bb/provider-bridge-acp:test:      ↓ streams nothing when a running command's envelope names no stream
@bb/provider-bridge-acp:test:      ↓ streams a running command's bare-string rawOutput
@bb/provider-bridge-acp:test:      ↓ streams a running command's cumulative output onto its row
@bb/provider-bridge-acp:test:      ↓ streams the command's own output, never the rawOutput envelope
@bb/provider-bridge-acp:test:      ↓ forwards rawInput as args, rawOutput as result, and the failure text as error
@bb/provider-bridge-acp:test:      ↓ caps an oversized raw payload instead of putting megabytes on the row
@bb/provider-bridge-acp:test:      ↓ resolves a relative location and grok's target_file against the session cwd
@bb/provider-bridge-acp:test:      ↓ names a generic row by the unstable tool name
@bb/provider-bridge-acp:test:      ↓ opens a grok tool call as the kind its dialect reports
@bb/provider-bridge-acp:test:      ↓ binds a permission request by kind and gives the row the URL it named
@bb/provider-bridge-acp:test:      ↓ merges a permission that keeps the row's shape
@bb/provider-bridge-acp:test:      ↓ leaves a call that already has a core shape alone
@bb/provider-bridge-acp:test:      ↓ normalizes omp foreground command output and successful completion
@bb/provider-bridge-acp:test:      ↓ leaves a completed omp 'explicit' background launch without exit zero
@bb/provider-bridge-acp:test:      ↓ leaves a completed omp 'automatic' background launch without exit zero
@bb/provider-bridge-acp:test:      ↓ preserves omp timeout failure semantics
@bb/provider-bridge-acp:test:      ↓ preserves shared ACP semantics inside and outside the omp dialect
@bb/provider-bridge-acp:test:      ↓ normalizes the recorded OpenCode command completion envelope
@bb/provider-bridge-acp:test:      ↓ keeps standard content and shared result fields ahead of OpenCode fallbacks
@bb/provider-bridge-acp:test:      ↓ opens a Cursor task call as a delegation and takes the report's detail
@bb/provider-bridge-acp:test:      ↓ ignores a delegation report for a call that already settled
@bb/provider-bridge-acp:test:      ↓ opens a grok spawn_subagent call as a delegation
@bb/provider-bridge-acp:test:      ↓ keeps a bb-injected tool binding ahead of the dialect
@bb/provider-bridge-acp:test:      ↓ binds the agent's announced MCP call when the proxy forwards the bb tool call
@bb/provider-bridge-acp:test:      ↓ holds a proxied call until the agent announces it, and presents an unknown definition generically
@bb/provider-bridge-acp:test:      ↓ binds by name when the title names the tool, and never binds a command
@bb/provider-bridge-acp:test:      ↓ hides a subagent's argument snapshots and keeps its output once the call's rawInput is known
@bb/provider-bridge-acp:test:      ↓ hides a command's argument snapshots and keeps JSON the command prints
@bb/provider-bridge-acp:test:      ↓ closes a call left open mid-arguments without its argument snapshot
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='in_progress', output=undefined)
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='pending', output=undefined)
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status=undefined, output=undefined)
@bb/provider-bridge-acp:test: AssertionError: expected [] to deeply equal [ ObjectContaining{…} ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - Expected
@bb/provider-bridge-acp:test: + Received
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - [
@bb/provider-bridge-acp:test: -   ObjectContaining {
@bb/provider-bridge-acp:test: -     "item": ObjectContaining {
@bb/provider-bridge-acp:test: -       "command": "pnpm build",
@bb/provider-bridge-acp:test: -       "id": "acp-test-i1",
@bb/provider-bridge-acp:test: -       "presentation": ObjectContaining {
@bb/provider-bridge-acp:test: -         "title": "pnpm build",
@bb/provider-bridge-acp:test: -       },
@bb/provider-bridge-acp:test: -       "type": "commandExecution",
@bb/provider-bridge-acp:test: -     },
@bb/provider-bridge-acp:test: -     "type": "item/started",
@bb/provider-bridge-acp:test: -   },
@bb/provider-bridge-acp:test: - ]
@bb/provider-bridge-acp:test: + []
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ❯ src/delta-translation.test.ts:1949:25
@bb/provider-bridge-acp:test:     1947|       };
@bb/provider-bridge-acp:test:     1948|       const refreshed = harness.translate(updateEvent(update));
@bb/provider-bridge-acp:test:     1949|       expect(refreshed).toEqual([
@bb/provider-bridge-acp:test:        |                         ^
@bb/provider-bridge-acp:test:     1950|         expect.objectContaining({
@bb/provider-bridge-acp:test:     1951|           type: "item/started",
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  FAIL  |@bb/provider-bridge-acp| src/delta-translation.test.ts > acp delta translation (raw payloads and real results) > refreshes a command announced before its input (status='in_progress', output='building\n')
@bb/provider-bridge-acp:test: AssertionError: expected [ { …(6) } ] to deeply equal [ ObjectContaining{…}, …(1) ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: - Expected
@bb/provider-bridge-acp:test: + Received
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:   [
@bb/provider-bridge-acp:test:     {
@bb/provider-bridge-acp:test: -     "item": ObjectContaining {
@bb/provider-bridge-acp:test: -       "command": "pnpm build",
@bb/provider-bridge-acp:test: -       "id": "acp-test-i1",
@bb/provider-bridge-acp:test: -       "presentation": ObjectContaining {
@bb/provider-bridge-acp:test: -         "title": "pnpm build",
@bb/provider-bridge-acp:test: -       },
@bb/provider-bridge-acp:test: -       "type": "commandExecution",
@bb/provider-bridge-acp:test: -     },
@bb/provider-bridge-acp:test: -     "type": "item/started",
@bb/provider-bridge-acp:test: -   },
@bb/provider-bridge-acp:test: -   ObjectContaining {
@bb/provider-bridge-acp:test:       "delta": "building",
@bb/provider-bridge-acp:test:       "itemId": "acp-test-i1",
@bb/provider-bridge-acp:test: +     "providerThreadId": "",
@bb/provider-bridge-acp:test: +     "scope": {
@bb/provider-bridge-acp:test: +       "kind": "turn",
@bb/provider-bridge-acp:test: +       "turnId": "acp-test-t1",
@bb/provider-bridge-acp:test: +     },
@bb/provider-bridge-acp:test: +     "threadId": "",
@bb/provider-bridge-acp:test:       "type": "item/commandExecution/outputDelta",
@bb/provider-bridge-acp:test:     },
@bb/provider-bridge-acp:test:   ]
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ❯ src/delta-translation.test.ts:1949:25
@bb/provider-bridge-acp:test:     1947|       };
@bb/provider-bridge-acp:test:     1948|       const refreshed = harness.translate(updateEvent(update));
@bb/provider-bridge-acp:test:     1949|       expect(refreshed).toEqual([
@bb/provider-bridge-acp:test:        |                         ^
@bb/provider-bridge-acp:test:     1950|         expect.objectContaining({
@bb/provider-bridge-acp:test:     1951|           type: "item/started",
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  Test Files  1 failed (1)
@bb/provider-bridge-acp:test:       Tests  4 failed | 80 skipped (84)
@bb/provider-bridge-acp:test:    Start at  11:53:21
@bb/provider-bridge-acp:test:    Duration  1.43s (transform 779ms, setup 0ms, import 1.14s, tests 34ms, environment 0ms)
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  ELIFECYCLE  Test failed. See above for more details.
@bb/provider-bridge-acp#test:  ERROR  command (/tmp/acp-7343/verify/packages/provider-bridge-acp) /usr/local/bin/pnpm run test src/delta-translation.test.ts -t refreshes a command announced exited (1)

 Tasks:    2 successful, 3 total
Cached:    1 cached, 3 total
  Time:    3.081s 
Failed:    @bb/provider-bridge-acp#test

 ERROR  run failed: command  exited (1)
Focused repaired run
   • turbo 2.11.10
   • Packages in scope: @bb/provider-bridge-acp
   • Running test in 1 package
   • Remote caching disabled, using shared worktree cache

//:ensure-native-modules: cache bypass, force executing 075342d612c33071
@bb/process-utils:generate:profile-worker: cache hit, replaying logs 143c02a90ed4c8b2
@bb/process-utils:generate:profile-worker: 
@bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker /tmp/acp-7343/base/packages/process-utils
@bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs
@bb/process-utils:generate:profile-worker: 
//:ensure-native-modules: 
//:ensure-native-modules: > bb@ ensure-native-modules /tmp/acp-7343/base
//:ensure-native-modules: > node scripts/ensure-native-modules.mjs
//:ensure-native-modules: 
@bb/provider-bridge-acp:test: cache miss, executing 472ec68895c71fb2
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: > @bb/provider-bridge-acp@0.0.1 test /tmp/acp-7343/base/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: > vitest run --config vitest.config.ts "src/delta-translation.test.ts" "-t" "refreshes a command announced"
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
@bb/provider-bridge-acp:test:   - `__dirname` (vitest.config.ts:10:15). Use `import.meta.dirname` instead
@bb/provider-bridge-acp:test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  RUN  v4.1.12 /tmp/acp-7343/base/packages/provider-bridge-acp
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test: (node:2874) ExperimentalWarning: SQLite is an experimental feature and might change at any time
@bb/provider-bridge-acp:test: (Use `node --trace-warnings ...` to show where the warning was created)
@bb/provider-bridge-acp:test:  ✓ |@bb/provider-bridge-acp| src/delta-translation.test.ts (84 tests | 80 skipped) 22ms
@bb/provider-bridge-acp:test: 
@bb/provider-bridge-acp:test:  Test Files  1 passed (1)
@bb/provider-bridge-acp:test:       Tests  4 passed | 80 skipped (84)
@bb/provider-bridge-acp:test:    Start at  11:53:21
@bb/provider-bridge-acp:test:    Duration  1.40s (transform 767ms, setup 0ms, import 1.14s, tests 22ms, environment 0ms)
@bb/provider-bridge-acp:test: 

 Tasks:    3 successful, 3 total
Cached:    1 cached, 3 total
  Time:    3.196s 

 WARNING  no output files found for task @bb/provider-bridge-acp#test. Please check your `outputs` key in `turbo.json`

Relevant validation commands:

pnpm exec oxfmt packages/provider-bridge-acp/src/delta-translation.ts packages/provider-bridge-acp/src/delta-translation.test.ts
pnpm exec turbo run test lint typecheck --filter=@bb/provider-bridge-acp
pnpm parity --old /tmp/acp-7343/verify --new /tmp/acp-7343/base --provider acp-cursor
printf '[]\n' > /tmp/acp-7343/empty-allowlist.json
pnpm parity --old /tmp/acp-7343/verify --new /tmp/acp-7343/base --provider acp-cursor --allowlist /tmp/acp-7343/empty-allowlist.json
git diff --check
git diff --numstat origin/main

The default parity allowlist contains stale historical exemptions, so default parity reports stale-entry failures even though old/new events agree. The strict rerun supplies an empty allowlist, allowing no differences and editing no repository policy.

Strict recorded parity output
> bb@ parity /tmp/acp-7343/base
> pnpm --filter @bb/provider-parity run parity "--old" "/tmp/acp-7343/verify" "--new" "/tmp/acp-7343/base" "--provider" "acp-cursor" "--allowlist" "/tmp/acp-7343/empty-allowlist.json"


> @bb/provider-parity@0.0.1 parity /tmp/acp-7343/base/packages/provider-parity
> node --conditions=source --import tsx src/cli.ts "--old" "/tmp/acp-7343/verify" "--new" "/tmp/acp-7343/base" "--provider" "acp-cursor" "--allowlist" "/tmp/acp-7343/empty-allowlist.json"

old: /tmp/acp-7343/verify (packages/provider-parity/src/index.ts)
new: /tmp/acp-7343/base (packages/provider-parity/src/index.ts)

PASS acp-cursor/approval-allow: old 34 events/2 rows, new 34 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/approval-deny: old 32 events/2 rows, new 32 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/fork: old 0 events/0 rows, new 0 events/0 rows, unhandled 0→0, grammar drops 0→0
SKIP acp-cursor/model-list: process-scoped recording (no thread events to compare)
PASS acp-cursor/resume: old 26 events/4 rows, new 26 events/4 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/steer: old 71 events/2 rows, new 71 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/stop-interrupt: old 44 events/5 rows, new 44 events/5 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/subagent: old 53 events/2 rows, new 53 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/turn-tools: old 101 events/2 rows, new 101 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/user-question: old 29 events/2 rows, new 29 events/2 rows, unhandled 0→0, grammar drops 0→0
PASS acp-cursor/web-search: old 54 events/2 rows, new 54 events/2 rows, unhandled 0→0, grammar drops 0→0

10 passed, 0 failed, 1 skipped (11 cells)