Metis — Record Decision
record_decisionStore a user preference or decision so Metis recalls it on future requests and personalizes responses instead of asking again. Categorize by type and scope, and attribute it to the specialist that should apply it.
Instructions
Record a user preference or decision so Metis adapts to the user over time.
Use this whenever the user states (or confirms) a standing preference or makes a
decision worth remembering — coding style, citation format, a methods default, an
article/dataset they keep returning to, a naming convention, a workflow choice.
These are recalled into context on future requests (recall_decisions), so Metis
personalizes instead of asking again.
Args:
decision: the preference/decision in plain language (e.g. "Always use tidyverse style in R, never base apply").
category: preference | coding | citation | methodology | writing | article-ref | dataset | routing | other.
context: optional — when/why it applies (e.g. "for HAT spatial analyses").
scope: 'always' (persist) or 'once'.
agent_slug: the specialist that should APPLY this decision — e.g.
"frontend-designer-builder" for a layout rule, "writing-partner" for
a prose rule, "librarian" for what matters in the library. Leave
empty for a project-wide rule that every agent should carry.
Attribution is what makes the decision reachable. `get_agent_context`
injects an agent's own decisions plus the project-wide ones, and a
flat list of every preference injected into every agent is noise that
gets ignored. Measured 2026-08-24: user_decisions held 2 rows while
session summaries held 7,578 decision entries — so invoking a
specialist returned a persona and nothing about how the researcher
wants things done, which is why routing to one stopped being worth it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | always | |
| context | No | ||
| category | No | preference | |
| decision | Yes | ||
| agent_slug | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |