memorix icon indicating copy to clipboard operation
memorix copied to clipboard

Add 'probe' / 'observation-only' entity type for operational heartbeats

Open kittiuk2g opened this issue 7 months ago • 2 comments

Context

We use memorix as the cross-agent memory backbone for a 3-IDE setup (Claude Code + OpenAI Codex + Google Antigravity). Each IDE runs a session-start heartbeat probe (~50 tokens, partitioned topicKey per agent) to verify it sees shared memory.

Currently the only valid entity types are decision, etc. Storing operational pings as decision pollutes the real decision log.

Request

Add a new entity type "probe" (or "observation-only", "telemetry") intended specifically for high-frequency, low-value operational entries that:

  • should be searchable and indexed
  • should NOT appear in default memorix_search results unless explicitly queried
  • can be auto-pruned by retention policy (default 7 days?)

Why this matters in 2026

Frontier multi-agent setups (Anthropic Agent Teams, Letta Conversations, Google A2A) all need session-start heartbeats. Without a dedicated type, every team adopting memorix will pollute their decision log with thousands of probe entries.

Reference patterns:

  • arxiv 2603.04428 — Per-agent KV cache isolation
  • arxiv 2505.18279 — Dual-tier private + shared memory
  • OpenTelemetry GenAI semantic conventions (stable 2026) — separate gen_ai.system.event from gen_ai.decision

Workaround in use

Tag entityName with sync-probe- prefix and filter in queries.

kittiuk2g avatar Apr 25 '26 07:04 kittiuk2g

I think the problem is real, and I agree with the direction.

I would frame it as memory-quality and lifecycle separation, not as a hooks-only feature.

Even though hooks are optional, teams can still create heartbeat or probe entries manually or through startup or session automation. Once those entries land in the same durable bucket as decision, they pollute default search and higher-signal memory surfaces.

My current take: the best first step is to add a dedicated probe type with explicit low-value semantics.

What I would want from probe:

  • searchable and indexable
  • excluded from default memorix_search unless explicitly requested
  • short retention by default; 7 days is a reasonable starting point
  • never promoted into higher-signal surfaces like session injection, mini-skills, wiki or knowledge synthesis, or key-decision views
  • treated as operational and ephemeral by default, whether created manually or by hooks

So yes: I support the issue, but I would implement it as a full slice across validation, default search filters, retention, and UI semantics, not as just one more enum value.

AVIDS2 avatar Apr 28 '26 13:04 AVIDS2

This has been fully implemented across the entire codebase as of 1.0.10.

What landed:

  • 'probe' added to ObservationType union with [PROBE] icon
  • Search exclusion: post-filter in Orama store excludes probe unless explicitly requested via type: 'probe'
  • Retention: 7-day override, importance low, never immune regardless of valueCategory/accessCount
  • Session context: -100 score penalty, never surfaces as priority context
  • Formation: weight 0.10 (lowest of all types)
  • Mini-skill promotion: explicitly blocked ("Cannot promote probe observations")
  • Dashboard/UI: excluded from type distribution counts, recent observations, and retention analysis display
  • Wiki/index: excluded via isExcludedType

Closing as completed.

AVIDS2 avatar Jun 08 '26 10:06 AVIDS2