haops_read_memory
Read memory for a project, module, or feature. Use eager mode for full context or lazy mode for a compact index envelope to reduce boot context.
Instructions
Read agent memory for a project, module, or feature.
mode="eager" (default): Returns baseText + full log entry bodies. Full project context in one call. mode="lazy" (ADR-027): For entityType=project — returns a compact INDEX envelope: • baseText (already thin) • Architecture doc tree (headers only: title [artifactSlug/sectionSlug]) • ADR index (headers only) • Active work — in-progress modules + features • Log headers only (timestamp · tag · author) — NO bodies Agent then fetches detail on demand via haops_get_doc_section / haops_read_memory(full:true) / haops_rag_query. For entityType=module/feature in lazy mode: falls back to eager (entity baseText is already thin).
Use full=true (eager mode only) to include integrated (historical) log entries. Lazy default can be enabled via HAOPS_MEMORY_LAZY_DEFAULT=true env var on the MCP server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | If true, include all log entries (including integrated ones). Default: false (only pending entries). Applies to eager mode only. | |
| mode | No | eager (default): full memory dump. lazy (ADR-027): index envelope — baseText + doc headers + active work + log headers only. Reduces boot context by ~80%. Default is eager unless HAOPS_MEMORY_LAZY_DEFAULT=true is set on the MCP server. | |
| entityId | Yes | UUID of the entity (use "self" for project-level memory) | |
| entityType | Yes | Type of entity to read memory for | |
| projectSlug | Yes | The project slug (URL identifier) |