Part of #275
Question
Today, SubagentStart/SubagentStop are just another action_type value on a generic (:Action) node, sitting in the same flat per-session FOLLOWED_BY chain as everything else -- there's no node that "contains" the subagent's own tool-call sequence as children. Two candidate shapes once #2 (the inference rule) resolves:
(a) Introduce a first-class (:Agent) node (or similar) that a spawning tool call points at, which itself owns its own internal FOLLOWED_BY-sequenced tool-call actions -- a real tree, not a flat log with a pointer.
(b) Keep the existing flat Action-typed SubagentStart/SubagentStop pair, and just populate parent_action_id (feeding the already-existing but currently-dead PARENT_OF relationship) pointing at the spawning tool call.
Resolve which shape, and if (a), what properties/fields the new node carries. Blocked on #2 since the exact parent-linking mechanism shapes what there even is to attach a new node to. Resolve with the driving user via /grilling + /domain-modeling.
Part of #275
Question
Today,
SubagentStart/SubagentStopare just anotheraction_typevalue on a generic(:Action)node, sitting in the same flat per-sessionFOLLOWED_BYchain as everything else -- there's no node that "contains" the subagent's own tool-call sequence as children. Two candidate shapes once #2 (the inference rule) resolves:(a) Introduce a first-class
(:Agent)node (or similar) that a spawning tool call points at, which itself owns its own internalFOLLOWED_BY-sequenced tool-call actions -- a real tree, not a flat log with a pointer.(b) Keep the existing flat
Action-typedSubagentStart/SubagentStoppair, and just populateparent_action_id(feeding the already-existing but currently-deadPARENT_OFrelationship) pointing at the spawning tool call.Resolve which shape, and if (a), what properties/fields the new node carries. Blocked on #2 since the exact parent-linking mechanism shapes what there even is to attach a new node to. Resolve with the driving user via /grilling + /domain-modeling.