Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ed5ff4a
fix(chat): use plugin-fs readFile for drag-drop; fix TurnChanges firs…
reason-machines[bot] Nov 16, 2026
20063b4
fix(tests): mock @tauri-apps/plugin-fs in palette lifecycle; update c…
reason-machines[bot] Nov 16, 2026
b8c3f5e
fix(tests): regenerate caffeinate baseline archive with current packa…
reason-machines[bot] Nov 16, 2026
33b6901
test(chat): reproduce cold recent-transcript hydration
reason-machines[bot] Nov 17, 2026
03e1e05
Merge remote-tracking branch 'origin/main' into fix/chat-drag-drop-an…
reason-machines[bot] Nov 17, 2026
3d2f86d
fix(chat): observe cold recent-transcript sources
reason-machines[bot] Nov 17, 2026
569e631
fix(evidence): distinguish absent decorative baseline classifiers
reason-machines[bot] Nov 17, 2026
709fc4b
fix(chat): count tool-free messages once in summaries
reason-machines[bot] Nov 17, 2026
f73fd09
docs(chat): preserve raw summary baseline as compressed TAP
reason-machines[bot] Nov 17, 2026
edd1e3f
fix(chat): protect the whole final preview message
reason-machines[bot] Nov 17, 2026
a43fa74
docs(chat): record corrected display checks and full-suite limits
reason-machines[bot] Nov 17, 2026
094d20e
docs(chat): retain result-error qualification check logs
reason-machines[bot] Nov 17, 2026
eb898a5
fix(chat): preserve structured results in prefix MCP rows
reason-machines[bot] Nov 17, 2026
be63dbd
docs(chat): retain full subagent fallback regression receipt
reason-machines[bot] Nov 17, 2026
3d9747a
fix(chat): preserve raw results in typed subagent rows
reason-machines[bot] Nov 17, 2026
c980c8c
docs(chat): retain typed subagent full regression receipt
reason-machines[bot] Nov 17, 2026
12ff8d2
docs(chat): retain Node REPL fresh-main regression proof
reason-machines[bot] Nov 17, 2026
9142bb9
docs(chat): retain fresh-main generated-image regression proof
reason-machines[bot] Nov 17, 2026
22230f2
fix(chat): match nonmixed TodoWrite state headers
reason-machines[bot] Nov 17, 2026
4153190
fix(chat): preserve Codex web-search completion results
reason-machines[bot] Nov 17, 2026
b478ee7
fix(reason): retain cloud file identity through file opens
reason-machines[bot] Nov 17, 2026
c9ed4e6
fix(chat): retain every successful code-copy reset
reason-machines[bot] Nov 17, 2026
db425bf
test(chat): retain paired clipboard rejection proof
reason-machines[bot] Nov 17, 2026
088154b
test(chat): preserve lossless reset RED without whitespace noise
reason-machines[bot] Nov 17, 2026
804618f
test(chat): verify unchanged typed-subagent copy controls
reason-machines[bot] Nov 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions evidence/chat/tool-copy-reset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Tool-row copy confirmation: 2000 ms reset

Author: Conductor Rebuild. Scope: `TOOL-ROW-COPY-FEEDBACK-BE7`, duration only.

## Change and source

Checked main `5397204995280d90903e17dae3f391759bcde1d9`. Before treatment, the assigned branch was reconciled to that exact main tree; this change is not stacked on another PR.

The only product change is `CopyIcon`'s successful reset delay, **1500 -> 2000 ms**. Plan and typed-subagent callers share this helper. Every successful clipboard Promise still schedules its own reset; none is replaced or cancelled. Labels, rejection/error policy, payload conversion, plan approval, provider/result selection, propagation and disclosure are unchanged. This does not fix or claim parity for any other copy-feedback differences. #1473 concerns `CopyCode`; #1475 concerns `Transcript`, not this helper.

[Retained reference bytes](source.json) contain 14 complete declaration ranges with original offsets, byte lengths and SHA-256 digests. The complete retained `renderApp-D_fmY7hW.js` parent was checked at 11,600,457 bytes / SHA-256 `5199d392ef2dec92886393f181bc98531efc6251f75b9effecd9f60dc9515dde`. Normal caller/producer closure:

