Skip to content

Action-Outcome Memory Research Execution Roadmap

Date: 2026-06-13 Branch: codex/aiops-time-series-memory-research

Turn the Action-Outcome Memory Engine idea into a research program with measurable experiments, comparable baselines, and a prototype path.

The research should answer:

  1. Does action-outcome memory improve incident response recommendations over text-only or vector-only memory?
  2. Which signals are necessary: metrics, logs, traces, topology, deploy events, action history, postmortems, or agent traces?
  3. Can the system safely progress from replay to shadow recommendation to guarded execution?
  4. Can the same primitive later support robot/physical-AI state-action-outcome memory?

Use a staged approach:

Research fixture
-> Replay-only evidence packs
-> Baseline comparison
-> Fault-injection lab
-> Shadow recommender
-> Advisory copilot
-> Guarded execution
-> Physical AI extension

The first serious artifact should be ActionOutcomeReplay, not a live autonomous remediator.

Action-outcome memory improves AIOps agents because it retrieves prior episodes with:

  • similar symptoms,
  • similar temporal metric/log/trace patterns,
  • similar topology,
  • similar change context,
  • similar attempted actions,
  • known recovery outcomes.

Start with cloud/SRE AIOps, not robots.

Robotics should be the second domain because it shares the same primitive: state-action-outcome memory. Starting with AIOps is easier because incidents, alerts, telemetry, and runbooks already exist in operator workflows.

  • No arbitrary production command execution.
  • No broad autonomous remediation.
  • No generic vector database positioning.
  • No model fine-tuning requirement for the first paper/prototype.
  • No claim that LLMs alone can perform reliable RCA.
  • Final problem statement.
  • Formal hypothesis.
  • Dataset list.
  • Baseline list.
  • Initial incident_memory and action_outcome_episode schema.

Use three layers of data:

LayerSourcePurpose
Public benchmarkAIOpsLab, RCAEval, OpenRCA, CCF AIOPS-style HipsterShop dataComparable academic evaluation.
Synthetic labInjected microservice/Kubernetes faultsGenerate action-outcome labels missing from public datasets.
Internal ZeptoDB fixtureSmall hand-authored incident timelinesFast iteration and demo stability.

Each episode should include:

  • episode_id
  • incident_id
  • service
  • environment
  • entity_refs
  • pre_action_window
  • action_ts
  • post_action_window
  • symptoms
  • topology_context
  • change_context
  • candidate_root_causes
  • action_class
  • action_parameters
  • policy_decision
  • rollback_plan
  • machine_outcome_label
  • human_outcome_label
  • recovery_curve_ref
  • postmortem_ref
  • reflection
  • Event timestamps and ingest timestamps must both exist.
  • Every action must have a target entity.
  • Every executed action must have a post-action observation window.
  • Every outcome label must state who or what assigned it.
  • Failed actions and rollbacks must be preserved, not filtered out.
  • action_outcome_episode schema.
  • Small fixture with at least 20 episodes.
  • Public benchmark import notes.
  • Synthetic fault plan.

Replay old incidents and ask:

Given only the early incident window, would the engine retrieve useful prior outcomes and recommend a better next action?

  • incident id or fixture id,
  • current alert,
  • service/entity,
  • time window,
  • optional candidate action.
  • top similar episodes,
  • aligned telemetry timelines,
  • prior actions,
  • recovery curves,
  • successful prior actions,
  • failed prior actions,
  • recommended action ranking,
  • evidence pack,
  • uncertainty and missing evidence.

Do this as a prototype outside the core database first. Use ZeptoDB tables and existing Agent Memory APIs rather than adding new C++ storage internals.

  • Replay script or notebook.
  • Evidence pack JSON format.
  • Sample replay report for 3-5 incident types.
BaselineDescription
Keyword searchSearch postmortems/runbooks by service and alert text.
Text-only RAGVector search over incident summaries and postmortems.
LLM-only RCAPrompt LLM with alert text and selected logs.
Time-series evidence packUse aligned telemetry, topology, and change context.
Action-outcome memoryAdd prior actions and recovery outcomes.
MetricTarget
top-k similar episode recallAction-outcome memory beats text-only retrieval.
action top-k matchRecommended actions match known successful historical actions.
unsafe recommendation rateLower than LLM-only and text-only baselines.
evidence precisionRetrieved evidence supports the recommendation.
recovery prediction accuracyCorrectly predicts whether action helps within N minutes.
retrieval latencyFast enough for incident workflow.
  • Baseline comparison table.
  • Error analysis.
  • Ablation study by signal type.

