Skip to main content

Module session

Module session 

Source

Re-exports§

pub use playbook::DeltaOutcome;
pub use playbook::EntryKind;
pub use playbook::Playbook;
pub use playbook::PlaybookEntry;

Modules§

admission
Typed session projections at persistence and delivery boundaries.
caller
The calling agent’s own session, for code that runs inside one request.
housekeeping
Bounded upkeep of the session store, run off the MCP handshake (GH #2006).
playbook
Incremental delta playbook for checkpoints (#541, EFF-4 — ACE principle).
taint
The session taint (design pz21 §1.7): which untrusted origins the session the Instance serves has read.

Structs§

Decision
A design or implementation decision made during the session.
EvidenceRecord
An auditable record of a tool invocation or manual observation.
FileTouched
A file that was read or modified during the session.
Finding
A discovery or observation recorded during the session.
LiveZoneSessionState
Process-local state for an agent-controlled provider cache prefix.
PreparedSave
A detached copy of the session, taken by SessionState::prepare_save() while the caller may hold the live session lock.
ProgressEntry
A timestamped progress entry describing an action taken.
SessionDayCounts
One UTC day of a session’s counters.
SessionSlot
Shared between all clones of one server; the live instance is replaced only on a project change.
SessionState
Persistent session state tracking task, findings, files, decisions, and stats.
SessionStats
Aggregate counters for the session: tool calls, token savings, cache hits.
SessionSummary
Lightweight summary of a session for listing purposes.
TaskInfo
Description of the current task being worked on, with optional progress tracking.
TestSnapshot
Snapshot of a test run with pass/fail counts.

Enums§

EvidenceKind
Source of an evidence record: automatic tool call or manual agent entry.
SaveError
Why a prepared save was not published.

Functions§

extract_session_facts
Converts durable session signals into cross-session knowledge facts.
is_auto_task_intent
Whether a task intent marks an auto_infer_task label (re-derivable, never a stated task). A plan title is a stated task and stays authoritative.

Type Aliases§

SharedSession