Skip to main content

Module trajectory

Module trajectory 

Source
Expand description

Learning from what tasks did: a host’s task history as typed trace events, and the procedures, error solutions and expertise memory learns from them.

Structs§

CompletedPlan
A plan the session finished, with the steps that completed.
DecisionDetails
The fields of a decision point the failure patterns read. Absent or mistyped values read as their default.
DecisionPoint
A check a task’s run went through, with what the host recorded about it.
FailurePattern
A lesson from a decision point that signals trouble.
LearningReport
What one pass over a trace wrote.
ProcedureCandidate
A successful task with at least two tool calls: a candidate procedure.
ProcedureEnhancer
Rewrites an observed procedure into a reusable one with a model: a purpose name, a general trigger and clean steps.
TaskLearner
Learns from what a session’s tasks did and writes it through the stores: procedures, error solutions, expertise, failure patterns and the provenance of facts written along the way.

Enums§

TaskEnding
How a task ended.
TraceEvent
One event of a session’s task history, as the host recorded it.

Functions§

duplicates_existing_trigger
Whether a new procedure’s trigger embedding duplicates an existing one.
error_solutions
Error-solution pairs: an error followed, within the next nine events, by a successful tool result. A later success is a correlation, not proof, so a pair starts with no credit; it earns it on verified reuse.
expertise_updates
One expertise observation per ended task: the domain its tools belong to, and whether it succeeded.
failure_patterns
The failure patterns in trace: one per warning-level decision point with a known code, and per task at most one for each trigger and action.
meets_evidence_gate
Enough evidence to keep a procedure: at least two steps, observed working, never failing.
procedure_candidates
The successful tasks in trace worth turning into procedures, in the order they started.
procedure_from_plan
A procedure from a completed plan’s finished steps, or None for fewer than two.
procedure_from_task
A procedure observed once, from a successful task.