[Memory P2] Design and implement OperationalMemoryProvider #244

Open
opened 2026-04-09 00:41:20 +00:00 by Rockachopa · 0 comments
Owner

Context

The mempalace system produces rich operational intelligence every 30-60 minutes:

  • forge.json: 32 repos with issue metrics (491 open, 120 unassigned)
  • mempalace.yaml: Fleet health (agent status, disk, Ollama, cron)
  • mempalace-forge-analysis.md: Strategic recommendations with specific issue numbers
  • Cron outputs: burn mode results, health checks, morning reports

ZERO lines of code in hermes-agent read any of this. It's a write-only data lake.

Task

Build a new component that reads mempalace/cron data and produces context for injection:

  1. Reads latest files from ~/.hermes/mempalace/ and cron output dirs
  2. system_prompt_block() returns a 2-3 line always-on summary:
    Fleet: 3 agents, gateway running | Forge: 491 open, 104/wk velocity | Health: OK
    
  3. prefetch() returns a fuller operational briefing when the conversation topic is operational
  4. All injected data carries source timestamps

Design Decision

This could be:

  • A second MemoryProvider (requires lifting the 1-external-provider limit)
  • An extension of the holographic provider
  • A new injection point in prompt_builder.py (outside the provider system)
  • A prefetch hook on the holographic provider that also reads mempalace files

Recommend: Extend holographic provider with an operational data reader. Avoids the 1-provider limit issue.

Acceptance Criteria

  • Agent can answer "how many open issues do we have?" without reading files
  • Operational context appears in prefetched context with timestamps
  • Always-on 2-3 line summary visible in system prompt
  • Works with mempalace data up to 1 hour stale

Part of: [EPIC] Unified Memory Architecture

## Context The mempalace system produces rich operational intelligence every 30-60 minutes: - forge.json: 32 repos with issue metrics (491 open, 120 unassigned) - mempalace.yaml: Fleet health (agent status, disk, Ollama, cron) - mempalace-forge-analysis.md: Strategic recommendations with specific issue numbers - Cron outputs: burn mode results, health checks, morning reports ZERO lines of code in hermes-agent read any of this. It's a write-only data lake. ## Task Build a new component that reads mempalace/cron data and produces context for injection: 1. Reads latest files from ~/.hermes/mempalace/ and cron output dirs 2. system_prompt_block() returns a 2-3 line always-on summary: ``` Fleet: 3 agents, gateway running | Forge: 491 open, 104/wk velocity | Health: OK ``` 3. prefetch() returns a fuller operational briefing when the conversation topic is operational 4. All injected data carries source timestamps ## Design Decision This could be: - A second MemoryProvider (requires lifting the 1-external-provider limit) - An extension of the holographic provider - A new injection point in prompt_builder.py (outside the provider system) - A prefetch hook on the holographic provider that also reads mempalace files Recommend: Extend holographic provider with an operational data reader. Avoids the 1-provider limit issue. ## Acceptance Criteria - Agent can answer "how many open issues do we have?" without reading files - Operational context appears in prefetched context with timestamps - Always-on 2-3 line summary visible in system prompt - Works with mempalace data up to 1 hour stale Part of: [EPIC] Unified Memory Architecture
Rockachopa added this to the Unified Memory Architecture milestone 2026-04-09 00:41:20 +00:00
Rockachopa added the phase:2-operationalepic:memory labels 2026-04-09 00:41:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#244