Interface: AgentContinuationFrame
Defined in: ports/agent-continuation-frame.ts:12
Serialized continuation frame for an P.agent execution session (kind: 'agent-frame').
Persisted inside ContinuationFrame[] stacks in LedgerStore and SuspendedForkRecord to support deterministic crash recovery, sibling-interrupt suspension, and resumeFork.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
accumulatedLessonOutcomes? | readonly | Readonly<Record<string, LessonOutcome>> | Deduplicated per-lesson 4-state outcome map accumulated during standalone agent execution. | ports/agent-continuation-frame.ts:60 |
activeLeases | readonly | readonly LeaseDelta[] | Active capability leases granted to this agent session. | ports/agent-continuation-frame.ts:34 |
activeSkillActivations | readonly | Readonly<Record<string, { callId: string; messageId: string; }>> | Map of active skillId to its { messageId, callId } activation frame coordinates for completeSkill. | ports/agent-continuation-frame.ts:38 |
activeSkillIds | readonly | readonly string[] | Identifiers of skills currently mounted via activateSkill in this session. | ports/agent-continuation-frame.ts:36 |
agentId | readonly | string | Logical identifier of the AgentNode. | ports/agent-continuation-frame.ts:16 |
bufferedGateRecoveries? | readonly | readonly unknown[] | Buffered in-session gate recovery pairs awaiting loop acceptance and winner commit before distillation. | ports/agent-continuation-frame.ts:58 |
conflictCheckArmed? | readonly | boolean | Whether scopeNode.conflictCleanCheck is armed due to a prior conflicted merge or rebase. | ports/agent-continuation-frame.ts:50 |
costUsd | readonly | number | Cumulative model invocation cost in USD for this agent session. | ports/agent-continuation-frame.ts:30 |
elapsedDurationMs | readonly | number | Cumulative elapsed execution time in milliseconds for this agent session. | ports/agent-continuation-frame.ts:32 |
injectedScopedRuleIds | readonly | readonly string[] | Identifiers of ScopedRuleNode directives already injected into this session. | ports/agent-continuation-frame.ts:44 |
inputJson | readonly | string | JSON-serialized validated input payload for the agent session. | ports/agent-continuation-frame.ts:24 |
kind | readonly | "agent-frame" | Discriminant identifying an agent continuation frame. | ports/agent-continuation-frame.ts:14 |
lastGateFailureJson? | readonly | string | Optional JSON-serialized snapshot of the most recent beforeStop gate failure for .onGateRecovery(). | ports/agent-continuation-frame.ts:56 |
leafMessageId | readonly | string | null | Identifier of the latest persisted WireFrameRecord in the session transcript, or null. | ports/agent-continuation-frame.ts:26 |
modelId | readonly | string | Provider model identifier used by the active session. | ports/agent-continuation-frame.ts:20 |
neutralSyncContinuation? | readonly | boolean | Whether the next completion check follows a neutral [TOPOLOGY_SYNC_REVERIFY] continuation. | ports/agent-continuation-frame.ts:52 |
observedEffects | readonly | readonly ToolEffect[] | Cumulative ToolEffect descriptors recorded during this session. | ports/agent-continuation-frame.ts:42 |
pausedAtPhase | readonly | "TOOL_BOUNDARY" | "BEFORE_STOP_GATE" | "LIMIT_EXCEEDED_FLUSH" | High-level execution boundary at which the session is currently paused. | ports/agent-continuation-frame.ts:46 |
pauseState | readonly | AgentPauseState | Phase-specific discriminated pause payload. | ports/agent-continuation-frame.ts:48 |
roleKey | readonly | string | Canonical order-independent roleKey selecting the actor's wire toolset. | ports/agent-continuation-frame.ts:18 |
stepExecId | readonly | string | Unique step execution identifier in LedgerStore. | ports/agent-continuation-frame.ts:22 |
syncedToPrerequisiteCheckpoint? | readonly | string | Checkpoint marker set during 'SUSPENDED' prerequisite wakeup once syncRoot is persisted. | ports/agent-continuation-frame.ts:54 |
turnsTaken | readonly | number | Cumulative number of LLM turns completed in this agent session. | ports/agent-continuation-frame.ts:28 |