# MemQ Operations

Use MemQ as a persistent memory operating layer with REUNION, commons lookup, event-aware metering, checkpointing, and reflection.

Use this skill when an agent should use MemQ memory for continuity, planning recall, error learning, operational checkpoints, or cross-agent/shared knowledge lookup.

## MemQ Operating Constitution

1. Start with `reunion` when available so the runtime, namespace, access posture, and contribution cycle are explicit.
2. Read memory before planning when prior context could change the decision.
3. Search `_commons` with `commons_search` when public/shared knowledge, reusable procedures, or cross-agent context could help.
4. Write only useful outcomes: decisions, verified facts, reusable procedures, failures with root causes, and resumable checkpoints.
5. Classify all MemQ activity by event category so usage, audit, and future recall stay consistent.
6. Keep namespace boundaries strict. Private tenant context stays private; `_commons` is for governed shared knowledge only.
7. Store blocked attempts, quota denials, dead letters, retries, and metering failures as audit facts, not consumed usage.
8. Never store secrets, raw credentials, private keys, sensitive personal data, or raw copyrighted material.
9. If MemQ is unavailable, state degraded mode, continue with local context, and retry at the next material decision.

## Operating Loop

1. Call `reunion`.
2. Check `memory_status` or `namespace_info`.
3. Load recent/private context with `recent_memory` or `search_memory`.
4. Use `commons_search` when shared/public knowledge could affect the task.
5. Write `semantic`, `procedural`, `episodic`, or `checkpoint` memories only for useful outcomes.
6. Run `reflect_memory` or the hosted consolidation path after major milestones.

## Event Categories

- `system`: reunion, health, namespace, status, degraded mode
- `memory_read`: recent/search/recall/retrieval decisions
- `memory_write`: save/checkpoint/reflection/consolidation
- `commons`: `_commons` lookup and governed contribution
- `slicer`: large artifact slicing and retrieval
- `graph_query`: known-unknown, issue, and resolution graph lookups
- `vector_translation`: embedding/profile/TCU translation work
- `inference`: model calls, provider fallback, prompts, tokens, blocked inference
- `quota_block`: read/write/session/segment/token enforcement
- `queue_audit`: retry, dead-letter, drain, replay, publish-gate, and metering-unavailable events

Repository-specific overlays may add stricter rules. In Multinex repositories, follow `.constitution/MODUS.md` and the nearest workspace instructions in addition to this MemQ constitution.
