Skip to content

Make copied turn failures self-contained - #390

Merged
witbrock merged 1 commit into
mainfrom
fix/jvnautosci-2642-failure-capsule
Aug 17, 2026
Merged

Make copied turn failures self-contained#390
witbrock merged 1 commit into
mainfrom
fix/jvnautosci-2642-failure-capsule

Conversation

@witbrock

Copy link
Copy Markdown
Member

Outcome

Ordinary turn-diagnostic copy now produces a bounded, self-contained failure capsule that remains useful without short-lived retrieval delegates. It preserves the direct failure cause, terminal and response authority, effect history versus reconciled current outcome, and safe opaque handles.

The capsule is built and stored under the authenticated turn, excludes prompts/raw diagnostics/identities/signed references, and fails closed for malformed or legacy turns. Shift-click retains the separately authorised deeper-inspection path.

Tracks JVNAUTOSCI-2642 and completes the final slice of JVNAUTOSCI-2638.

Validation

  • 211 affected adaptive-turn/route tests passed
  • 32 debug-persistence/history tests passed
  • 115 frontend tests importing the chat interface passed
  • Independent privacy/authority review found no remaining stop-ship defect
  • Frontend static lint, Ruff E9/F, Python compilation, and diff checks passed
  • Branch UI served the bounded-capsule control; a legacy/unauthenticated turn failed closed without copying the old locator

No live model request was used for validation.


// Prefer turn_execution_diagnostics for parity with active-turn diagnostic references.
popup.dataset.currentDebugData = await buildLlmDebugClipboardJsonForTurn(turnId, options) || '';
popup.dataset.currentDebugData = await buildLlmDebugDeepInspectionJsonForTurn(turnId, options) || '';
@witbrock
witbrock marked this pull request as ready for review August 17, 2026 21:51
@witbrock
witbrock merged commit c205b0b into main Aug 17, 2026
4 checks passed
@witbrock
witbrock deleted the fix/jvnautosci-2642-failure-capsule branch August 17, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant