working_add
Append observations or goals to a bounded, decay-scored working memory scratchpad to track facts and current objectives across sessions.
Instructions
v3.1.0 M2: Append one observation or goal to working memory (intra-session, bounded, decay-scored scratchpad in .codevira-cache/working.jsonl). 'observation' = a fact the agent saw (file edited, error message, command output). 'goal' = what the agent is currently trying to accomplish. Use working_promote to move an entry to long-term memory (decision/skill/playbook) when it earns its keep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | observation | goal (default: observation) | observation |
| links | No | Optional D-ids / S-ids this entry references | |
| content | Yes | Free-text markdown (max 2 KB) | |
| confidence | No | 0.0-1.0, optional. Voyager-style belief strength | |
| importance | No | 1-10 (default 5). Errors = 7, decisions = 8+ | |
| session_id | No | Optional session slug; defaults to ad-hoc-XXXXXX |