fix(agents): make sisyphus, hephaestus, atlas primary-only (not callable as subagents)

These agents should only be usable as primary session agents, not as
subagent targets via call_omo_agent/task(). Previously MODE was 'all'
which allowed them to be spawned as subagents, leading to confusing
behavior (e.g. Atlas delegating to Hephaestus as a subagent).

Subagent-callable agents remain: oracle, explore, librarian,
multimodal-looker, metis, momus, sisyphus-junior.

Note: Prometheus is not a BuiltinAgentName and is only invoked via
slash commands, so no change needed there.
This commit is contained in:
YeonGyu-Kim
2026-04-01 14:15:08 +09:00
parent a3f9eb1337
commit 1316a7d8d1
6 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import {
buildAntiDuplicationSection,
categorizeTools,
} from "../dynamic-agent-prompt-builder";
const MODE: AgentMode = "all";
const MODE: AgentMode = "primary";
function buildTodoDisciplineSection(useTaskSystem: boolean): string {
if (useTaskSystem) {