Repository navigation
Recognize Build terminals and preserve Windows confirmation key routing - #24704
Conversation
Adapt observation-only identity from innocarpe PR stablyai#23485, with released-binary PTY evidence and source-backed npm shim/value-option exclusions. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
|
Pullfrog stalled The agent stopped emitting events for 125s and was killed by the activity-timeout watchdog. The model produced no output at all before the stall — the request was sent but nothing came back. This is usually transient; re-running often succeeds.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review. 📝 WalkthroughWalkthroughThe change recognizes manually started DeepSeek Build sessions through process names, npm entrypoints, and terminal titles. It carries Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to DeepSeek Build recognition does not grant the TUI-specific hook or wait-permission paths. No concrete user-impacting regression is established; complete the normal integration checks before merging. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior head (f7fbead): commit 70b768e, a test-only follow-up that wires the already-captured Build welcome screen into the readiness census.
- Registered
dsb-in the census runtime recorder table as an observation-only (agent: null) recorder, so the Build capture replays on the agent-unknown pane only and does not establishTuiAgentreadiness. - Added the
transcript--dsb-6-9-0-folder@unknown.jsonbaseline plus a coverage test asserting everydsb-capture replays solely as@unknownwith a null agent.
I ran the affected tests locally: readiness-census.test.ts passes (5/5), and the dsb-6-9-0-folder transcript replay matches the new baseline. The new recorder cannot be shadowed by an earlier prefix (dsb- shares no prefix with the entries above it), and the coverage test genuinely fails if Build's identity is ever promoted to a TuiAgent. The catalog change is test-support only (readiness-census-* consumers), so there is no production behavioral surface in this commit.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior head (70b768e): commit 561d958, a test-only change that binds the already-added dsb-6-9-0-folder capture to exact serializer checkpoints.
- Added an exact
failureSignaturesassertion fordsb-6-9-0-folderat the default two seeds, pinning the two pre-existing row-1 bold-mismatch signatures produced under thejitterschedule. - Converted the following
freebuff-baseline branch from a freshifto anelse ifso the new Build checkpoint takes precedence; thefreebuff-and pre-existing-count branches are otherwise unchanged.
The assertion is falsifiable (an exact toEqual over the new serializer's diff signatures) and I verified it passes: dsb-6-9-0-folder in src/main/daemon/serialize-grid-transcript-replay.test.ts passes (1 passed / 85 skipped). The dsb name shares no prefix with the freebuff-/hermes- branches, so there is no shadowing, and the universal expect(blocking).toEqual([]) I1/I3 gate still runs for the transcript. No production code changed in this commit.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Merge the pinned current main into the accepted Build observation changes and condense the renderer snapshot ordering comment without changing executable code. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
Preserve the accepted Build observation and fixed catalog seam while combining current Qoder CN, session context, locale and runtime changes. Keep both independent session-continuation test imports and all existing assertions. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
Retain manual Build identity and transcript evidence while preserving the current catalog split, Jcode labels and host-owned status behavior. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
Preserve manual dsb observation and accepted capture/serializer evidence while composing current provider, host, wire, and readiness behavior. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
Verify the published chat keeps its canonical host, then omit the optional host in the legacy fixture before the existing collision and completion assertions.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior pullfrog head (9f85a0f): two PR-authored commits plus three merges of main. No production recognition logic changed in the authored commits.
- Condensed
AgentIcon'sgetAgentLabel(agent)tail inagent-catalog.tsxto a single expression to keep the post-merge file within its line limit (behavior-preserving). - Merged three main revisions, resolving conflicts so every
dsbmatcher/branch survives while adopting main's Qoder CN, Jcode, catalog split, Aider, andClaudePromptRegistrychanges. - Adjusted
StructuredAgentSessionAttentionBridge.test.tsxto assert the applied web-session snapshot publishesexecutionHostId: 'runtime:env-1', then strip it viamakeUnifiedTabto seed the legacy host-less tab the existing collision/completion assertions exercise.
I verified the merge resolutions preserve the PR's behavior: dsb branches are present in terminal-title-agent-type.ts, agent-title-identity.ts, agent-title-status.ts, and agent-headless-command.ts, no conflict markers remain, and jcode/qoder-cn are valid TuiAgent members. The affected tests pass locally: StructuredAgentSessionAttentionBridge.test.tsx (15), claude-child-work-evidence-retention.test.ts (3), dsb-headless-command.test.ts (16), dsb-terminal-title.test.ts (28), dsb-native-one-shot-recognition.test.ts (44), agent-process-recognition.test.ts (48), and terminal-agent-session-continuation.test.ts (10).
The PR notes that fresh hosted CI on this head is still required before merge.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Retain the direct prompt-registry owner and checked legacy tab construction while preserving incoming fixture names and current main changes. Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run re-reviewed the delta since the prior pullfrog head (3873323): a merge of fixed main (44b955b9) plus one conflict resolution.
- Merged
main(44b955b9), adopting its incoming changes (updater/window/mobile/orchestration work) while leaving everydsbrecognition file untouched. - Resolved the sole textual conflict in
StructuredAgentSessionAttentionBridge.test.tsx, adopting main's more descriptive "legacy published paired chat" title while keeping the branch'sexecutionHostIddestructure plusmakeUnifiedTabconstruction (body unchanged from the prior approved revision). - Kept the branch's direct
claude-prompt-registryimport inclaude-child-work-evidence-retention.test.ts; main routes the same class through theclaude-structured-prompt-repliesre-export, so both resolve to the identicalClaudePromptRegistry.
I verified the merge is clean: git show --cc --name-only surfaces only StructuredAgentSessionAttentionBridge.test.tsx as changed against both parents, no conflict markers remain, and no dsb matcher or fixture was dropped. The affected tests pass on the merged tree: StructuredAgentSessionAttentionBridge.test.tsx (15), claude-child-work-evidence-retention.test.ts (3), worktree-title-derived-agent-rows.test.ts, dsb-headless-command.test.ts (16), dsb-terminal-title.test.ts (28), dsb-native-one-shot-recognition.test.ts (44), agent-process-recognition.test.ts (48), tui-idle-evidence.test.ts (76), readiness-census.test.ts (6), and serialize-grid-transcript-replay.test.ts (96).
The PR notes that fresh hosted CI on this head is still required before merge.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

ELI5
Orca recognizes a manually started
dsbterminal as Build and shows its observed label and icon. On Windows, a stale agent title no longer switches keyboard handling away from the foreground agent while confirmation is pending. This covers #23484’s process and title recognition; launch-menu entries, automatic selection, prompt delivery, idle waiting, hooks and resume are separate features.What Changed
44b955b96c76c82e973f2ae2460204a6fccd9c4f, retaining the existing prompt registry, canonical runtime-host assertion and legacy restored-tab coverage. All existing assertions remain.The delta against that fixed main spans 86 paths, including 82 code files. Build support is terminal observation only, with no launch-picker entry. There are no additional DSH source changes; main's #24945 history compatibility helper, TUI launch configuration and all four catalog split modules remain exact to the base. The catalog's 400-line guard and 397-line runtime split are preserved.
Why
The existing terminal observers already own process, title and signal decisions. Extending those readers keeps Build recognition and keyboard routing aligned without introducing a second classification path. Recorded terminal captures cover the observed behavior.
Linked Issue
Covers the recognition-only scope of #23484, which explicitly treats launch, prompt, hooks and resume separately. Continues @innocarpe's #23485, retaining Wooseong Kim's original co-author credit.
Co-authored-by: Wooseong Kim <innocarpe@gmail.com>Visual Proof
Existing before/after PTY captures are preserved, including all 169 original captures and 11 protected assets. New rendered before/after proof is pending; no desktop demonstration is claimed.
Testing
Prior hosted snapshot completed 2026-10-04 01:47:40.734 UTC: 55 completed checks: 38 successful, 17 skipped, zero failed or pending. All five tracked Actions runs completed successfully.
Main CI run 37167983243 names source/workflow
a621c781b87e2de3c1f369b60c0b4899d27709e1, with base5df67eff3efd3582f1987f8cb7e4d2155dcc97b5and candidate head5d68b0f69e6da61711d51df8fb016880744de074. This is the reported workflow/source binding; checkout logs were not independently inspected. These results belong to the prior5df/a621composition, not the newly reviewed fixed357or2b1compositions.Successful hosted jobs include typecheck, static analysis, all five Node 24 unit shards, relay integration, Linux/Windows packages, cross-version wire compatibility and four SSH Docker shards. The watcher-isolation and terminal-parking/readiness steps ran in shard 1/4; those selected steps were skipped in shards 2–4.
The 17 skipped checks remain unexecuted coverage: Git compatibility, real IME, real WSL terminal, Codex index-heal, mobile bundle, xterm patch, browser provider, shell contracts, Node 18 managed hooks, SSH browser route, localhost SSH terminal/hooks, general and changed-spec E2E, desktop template, Mobile tests on main, and Windows/Linux computer-use checks.
Prior independent source review of
5d68b0f69e6da61711d51df8fb016880744de074: SOURCE CLEAR, with 10 new checks passing. These cover queue/title interactions, Windows confirmation routing, launch-option boundaries and prompt ownership. One property check includes 64 variants; those variants are not 64 separate checks.Separate fixed-base review is SOURCE CLEAR for
35758953f790a7820f14607aa2aa50b45615a21cplus the unchanged Build head. Six meaningful new source checks passed, covering journal admission and prompt ownership, strict Claude test opt-in, warning-prefixed account reports and launch-environment clearing. Their 60 bounded internal variants are not 60 additional tests. These source checks used 22 actual modules; they do not establish normal Vitest, native filesystem, provider or platform acceptance.The fixed descendant
2b1acd0d0e686a5a59627920d62153a95ecf8fa7is also SOURCE CLEAR with that Build head, producing deterministic combined tree61bd114abd2c195060a564747a20eb5627266d2d. Its two-file account-removal delta aligns OpenCode/Devin directory spelling with existing account lookup while preserving exact metadata ownership and recovery safeguards. Its recovery tests were source-reviewed, not executed; no new account-removal runtime, compiler or lint pass is claimed.The complete 32,353-path union contains 32,255 identical entries, 86 preserved Build entries and 12 incoming entries, with no merged or unexpected entries. Only two incoming files are new since fixed
357. All seven357changes and the 22 modules used by its six checks remain byte-exact in the2b1composition; those successful checks were not replayed. No corrective source change was required or made.Prior local author coverage: 88 source-only cases passed in eight files. All three original web/node/CLI compiler projects passed on the resolved tree. Required PR-scope quality checks across 82 code files, RPC, locale, max-lines, formatting and normal installed commit hooks passed.
The local normal test command failed before collection: patched
node-ptybuild artifacts were missing and the attempted rebuild was refused. The 88 source cases do not establish native test acceptance.The broader local quality attempt retains two incoming mobile type findings, with
react-test-rendererand its types missing from the installed graph. Those files remain unchanged; neither the narrower local PR-scope pass nor successful hosted checks rewrite that failed attempt.Historical local author coverage remains 5,242 passes, 79 failures, 68 existing skips across 255 attempted files, plus three collection errors. Its earlier final native compiler entry gap remains failed. The 132 previous serializer cases and their inputs are preserved; they are separate from the new results.
Historical/local whole execution remains INCOMPLETE/FAILED, including native prerequisite, dependency-graph, Rust/PATH, tooling and execution-boundary failures. Prior hosted results are separate evidence; no new hosted pass or GitHub-published synthetic commit for the fixed
2b1composition has been established. Actual authenticated Build CLI task/approval/completion/resume, native Build input, rendered UI, real WSL and native IME behavior remain unverified.I manually tested these changes locally
Automated tests added/updated, or explained why not below
Review
The Build head remains exactly
5d68b0f69e6da61711d51df8fb016880744de074, tree9b574414d5f529979c3cdb7dc1ac3c946ec2b1b1. Independent source review clears its composition with fixed357and fixed2b1, with no corrective source required. This PR merged at 2026-10-04 03:23:33 UTC asaf13da5db7729d1f32352a894dd935dee8536016, with sole parent2b1acd0d0e686a5a59627920d62153a95ecf8fa7and tree61bd114abd2c195060a564747a20eb5627266d2d, matching the independently reviewed combined source. Actual Git object readback confirms these values. This does not create a new hosted CI result for that composition. The earlier hosted snapshot remains complete for5df/a621. Practical authenticated/native Build verification, account-removal runtime behavior and the 17 skipped checks remain coverage limitations. A later base requires a separate decision.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Hosted package, smoke, persistence and SSH results do not establish authenticated Build task behavior or a rendered Build user flow. Real WSL/native IME checks were skipped; paired/mobile and complete native platform acceptance remain unverified. Preserving incoming source does not establish acceptance of every incoming subsystem. The fixed
2b1account-only delta is source-reviewed, not account-runtime green; the six new checks against fixed357do not replace native, authenticated or rendered acceptance. All prior failed local/native, graph, Rust and tooling observations remain failed.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)