Expand description
Where an agent session stands: what the runtime-provided session-status tool reports, the
hard deadline a session runs under, and the one notice an agent is given before it.
[SessionStatus] holds no number of its own. It is fed at the funnels that already produce
each one — the trace writer’s inference, task_start and task_end writes, and the http
agent loop’s compaction check — and a call reads the spend meter as it stands. So every field a
call returns agrees with the trace written before it.
Structs§
- Session
Deadline - The hard limit a session runs under: its own
mur run --deadline, or the moment it inherited from the formation or capsule that launched it.
Enums§
- Deadline
Source - Where a session’s deadline came from.
Constants§
- INHERITED_
DEADLINE_ FLAG - The hidden
mur runflag a formation launcher and a child launcher pass a deadline down with: the deadline’s wall moment in milliseconds since the Unix epoch. - INPUT_
SCHEMA session-status’s input schema: no input.- MAX_
DEADLINE_ SECS - The longest deadline a session runs under: ten years. A larger one overflows the clocks the deadline is read against.
- SESSION_
STATUS_ TOOL - The runtime-provided tool every agent capsule has, on both transports, with no grant.
Functions§
- default_
notice_ secs - The notice margin a deadline of
deadline_secsgets whenlifecycle.deadline_notice_secsis not declared: five minutes, or a tenth of the deadline when that is shorter, and at least one second. - description_
http session-status’s description undertransport: http. Fixed, so the tool array’s bytes do not change from one request to the next.- description_
process session-status’s description undertransport: process. Fixed, asdescription_httpis.- notice_
secs - The margin in force: the declared
lifecycle.deadline_notice_secs, or the default for the deadline.0sends no notice.