Shared memory and context tools for agentic work.
Code Rooms
{
"recorded_at": "2026-03-24T23:56:55.351701+00:00",
"scenario_id": "warm_apply_batch_protected_state_recovery",
"scenario_name": "Warm recovery from apply_batch protected state rejection",
"scenario_tags": [
"warm-graph",
"recovery",
"surgical",
"apply-batch",
"runtime-safety"
],
"mode": "m1nd_warm",
"execution_origin": "live",
"source_ref": "docs/benchmarks/events/warm-apply-batch-protected-state-recovery.json",
"cold_graph_time_ms": null,
"warm_graph_time_ms": null,
"time_to_first_good_answer_ms": 1.8,
"time_to_full_proof_ms": 149.8,
"answer_quality": "high",
"plan_changed": false,
"false_start_count": 0,
"tests_identified_before_edit": 1,
"public_claim_worthy": true,
"workflow_notes": "apply_batch rejects the protected runtime file, redirects the batch into source code, and preserves the proof handoff.",
"notes": "",
"events": [
"tool_name": "m1nd.apply_batch",
"query": "apply_batch targeting protected runtime state graph.json",
"target": ".m1nd-runtime/graph.json",
"elapsed_ms": 1.0,
"payload_chars": 245,
"hint": "Write to a source file in your workspace instead. m1nd runtime files like graph/plasticity state are intentionally protected.",
"suggested_next_step": "Retry apply_batch with a source file under the current workspace root.",
"next_suggested_tool": "apply_batch",
"next_suggested_target": "m1nd-mcp/src/surgical_handlers.rs",
"next_tool_used": "apply_batch",
"recovery_followed": true,
"notes": "Protected runtime files now bounce the agent back into real source code instead of letting it damage m1nd state.",
"event_index": 1,
"opened_files": [],
"surfaced_files": []
},
"query": "retry apply_batch against a source file instead of graph state",
"target": "m1nd-mcp/src/surgical_handlers.rs",
"elapsed_ms": 149.0,
"payload_chars": 230,
"proof_state": "proving",
"active_phase": "done",
"completed_phase_count": 5,
"phase_count": 5,
"remaining_phase_count": 0,
"progress_pct": 100.0,
"next_phase": null,
"next_suggested_tool": "heuristics_surface",
"next_step_hint": "Inspect the edited source file next to confirm the redirected batch still deserves promotion.",
"next_tool_used": "heuristics_surface",
"progress_delivery": "live",
"progress_events": [
"event_type": "phase_completed",
"phase": "validate",
"phase_index": 1,
"progress_pct": 20.0,
"current_file": "m1nd-mcp/src/surgical_handlers.rs",
"next_phase": "write",
"elapsed_ms": 2.0,
"message": "Validation completed."
"phase": "write",
"phase_index": 2,
"progress_pct": 40.0,
"next_phase": "reingest",
"elapsed_ms": 5.0,
"message": "Batch write completed."
"phase": "reingest",
"phase_index": 3,
"progress_pct": 60.0,
"next_phase": "verify",
"elapsed_ms": 101.0,
"message": "Re-ingest completed."
"phase": "verify",
"phase_index": 4,
"progress_pct": 80.0,
"next_phase": "done",
"elapsed_ms": 134.0,
"message": "Verification completed."
"event_type": "batch_completed",
"phase": "done",
"phase_index": 5,
"message": "Batch edit completed."
}
"surfaced_files": [
"m1nd-mcp/src/surgical_handlers.rs"
"opened_files": [
"notes": "The guard rail protects runtime state, keeps the agent inside apply_batch, and still hands off to the next proof surface.",
"event_index": 2
"tool_name": "m1nd.heuristics_surface",
"elapsed_ms": 0.8,
"payload_chars": 500,
"event_index": 3,
"files_opened": 1,
"repeat_reads": 2,
"search_iterations": 0,
"chars_surfaced": 975,
"token_proxy": 244,
"guidance_events": 2,
"guidance_followed": 2,
"reactivated_nodes": 0,
"resume_hints": 0,
"proof_states": [
"proving",
"proving"
"final_proof_state": "proving",
"progress_events": 5,
"max_progress_pct": 100.0,
"active_phases": [
"validate",
"write",
"reingest",
"verify",
"done"
"next_phases": [
"progress_event_types": [
"phase_completed",
"batch_completed"
"progress_delivery_modes": [
"live",
"live"
"live_progress_events": 5,
"replay_progress_events": 0,
"snapshot_progress_events": 0,
"progress_guidance_events": 1,
"progress_guidance_followed": 1,
"recovery_events": 1,
"recovery_followed": 1,
"repo_path": null,
"question": "Recover from an apply_batch write that targets a protected m1nd runtime state file, then redirect the batch into a real source file without risking runtime corruption.",
"expected_strength": "strong"