fix(athena): force athena-junior to background and exempt from hard TTL

Council sessions are long-running: athena-junior launches members then
waits for them via background_wait. Two changes prevent premature kills:

- Force run_in_background=true when subagent_type resolves to athena-junior,
  avoiding the 10-minute sync poll timeout (MAX_POLL_TIME_MS)
- Exempt athena-junior from the 30-minute TASK_TTL_MS hard cutoff since
  council members have their own independent TTLs
- Fix missing bulk_launch field in AthenaOverrideConfigSchema (type error)
This commit is contained in:
ismeth
2026-03-03 17:14:38 +01:00
committed by YeonGyu-Kim
parent 5e71d84a69
commit 513a5c90b1
3 changed files with 133 additions and 1 deletions
+1
View File
@@ -58,6 +58,7 @@ export const AgentOverrideConfigSchema = z.object({
export const AthenaOverrideConfigSchema = AgentOverrideConfigSchema.extend({
council: AthenaConfigSchema.shape.council.optional(),
bulk_launch: AthenaConfigSchema.shape.bulk_launch,
non_interactive_mode: AthenaConfigSchema.shape.non_interactive_mode,
non_interactive_members: AthenaConfigSchema.shape.non_interactive_members,
non_interactive_member_list: AthenaConfigSchema.shape.non_interactive_member_list,