Track live-validation fixes for capture, replay, index recovery and resource limits

Author: rohitg00Created Sep 29, 2026Updated Sep 29, 2026

Scope

Track fixes and validation gaps observed while running the built agentmemory artifact from main ab3e4efd282659b87d31b36c8514c6bc6b871f0b on 29 September 2026. The fixture used isolated synthetic observations, separate data directories and real process restarts. Individual issues distinguish live reproductions from source inspection and proposed acceptance checks.

Fixes and validation

  • #1436 Recover observations captured while the local service is unavailable
  • #1437 Define persistent acceptance and retry semantics for observation ingestion
  • #1438 Preserve observation event identity and deduplication across restart
  • #1439 Recover generated vectors after a crash before the first checkpoint
  • #1440 Gate releases on capture and recovery tests of the actual packaged artifact
  • #1441 Measure capture and recovery costs with separate storage, RAM and token budgets

Existing findings to resolve

These already have open reports and should retain their existing history:

  • #1196 Preserve source content through compression so replay and export retain the original evidence. Live confirmation: a 1,316-character tool output lost its tail marker after synthetic compression truncated the source to 400 characters.
  • #1428 Return accurate deletion counts. Live confirmation: deleting an absent session returned deleted: 2.

Implementation order

  1. Define persistent acceptance and stable event identity together (#1437, #1438). Keep delivery scheduling in the existing runtime and make effects idempotent.
  2. Add bounded recovery for service-unavailable capture (#1436) on that foundation. Prefer replay from an existing source with a saved cursor; introduce a buffer only where replay cannot cover the gap.
  3. Fix the first-vector-checkpoint boundary (#1439), source preservation (#1196) and deletion accounting (#1428). These can proceed independently where appropriate.
  4. Make the actual packaged-artifact gate (#1440) verify the fixes and publish separate resource measurements (#1441) before enabling additional default work.

Resource and evidence constraints

  • Keep automatic compression and context injection disabled by default. Measure agent-visible context separately from optional processing costs.
  • Bound retained source, recovery data and idempotency records by explicit policies. Avoid a second retry or persistence service when the existing runtime provides the primitive.
  • Preserve source locators and evidence completeness; retrieval success alone does not prove retained source or vector recovery.
  • Report storage, process memory, CPU, provider calls and context tokens separately. Missing usage counters are unknown, not zero.
  • Test loss windows and acknowledgment guarantees explicitly. Retry success or a successful publish return alone does not establish immediate durable acceptance.

Related existing work: #767 and PR #934 cover session token budgets; #769 covers statistical retrieval evaluation. Those scopes remain in their current reports.

Completion requires passing the linked acceptance checks against a pinned build with reproducible results. This tracking issue does not claim that any fix is implemented yet.