Public datasets often contain RCA labels but not clean action-outcome labels. The lab creates repeatable episodes where outcomes are known.

Start with a small microservice or Kubernetes environment. AIOpsLab is a strong candidate because it already supports fault injection, workloads, telemetry export, and agent evaluation.

  • bad deploy,
  • connection pool exhaustion,
  • dependency timeout,
  • CPU saturation,
  • memory leak,
  • queue backlog,
  • bad config,
  • partial zone/network degradation.
  • rollback,
  • restart,
  • scale out,
  • traffic drain,
  • config revert,
  • queue consumer reset.
  • Fault/action matrix.
  • 100+ labeled action-outcome episodes.
  • Recovery curves for each action.
  • Benchmark report.

Run on live or replayed incidents without showing or executing recommendations. This tests whether recommendations would have been useful without creating operational risk.

  1. Observe incident data.
  2. Generate evidence pack.
  3. Recommend action.
  4. Hide recommendation during live response or compare after replay.
  5. Score against human action and final outcome.
  • Shadow mode logs.
  • Recommendation-vs-human comparison.
  • Unsafe recommendation review.
  • Updated scoring weights.

Show recommendations to humans while preserving human control.

Every recommendation must include:

  • why this action,
  • what prior episodes match,
  • what worked before,
  • what failed before,
  • expected recovery signal,
  • rollback plan,
  • risk tier,
  • missing evidence.

Capture:

  • accepted,
  • rejected,
  • modified,
  • escalated,
  • unsafe,
  • insufficient evidence,
  • wrong root cause.
  • Human feedback dataset.
  • Operator acceptance rate.
  • Time-to-decision improvement estimate.

Do not start this phase until:

  • replay and shadow results beat baselines,
  • unsafe recommendation rate is acceptably low,
  • action policy is explicit,
  • rollback is tested,
  • audit trail is complete.

Only allow:

  • reversible actions,
  • scoped credentials,
  • allowlisted targets,
  • bounded blast radius,
  • approval gates or strict auto-approval rules,
  • canary execution,
  • rollback hooks.
  • Lab-only guarded execution demo.
  • Before/after MTTR comparison.
  • Safety incident report, including near misses.

Start after AIOps replay/shadow results show that action-outcome memory improves recommendations.

AIOpsPhysical AI
service topologyrobot/device/environment state
metrics/logs/tracessensors/control/state streams
remediation actionrobot action or planner adjustment
recovery curvetask success, safety margin, operator override
postmortemhuman correction or task critique
rollbackstop, retry, alternate path, human takeover

Use a simple robot/fleet scenario:

  • wheel slip,
  • obstacle encounter,
  • bad route,
  • failed grasp,
  • user preference violation,
  • operator override.
  • Robot action-outcome episode schema.
  • Local edge recorder design.
  • 30-300 second pre/post anomaly replay.
  • Similar episode retrieval demo.
TimeboxFocusOutput
Week 1Scope and schemaFinal schema, hypotheses, benchmark plan.
Week 2Fixture data24 hand-authored episodes and evidence pack format.
Week 3Replay prototypeSimilar episode retrieval and action ranking.
Week 4BaselinesKeyword, text-RAG, vector-RAG comparisons.
Weeks 5-6Fault lab100+ generated action-outcome episodes.
Week 7Shadow evaluationRecommendation-vs-human or recommendation-vs-ground-truth report.
Week 8Paper/product decisionDecide whether to pursue advisory copilot or guarded execution demo.

Continue if:

  • action-outcome retrieval beats text-only/vector-only baselines,
  • recommendations are explainable with evidence,
  • negative outcomes improve future recommendations,
  • recovery prediction is useful for at least 3 recurring incident types,
  • safety controls can prevent broad unsafe action.

Pause or redirect if:

  • retrieval only works by memorizing service names,
  • action recommendations are mostly generic,
  • outcome labels are too noisy to evaluate,
  • unsafe recommendation rate remains high,
  • evidence packs are too slow or too large for incident workflows.

The work should produce:

  • a research paper-style report,
  • benchmark dataset notes,
  • schema definitions,
  • evidence pack examples,
  • baseline comparison tables,
  • ablation study,
  • demo script,
  • product MVP memo.

Create a small, high-quality fixture before building any automation.

Minimum useful fixture:

  • 5 or more incident types,
  • 4 episodes per type,
  • at least 20 total episodes,
  • at least one success and one failure per action class,
  • pre-action and post-action time windows,
  • human-readable postmortem/reflection,
  • enough metadata to test retrieval.

If this fixture cannot show the value of action-outcome memory, a larger system will not save the idea.