Repository navigation
docs(agent-status): make design references self-contained - #13902
Merged
Merged
Conversation
docs/design/agent-status-over-ssh.md was cited from ~10 source files but does not exist in the repo. Replace each pointer with the invariant the code actually relies on so the knowledge survives without the doc. Renderer-side citations (useIpcEvents.ts, agent-status-types.ts) are left for the concurrent batching change that owns those files. Co-authored-by: Orca <help@stably.ai>
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughUpdated comments across agent-hook, SSH, relay, and shared modules. Removed references to design documents. Clarified remote installation constraints, managed script and JSON parity, replay-cache behavior, plugin-source delivery, PTY cleanup, environment augmentation, connection identity handling, and pull-based replay. No runtime logic or public declarations changed. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 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 |
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
…3902) docs/design/agent-status-over-ssh.md was cited from ~10 source files but does not exist in the repo. Replace each pointer with the invariant the code actually relies on so the knowledge survives without the doc. Renderer-side citations (useIpcEvents.ts, agent-status-types.ts) are left for the concurrent batching change that owns those files. Co-authored-by: Orca <help@stably.ai>
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
docs/design/agent-status-over-ssh.mdis cited from 17 places acrosssrc/as the authority for why per-pane agent-status replay works the way it does. That file does not exist — there is nodocs/design/directory in this repo. Reviewers have been pointed at a document nobody can open.We are deliberately not checking design docs into version control, so this replaces each pointer with the invariant the code actually relies on, keeping the knowledge without the doc.
Scope
Comment/JSDoc only — no executable statement, type, signature, or string literal changed.
Fixes 14 of the 17 citations. The remaining 3 (
useIpcEvents.ts:3177,useIpcEvents.ts:3737,agent-status-types.ts:229) are owned by the concurrent agent-status batching change and are scrubbed there, to avoid a conflict.Went slightly past a literal grep to catch bare section-number references (
relay.ts:873"(§5 Path 3)",agent-hook-relay.ts:11/197,installer-utils-remote.ts:88) and removed stale "(commit #7/#8)" pointers.Validation
typecheck:tsc:nodeandtypecheck:tsc:webclean. 471 tests across 14 files (shared + relay + main-process), 0 failures.check:code-quality:changedreports 0 new findings.Note for a follow-up
~20 other phantom design-doc citations exist in this repo (
docs/design/github-project-view-tasks.md,DESIGN_DOC_TERMINAL_HISTORY_FIX_V2.md,telemetry-plan.md,terminal-query-authority.md,docs/upstream-base-ref-design.md). Out of scope here; worth a triage ticket so it isn't rediscovered.Made with Orca 🐋