- `ExitPlanMode -> registry -> hIt -> gpo(input.plan) -> t0(text)`.
- `Task/Agent/sub-agent -> registry -> hIt -> bpo(toolResult.content) -> yZe(content) -> t0(text)`.
- `t0` awaits the copy, confirms success, and retains each independent 2000 ms reset. `l1` calls `navigator.clipboard.writeText`.

Original REA receipt: `ev_410f83a50764142c952de5f040cde338700477289c1687932071bdc5427c84b2`. Existing [typed-subagent attribution](../typed-subagent-raw-result/source.json) and [clipboard helper attribution](../message-copy-rejection/reference/t0.js.json) are retained. **REA limitation:** the historical semantic pass exhausted its heap and skipped the renderer. These are retained real-app bytes, not a new semantic REA result or native observation. No new REA operation or vendor-JavaScript execution occurred.

## Frozen actual-component regression

Permanent fixture: [`toolCopyReset.test.ts`](../../../src/features/chat/toolCopyReset.test.ts), **8538 bytes**, SHA-256 `baca8d635d26f2c93f7cc97356fc232ae0cb780b86847b17449b5259e355105a`.

The fixture transpiles the complete production `ToolRows.tsx`, mounts the actual `ConductorToolRow -> Row -> MoreRows/typed SubagentRow -> CopyIcon` callers with React state, real tool dispatch and result conversion, and drives native deferred Promises. Only unrelated backend/link/Markdown presentation is stubbed. It does not copy a copy-state implementation. Its deterministic clock executes production-scheduled callbacks without normalizing their deadlines.

Both sides used the identical fixture and exact command, from an isolated source runtime assembled from this Session's checkout:

```bash
taskset -c 0 timeout --signal=TERM --kill-after=5s 60s env NODE_OPTIONS=--max-old-space-size=768 node --test --test-concurrency=1 src/features/chat/toolCopyReset.test.ts
```

- **RED failed as intended, exit 1:** four timing failures, four passing controls. Only `TOOL_COPY_RESET_MUST_NOT_FIRE_AT_1500` and `TOOL_COPY_FIRST_RESET_MUST_WAIT_UNTIL_2000`, once per caller. No setup failure, unhandled rejection, skip or cancellation.
- **GREEN passed, exit 0:** **8/8**, same fixture, assertions and command. Sole product-source difference: the timeout literal.
- Boundaries: confirmation at 1499, 1500 and 1999 ms; reset at 2000 ms; successful overlapping copies at 0/1000/2500 ms keep their original resets at 2000/3000/4500 ms.
- Preserved controls: exact plan payload, structured subagent conversion instead of a deliberately different flattened fallback, stopped propagation, unchanged disclosure, delayed clipboard fulfillment, absent-payload gating.

[Raw outputs and release receipts](execution/) retain complete results. RED released `2026-11-17T22:07:23.607597Z`; GREEN released `2026-11-17T22:11:04.534471Z`. Both had fresh disk >=4 GiB, CPU0 affinity, frozen input/dependency and Node native-TypeScript capability gates. Node was 22.23.5; React/test-renderer 18.3.1; TypeScript 5.9.3. Only the authorized lockfile install ran; install scripts were disabled. RSS was **not measured**; the 768 MiB setting is a Node heap cap, not an RSS measurement. Each phase ended with no own Node/npm survivor.

The two existing typed-subagent suites retain **every assertion/control**; only their exact expected copy timer changes from 1500 to 2000. Immutable [baseline tests](baseline/) permit byte-for-byte verification of that restriction.

**Adjacent suites passed separately: 58/58**, exit 0 (42 raw-result and 16 error/disclosure cases), zero failures/skips/cancellations. The same owned runtime was assembled from 1293 pinned source files, all unchanged before/after execution; the original frozen request is retained losslessly as `execution/legacy-request.json.gz`.

```bash
taskset -c 0 timeout --signal=TERM --kill-after=5s 60s env NODE_OPTIONS=--max-old-space-size=768 node --test --test-concurrency=1 src/features/chat/typedSubagentRawResult.test.ts src/features/chat/typedSubagentErrorResult.test.ts
```

