Repository navigation
Conversation
|
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:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between deeb34c57feb126f2c368663c967868bffd3f061 and 93f4958f6b111c27fbb438eccacc95ecea933917. 📒 Files selected for processing (8)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe changes recognize DeepSeek Build processes and terminal titles as the Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to DeepSeek Build recognition preserves the checked identity and input-precedence behavior. No actionable merge-blocking risk is established. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Session recognition now reaches more places, but the new identity remains outside session launch controls. No new security failure was established; action gating and recovery when observations are incomplete remain only partly verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 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.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: f65f2dad-aba6-4bd8-a983-f9fe48a27b8d
📥 Commits
Reviewing files that changed from the base of the PR and between 433986f and ab652bf2bb07aee99eba6562b5c33f5a13dded05.
📒 Files selected for processing (29)
src/renderer/src/components/dashboard/dashboard-worktree-launch-options.tssrc/renderer/src/components/sidebar/worktree-title-derived-agent-rows.test.tssrc/renderer/src/components/sidebar/worktree-title-derived-agent-rows.tssrc/renderer/src/components/tab-bar/tab-agent-launch-options.test.tssrc/renderer/src/lib/agent-catalog-links.test.tssrc/renderer/src/lib/agent-catalog.tsxsrc/renderer/src/lib/agent-status.tssrc/renderer/src/lib/agent-tab-shortcuts.test.tssrc/renderer/src/lib/agent-tab-shortcuts.tssrc/shared/agent-headless-command.tssrc/shared/agent-kind.tssrc/shared/agent-process-recognition.test.tssrc/shared/agent-process-recognition.tssrc/shared/agent-title-identity.tssrc/shared/agent-type-label.tssrc/shared/dsb-headless-command.test.tssrc/shared/dsb-headless-command.tssrc/shared/dsb-terminal-title.test.tssrc/shared/dsb-terminal-title.tssrc/shared/keybindings-default-bindings.test.tssrc/shared/keybindings/definitions.tssrc/shared/skills-cli-agent-keys.tssrc/shared/telemetry-property-schemas.tssrc/shared/terminal-title-agent-type.tssrc/shared/tui-agent-config.tssrc/shared/tui-agent-display-names.tssrc/shared/tui-agent-selection.test.tssrc/shared/tui-agent-selection.tssrc/shared/tui-agent.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
There was a problem hiding this comment.
Important
Adding dsb to the shared TUI_AGENT_CONFIG breaks an existing mobile parity test, and the "not launchable" boundary is only enforced on the catalog, auto-pick, and shortcut paths. Details below.
Reviewed changes
- Shared process recognition:
dsb,deepseek-build, the nativedeepseek-build-agentchild, and the npmdsb.jsentrypoint now classify asdsb, withdsb run …filtered as a headless one-shot. - Title identity:
isDeepSeekBuildTerminalTitlerecognizes the product's final- DeepSeek Buildsegment and is wired into both title classifiers (agent-title-identity.ts,terminal-title-agent-type.ts) and both label→type maps. - Launch de-scoping:
TAB_LAUNCH_TUI_AGENTS(all agents minusdsb) now drives keybinding definitions, tab shortcuts, andpickTuiAgent's explicit-preference branch. - Catalog labels:
getAgentLabel/AgentIconfall back toTUI_AGENT_DISPLAY_NAMESsodsbrenders "DeepSeek Build" without a catalog entry. - Tests: new/updated vitest coverage for process recognition, title identity, agent rows, catalog label, shortcuts, and selection.
⚠️ Mobile catalog parity test now fails
mobile/src/tasks/mobile-agent-catalog.test.ts:11-13 asserts the mobile catalog covers every key of TUI_AGENT_CONFIG. Adding dsb to that record while TUI_AGENT_AUTO_PICK_ORDER/MOBILE_AGENT_CATALOG stay without it makes the two sets differ, so the assertion fails. Root pnpm test excludes mobile/** and the mobile workflow's PR path filter omits these files, so nothing in this PR's CI reports it — it will surface the next time the mobile suite runs.
Technical details
# Mobile catalog parity test now fails
## Affected sites
- `mobile/src/tasks/mobile-agent-catalog.test.ts:11-13` — `new Set(MOBILE_AGENT_CATALOG ids)` must equal `new Set(Object.keys(TUI_AGENT_CONFIG))`.
- `mobile/src/tasks/mobile-agent-catalog.ts:14` — `MOBILE_AGENT_CATALOG` maps `MOBILE_TUI_AGENT_AUTO_PICK_ORDER`, an alias of `TUI_AGENT_AUTO_PICK_ORDER` (`mobile/src/tasks/mobile-tui-agents.ts:13`), which has no `dsb` (`src/shared/tui-agent-selection.ts:7-47`).
- `src/shared/tui-agent-config.ts:338-343` — the new `dsb` entry adds a key `Object.keys(TUI_AGENT_CONFIG)` did not have.
## Required outcome
- Restore the invariant, or re-express it against the launchable set (`TAB_LAUNCH_TUI_AGENTS`) so `dsb` is intentionally exempt.ℹ️ collectAgentTitleEvidence still can't identify a title-only DSB pane
resolveTerminalTitleAgentType works because it passes an uncoveredFallback, but collectAgentTitleEvidence — read directly by resolvePublishedPaneAgentIdentity — has no DSB support: its owner-suffix regex cannot capture the two-word DeepSeek Build, and its name tables have no entry. A title-only DSB pane (hand-started, no hook, unreadable foreground) therefore publishes no agentIdentity. If that surface is meant to be in scope, the - DeepSeek Build suffix needs registering there too.
Technical details
# `collectAgentTitleEvidence` cannot recognise ` - DeepSeek Build`
## Affected sites
- `src/shared/agent-title-evidence.ts:110` — `OWNER_SUFFIX_RE = /\s-\s+([A-Za-z][\w-]*)\s*$/` stops at `DeepSeek`; `NAME_TOKENS` (:61) and `DISPLAY_LABELS` (:93) have no DSB entry, so `collectAgentTitleEvidence` returns `{ agent: null, reason: 'no-evidence' }`.
- `src/shared/published-pane-agent-identity.ts:41` — reads `collectAgentTitleEvidence(args.title).agent` with no parser fallback; only production caller `src/main/runtime/orca-runtime-write-orchestration-pointer-pty.ts:100-107`.
## Required outcome
- Decide whether the runtime-published `agentIdentity` should identify a title-only DSB pane. If so, recognise the ` - DeepSeek Build` owner suffix in `collectAgentTitleEvidence`; the adapter fallback that makes `resolveTerminalTitleAgentType` work does not cover this consumer.ℹ️ Nitpicks
src/shared/dsb-headless-command.test.ts:4— the suite is described as "DeepSeek Build process recognition" but the file tests the headless one-shot classifier; a name matching the unit under test would read better.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
23bb735 to
84eede8
Compare
Sync update (
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 51fdc693-a09a-498a-bf3e-40de20bae59f
📥 Commits
Reviewing files that changed from the base of the PR and between ab652bf2bb07aee99eba6562b5c33f5a13dded05 and 84eede8edf46f743c37ced95dd20b529c620348b.
📒 Files selected for processing (51)
src/main/runtime/orca-runtime-write-orchestration-pointer-pty.tssrc/main/runtime/runtime-terminal-state-records.tssrc/renderer/src/components/sidebar/worktree-title-derived-agent-rows.test.tssrc/renderer/src/components/tab-bar/TerminalTabLeadingIcon.tsxsrc/renderer/src/components/tab-bar/native-chat-tab-agent-evidence.test.tssrc/renderer/src/components/tab-bar/native-chat-tab-agent-evidence.tssrc/renderer/src/components/tab-bar/open-tab-search.tssrc/renderer/src/components/terminal-pane/command-code-output-ownership.tssrc/renderer/src/components/terminal-pane/native-chat-leaf-title-agent.test.tssrc/renderer/src/components/terminal-pane/native-chat-leaf-title-agent.tssrc/renderer/src/components/terminal-pane/pane-foreground-agent-tracker.tssrc/renderer/src/components/terminal-pane/pty-connection/command-inferred-pane-agent.tssrc/renderer/src/components/terminal-pane/pty-connection/pane-agent-identity.tssrc/renderer/src/components/terminal-pane/terminal-agent-session-continuation.test.tssrc/renderer/src/lib/agent-catalog-links.test.tssrc/renderer/src/lib/agent-catalog.tsxsrc/renderer/src/lib/agent-status.tssrc/renderer/src/lib/open-tab-occupant-agent.test.tssrc/renderer/src/lib/open-tab-occupant-agent.tssrc/renderer/src/lib/pane-agent-evidence.tssrc/renderer/src/lib/tab-agent-from-signals.tssrc/renderer/src/lib/tab-agent-status-index.test.tssrc/renderer/src/lib/tab-agent-status-index.tssrc/renderer/src/lib/tab-agent.test.tssrc/renderer/src/lib/tab-agent.tssrc/renderer/src/lib/use-tab-agent-observed-signal-dispatch.test.tsxsrc/renderer/src/lib/use-tab-agent-opencode-native-title.test.tssrc/renderer/src/lib/use-tab-agent-process-signals.test.tssrc/renderer/src/lib/use-tab-agent-retained-identity.test.tssrc/renderer/src/lib/use-tab-agent-sleeping-session.test.tssrc/renderer/src/lib/use-tab-agent.test.tssrc/renderer/src/lib/use-tab-agent.tssrc/renderer/src/lib/workspace-tab-palette-results.tssrc/renderer/src/lib/workspace-tab-palette-search.tssrc/renderer/src/store/slices/pane-foreground-agent.tssrc/shared/agent-headless-command.tssrc/shared/agent-process-recognition.test.tssrc/shared/agent-process-recognition.tssrc/shared/agent-status-types.tssrc/shared/agent-title-core.tssrc/shared/agent-title-evidence.tssrc/shared/agent-title-identity.tssrc/shared/dsb-headless-command.test.tssrc/shared/dsb-terminal-title.test.tssrc/shared/pane-agent-identity-adapter.tssrc/shared/pane-agent-identity-resolver.tssrc/shared/pane-agent-identity-title-corpus.test.tssrc/shared/published-pane-agent-identity.test.tssrc/shared/published-pane-agent-identity.tssrc/shared/terminal-agent.tssrc/shared/terminal-title-agent-type.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
There was a problem hiding this comment.
Caution
This PR introduces runtime TypeErrors. The new TerminalAgent type (TuiAgent | 'dsb') is now produced by process and title recognition, but three TUI_AGENT_CONFIG[...] lookups on that value were never narrowed, so a DeepSeek Build session throws on prompt delivery and on the Shift/Ctrl+Enter handlers. Exact sites and repro inline.
Reviewed changes
Since the prior pullfrog review (ab652bf2bb) the branch was rebased and reworked:
- DSB moved out of the launchable set — the observation-only
TerminalAgent(TuiAgent | 'dsb') replaces the earlier approach of addingdsbtoTUI_AGENT_CONFIG; launch catalogs, auto-pick order, shortcuts, skills, and telemetry return to their base state, restoring the mobile catalog parity invariant. - Recognition preserved —
dsb/deepseek-build/deepseek-build-agent/the npmdsb.jsshim classify asdsb,dsb runis filtered as a headless one-shot, and the DSB title check is hoisted above the free-text name ladder in both classifiers so the product suffix beats a task mention. - Title evidence registered —
collectAnchoredNamesanchorsdsbfrom the product suffix, so a title-only DSB pane publishesagentIdentity. TerminalAgentpropagated through tabs, panes, tab search, icons, the foreground-agent store, and the runtime PTY record; launch-boundary consumers (native-chat-tab-agent-evidence,native-chat-leaf-title-agent,canContinueAgentSessionInNewSession) now gate withisTuiAgent.- Tests — added coverage for process/title recognition, title evidence, vendor-marker precedence, and the launch boundaries.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
84eede8 to
55918ee
Compare
Sync update (
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 498199ae-efcf-4a5b-9385-765ad8ce38f7
📥 Commits
Reviewing files that changed from the base of the PR and between 84eede8edf46f743c37ced95dd20b529c620348b and 55918ee3653e15b75b572da4e18719e10cd7e503.
📒 Files selected for processing (15)
src/main/runtime/agent-prompt-submission-verification.tssrc/main/runtime/dsb-terminal-runtime.test.tssrc/main/runtime/orca-runtime-resolve-authoritative-terminal-wait-permission.tssrc/main/runtime/orchestration/groups.test.tssrc/main/runtime/orchestration/structured-worker-group-addressing.tssrc/main/runtime/runtime-terminal-writer.tssrc/renderer/src/components/terminal-pane/terminal-ctrl-enter.test.tssrc/renderer/src/components/terminal-pane/terminal-ctrl-enter.tssrc/renderer/src/components/terminal-pane/terminal-windows-shift-enter.test.tssrc/renderer/src/components/terminal-pane/terminal-windows-shift-enter.tssrc/shared/agent-prompt-injection.test.tssrc/shared/agent-prompt-injection.tssrc/shared/agent-title-evidence.test.tssrc/shared/agent-title-evidence.tssrc/shared/runtime-terminal-contracts.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Since the prior pullfrog review (84eede8edf), the branch added 55918ee365 ("guard recognition-only terminal capabilities"), which closes the four runtime TypeError paths raised there:
- Shared prompt helpers narrowed —
agentPromptTakesLeadLineandresolveAgentPromptSubmitDelayForAgentnow gate theirTUI_AGENT_CONFIGread withisTuiAgent, so adsbforeground agent keeps the unidentified-agent lead-line, separate-Enter, and default-delay behavior instead of throwing. - Modified-Enter resolvers narrowed —
terminal-windows-shift-enter.tsandterminal-ctrl-enter.tsguard both the foreground and title-derived agent withisTuiAgent, so a recognition-only DSB pane keeps the genericalt-enterencoding and acquires no CSI-u authority. - Reconfirmation path narrowed —
pane-agent-identity.tsadds anisTuiAgentcheck before itswindowsShiftEnterEncodingread. - Wire contract aligned with the publisher —
RuntimeTerminalSummary.agentIdentityand the group-address recipient type now carryTerminalAgent, matchingresolvePublishedPaneAgentIdentity's actual return. - Observation labels —
agentTypeToIconAgentrecognizesdsb,formatAgentTypeLabelmaps it to "DeepSeek Build", and the DSB title anchor is suppressed whenever a vendor marker or OC-native envelope already owns the title. - Regression coverage —
dsb-terminal-runtime.test.tsdrives a manually started DSB PTY throughlistTerminalsandsendTerminalAgentPrompt; new Ctrl/Shift-Enter, title-evidence, group-addressing, and session-continuation tests assert exact outcomes.
I re-ran the 14 focused suites (300 tests) and the node/web/CLI typechecks, all green, and confirmed the runtime regression reproduces the original pasteNeedsTypedRequest TypeError when the guard is removed.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
55918ee to
deeb34c
Compare
Sync update (
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Since the prior pullfrog review (55918ee365, approved), the branch was force-pushed onto a newer main and gained the tip commit deeb34c57f ("preserve pending agent input encoding"). The three base commits' patches are identical modulo rebase context, so the delta is the tip commit:
- Pending-confirmation encoding held —
resolveWindowsShiftEnterEncodingForPanenow returns the foreground-resolved encoding when a pending routing confirmation's foreground agent differs from the trailing-title agent, so a stale title cannot upgrade the pane to CSI-u. A foreground-less pending confirmation still recovers the capability from the title. - DSH titles excluded from DSB —
isDeepSeekBuildTerminalTitlenow rejects titles carrying DeepSeek Harness's🐋marker, so a native DSH pane ending in- DeepSeek Buildresolves todsh. - DSB npm shim entrypoint — registered
@innocarpe/deepseek-buildinNODE_PACKAGE_SCRIPT_ENTRYPOINTSso anode …/dsb.jsshim resolves todsb. - Idle-title policy guard —
nameOnlyIdleNeedsCorroborationnarrows withisTuiAgent, keeping recognition-onlydsboutside the managed idle-title lanes instead of evaluating it againstTuiAgent-keyed tables. - Tests — new cases for the pending-confirmation guard, DSH-vs-DSB title separation, and the npm shim;
dsb-terminal-runtime.test.tspassesinputKind: 'driving'.
I re-ran the affected suites (dsb-terminal-title, tui-idle-evidence, terminal-windows-shift-enter — 64 tests) green, and confirmed every prior pullfrog review thread is resolved. The type widening and isTuiAgent gating from the earlier reviewed revision are unchanged.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
deeb34c to
93f4958
Compare
Sync update (
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
gh api repos/stablyai/orca/pulls/23485 --jq '{head: .head.sha, base: .base.sha, state: .state, mergeable: .mergeable, mergeable_state: .mergeable_state}'
gh api --paginate repos/stablyai/orca/pulls/23485/files -q '.[].filename' | tee /tmp/pr23485-files.txt
printf 'total='; wc -l < /tmp/pr23485-files.txt
printf 'workflow_or_config='; grep -E '^(\.github/|config/)' /tmp/pr23485-files.txt || true
printf 'non_src='; grep -Ev '^src/' /tmp/pr23485-files.txt || true
gh api repos/stablyai/orca/contents/AGENTS.md?ref=93f4958f6b111c27fbb438eccacc95ecea933917 --jq '.content' | base64 -d | grep -in -C 3 -E 'comment|docstring' || true
gh api repos/stablyai/orca/pulls/23485/files --paginate --jq '.[] | select(.filename == "src/renderer/src/lib/agent-catalog.tsx") | .patch' | tail -65Length of output: 1368 🏁 Script executed: #!/bin/bash
set -euo pipefail
python - <<'PY'
import subprocess, json, base64
def api(path, paginate=False):
cmd = ['gh', 'api']
if paginate: cmd += ['--paginate', '--slurp']
cmd += [path]
return json.loads(subprocess.check_output(cmd, text=True))
pages = api('repos/stablyai/orca/pulls/23485/files?per_page=100', True)
files = [f for page in pages for f in page]
names = [f['filename'] for f in files]
print('total:', len(names))
print('non_src:', [n for n in names if not n.startswith('src/')])
print('workflow_or_config:', [n for n in names if n.startswith(('.github/', 'config/'))])
print('catalog_patch:')
for f in files:
if f['filename'] == 'src/renderer/src/lib/agent-catalog.tsx':
print(f.get('patch','<not provided>'))
guide = api('repos/stablyai/orca/contents/AGENTS.md?ref=93f4958f6b111c27fbb438eccacc95ecea933917')
text = base64.b64decode(guide['content']).decode()
lines = text.splitlines()
for i, line in enumerate(lines):
if 'comment' in line.lower() or 'docstring' in line.lower():
print('AGENTS.md', i + 1, ':', ' | '.join(lines[max(0,i-1):min(len(lines), i+2)]))
PYLength of output: 3383
The catalog patch also confirms that 🧠 Learnings usedYou are interacting with an AI system. |
|
Tip For best results, initiate chat on the files or code changes.
I also correct my previous reply: you report that the complete node/web/CLI typecheck passed on Your explanation of the ✏️ Learnings added
If you found this review helpful, would you consider giving us a shout-out on X? Thank you for using CodeRabbit! You are interacting with an AI system. |
93f4958 to
a85f6fb
Compare
Sync update (
|
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Since the prior pullfrog review (deeb34c57f, approved) the branch was rebased onto a newer main and gained two behavior-preserving commits:
- Catalog-limit collapse —
agent-catalog.tsxmerges the identicalopencode/opencode2icon branches to stay under the unchanged 400-line limit. - Checked-type narrowing —
agentTypeToIconAgentnow returnsTerminalAgent | null, special-casesdsb, and gatesTuiAgentkeys withisTuiAgentinstead of an uncheckedas TerminalAgentcast. - Signal resolvers —
tab-agent-from-signals.tsanduse-tab-agent.tsroute the compatible-agent result throughagentTypeToIconAgentinstead of assertingTerminalAgent, andagentKindForAgentTypenarrows withisTuiAgentsodsbstill maps toother. - Process recognition —
agent-process-recognition.tsnarrowsTUI_AGENT_CONFIGentries withisTuiAgentinstead of an entry-tuple cast, andisRecognizedAgentTypedrops itsas TerminalAgent. - Tests — an exact
agentTypeToIconAgent('dsb') === 'dsb'case, plus aSAFETY:rationale on the existingdsb-terminal-runtimestore cast.
I traced each replacement: the icon table is a complete Record<TerminalAgent, true>, the resolver inputs are all TerminalAgent, and tuiAgentToAgentKind('dsb') already returned 'other', so the new isTuiAgent gate changes nothing at runtime. All prior review threads are resolved.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
a85f6fb to
50695ab
Compare
Sync update (
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Since the prior pullfrog review (a85f6fb706, approved), the branch gained 50695ab759 ("distinguish DSB frames and preloaded one-shot commands"), a focused follow-up to the greptile P1 finding that a braille-prefixed Claude task ending in - DeepSeek Build was claimed as DSB:
- DSB spinner frames disambiguated —
isDeepSeekBuildTerminalTitlenow requires the nativespinner - activity - DeepSeek Buildframe for any spinner-bearing title and rejects native vendor prefixes per wrapper segment, leaving⠋ Review Codex integration - DeepSeek Buildto Claude. - Preloaded one-shot filtering —
isDsbHeadlessOneShotCommandresolves the interpreter entrypoint through the sharedfindInterpreterEntrypointToken, sonode -r … dsb.js runis filtered as a headless one-shot whiledsb agentstays interactive. - Fixtures corrected — DSB working-title fixtures across the runtime, Ctrl/Shift+Enter, tab-occupant, published-identity, and title-evidence suites carry the real
-separator, with new regressions for Claude braille and quarter-circle titles and for Node preload flags. - Classifier guard removed — both title classifiers drop the now-redundant
hasGeminiStatusGlyphguard, since the DSB matcher distinguishes native prefixes from glyphs inside task text.
I re-ran the six focused suites (dsb-terminal-title, dsb-headless-command, agent-process-recognition, agent-title-evidence, pane-agent-identity-title-corpus, published-pane-agent-identity — 235 tests) green, and traced every new guard to its call sites.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
50695ab to
f6831d9
Compare
|
Resolved the new main conflict and published Eight focused root suites / 312 tests, two mobile icon/catalog suites / four tests, all seven changed-code quality scans across 73 files, and complete canonical Node → web → CLI TypeScript checks pass on the published head. All inline review threads are resolved. Actual Linux/Windows/SSH devices and the full build remain unperformed; general upstream CI still awaits maintainer execution approval. Both descriptions now reflect these current-head checks. |
|
Run failed. View the logs →
|
f6831d9 to
6facbee
Compare
Sync update (
|
There was a problem hiding this comment.
Important
A manually started DeepSeek Build pane throws TypeError on the existing tui-idle wait path: one TuiAgent-keyed lookup on the widened foreground identity was missed while its title-derived sibling was guarded. Details on the guard this PR did add.
Reviewed changes
Since the prior pullfrog review (50695ab759, approved) the branch was rebased onto the current main (a76a0bc) and ported its recognition-only widening onto the surfaces main added in the interim:
- New upstream surfaces widened —
PaneForegroundAgentEntry.agent,RuntimePtyWorktreeRecord.foregroundAgent, and the foreground tracker now carryTerminalAgenton theagentEvidence/process-exitcodemainintroduced. - New checked-type guards —
tui-idle-evidence.tsnarrows the title-derived identity withisTuiAgent, andpty-connection/pane-agent-identity.tsgates itswindowsShiftEnterEncodingread the same way. - Sidebar title-derived labels — the new
title-derived-pane-agent-identity.tsmaps'DeepSeek Build'todsb, so a manually started DSB pane gets a sidebar row. - Shared DSB content unchanged — every DSB-owned file (
dsb-*,agent-title-*,terminal-agent.ts, process recognition, pane-identity contracts) is byte-identical to the prior reviewed revision.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
6facbee to
6ebb5ee
Compare
Sync update (
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Since the prior pullfrog review (6facbeeab1, which raised an important tui-idle finding), the branch was rebased onto the current main (0ad77ea) and gained one fix commit:
tui-idleno longer throws on a manual DSB pane —quietForegroundLanebecomesquietForegroundLaneForTerminalAgent(agent: TerminalAgent)and narrows withisTuiAgent, so a recognition-onlydsbtakes theopenlane instead ofgetTuiAgentRestSignal('dsb')reachingTUI_AGENT_CONFIG['dsb'].getPaneAgentForTuiIdlealso narrows itslaunchAgent ?? foregroundAgentresult withisTuiAgent, so the idle lane never receives a non-launchable agent.- Rebase port — only
runtime-terminal-state-records.tspicked up new upstream content (main'sunrepaintedReflowGridfield); every other PR file is byte-identical to the prior reviewed revision, and no new upstreamTuiAgent-keyed surface needed the widening re-ported. - New regression test —
quietForegroundLaneForTerminalAgent('dsb') === 'open'and'codex' === 'closed';tui-idle-evidence.test.tspasses (71 tests).
I fetched the prior head and confirmed the two heads differ in only 4 of the 74 PR files (the three tui-idle files plus the upstream field), so the previously reviewed DSB recognition, title evidence, and type propagation are unchanged.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
6ebb5ee to
96bbe99
Compare
Sync update (
|
Recognized dsb is a terminal agent without a launch config. Asking the rest-signal table for that config rejected the idle wait. The idle lane stays open for it, and the pane lookup only returns a launchable agent.
96bbe99 to
833c521
Compare
Sync update (
|
|
Superseded by #24704, which merged with Wooseong Kim’s co-author credit. It covers #23484’s process and title recognition, including exclusion of one-shot |

ELI5
Orca recognizes manually started DeepSeek Build sessions under their own name in existing terminal tabs and agent rows. DSB remains outside Orca's launchable agent set.
What Changed
dsb,deepseek-build, the nativedeepseek-build-agentchild, and the npmdsb.jsentrypoint.spinner - activity - DeepSeek Build) in both title classifiers; an unframed Claude task merely mentioning DeepSeek Build keeps its owner. Preserve explicit Claude, Gemini, native OpenCode, Qoder, and native DSH identity markers.agentIdentityeven when foreground-process inspection is unavailable. Explicit vendor markers and native OpenCode envelopes keep their owner through wrapped titles and both canonical and published identity.TerminalAgenttype (TuiAgent | 'dsb') and the existing tab, icon, search, and agent-row surfaces. Launch inputs retainTuiAgent.dsb runcommands from interactive session recognition.TerminalAgent; create/launch inputs remainTuiAgent.TuiAgent,TUI_AGENT_CONFIG, launch catalogs, auto-pick order, keybinding generation, prompt-transport configuration, telemetry schemas, and skill-install mappings have no changes from the base. Most of the additional files propagate the observation type or update test result annotations; they do not add launch behavior. Native-chat and existing launch-capability checks reject recognition-only DSB.Why
DeepSeek Build uses a braille spinner that generic Claude heuristics can claim. A DSB task can also mention another agent, such as Codex, without changing who owns the session. Identity should work consistently in desktop and runtime observations while launch support stays a separate product decision.
Linked Issue
Fixes #23484
This replaces the recognition portion of #22886. The broader launcher PR and its fork mirror have been closed.
Visual Proof
Title and process classification examples:
⠼ - Waiting for response… - DeepSeek Builddsb⠋ - Review Codex integration - DeepSeek Builddsb⠋ Review DeepSeek Build integrationdsbbinary or npm shimdsbagentIdentity: dsb- DeepSeek BuildNo UI layout or controls are added. Native-app screenshots have not been captured; regression tests verify title classification, published identity, tab occupancy, agent rows, launch boundaries, and catalog parity.
Testing
Latest follow-up rebases the PR onto
31012aeb09and preserves upstream'sAgentChildWorkViewimport and the recognition-onlyTerminalAgentunion. Published head:f6831d92feon both PRs.Eight focused root suites / 312 tests pass, including current status/child-work contracts, process recognition, DSB title/headless frames, published identity, and runtime capability boundaries.
Changed-code quality passes all seven scans across the 73 source/test files; no lint limit or permission boundary was relaxed.
Complete canonical Node, web, and CLI TypeScript checks run sequentially and pass on this published head.
Mobile icon/catalog regressions pass; DSB remains absent from launch catalogs.
Earlier pre-rebase verification on
50695ab759: 41 root suites / 905 tests plus 14 mobile tests. These historical results are separate from the current-head checks above.All nine launch/catalog/selection/shortcut/telemetry/skill boundary files match the base. No
.github/,config/, launcher, hook, resume, or custom DSB input profile is added.Actual Linux, Windows, and SSH devices and the full app build have not been manually exercised. General upstream workflows remain subject to maintainer execution approval.
I manually tested these changes locally
Automated tests added/updated
AI Disclosure
OpenAI Codex assisted with implementation and automated verification.
Review
Focused fix
tui-idlewaiting behavior, hook installation, resume, and Source Control AI. Existing generic input paths remain safe when they receive an observed DSB identity.Preserves
Agent skill upstream boundary
Notes
Recognition and launch eligibility now have separate types. Launch support can be proposed independently after this recognition fix is accepted.
Checklist