Repository navigation
Document terminal title evidence cleanup plan - #7452
brennanb2025 wants to merge 3 commits into
Conversation
Co-authored-by: Orca <[email protected]>
📝 WalkthroughWalkthroughThis pull request adds Changes
Sequence Diagram(s)Not applicable — this change is documentation-only. Related issues: Related PRs: None identified Suggested labels: documentation Suggested reviewers: None identified Poem 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
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.
🧹 Nitpick comments (2)
docs/reference/terminal-title-evidence-plan.md (2)
119-126: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winNormalize the status taxonomy.
This section mixes lifecycle terms (
done/active/inactive) with the terminal-title activity states used elsewhere (working/permission/idle), so Phase 2 implementers could wire the wrong enum. Split the ordering from the activity model or define the canonical status set here.
240-252: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winClarify GPU precedence for explicit
on.The wording says
onenables GPU, but the Gemini fallback later says it may disable GPU for genuine Gemini terminals. That makes the contract ambiguous and could let title evidence override an explicit user setting. State the intended precedence explicitly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 2ecdf84c-d17c-462b-a8df-2b9a4da9b86b
📒 Files selected for processing (1)
docs/reference/terminal-title-evidence-plan.md
Co-authored-by: Orca <[email protected]>
|
Follow-up review feedback is addressed: the plan now separates title activity from surface status taxonomy, clarifies explicit GPU |
…hase 2 baseline Co-authored-by: Orca <[email protected]>
|
Readiness pass before implementation starts: audited every file, function, store map, and test gate the plan names against the current tree — all exist. Recorded the verified Phase 2 call-site baseline as an appendix and fixed three findings the audit surfaced:
Also confirmed the perf-sensitive facts Phase 1 relies on: the Gemini GPU toggle is exactly one call site ( |
|
Folding this into #7458 — the plan doc will ship with the Phase 1 implementation instead of as a standalone docs PR. |
Summary
Scope
This is a planning PR only. It does not change runtime behavior or implement the resolver layer.
Screenshots
Not applicable; documentation-only change with no visible UI behavior.
Testing Checklist
git diff --checkAI Review Report
onprecedence.Security Audit
Documentation-only change. No new IPC, subprocess, storage, network, shell, credential, or telemetry behavior.
Notes
Plan Verification Pass (2026-07-05)
applyObservedTerminalTitleclosure, theclaude→openclaudehook-payload shim, andresolveExplicitTerminalTitleAgentTypeliving interminal-title-agent-type.ts, notagent-detection.ts).getAgentLabelis a name collision (match on import source), Native Chat is an identity consumer (not status), anddetectAgentStatusFromTitlehas main-process authority call sites (agent-detector.ts,orca-runtime.ts) that the renderer-scoped gate must slice or allowlist explicitly.updateTabTitle/setRuntimePaneTitle.