POST /v1/agent-lifecycle-events with a workspace key carrying traces:write. The same contract is available at POST /api/v1/observability/agent-lifecycle-events. This is independent of version 1/2 session ingestion and does not require an open session or a swarm.{ "version": 1, "project": "support", "environment": "production", "runtime": "state-machine", "source": "account-monitor", "events": [ { "id": "registration-1", "at": "2026-11-26T12:00:00Z", "producer": "monitor", "epoch": "1", "sequence": "0", "kind": "actor_registered", "actor": {"key": "account-monitor", "incarnation": "lifetime-1"}, "data": {"definition": "account-monitor", "definition_version": "v1"} } ] }
409. Exporter restarts and alternate delivery paths preserve the original event content, epoch, sequence, and timestamp. A transport acknowledgement proves Halfspan stored the event; it is separate from the source's state-commit receipt.execution_started, execution_waiting, execution_resumed, and execution_finished for runtime lifecycle. An execution can have multiple waits; each resume references one wait ID. A completed invocation does not retire its actor. continued closes a run and identifies its successor without finishing the actor lifetime.transition_attempted and transition_failed preserve function attempts. Only transition_committed advances domain state, carrying the function/version, branch, prior/next source state versions, state name/schema version, and source commit receipt. Publish committed transitions from a transactionally written outbox or retained runtime evidence after the source commits. A span ending or a function returning successfully does not establish durable commit.state_snapshot provides explicit baseline/reconciliation evidence. branch_selected identifies the source-selected branch after a reset. Missing predecessors and competing successors remain incomplete or conflicting; timestamps do not choose the current state. State names and versions are retained as metadata. Full state payloads are not accepted by this contract.execution_linked. Model/tool usage stays in the original traces and is not published a second time as lifecycle events. An unavailable, expired, or unshared trace remains unavailable when reached from an actor.createLifecycleExporter, and a PostgreSQL outbox adapter. Best-effort mode has a bounded in-memory queue and reports backpressure without silently dropping observations. Recoverable mode drains a caller-owned durable outbox and acknowledges entries only after validating the API receipts. Insert the outbox entry in the same transaction as customer state. The generic exporter cannot make an independently written state change atomic.@halfspan/temporal integration maps retained Workflow history to executions and links continued runs. Its Workflow module contains deterministic helpers; credentials and network export remain outside the Workflow sandbox. Business transitions require an explicit recorder. A sink alone is best-effort telemetry because Temporal does not persist or retry sink calls. See the Temporal sink contract.traces:read at /v1/actors and /v1/executions, or under /api/v1/observability/. Actor detail and event history use /actors/{actor} and /actors/{actor}/events; execution detail uses /executions/{execution}. Execution route IDs are server UUIDs; the original runtime execution ID is returned separately. Pages return nextCursor; preserve the same filters when continuing.410 after expiry. Actor detail includes up to 100 executions and reports execution_history_partial; use /executions?actor_id={actor} for the complete catalog. Continue execution event history on the same detail endpoint with cursor. A tenant can retain 1,024 cursor snapshots within a 128 MiB aggregate budget, with 16 MiB maximum per snapshot. Identical unchanged snapshots are reused.POST /api/v1/observability/actors/{actor}/forget. It hides the lifetime immediately and prevents old registration/history exports from recreating it. Only explicit creation with a fresh incarnation can establish another lifetime.just db-migrate and grant the API database role access to the lifecycle tables and cursor sequence. Local setup includes these grants in infra/observability/local-role.sql. Collection quotas return backpressure rather than silently replacing incomplete evidence. The actor's response exposes the retained history start and collection coverage.429 response. Capacity planning must account for these lifetime limits; this release does not compact an arbitrarily long actor history into constant storage.