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.

Refresh stale comment in bus.ts that still referenced removed $*_dir template vars

wytfba4d4d512bb
diff --git a/src/main/features/group_chat/bus.ts b/src/main/features/group_chat/bus.ts
index 2de7a618..61fd4ff5 100644
--- a/src/main/features/group_chat/bus.ts
+++ b/src/main/features/group_chat/bus.ts
@@ -858,12 +858,13 @@ async function runTurn(state: CidState, w: WorkerState, item: QueueItem): Promis
| { type: 'progress'; text: string }
| { type: 'event'; event: { stream: string; data?: unknown } };
const processItems: ProcessItem[] = [];
- // Skill / agent directories are referenced by `$builtin_skills_dir` /
- // `$custom_skills_dir` / `$custom_agents_dir` template vars in the
- // system prompt — commander + agents are told to `cat .../<id>/SKILL.md`
- // to read the skill body before executing, and to `read_file` an
- // agent.json before emitting an `<agent>` edit container so the rewrite
- // is grounded in current state. Path-sandbox blocks anything outside
+ // Commander needs to inspect skill / agent specs before mutating them:
+ // `cat .../<id>/SKILL.md` to ground a skill rewrite, `read_file` an
+ // agent.json before emitting an `<agent>` edit container. The ROOT
+ // values now live inline in the rendered `agents_index` /
+ // `## Available skills` blocks (see `skill-registry.renderSkillLines`
+ // and `_buildAgentsIndexBlockForTest`); commander reads them straight
+ // from the entry block. Path-sandbox blocks anything outside
// workspace + attachment by default, so we expose these as
// `readOnlyExtraRoots`: file-tools (read_file / search_files /
// grep_files / stat_file) can see them, but write-side tools