Repository navigation
feat(debug): autosave debug bundles + harden feed debug persistence - #36
Merged
Merged
Conversation
Juliusolsson05
added a commit
that referenced
this pull request
Sep 23, 2026
…ackages - packages/pi-terminal-headless -> 5a00520 (PR #1 merged, with the five Astra package fixes), packages/agent-transcript-parser -> 4ad8d9c (PR #36 merged). - catalog.test.ts: main's 126 + the two generated Pi splits = 128. - hook/index.ts: main's BuiltInMcpDefaultsInput import alongside Pi's effectiveProviderRuntime / providerChoiceLabel imports. - #1143's per-provider built-in MCP defaults: Pi entries in two fixtures (the product map is generated from AGENT_PROVIDER_KINDS). - initialHistory: the superseded-load guard now compares the id the load READ with the pane's id, and no longer the window generation, which threw away OpenCode Terminal's startup load and rehydrate/recovery loads that bind their id mid-flight. - piTranscript: a file whose header names another session is no longer this session (the package now discovers by header, like pi), so it reads as empty rather than being refused after a by-name match. Refs #1132 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two debug-tooling commits that were sitting on a stale local branch (`debug-bundle-autosave`, last touched 2026-04-28). Rebased onto `main` with conflict resolution against the dictation work that landed in PRs #31 and #32.
`feat(debug): autosave debug bundles`
Adds an opt-in periodic + last-chance debug bundle dump for active agents. Includes a new `aggressiveDebugPersistence` setting (off by default — bundles can be large), a command-palette entry to trigger a save manually, and integration in App.tsx for unload-time persistence. Touches:
`fix(debug): harden feed debug persistence`
Tightens `feedDebugLog.ts` write-path so a partial / interrupted write doesn't corrupt the file on next read.
Conflict resolution
Two settings files conflicted with the dictation feature additions on `main`:
Test plan
🤖 Generated with Claude Code