Preliminary snapshot. This is an illustrative trace based on the v0.1.0 Hello World specification. Event names, payload shapes, and the artifact content will be verified and updated against the actual output of examples/hello-world/index.ts before the Hello World milestone closes (issue #8). Authoritative event names are defined in issues #15 and #21.

Event logSession lifecycle

#1 session.started

A new runtime session was created and the workflow package loaded into the agent habitat.

eventId: "evt_01HWSF3K..." type: "session.started" seq: 1 traceId: "trc_01HWSF3K..." payload: { sessionId: "ses_01HWSF3K..." workflowId: "hello-world" }
#2 agent.spawned

An agentonomous agent was instantiated as an ECS entity in the session with provisioned capabilities.

eventId: "evt_02HWSF3K..." type: "agent.spawned" seq: 2 traceId: "trc_01HWSF3K..." parentId: "evt_01HWSF3K..." payload: { agentId: "agt_01HWSF3K..." agentType: "hello-world-agent" }
#3 task.created

A task was registered in the session task graph with its dependencies declared.

eventId: "evt_03HWSF3K..." type: "task.created" seq: 3 traceId: "trc_01HWSF3K..." payload: { taskId: "tsk_01HWSF3K..." state: "created" label: "say-hello" }
#4 task.ready

Task prerequisites were met; the runtime advanced the task to ready so the agent can claim it.

eventId: "evt_04HWSF3K..." type: "task.ready" seq: 4 traceId: "trc_01HWSF3K..." payload: { taskId: "tsk_01HWSF3K..." state: "ready" }
#5 command.dispatched

A command was dispatched to the agent after passing the Permission Guard. The task transitioned to running.

eventId: "evt_05HWSF3K..." type: "command.dispatched" seq: 5 traceId: "trc_01HWSF3K..." payload: { taskId: "tsk_01HWSF3K..." agentId: "agt_01HWSF3K..." command: "/hello:greet" }
#6 artifact.created

The agent produced a typed artifact and registered it with the session.

eventId: "evt_06HWSF3K..." type: "artifact.created" seq: 6 traceId: "trc_01HWSF3K..." payload: { artifactId: "art_01HWSF3K..." taskId: "tsk_01HWSF3K..." kind: "text" }
#7 task.completed

The task transitioned to completed state. The artifact was confirmed and the session recorded the outcome.

eventId: "evt_07HWSF3K..." type: "task.completed" seq: 7 traceId: "trc_01HWSF3K..." payload: { taskId: "tsk_01HWSF3K..." state: "completed" artifactId: "art_01HWSF3K..." }
#8 session.stopped

The session was cleanly stopped. All agents were torn down, the lifecycle concluded, and the final event was emitted.

eventId: "evt_08HWSF3K..." type: "session.stopped" seq: 8 traceId: "trc_01HWSF3K..." payload: { sessionId: "ses_01HWSF3K..." state: "stopped" }

OutputProduced artifact

artifact — art_01HWSF3K... · kind: text
Hello from Specorator Runtime v0.1.0.

Session ses_01HWSF3K... started successfully.
Agent agt_01HWSF3K... (hello-world-agent) spawned and ready.
Task say-hello completed. Artifact produced.

The runtime is alive.

Final stateSession snapshot after stop

id: "ses_01HWSF3K..." state: "stopped" workflowId: "hello-world" taskCount: 1 artifactCount: 1 eventCount: 8
← Back to product page