orca
AGENTS.md85k starsChanged 4 months agoMITView on GitHub
All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow docs/STYLEGUIDE.md. Most of it is linted: pnpm run check:code-quality:changed fails on new restyles of a components/ui/ primitive, raw palette colors, and computed className strings; pnpm lint fails on any class Tailwind cannot generate. See the Enforcement section of the style guide before suppressing either. Use the tokens defined in src/renderer/src/assets/main.css (the canonical source) and the shadcn primitives in src/renderer/src/components/ui/. Don't invent new color values, font…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about stablyai/orca
- A Hacker News story“Show HN: Open Source 'Conductor + Ghostty'”Hacker News · Mar 27, 2026 · 21 points
- stablyai/homebrew-orca“Deprecated `verified` param in `url` stanza (Casks/orca.rb:8)”GitHub · Sep 5, 2026 · 6 reactions
- @launchit.ai“Orca looks super cool! It's got a bunch of IDE like features, but is primarily about managing agent …”Bluesky · Jul 2, 2026 · 6 likes
- NixOS/nixpkgs“orca-ide: init at 1.4.173”GitHub · Aug 5, 2026 · 4 reactions
- tjsousa/homebrew-cask“fix: Cask url verified deprecation”GitHub · Sep 25, 2026 · 3 reactions
The biggest 5 of 90 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 90
Talked about on GitHub, Bluesky and Hacker News (90 times).
On GitHub · 50
- Sep 5, 2026Deprecated `verified` param in `url` stanza (Casks/orca.rb:8) — stablyai/homebrew-orca6 reactions · 4 comments
- Aug 5, 2026orca-ide: init at 1.4.173 — NixOS/nixpkgs4 reactions · 3 comments
- Sep 25, 2026fix: Cask url verified deprecation — tjsousa/homebrew-cask3 reactions
- Nov 10, 2026fix(acp): retain command streaming until the executor returns — anomalyco/opencode2 reactions · 7 comments
- Sep 30, 2026[Feature]: First-class Orca integration for OmO Native (status, prompt prefill, session discovery) — code-yeongyu/oh-my-openagent2 reactions · 1 comment
45 more on GitHub
- Jul 29, 2026[Bug] Background subagent leaves parent session shown idle while child is still working — openchamber/openchamber2 reactions · 4 comments
- Jul 12, 2026docs(readme): add Orca footer and code-review reviewers section — pleaseai/shunt2 reactions · 4 comments
- Nov 22, 2026ci: verification run for upstream #46987 — bbingz/orca1 reaction · 1 comment
- Nov 22, 2026ci: verification run for upstream #46742 — bbingz/orca1 reaction · 2 comments
- Nov 22, 2026ci: verification run for upstream #46742 — bbingz/orca1 reaction · 2 comments
- Nov 22, 2026ci: verification run for upstream #46718 — bbingz/orca1 reaction · 2 comments
- Nov 22, 2026ci: verification run for upstream #46669 — bbingz/orca1 reaction · 2 comments
- Nov 21, 2026ci: verification run for upstream #46552 — bbingz/orca1 reaction · 2 comments
- Nov 21, 2026sync: upstream 05d304f27d into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 21, 2026feat(events): emit `task:subagent:lifecycle` for foreground runs — nicobailon/pi-subagents1 reaction · 1 comment
- Nov 21, 2026ci: verification run for upstream #46133 — bbingz/orca1 reaction · 2 comments
- Nov 21, 2026ci: verification run for upstream #46105 — bbingz/orca1 reaction · 2 comments
- Nov 20, 2026sync: upstream 15c7c2a3be into swaplabs/main — SwapLabsInc/orca1 reaction · 1 comment
- Nov 20, 2026ci: verification run for upstream #45662 — bbingz/orca1 reaction · 2 comments
- Nov 19, 2026sync: upstream d1913b03f0 into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 19, 2026ci: verification run for upstream #44791 — bbingz/orca1 reaction · 2 comments
- Nov 19, 2026ci: verification run for upstream #44791 — bbingz/orca1 reaction · 2 comments
- Nov 19, 2026ci: verification run for upstream #44722 — bbingz/orca1 reaction · 2 comments
- Nov 17, 2026sync: upstream 2a4b90e11a into swaplabs/main — SwapLabsInc/orca1 reaction · 3 comments
- Nov 17, 2026sync: upstream 2a4b90e11a into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 16, 2026docs(roadmap): bring the Current Plan up to date, and add ideas from Orca — zoolok17/agenttalk1 reaction · 1 comment
- Nov 15, 2026sync: upstream 409ce31fb4 into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 15, 2026sync: upstream 409ce31fb4 into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 14, 2026sync: upstream 5e4c47d5f0 into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 14, 2026sync: upstream 5e4c47d5f0 into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 13, 2026feat(launcher): report agent status to Orca when running inside an Orca pane — Gentleman-Programming/gentle-shell1 reaction
- Nov 12, 2026sync: upstream 52b618339f into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Nov 11, 2026sync: upstream 02e8b0c2a8 into swaplabs/main — SwapLabsInc/orca1 reaction · 3 comments
- Nov 10, 2026sync: upstream dc9a7abfc1 into swaplabs/main — SwapLabsInc/orca1 reaction · 3 comments
- Nov 5, 2026Install Orca on non-trial Macs; sable login --no-browser in setup prompts — sable-inc/nix-config1 reaction
- Nov 5, 2026I'd like to take this one. — MetrixAiforAll/Repos1 reaction
- Nov 2, 2026sync: upstream bb3ce94b4f into swaplabs/main — SwapLabsInc/orca1 reaction · 2 comments
- Oct 22, 2026worktree切り替え時のターミナル状態を保持して再生・フォーカス競合を防ぐ — oaktics/neuraOS1 reaction · 3 comments
- Oct 18, 2026Recover Prism after Windows taskbar restore — taiki-maeda-bkmn/prism1 reaction · 1 comment
- Oct 15, 2026fix(git): run git in the C locale so fallbacks match English errors — vercel-labs/skills1 reaction
- Oct 15, 2026[Bug]: Commit-SHA fallback never runs when git prints translated error messages — vercel-labs/skills1 reaction · 2 comments
- Sep 25, 2026fix(hooks): never let a hook flash a console window on Windows — 1jehuang/jcode1 reaction · 2 comments
- Sep 22, 2026[Bug]: SuperGrok usage shows No usage data when xAI omits zero-valued creditUsagePercent — openclaw/openclaw1 reaction · 1 comment
- Aug 29, 2026docs: repair runtime-script map and upstream-path citation (#184) — ravidsrk/open-fleet1 reaction
- Aug 27, 2026docs: correct Orca platform claims and add Linux backend verification evidence — kunchenguid/firstmate1 reaction · 2 comments
- Aug 20, 2026[Feature Request] Ability to manage git submodule folders — openchamber/openchamber1 reaction · 5 comments
- Aug 10, 2026Orca backend: support persistent secondmate homes after supervised-worker parity — kunchenguid/firstmate1 reaction · 3 comments
- Jul 28, 2026Please stop @mentioning upstream Orca contributors in port-review issues — Nebutra/pebble1 reaction · 1 comment
- Jul 20, 2026claude-connector: concurrent spawns share one ~/.claude/.credentials.json, race on OAuth refresh (cascading logouts) — Cotal-AI/Cotal1 reaction · 1 comment
- Jul 11, 2026Epic: relay-orca — supervised program orchestration over relay outcomes — sungjunlee/dev-relay1 reaction · 5 comments
On Bluesky · 39
- Jul 2, 2026Orca looks super cool! It's got a bunch of IDE like features, but is primarily about managing agent sessions. You can even match between… — @launchit.ai6 likes and reposts · 1 reply
- Jun 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 stablyai / orca ⭐ 5,416 (+117) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social3 likes and reposts
- Oct 23, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 102,337 (+1,694) 🗒 TypeScript Orca is the place for working with a fleet of… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Sep 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 75,268 (+985) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Aug 26, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 53,615 (+863) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
34 more on Bluesky
- Aug 11, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 42,180 (+881) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jul 10, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 14,720 (+804) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Nov 17, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 127,323 (+1,052) 🗒 TypeScript Orca lets you run a fleet of coding agents (e.g.… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Nov 2, 2026• Playwright MCP: It gives your AI agent access to a real browser. It can navigate your app, fill out forms, click buttons, and check… — @pierrehenry.dev1 likes and repost
- Oct 31, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 111,433 (+792) 🗒 TypeScript Orca is the place for working with a fleet of agents… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 28, 2026Free web developer resources👇 github.com/DietrichGeb... - AI coding less code kinetics.colorion.co - free motion effects… — @csaba.bsky.social1 likes and repost
- Oct 20, 2026📈 Today's GitHub Trending: 1. https://github.com/MadsLorentzen/ai-job-search - Python, 3890 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost
- Oct 20, 2026stablyai/orca [MIT License] 複数のAIコーディングエージェントを並列管理します 仕事の切替がかなり軽いです 言語:TypeScript, JavaScript 種類:AI/Other ⭐ Star: +3770 🔀 Fork: +212… — @reponews.bsky.social1 likes and repost
- Oct 19, 2026今日のGitHubトレンド stablyai/orca Orcaは、複数のAIエージェントを並行して実行・管理するためのAIオーケストレーターです。 異なるAIを独立したワークツリーで同時に動作させ、結果の比較や統合を効率的に行えます。… — @dailygithubtrends.bsky.social1 likes and repost
- Oct 19, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 96,083 (+1,146) 🗒 TypeScript Orca is the place for working with a fleet of agents… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 17, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 94,840 (+1,102) 🗒 TypeScript Orca is the place for working with a fleet of agents… — @github-trending.bsky.social1 likes and repost · 1 reply
- Oct 14, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 92,083 (+962) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Sep 12, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 67,067 (+666) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Sep 6, 2026stablyai/orca Running one coding agent is easy. Orca is built for running fleets of them. Parallel agents, multi-agent workspaces, remote… — @githubprojects.bsky.social1 likes and repost · 1 reply
- Sep 1, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 58,828 (+896) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social1 likes and repost · 2 replies
- Aug 22, 2026🚀 GitHub Intelligence Drop wechat-miniapp-radar (TypeScript • 🟢) ⭐ 51.2K → https://github.com/justjavac/wechat-miniapp-radar orca… — @githubfeed.bsky.social1 likes and repost
- Aug 12, 2026今日のGitHubトレンド stablyai/orca Orcaは、複数のAIエージェントを同時に実行・管理するためのAIオーケストレーターです。 個別のGitワークツリーでエージェントを並列動作させ、結果を比較して統合することが可能です。… — @dailygithubtrends.bsky.social1 likes and repost
- Aug 11, 2026Orca es un entorno para lanzar flotas de agentes en paralelo. 5, 10, 20 coding agents trabajando a la vez. Con tus propias API keys y… — @lluis154.bsky.social1 likes and repost
- Aug 11, 2026¡Orca es una pasada para orquestar agentes de IA! ✓ Claude Code, Codex, OpenCode, Cursor, Grok… ✓ Envía el mismo prompt a 5 agentes y… — @midu.dev1 likes and repost
- Jul 21, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 24,316 (+1,384) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 3, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 11,426 (+736) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jun 24, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 stablyai / orca ⭐ 6,487 (+265) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 20, 2026stablyai/orca: Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on… — @jelloeater.bsky.social1 likes and repost
- Mar 28, 2026Show HN: Open Source 'Conductor + Ghostty' Discussion | hackernews | Author: nwparker — @news.karthihegde.dev1 likes and repost
- Mar 28, 2026Show HN: Open Source 'Conductor + Ghostty' L: https://github.com/stablyai/orca C: https://news.ycombinator.com/item?id=47549197 posted on… — @hnws.bsky.social1 likes and repost
- Mar 27, 2026Show HN: Open Source 'Conductor + Ghostty' https://github.com/stablyai/orca — @mm-hacker-news.bsky.social1 likes and repost
- Nov 6, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 117,273 (+1,199) 🗒 TypeScript Orca lets you run a fleet of coding agents (e.g.… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Oct 21, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 stablyai / orca ⭐ 100,666 (+1,543) 🗒 TypeScript Orca is the place for working with a fleet of… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Sep 18, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 71,534 (+858) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Aug 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 50,678 (+727) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Aug 17, 2026Orca An agent development environment for running a fleet of coding agents in parallel. It works across desktop, mobile, and VPS… — @githubprojects.bsky.social0 likes and reposts · 1 reply
- Aug 11, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 stablyai / orca ⭐ 42,180 (+881) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Jul 30, 2026RT @EmircanErkulX: Anyway... i lost my interest in you... just unfollowing you. BTW, I use https://github.com/stablyai/orca and not… — @theo-mir-rt.selfhosted.social0 likes and reposts · 1 reply
- Jun 24, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 stablyai / orca ⭐ 6,199 (+210) 🗒 TypeScript Orca is the ADE for working with a fleet of parallel… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 27, 2026Show HN: Open Source 'Conductor + Ghostty'21 points · 10 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- computer-useSkill
- linear-ticketsSkill
- orca-cliSkill
- orca-emulator-androidSkill
- orca-emulatorSkill
- orca-linearSkill
- orca-per-workspace-envSkill
- orchestrationSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
21 rules. About 0 are common, 9 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 7
Always run tests and agent-launched apps in the background with ORCA_BACKGROUND_LAUNCH=1.
- Very specific: line 8
Never steal monitor focus or reveal test windows: no show(), showInactive(), bringToFront(), app.focus(), or OS activation.
- Very specific: line 13
Use the $electron skill and Playwright CDP for rendered Orca UI checks.
- Distinctive: line 23
DO NOT: be verbose, explain the obvious, walk through the code ("WHY not HOW")
- Very specific: line 28
NEVER add a max-lines disable (eslint-disable max-lines, oxlint-disable max-lines, or line-specific variants), and never add a per-file …
- Very specific: line 38
Avoid type assertions except as const.
- Very specific: line 50
Real Claude CLI: when you change Claude structured-session code (src/main/claude/claude-structured-*), run
- Distinctive: line 56
No jargon — plain language, no internal shorthand.
- Distinctive: line 67
Always use the primary working directory (the worktree) for all file reads and edits.
- Very specific: line 73
Keyboard shortcuts: Never hardcode e.metaKey. Use a platform check (navigator.userAgent.includes('Mac')) to pick metaKey on Mac and ctrlKey …
- Very specific: line 75
File paths: Use path.join or Electron/Node path utilities — never assume / or \.
- Very specific: line 80
Windows process enumeration: read the table through src/main/windows/windows-process-table.ts, never by forking powershell.exe.
- Distinctive: line 85
Linux native modules: keep the glibc floor at Ubuntu 20.04 / glibc 2.31.
- Distinctive: line 97
All changes must consider folder workspaces as well as git worktrees.
- Distinctive: line 115
When adding or changing a Git command:
- Distinctive: line 117
Check when every subcommand and option was introduced.
- Very specific: line 118
Use GitCapabilityCache with a narrow unsupported-error predicate so recurring operations do not retry a known-invalid command.
- Distinctive: line 120
Keep the real-binary compatibility contract in PR CI current.
- Very specific: line 125
Never enumerate every ref and then run git ls-tree -r or git show once per ref.
- Very specific: line 126
Prefer rg over the checked-out files for source searches.
- Distinctive: line 127
Keep repository-wide commands targeted to the current repository and worktree.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design System
All UI work — layout, color, typography, spacing, component selection, UX behavior — must follow docs/STYLEGUIDE.md. Most of it is linted: pnpm run check:code-quality:changed fails on new restyles of a components/ui/ primitive, raw palette colors, and computed className strings; pnpm lint fails on any class Tailwind cannot generate. See the Enforcement section of the style guide before suppressing either. Use the tokens defined in src/renderer/src/assets/main.css (the canonical source) and the shadcn primitives in src/renderer/src/components/ui/. Don't invent new color values, font sizes, or shadow tiers when a documented one already covers the role. When STYLEGUIDE.md is silent, follow the resolution order in its final section.
Electron UI Validation
Always run tests and agent-launched apps in the background with ORCA_BACKGROUND_LAUNCH=1.
Never steal monitor focus or reveal test windows: no show(), showInactive(), bringToFront(),
app.focus(), or OS activation. Use CDP screenshots of hidden renderers. Keep native-focus and
visible-window tests paused on the user's desktop; run them on an isolated display or CI.
Rebuild modified launch-policy code before running an app; stale build wrappers are not safe.
Use the $electron skill and Playwright CDP for rendered Orca UI checks. Do not use computer-use for Orca UI validation.
Style
Reuse Before Reimplementing
Before writing new logic at any scale — a function, component, IPC channel, state store, or whole subsystem/flow — check whether an existing implementation already does the job (or nearly does). Extend or generalize it instead of building a parallel version; only write from scratch when nothing fits. Keep the check proportionate: a quick search for trivial code, a real one before building anything substantial.
Concise/Brief Non-obvious Comments ONLY
- DO NOT: be verbose, explain the obvious, walk through the code ("WHY not HOW")
- BE CONCISE. 1 LINE if possible
Lint Rules: Do Not Disable Max Lines
NEVER add a max-lines disable (eslint-disable max-lines, oxlint-disable max-lines, or line-specific variants), and never add a per-file max-lines bump in mobile/.oxlintrc.json.
File and Module Naming
Never use vague names like helpers, utils, common, misc, or shared-stuff for files, folders, or modules. They carry zero info and tend to become dumping grounds. Name files after what they actually contain — prefer the concrete domain concept (e.g. tab-group-state.ts, terminal-orphan-cleanup.ts) over the generic role (tabs-helpers.ts, terminal-utils.ts). If you find yourself reaching for helpers, the file probably has more than one responsibility and should be split, or there's a better name hiding in the code that describes what the functions operate on.
Type Declarations: Prefer .ts Over .d.ts
Type Assertions: Prefer Checked Types
Avoid type assertions except as const. Unavoidable casts need a line-specific SAFETY: explanation:
// oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Explain the verified invariant here.Verifying Changes
- Typecheck:
pnpm tc(ortc:node/tc:cli/tc:web) - Test:
pnpm test [path/to/file.test.ts] - Lint:
oxlint, orpnpm run check:code-quality:changedfor changed files (fullpnpm lintis slow); format withpnpm format - Design system:
pnpm run lint:design-systemfor the full renderer report (not a gate); the changed-lines gate above is what CI enforces - Real Claude CLI: when you change Claude structured-session code (
src/main/claude/claude-structured-*), runORCA_REAL_CLAUDE_CLI_TEST=1 pnpm test src/main/claude/claude-structured-real-cli.test.ts src/main/claude/claude-structured-real-cli-fold.test.ts; it uses your real Claude login
Writing Pull Requests
Fill in .github/pull_request_template.md, written for a reviewer who has never seen this code:
- No jargon — plain language, no internal shorthand.
- The before and after as the user experiences it.
- The mechanism you changed, not just the symptom.
- Why this approach over the alternatives you considered.
Cover all four concisely. Don't pad or walk the diff.
Considerations
Worktree Safety
Always use the primary working directory (the worktree) for all file reads and edits. Never follow absolute paths from subagent results that point to the main repo.
Cross-Platform Support
Orca targets macOS, Linux, and Windows. Keep all platform-dependent behavior behind runtime checks:
- Keyboard shortcuts: Never hardcode
e.metaKey. Use a platform check (navigator.userAgent.includes('Mac')) to pickmetaKeyon Mac andctrlKeyon Linux/Windows. Electron menu accelerators should useCmdOrCtrl. - Shortcut labels in UI: Display
⌘/⇧on Mac andCtrl+/Shift+on other platforms. - File paths: Use
path.joinor Electron/Node path utilities — never assume/or\. - Windows terminal shells:
--shellpicks the shell a terminal is;--commandis typed into whatever shell the host spawned, so a shell choice routed throughcommandsilently becomes a child process. Seedocs/reference/windows-terminal-shell-selection.md. - Windows setup scripts: the setup/issue-command runner is a
.cmdbatch file unless the script starts with a#!line — never derive that from the user's terminal-shell preference, and never launch a.cmdrunner with a barecmd.exe /cfrom a Git Bash pane (MSYS rewrites the/c). Seedocs/reference/windows-setup-shell.md. - Windows child processes: start them through
runProcess/spawnProcessinsrc/shared/child-process/— neverchild_processdirectly. It pinswindowsHide, refusesshell: true, and encodes.cmd/.batarguments so neitherCommandLineToArgvWnorcmd.exemangles them. A ratchet test fails on any new direct import. Recognised npm/pnpm.cmdshims are resolved to their real target so the spawn skipscmd.exeentirely; seedocs/reference/windows-cmd-shim-resolution.mdbefore adding a shim shape or debugging one. - Ripgrep: Orca bundles
rgfor every platform, WSL, and SSH remotes. Spawn it throughspawnBundledRipgrep(main) orresolveRelayRipgrepCommand(relay), never a bare'rg'— Windows resolves a bare name in the spawn cwd before PATH. Don't add git/readdir fallbacks locally; the relay's chain exists only for hosts an upload never reached. - Windows process enumeration: read the table through
src/main/windows/windows-process-table.ts, never by forkingpowershell.exe. Seedocs/reference/windows-process-enumeration.md. - Windows MSYS/Git Bash panes: their children break away from the per-PTY job unless it is created without
JOB_OBJECT_LIMIT_BREAKAWAY_OK, and aconpty.nodebuilt before that fix passes every existing gate. Before changing the per-PTY job or debuggingwindows-msys-job.win32.test.ts, readdocs/reference/windows-msys-job-breakaway.md. - Windows daemon-host relocation: the terminal daemon runs from a copy of the app runtime under
%LOCALAPPDATA%, which is what survives an auto-update. Before touching that copy, its exe name, or the NSIS uninstall macro, readdocs/reference/windows-daemon-host-relocation.md. - Windows EDR signal: don't add
-ExecutionPolicy Bypass,-EncodedCommand,cmd.exe /cwith escaped free text, per-operation interpreter spawning, or runtimeAdd-Typecompilation without readingdocs/reference/windows-edr-posture.mdfirst — behavioural EDR scores each of those, and being signed does not clear them. For file verdicts on the bytes we ship — antivirus false positives, and the vendor programs that clear a release before users meet the detection — seedocs/reference/antivirus-prerelease-clearance.md. - WSL commands: build argv with
buildWslExecArgs(always--exec— under--,wsl.exeexpands$namein every argument and silently rewrites the script), and fence anything whose stdout you parse withbuildWslCapturedLoginShellCommand, because the interactive login shell prints the distro banner to stdout. Seedocs/reference/wsl-command-execution.md. - Linux native modules: keep the glibc floor at Ubuntu 20.04 / glibc 2.31. A module compiled from source on a newer runner can reference symbol versions absent on the floor and crash the app on startup. See
docs/reference/linux-glibc-compatibility.md; packaging fails if a bundled native binary needs newer glibc.
Native Dependency Installs
Ordinary pnpm install covers the host OS and CPU only. Before packaging for another architecture — including pnpm build:mac, which builds x64 and arm64 by default — run pnpm install:release. electron-builder only warns on a missing extraResources source, so the beforePack guard is what turns a thin install into a build failure instead of a silently broken artifact; see docs/reference/pnpm-install-policy.md.
SSH Use Case
All changes must consider the SSH use case. Don't assume local-only execution. Before changing anything that reports on, stops, or lists remote work, follow docs/reference/ssh-execution-boundary.md: the execution host owns everything that touches execution, and loss of contact is never evidence of process death — the verdict vocabulary is live / unverifiable / exited, with no synonyms.
Folder Workspace Use Case
All changes must consider folder workspaces as well as git worktrees. Don't assume every workspace is a git worktree.
Agent Status
The execution host owns agent status in one store, the hook server's, and every reader (sidebar, worktree ps, mobile, dashboard) subscribes to it. Before adding a producer, a cache, or a reader-side precedence rule, read docs/reference/agent-status-store.md: new producers write into that store, and readers keep only presentation policy.
Agent Terminal Screens
A rule that reads what an agent CLI paints on a terminal — readiness, blocked prompts, idle — must be written against a captured transcript, not a remembered screen. Record one with docs/reference/agent-pty-transcript-capture.md, which keeps escapes and wrapping intact and scrubs account identifiers before they reach git. Antigravity readiness has no transcript yet and five failed attempts without one; before touching it, read docs/reference/antigravity-readiness-evidence.md.
Remote Wire Compatibility
Clients and remote Orca servers update independently, so mixed versions are the normal state. Before changing anything a paired client and host exchange — RPC params, stream frames, or the content either side publishes over them — follow docs/reference/remote-wire-compatibility.md. A new optional field is safe; a new stream opcode must be capability-negotiated because decoders drop unknown opcodes silently; and changing what the host publishes reaches old clients even with no wire change.
Git Binary Compatibility
Orca runs the user's Git binary on native, WSL, and SSH hosts, which may all have different versions. Treat Git 2.25 as the core-workflow baseline and follow docs/reference/git-compatibility.md.
When adding or changing a Git command:
- Check when every subcommand and option was introduced. For newer behavior, keep a baseline-compatible fallback or degrade safely.
- Use
GitCapabilityCachewith a narrow unsupported-error predicate so recurring operations do not retry a known-invalid command. Do not rely only ongit --version; wrappers such assimple-gitdo not remove host-version differences. - Scope capability state to the host that executes Git: native, WSL distro, SSH provider, or relay connection. Cover the first fallback, later cached calls, concurrent probes, and relevant host isolation in tests.
- Keep the real-binary compatibility contract in PR CI current. When adopting a newer Git feature, add its version boundary so the preferred command and fallback both run against representative Git releases.
- Preserve commands that begin with global Git options such as
-cbefore the subcommand, including auto-maintenance suppression used by worktree-create fetches.
Git Scan Safety
- Never enumerate every ref and then run
git ls-tree -rorgit showonce per ref. That ref × tree fan-out can retain gigabytes of output before a downstreamsort -uor search can make progress. - Prefer
rgover the checked-out files for source searches. For history or refs, use a named ref, an explicit namespace/path,--max-count, and a bounded output; do not use an unqualified--allscan as a first diagnostic. - Keep repository-wide commands targeted to the current repository and worktree. If an unbounded scan is genuinely required, measure the ref count first, explain the cost, and get confirmation before running it.
Git Provider Compatibility
Source-control and review changes must consider GitLab and other supported git providers, not only GitHub. Keep provider-specific behavior behind explicit checks, and avoid GitHub-only naming for generic review concepts.
GitHub CLI Usage
Be mindful of the user's gh CLI API rate limit — batch requests where possible and avoid unnecessary calls. All code, commands, and scripts must be compatible with macOS, Linux, and Windows.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