The separate legacy slot released **2026-11-17T22:17:22.459627Z**, with no own Node/npm survivors. The private 334,744,289-byte dependency directory and local cache/temp were removed at final release. Raw outputs and exact source/cleanup receipts are in `execution/`. RSS was not measured.

The [frozen source request](frozen-source-request.json) and [original request](frozen-request.md) intentionally preserve their historical UNRUN/predicted status. The actual execution receipts above supersede only that status, not any original bytes or predictions.

## Static check and limits

```bash
python3 evidence/chat/tool-copy-reset/verify.py
git diff --check
```

The static verifier checks retained span digests, normal caller binding, the one-literal product delta, both preserved legacy tests, immutable fixture, paired log identities/counters and evidence custody. It does not execute the reference or React behavior.

**Not exercised:** browser/DOM screenshot, OS clipboard, Tauri/native, provider/backend, package/installed-app, side-by-side native acceptance, full local build/typecheck or entire frontend suite. No screenshot exists because browser/native execution was not admitted. Root and the sole E1 owner retain package/native follow-through; this change creates no duplicate native dispatch or release watcher.
21 changes: 21 additions & 0 deletions evidence/chat/tool-copy-reset/SHA256SUMS
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
dcf8dc29f5ee288ed809da4044688784e9e5fb61da5d9bcd5723f3133f01e0b0 README.md
399c0f2bd7bf1dbb57ae7c70252d6875e92e4414683146a8cd7964208259fb1b baseline/ToolRows.tsx.txt
c02bef14a8da8b334303870fc90fe33bad288f12f01dea3b58c00ae7c3e64dc3 baseline/typedSubagentErrorResult.test.ts.txt
dea7a1df1432b2b325944f1bd9243ac056ea59aec9e7be2a00ccd23e6107ae79 baseline/typedSubagentRawResult.test.ts.txt
d08854de950d5d113cbbb8b06d336308028be679b44ca33ca8f0baffb74121b6 execution/deps-output.log
1ca7658fa3ed14443763c89478744d8ff9094a3bc266a65f31c6553ee964d84c execution/deps-result.json
aa016002c62f584d7f9f230f688340873988222ff1c088c434ccf29caf37eee7 execution/green-capability.log
654f8cd230df26808683b4f51cba8a05d91df3cf4257d150e4c8285df47d217c execution/green-output.log
b07449c1a03f5ec22d6a11f57cde8792ed9dbc12436ef120d96cf5db2484b6a3 execution/green-request.json
1812a4a2b91db6522c09de3365acb167964345a2beefbab29cdc1a053cd80b1a execution/green-result.json
aa016002c62f584d7f9f230f688340873988222ff1c088c434ccf29caf37eee7 execution/legacy-capability.log
a5bc745576e3264dff446386012cda908a48228bcd3b3b9ef4930ecfcf9b1109 execution/legacy-output.log
3a58050831d7c5084d8adb3e2f7c2c4639df452431fde027a8e78a3531c4ac0b execution/legacy-request.json.gz
7924cf960cc0d08918052d5a12115ee6a7608f1c4c84e9f71c34cf3eac0205dd execution/legacy-result.json
75d3dc418e32d492aa032b18cf6687299077e67960bdf64b12d6f18ae249c7a4 execution/red-capability.log
6be4f90977f829dbd8408e0eb7ce110ca5f56e3a2874583aaca468e119af7ec6 execution/red-output.log.gz
630949e12d226ce4cd47ab5502ecb25a88f82160d5db9a18b80ded8f2ad1e700 execution/red-result.json
9eff5cf7a10a6e59f0c36520fdc9050ebb89aef5b4279e1e557c2f826d078624 frozen-request.md
150d6775be5d949db3bdbe8cee64a287d880391481fac0983a421682cbd435d2 frozen-source-request.json
6759e38537283262b6c0236518f57c1ef36faeb7ded95a2969ad2135da039ce4 source.json
33d6d5ead731ef544df4048bfcae6416b72084b8d6abc619120458f3cd4e1a2d verify.py
Loading
Loading