Memory Types: Facts vs. Preferences
OpsWorker memory stores two distinct kinds of entries. Choosing the right type controls how the entry can be shared and how the AI applies it.
Facts
A fact is something objectively true about your environment, your team, or the way your systems operate. Facts are the kind of thing you'd write in a runbook one-liner: short, unambiguous, and useful as background context for anyone reasoning about the cluster.
Good fact examples
- "The
checkoutservice is deployed in thepaymentsnamespace on theprod-us-eastcluster." - "Team Payments owns all services prefixed with
pay-." - "Database migrations only run during the maintenance window, 02:00–04:00 UTC."
- "We never auto-scale the
ingress-controllerdeployment — capacity is set manually." - "Pods stuck in
Pendingdue to PVC issues should be investigated against the EBS storage class first."
Properties
- Can be created at personal, cluster, or organization scope.
- Can be promoted to a wider scope (personal → cluster → organization).
- Visible to anyone with access to the scope.
- Loaded by the AI during investigations and chat for the relevant cluster or organization.
Preferences
A preference is a personal directive about how the AI should communicate or behave with you specifically. Preferences shape style and approach — they don't describe the environment.
Good preference examples
- "Keep answers concise. Skip introductions."
- "Always include the exact kubectl command, not just a description."
- "Prefer pointing me to relevant logs over giving me a summary."
- "Use ISO timestamps in UTC."
- "Don't suggest restarting workloads without first ruling out a configuration cause."
Properties
- Personal scope only — preferences are never shared with teammates.
- Loaded for every chat session you start.
- Apply across all your clusters (preferences are not cluster-specific by default).
Choosing the Right Type
| Question | Type |
|---|---|
| Is this something every teammate would benefit from knowing? | Fact |
| Is this about how I want the AI to write or behave? | Preference |
| Could this become outdated when a person leaves the team? | Fact (ownership facts), Preference (work-style preferences) |
| Would I want this in a runbook? | Fact |
What Memory Should NOT Hold
Memory is for short, durable context. Avoid putting these into memory:
- Live cluster state — pod counts, current resource usage. The AI fetches that fresh every time.
- Long-form documentation — runbooks, postmortems, internal docs. Use Knowledge Sources instead.
- Secrets or credentials — memory is not a vault.
- Temporary task notes — memory persists; transient context belongs in the chat conversation.
Editing and Deleting
Both facts and preferences can be edited or deleted from the AI Memory views in the portal:
- My Memory — edit/delete your own entries
- Cluster Memory — edit/delete cluster-shared facts (any user with cluster access)
- Organization Memory — edit/delete org-wide facts (admins recommended)
When editing a memory entry, OpsWorker replaces the old entry with the new one (this is delete-then-create on the backend, so the entry ID changes after edit).
Next Steps
- My Memory — Personal facts and preferences
- Cluster Memory — Team-shared facts
- Promotion — Sharing facts upward