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§
- Completed
Plan - A plan the session finished, with the steps that completed.
- Decision
Details - The fields of a decision point the failure patterns read. Absent or mistyped values read as their default.
- Decision
Point - A check a task’s run went through, with what the host recorded about it.
- Failure
Pattern - A lesson from a decision point that signals trouble.
- Learning
Report - What one pass over a trace wrote.
- Procedure
Candidate - A successful task with at least two tool calls: a candidate procedure.
- Procedure
Enhancer - Rewrites an observed procedure into a reusable one with a model: a purpose name, a general trigger and clean steps.
- Task
Learner - 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§
- Task
Ending - How a task ended.
- Trace
Event - 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
traceworth turning into procedures, in the order they started. - procedure_
from_ plan - A procedure from a completed plan’s finished steps, or
Nonefor fewer than two. - procedure_
from_ task - A procedure observed once, from a successful task.