Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

review: translate Chinese quote in bus.ts dispatch project-scope comment

wyt8ebb85c580eb
diff --git a/src/main/features/group_chat/bus.ts b/src/main/features/group_chat/bus.ts
index 348621e5..8e07f4f6 100644
--- a/src/main/features/group_chat/bus.ts
+++ b/src/main/features/group_chat/bus.ts
@@ -431,11 +431,12 @@ async function _enqueueBody(params: EnqueueParams, state: CidState): Promise<Gro
// Project scope at dispatch time: if the conversation belongs to a
// project, drop any recipient agent_id that isn't bound to the project
- // (CLAUDE.md §6 — "不可用则交给指挥官处理"). Reserved ids (user /
- // commander) always pass through. After filtering, an empty `to` falls
- // through to the sender-default rule below — for user-initiated text
- // that means "go to commander", which is the explicit hand-off the
- // requirement asks for. Cheap: one project.json + bindings.json read,
+ // (CLAUDE.md §6 — "if recipient unavailable, hand off to commander").
+ // Reserved ids (user / commander) always pass through. After filtering,
+ // an empty `to` falls through to the sender-default rule below — for
+ // user-initiated text that means "go to commander", which is the
+ // explicit hand-off the requirement asks for. Cheap: one project.json
+ // + bindings.json read,
// resolveProjectScope already memoises file existence checks. Skipped
// when the conv has no project_id (orphan = unrestricted).
try {