slowave_activate
Prime working memory at task start by retrieving relevant memories and procedures and opening a server-side session, so agents gain context without manual session setup.
Instructions
Prime working memory with relevant context. Opens an implicit session.
Call this once at the beginning of every task. Spreading activation surfaces
relevant memories and procedures, and opens a server-side session so you
never need to call session_start manually.
Retrieval considers meaning and specific terms, then selects context
applicable to the task. The bounded result is not a complete inventory
or a verification of the returned claims; assess their actual use.
A user message establishing or changing durable guidance is also a
task, even without another action request. Save the durable claim
and complete feedback and commit before acknowledging completion;
saving guidance is part of completing the task.
Answer-only tasks also require retrieval feedback and commit before
the final response; remember and recall are conditional.
Procedures include complete steps, applicability context, outcomes,
and caveats. Inspect these against current evidence before adapting
a method. Recall only when needed history or details are absent;
name the original goal and relevant conditions in that query.
The cognitive cycle:
1. slowave_activate(task, initial_goal, scope) <- start here
2. slowave_remember(session_id, scope, content, type)
<- when you discover new knowledge worth retaining as durable memory
because it could help you with future tasks
3. slowave_recall(session_id, scope, query) <- mid-task lookup
4. slowave_feedback(retrieval_id, memory_feedback, procedure_feedback, coverage) <- after using memories
5. slowave_commit(session_id, final_goal, outcome, outcome_summary, verification) <- close the task
Args:
task: copy the user request exactly (required, nonblank); do not
rewrite or translate it. Put interpretation in initial_goal.
initial_goal: concise action-led provisional objective (required, nonblank).
scope: required retrieval boundary in ``kind:id`` form.
continuity_id: omit on the first client-conversation activation;
retain and resend the returned opaque token unchanged on later
activations in that conversation. Never invent it or reuse it across different client conversations.
page_size: optional strict integer 1–10; omitted values use the server default.
task_context: optional structured facts that condition retrieval.
Returns:
retrieval_id: pass to slowave_feedback.
session_id: required by recall and commit.
memory_state: cold_start or available for the resolved scope.
memories: canonical [{memory_id, content, pathway, provenance?}].
procedures: execution-ready methods with ID, goal, summary, steps,
context, outcome, outcome_summary, and safety caveats.
Deliberate recall additionally returns detailed reuse evidence.
warnings: stable structured safety warnings.
continuity_id: server-issued opaque client-conversation token.
continuity_state: started on omission, continued on valid reuse.
retrieval_policy_version: server-selected retrieval-policy identifier. relevant_total: number of discovered relevance-qualified declarative memories in a relevant-set response. catalog_truncated: true when the bounded candidate search could have omitted qualifying memories; false does not include procedure results. more_available: whether a frozen continuation page is available. continue_from: opaque continuation cursor, present only when more_available. accessible_field: bounded orientation for unreturned candidates; contains extra_candidates, kinds, and approx_extra_tokens, never content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Copy the user request verbatim. Do not rewrite, translate, or substitute the inferred goal. | |
| scope | Yes | ||
| page_size | No | Maximum memories per page (default 5); continuations inherit this bound. Procedures have a separate limit. | |
| initial_goal | Yes | Concise action-led interpretation; helps discovery but cannot independently justify admission. | |
| task_context | No | ||
| continuity_id | No | ||
| semantic_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||