Skip to content

fix(runtime): empty Claude home continuation, ACP session start stderr, and SnapShot GTK4 text - #684

Merged
rynfar merged 5 commits into
pylonfrom
upstream/2026-09-20-runtime-fixes
Sep 20, 2026
Merged

rynfar merged 5 commits into
pylonfrom
upstream/2026-09-20-runtime-fixes

Conversation

@rynfar

@rynfar rynfar commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adopts upstream runtime fixes for Claude home directory continuation, ACP session startup error reporting, and Linux SnapShot accessibility context from Cycle #682 Group B.

Upstream Sources

  • 63ff33756c (#12624): Empty Claude homePath shares continuation and capability caches with ~/.claude or inherited CLAUDE_CONFIG_DIR rather than bare home.
  • d6f291303d (#12625): Surface ACP stderr tail when cursor-agent or other ACP agents exit at session start, replacing generic "adapter thread is closed" errors with the agent's real startup failure message.
  • 52d08a14b9 (#12635): Include SnapShot app text for Flatpak and GTK4 apps where compositor PID scoping misses or AT-SPI proxy mappings are required.

Pylon Invariants & Adversarial Review Hardening

  • Sanitized ACP Stderr: Excerpts formatted in error details and timeouts are filtered through sanitizeAcpStderrExcerpt to redact OAuth tokens, cookies, auth headers, and user home directory paths.
  • Bounded Stderr Buffering: Stored stderr line chunks are bounded to maxStderrLineLength to prevent memory leaks on long newline-free streams.
  • Environment Consistency: resolveClaudeCredentialConfigDir in claudeOAuthUsage.ts aligns with ClaudeHome.ts by respecting inherited CLAUDE_CONFIG_DIR when homePath is empty.
  • Preserved SnapShot Concurrency Lock: Retained exclusive async AT-SPI read semantics in SnapShotAccessibility.ts to prevent overlapping OS accessibility calls.
  • Preserved Pylon provider rate limits, error reporting schemas, and Effect service architecture. Cursor unchanged.

Closes #682
Part of Cycle #682 (with #683)

Verification

  • pnpm typecheck: Passed (0 errors across workspace)
  • pnpm --filter t3 test src/provider/Drivers/ClaudeHome.test.ts src/provider/acp/AcpStderr.test.ts src/provider/acp/AcpAdapterSupport.test.ts src/provider/acp/AcpJsonRpcConnection.test.ts: Passed (34/34 tests)
  • pnpm --filter @t3tools/desktop test src/snapShot/DesktopSnapShot.test.ts src/snapShot/snapShot.test.ts: Passed (191/191 tests)
  • Review ledger .agents/upstream-review.md updated.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

rynfar and others added 5 commits September 20, 2026 10:03
… (#12624)

(cherry picked from commit 63ff33756c47f127391962458d8388a647e8ed44)
…art (#12625)

Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
(cherry picked from commit d6f291303ddc0c9a14f570266a4d9eff6d431593)
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
(cherry picked from commit 52d08a14b9e475371658fabbb12c056c3d3dad67)
@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pylon-marketing Building Building Preview Sep 20, 2026 4:21pm UTC

@rynfar
rynfar merged commit 6171b24 into pylon Sep 20, 2026
16 of 17 checks passed
@rynfar
rynfar deleted the upstream/2026-09-20-runtime-fixes branch September 20, 2026 16:21
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upstream integration cycle: web interaction fixes, ACP diagnostics, and Claude continuation

2 participants