[{"data":1,"prerenderedAt":252},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fevents":3},{"id":4,"title":5,"body":6,"description":244,"extension":245,"meta":246,"navigation":247,"path":248,"seo":249,"stem":250,"__hash__":251},"docs\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fevents.md","The event log",{"type":7,"value":8,"toc":237},"minimark",[9,13,22,27,48,53,56,134,157,164,167,187,196,200,203,206,210,221,224,227],[10,11,5],"h1",{"id":12},"the-event-log",[14,15,16,17,21],"p",{},"Everything that happened, in order, with its payload. This is the session's ",[18,19,20],"code",{},".jsonl","\nrendered as a table — nothing summarised, nothing dropped.",[23,24],"terminal-image",{"alt":25,"src":26},"The Events pane showing a filter box, a 107\u002F107 counter, and rows of timestamped events: cognet phases, kernel engine calls, and streaming output chunks with their JSON payloads","\u002Ffleet\u002Ffleet-events.webp",[14,28,29,30,34,35,38,39,42,43,47],{},"Three columns: the millisecond ",[31,32,33],"strong",{},"time",", the event ",[31,36,37],{},"type",", and its ",[31,40,41],{},"payload",". The\ncounter reads ",[44,45,46],"em",{},"matched \u002F total",", so a filter tells you how much of the run you are\nlooking at rather than silently hiding the rest.",[49,50,52],"h2",{"id":51},"reading-a-run","Reading a run",[14,54,55],{},"The types are namespaced, and the namespace tells you which layer emitted it:",[57,58,59,70],"table",{},[60,61,62],"thead",{},[63,64,65,68],"tr",{},[66,67],"th",{},[66,69],{},[71,72,73,84,94,104,114,124],"tbody",{},[63,74,75,81],{},[76,77,78],"td",{},[18,79,80],{},"build:",[76,82,83],{},"Resolving and preparing the agent",[63,85,86,91],{},[76,87,88],{},[18,89,90],{},"kernel:",[76,92,93],{},"The runtime's meter around engine calls, tools and the loop",[63,95,96,101],{},[76,97,98],{},[18,99,100],{},"cognet:",[76,102,103],{},"The brain narrating itself — ticks, phases, output",[63,105,106,111],{},[76,107,108],{},[18,109,110],{},"capsule:",[76,112,113],{},"The sandbox — commands, processes, policy decisions",[63,115,116,121],{},[76,117,118],{},[18,119,120],{},"module:",[76,122,123],{},"Capabilities loading and setting up",[63,125,126,131],{},[76,127,128],{},[18,129,130],{},"axon:",[76,132,133],{},"The conversation, and the agent's own lifecycle",[14,135,136,137,140,141,144,145,148,149,152,153,156],{},"A single turn reads as a recognisable sequence. ",[18,138,139],{},"cognet:phase:start"," opens a phase,\n",[18,142,143],{},"kernel:engine:start"," names the provider and model, ",[18,146,147],{},"kernel:engine:input"," carries the\nmessages actually sent, ",[18,150,151],{},"kernel:engine:firstToken"," is when the model started answering,\nand ",[18,154,155],{},"kernel:engine:complete"," brings back the text with its stop reason and attempt count.",[14,158,159,160,163],{},"Between the last two you will see ",[18,161,162],{},"cognet:output:text"," repeatedly — those are streamed\nchunks, which is what a response looks like while it is still arriving.",[14,165,166],{},"The three worth knowing by name:",[14,168,169,174,175,180,181,186],{},[31,170,171],{},[18,172,173],{},"axon:agent:message"," — what it actually said.\n",[31,176,177],{},[18,178,179],{},"capsule:stdin"," \u002F ",[31,182,183],{},[18,184,185],{},"capsule:stdout"," — what it ran, and what came back.",[14,188,189,190,195],{},"Every type is documented in ",[191,192,194],"a",{"href":193},"\u002Fdocs\u002Fv2\u002Fapi\u002Fevents","events",".",[49,197,199],{"id":198},"the-filter","The filter",[14,201,202],{},"Type anything and the stream narrows live — a namespace to watch one layer, a type to\nfollow one operation, a value from a payload to find the run that touched it.",[14,204,205],{},"The toolbar beside it controls the tail: follow the newest events as they land, pause to\nread without the list moving under you, or clear what has accumulated.",[49,207,209],{"id":208},"why-the-payloads-are-raw","Why the payloads are raw",[14,211,212,213,216,217,220],{},"They are the committed values, not a rendering of them. ",[18,214,215],{},"durationMs"," is the number the\nruntime recorded, ",[18,218,219],{},"configHash"," is the hash it computed, and a truncated payload is\ntruncated in the display only.",[14,222,223],{},"That matters when the bug is a value being wrong rather than a step being missing — the\nkind of thing a prettier view would have quietly formatted away.",[225,226],"hr",{},[14,228,229,230,236],{},"Next: ",[31,231,232],{},[191,233,235],{"href":234},"\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Ftrace","Trace"," — the same events, laid against time.",{"title":238,"searchDepth":239,"depth":239,"links":240},"",2,[241,242,243],{"id":51,"depth":239,"text":52},{"id":198,"depth":239,"text":199},{"id":208,"depth":239,"text":209},"Everything that happened, in order, with its payload. This is the session's .jsonl\nrendered as a table — nothing summarised, nothing dropped.","md",{},true,"\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fevents",{"title":5,"description":244},"docs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fevents","t07sEIEwJleEha-pe4vHhdRX30G4GGRlX7qPnXKZutI",1786914045606]