/**
 * End-to-end SubSession spawn flow.
 *
 * Builds Tenant → Project → Session → simulated Run → spawnSubAgent →
 * SubSession → child Run → child completion → SessionSummaryRef materialized
 * → parent reads the child summary via `sessionStore.drill`. Asserts the
 * event sequence matches §10.5 of session-hierarchy.md (spawn, child run,
 * idled).
 *
 * Covers Phase 6 invariants #1–5 in the pattern doc checklist:
 *  - Sub-session spawn triple (SubSession + Session + workspace meta)
 *  - Kernel-materialized Summary on completion
 *  - Lineage on every sub-session event (depth, rootSessionId)
 *  - Atomic `recordSummary` flip active→idle
 *  - `sessionStore.drill` surfaces the child's structure after completion
 */
export {};
//# sourceMappingURL=e2e-spawn.test.d.ts.map