fix: resolve 7 council-validated PR violations
- Fix misleading background_wait instructions to show loop pattern with remaining_task_ids (race semantics, not block-all) - Fix wrong Gemini model string: gemini-3-pro-preview → gemini-3-pro - Add getMainSessionID() fallback when input.sessionID is undefined - Narrow .gitignore packages/ to only ignore built binaries - Fix contradictory config doc: non_interactive_members 'all' → 'custom' - Add athena-junior to keyword-detector exclusion check - Add .trim() before .toUpperCase() in resolveCouncilIntent - Update snapshots for model string change
This commit is contained in:
@@ -70,12 +70,12 @@ export function createKeywordDetectorHook(
|
||||
}
|
||||
}
|
||||
|
||||
// Athena is a council orchestrator — skip all keyword injections.
|
||||
// Athena and Athena-Junior are council orchestrators — skip all keyword injections.
|
||||
// search/analyze modes tell the agent to use explore agents and grep directly,
|
||||
// which conflicts with Athena's job of launching council members via task calls.
|
||||
// Use getAgentConfigKey to handle display name remapping ("Athena (Council)" → "athena").
|
||||
const agentConfigKey = currentAgent ? getAgentConfigKey(currentAgent) : undefined
|
||||
if (agentConfigKey === "athena") {
|
||||
if (agentConfigKey === "athena" || agentConfigKey === "athena-junior") {
|
||||
if (detectedKeywords.length > 0) {
|
||||
log(`[keyword-detector] Skipping keywords for Athena (council orchestrator)`, {
|
||||
sessionID: input.sessionID,
|
||||
|
||||
Reference in New Issue
Block a user