urn:hex65:schema:trajectory:v1. Every field below comes from the schema; the schema decides.
hex65.trajectory/v1 (plan section 5.8). A trajectory is JSON Lines: line 1 is a TrajectoryHeader, every other line is a TrajectoryEvent. Every line is the RFC 8785 canonical form of its object. Fields marked as payloads may be replaced by a BlobRef when large.
The document is any.
Sha256
A value of type string.Time
A value of type string.LapId
A value of type string.RunId
A value of type string.Seq
A value of type integer.Confidence
A value of type number.BlobRef
A payload stored beside the trajectory under its hash, because it was larger than 64 KiB.Json
Any JSON value. A value of type any.PayloadJson
Any JSON value. At a payload position an object shaped like a BlobRef is always a reference to a blob: the writer stores any natural value of that shape as a blob. A value of type any.PayloadText
A value of type string or see BlobRef.Containment
Definitions
The task definitions the lap was run and graded under, recorded when the lap starts (format revision 1): the SHA-256 of the canonical form (RFC 8785) of the task’s specification and of its checks file, exactly as an evidence bundle stores them atspec/<task>.json and checks/<task>.json (definitionsOf). They bind those files to the run: the re-scorer refuses a bundle whose files differ from what a lap’s header names.
TrajectoryHeader
Envelope
OpenData
Reserved for a later milestone, or adapter-defined. A value of type object.LapStart
AgentLog
AgentEvent
UserMessage
AgentMessage
AgentEscalate
AgentDone
ModelCall
ModelResult
ToolCall
McpRequest
An MCP request of the agent that is an action (plan section 5.7, rule 5: not the handshake, discovery or a list) and not a tool call: reading a resource, fetching a prompt, and the like. It is a first action, but no tool call: the lap document does not list it amongtool_calls, and it does not count in limits.tool_calls or against the tool call limit. The twin answers it with one tool.result that refers to its call; what that answer shows grounds identifiers as a tool’s result does.
ToolResult
EffectIntercepted
The twin intercepted an effect of a tool call.call is the id of an earlier tool.call of the lap, never an mcp.request’s: a request that is no tool call has no effect to intercept, and an effect of a call not yet made, or of no call, belongs to nothing. A schema cannot compare two events, so the lap document builder checks it and refuses any other.
TwinMiss
ContainmentStarted
Egress
FsDenied
ProviderToolRejected
EndState
LapEnd
TrajectoryEvent
One event.discriminator (an OpenAPI keyword, ignored by standard JSON Schema 2020-12 validators, which give the same result through oneOf) selects the branch by type so errors name the right event; Ajv in strict mode needs the option discriminator: true.