symfonic.agent.facade_continuation¶
facade_continuation ¶
Continuation and child-delegation invocation helpers for :class:Agent.
AgentContinuationMixin ¶
Keep trusted recovery and child lineage out of the ordinary facade.
continue_recovered
async
¶
Run one host-recovered turn with a new, kernel-owned run identity.
RecoveredContinuation is trusted composition metadata after the
host has authenticated and claimed its pause token; this entry accepts
no scope or caller-selected new run ID.
Source code in src/symfonic/agent/facade_continuation.py
continue_recovered_typed ¶
continue_recovered_typed(continuation: RecoveredContinuation, *, prepared_plan: InvocationPlan | None = None, event_guard: Any = None) -> AsyncIterator[Any]
Project raw recovered events onto the existing typed vocabulary.
The projection owns source closure and emits a completion only when the
kernel reports done. A second pause therefore stays a pause.
prepared_plan and event_guard are trusted host composition
hooks: use an already-admitted plan and observe raw events before they
are projected. These hooks do not authenticate or claim a pause token.