Shared memory and context tools for agentic work.
Code Rooms
{
"_m1nd": {
"read_only": false,
"suggest_next": [
"impact(top_result) to check blast radius",
"learn(feedback) to strengthen edges",
"hypothesize(claim) to test a theory"
]
},
"agent_runtime_contract": {
"auto_action": null,
"graph_identity": {
"cache_generation": 5,
"edge_count": 22007,
"finalized": true,
"graph_generation": 5,
"graph_path": "./graph_snapshot.json",
"graph_path_exists": true,
"ingest_root_count": 2,
"node_count": 6509,
"plasticity_generation": 0
"next_step_hint": null,
"next_suggested_tool": null,
"non_claims": [
"agent_runtime_contract does not repair the MCP host binding.",
"agent_runtime_contract does not ingest or mutate the graph.",
"agent_runtime_contract does not prove semantic retrieval correctness.",
"agent_runtime_contract does not replace compiler, test, log, or direct file truth."
],
"observed": {
"candidates": 6509,
"error_text": null,
"tool": "seek"
"proof_state": "proving",
"recovery": null,
"schema": "m1nd-agent-runtime-contract-v0",
"session_identity": {
"agent_id": "gui",
"binary": {
"git_sha": "a44237d-dirty",
"name": "m1nd-mcp",
"version": "1.2.1"
"current_exe": "/path/to/m1nd-tree/target/release/m1nd-mcp",
"process_id": 9421,
"runtime_root": "/rt",
"status": "ok",
"trust_mode": "full_trust",
"workspace_binding": {
"active_ingest_roots": [
"/path/to/m1nd-tree",
"/rt/agent-memory"
"active_workspace_root": "/rt/agent-memory",
"active_workspace_root_source": "graph_path_parent",
"mismatch": null,
"requested_scope": null,
"workspace_match": true
}
"elapsed_ms": 18.592458999999998,
"embeddings_used": true,
"next_step_hint": "Open the top seek result next: \u2342 entity: The graph snapshot endpoint is the single source of tree structure \u2014 never a second fs.readdir view in graphsnapshotendpoint.light.md.",
"next_suggested_target": "graphsnapshotendpoint.light.md",
"next_suggested_tool": "view",
"query": "graph snapshot endpoint tree structure",
"relevance_clearing_total": 1342,
"results": [
"authored_ms_ago": 85368,
"connections": [
"label": "\ud835\udd3b evidence: m1nd-mcp/src/http_server.rs",
"node_id": "light::light::tag::graphsnapshotendpoint-light-md::17::evidence-m1nd-mcp-src-http-server-rs",
"relation": "evidenced_by"
"label": "\ud835\udd3b confidence: high",
"node_id": "light::light::tag::graphsnapshotendpoint-light-md::16::confidence-high",
"relation": "epistemic_confidence"
"excerpt": "\u2342 entity: The graph snapshot endpoint is the single source of tree structure \u2014 never a second fs.readdir view",
"file_path": "graphsnapshotendpoint.light.md",
"heuristic_signals": {
"heuristic_factor": 0.9900000095367432,
"reason": "neutral heuristics",
"tremor_observation_count": 0,
"trust_band": "insufficient_evidence",
"trust_risk_multiplier": 1.0,
"trust_tier": "Unknown"
"intent_summary": "\u2342 entity: The graph snapshot endpoint is the single source of tree structure \u2014 never a second fs.readdir view (concept) [light, light:declares_entity]",
"label": "\u2342 entity: The graph snapshot endpoint is the single source of tree structure \u2014 never a second fs.readdir view",
"line_end": 15,
"line_start": 15,
"node_id": "light::light::tag::graphsnapshotendpoint-light-md::15::entity-the-graph-snapshot-endpoint-is-the-single-source-of-tree-structure-never-a-second-fs-readdir-view",
"score": 0.7261282205581665,
"score_breakdown": {
"embedding_similarity": 1.0,
"graph_activation": 0.005869702436029911,
"temporal_recency": 0.5536754727363586
"source_agent": "agent-refactor",
"type": "concept"
"connections": [],
"excerpt": "The complete property graph. Owns all storage. Mutation methods increment `generation` for desync detection (FM-PL-006). pub struct Graph { pub nodes: NodeStorage, pub csr: CsrGraph, pub edge_plasticity: EdgePlasticity,",
"file_path": "m1nd-core/src/graph.rs",
"intent_summary": "Graph (struct) [rust, rust:module:graph, rust:fq:graph::Graph, rust:visibility:pub]",
"label": "Graph",
"line_end": 426,
"line_start": 426,
"node_id": "file::m1nd-core/src/graph.rs::struct::Graph",
"score": 0.5715804100036621,
"embedding_similarity": 0.4000000059604645,
"graph_activation": 0.3504084050655365,
"temporal_recency": 0.2886751592159271
"type": "struct"
"excerpt": "struct GraphSnapshot { version: u32, nodes: Vec<NodeSnapshot>, edges: Vec<EdgeSnapshot>,",
"file_path": "m1nd-core/src/snapshot.rs",
"intent_summary": "GraphSnapshot (struct) [rust, rust:module:snapshot, rust:fq:snapshot::GraphSnapshot, rust:visibility:private]",
"label": "GraphSnapshot",
"line_end": 23,
"line_start": 23,
"node_id": "file::m1nd-core/src/snapshot.rs::struct::GraphSnapshot",
"score": 0.5534765124320984,
"graph_activation": 0.0030248318798840046,
"temporal_recency": 0.45226699113845825
"excerpt": "struct GraphSnapshotBin { version: u32, nodes: Vec<NodeSnapshotBin>, edges: Vec<EdgeSnapshotBin>,",
"file_path": "m1nd-core/src/snapshot_bin.rs",
"intent_summary": "GraphSnapshotBin (struct) [rust, rust:module:snapshot_bin, rust:fq:snapshot_bin::GraphSnapshotBin, rust:visibility:private]",
"label": "GraphSnapshotBin",
"line_end": 12,
"line_start": 12,
"node_id": "file::m1nd-core/src/snapshot_bin.rs::struct::GraphSnapshotBin",
"score": 0.5357794165611267,
"graph_activation": 0.003076714463531971,
"temporal_recency": 0.40089184045791626
"relation": "declares_entity"
"excerpt": "GraphSnapshotEndpoint",
"intent_summary": "GraphSnapshotEndpoint (module) [light, light:section]",
"label": "GraphSnapshotEndpoint",
"line_end": 11,
"line_start": 11,
"node_id": "light::light::section::graphsnapshotendpoint-light-md::graphsnapshotendpoint-1",
"score": 0.555908203125,
"embedding_similarity": 0.6000000238418579,
"graph_activation": 0.0035048392601311207,
"temporal_recency": 0.5735393166542053
"type": "module"
"label": "FiniteF32",
"node_id": "file::m1nd-core/src/types.rs::struct::FiniteF32",
"relation": "calls"
"label": "from_str",
"node_id": "file::m1nd-core/src/tremor.rs::fn::from_str",
"label": "u8_to_node_type",
"node_id": "file::m1nd-core/src/snapshot.rs::fn::u8_to_node_type",
"label": "set_node_provenance",
"node_id": "file::m1nd-core/src/graph.rs::fn::set_node_provenance",
"label": "resolve_id",
"node_id": "file::m1nd-core/src/graph.rs::fn::resolve_id",
"excerpt": "Load full graph from JSON snapshot. Reconstructs the complete graph with all nodes, edges, CSR, and PageRank. pub fn load_graph(path: &Path) -> M1ndResult<Graph> { let data = std::fs::read_to_string(path)?; let snapshot: GraphSnapshot = serde_json::from_str(&data).map_err(M1ndError::Serde)?;",
"intent_summary": "load_graph (function) [rust, rust:module:snapshot, rust:fq:snapshot::load_graph, rust:visibility:pub, m1nd:edge:unresolved, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-core/src/tremor.rs::fn::from_str, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::add_node, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::add_edge, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::finalize]",
"label": "load_graph",
"line_end": 229,
"line_start": 229,
"node_id": "file::m1nd-core/src/snapshot.rs::fn::load_graph",
"score": 0.5083934664726257,
"graph_activation": 0.0033335136249661446,
"temporal_recency": 0.1767767071723938
"type": "function"
"label": "read_weight",
"node_id": "file::m1nd-core/src/graph.rs::fn::read_weight",
"label": "EdgeIdx",
"node_id": "file::m1nd-core/src/types.rs::struct::EdgeIdx",
"label": "as_usize",
"node_id": "file::m1nd-core/src/types.rs::fn::as_usize",
"label": "resolve",
"node_id": "file::m1nd-core/src/graph.rs::fn::resolve",
"label": "snapshot_from_provenance",
"node_id": "file::m1nd-core/src/snapshot.rs::fn::snapshot_from_provenance",
"excerpt": "Save full graph to JSON snapshot. Atomic write: temp file + rename (FM-PL-008). Serializes all nodes and edges so the graph can be fully reconstructed on load. pub fn save_graph(graph: &Graph, path: &Path) -> M1ndResult<()> { let n = graph.num_nodes() as usize; // Build reverse map: NodeId -> external_id string",
"intent_summary": "save_graph (function) [rust, rust:module:snapshot, rust:fq:snapshot::save_graph, rust:visibility:pub, m1nd:edge:unresolved, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-core/src/types.rs::fn::as_usize, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::with_capacity]",
"label": "save_graph",
"line_end": 146,
"line_start": 146,
"node_id": "file::m1nd-core/src/snapshot.rs::fn::save_graph",
"score": 0.5059688091278076,
"label": "authored",
"node_id": "light::light::meta::graphsnapshotendpoint-light-md::state",
"relation": "has_state"
"relation": "contains_section"
"node_id": "light::light::meta::graphsnapshotendpoint-light-md::node",
"relation": "has_metadata"
"label": "L1GHT/1.0",
"node_id": "light::light::meta::graphsnapshotendpoint-light-md::protocol",
"relation": "defines_protocol"
"excerpt": "graphsnapshotendpoint.light.md",
"intent_summary": "graphsnapshotendpoint.light.md (file) [light, namespace:light]",
"label": "graphsnapshotendpoint.light.md",
"node_id": "light::light::file::graphsnapshotendpoint-light-md",
"score": 0.5267826318740845,
"graph_activation": 0.0028905889485031366,
"temporal_recency": 0.47245559096336365
"type": "file"
"label": "initialize",
"node_id": "file::m1nd-mcp/src/session.rs::fn::initialize",
"label": "DomainConfig",
"node_id": "file::m1nd-core/src/domain.rs::struct::DomainConfig",
"label": "code",
"node_id": "file::m1nd-core/src/domain.rs::fn::code",
"label": "SessionState",
"node_id": "file::m1nd-mcp/src/session.rs::struct::SessionState",
"label": "Path",
"node_id": "file::m1nd-mcp/src/protocol/layers.rs::enum::GlobSort::Path",
"excerpt": "REAL PROBE: load the repo's actual graph_snapshot.json (~5540 nodes) and run `orient` on a real task, printing the focus nodes + summary. Run with: `cargo test -p m1nd-mcp orient_real_snapshot_probe -- --nocapture` Skips gracefully (printing a note) if the snapshot is not present. fn orient_real_snapshot_probe() { // L",
"file_path": "m1nd-mcp/src/server.rs",
"intent_summary": "orient_real_snapshot_probe (function) [rust, rust:module:server, rust:fq:server::orient_real_snapshot_probe, test, rust:module:server::tests, rust:fq:server::tests::orient_real_snapshot_probe, rust:visibility:private, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-mcp/src/protocol/layers.rs::enum::GlobSort::Path, m1nd:edge:unresolved, m1nd:edge:ambiguous:file::m1nd-core/src/snapshot_bin.rs::fn::load_graph]",
"label": "orient_real_snapshot_probe",
"line_end": 7147,
"line_start": 7147,
"node_id": "file::m1nd-mcp/src/server.rs::fn::orient_real_snapshot_probe",
"score": 0.48836958408355713,
"graph_activation": 0.0029002921655774117,
"temporal_recency": 0.20412413775920868
"label": "LivePids",
"node_id": "file::m1nd-mcp/src/instance_registry.rs::enum::LivePids",
"relation": "belongs_to_type"
"label": "impl LivePids",
"node_id": "file::m1nd-mcp/src/instance_registry.rs::impl::LivePids::line::560",
"relation": "owned_by_impl"
"label": "Known",
"node_id": "file::m1nd-mcp/src/instance_registry.rs::enum::LivePids::Known",
"excerpt": "Read the OS process table exactly once. No subprocess is spawned. fn snapshot() -> Self { if !sysinfo::IS_SUPPORTED_SYSTEM { return LivePids::Unknown; }",
"file_path": "m1nd-mcp/src/instance_registry.rs",
"intent_summary": "snapshot (function) [rust, rust:module:instance_registry, rust:fq:instance_registry::snapshot, rust:visibility:private, rust:impl:self:LivePids, m1nd:edge:unresolved]",
"label": "snapshot",
"line_end": 562,
"line_start": 562,
"node_id": "file::m1nd-mcp/src/instance_registry.rs::fn::snapshot",
"score": 0.480045348405838,
"graph_activation": 0.007251317612826824,
"temporal_recency": 0.40824827551841736
"node_id": "file::m1nd-core/src/snapshot_bin.rs::fn::load_graph",
"label": "Io",
"node_id": "file::m1nd-core/src/error.rs::enum::M1ndError::Io",
"node_id": "file::m1nd-core/src/snapshot_bin.rs::fn::save_graph",
"label": "M1ndError",
"node_id": "file::m1nd-core/src/error.rs::enum::M1ndError",
"excerpt": "fn l5_load_snapshot_or_current( state: &SessionState, snapshot_ref: &str, ) -> M1ndResult<m1nd_core::graph::Graph> {",
"file_path": "m1nd-mcp/src/layer_handlers.rs",
"intent_summary": "l5_load_snapshot_or_current (function) [rust, rust:module:layer_handlers, rust:fq:layer_handlers::l5_load_snapshot_or_current, rust:visibility:private, m1nd:edge:unresolved, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-core/src/snapshot_bin.rs::fn::save_graph, m1nd:edge:ambiguous:file::m1nd-core/src/snapshot_bin.rs::fn::load_graph, m1nd:edge:ambiguous:file::m1nd-mcp/src/protocol/layers.rs::enum::GlobSort::Path]",
"label": "l5_load_snapshot_or_current",
"line_end": 7602,
"line_start": 7602,
"node_id": "file::m1nd-mcp/src/layer_handlers.rs::fn::l5_load_snapshot_or_current",
"score": 0.47553104162216187,
"graph_activation": 0.0033158191945403814,
"temporal_recency": 0.20000000298023224
"label": "out_range",
"node_id": "file::m1nd-core/src/graph.rs::fn::out_range",
"label": "with_capacity",
"node_id": "file::m1nd-core/src/graph.rs::fn::with_capacity",
"label": "node_type_to_u8",
"node_id": "file::m1nd-mcp/src/http_server.rs::fn::node_type_to_u8",
"label": "num_nodes",
"node_id": "file::m1nd-core/src/graph.rs::fn::num_nodes",
"excerpt": "async fn handle_graph_snapshot(State(state): State<Arc<AppState>>) -> impl IntoResponse { let state = state.clone(); let result: serde_json::Value = tokio::task::spawn_blocking(move || { let session = state.session.lock();",
"file_path": "m1nd-mcp/src/http_server.rs",
"intent_summary": "handle_graph_snapshot (function) [rust, rust:module:http_server, rust:fq:http_server::handle_graph_snapshot, rust:visibility:private, m1nd:edge:unresolved, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-core/src/types.rs::fn::as_usize, m1nd:edge:ambiguous:file::m1nd-ingest/src/resolve.rs::fn::resolve, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::with_capacity]",
"label": "handle_graph_snapshot",
"line_end": 1301,
"line_start": 1301,
"node_id": "file::m1nd-mcp/src/http_server.rs::fn::handle_graph_snapshot",
"score": 0.4715033173561096,
"graph_activation": 0.0029723767656832933,
"temporal_recency": 0.34412360191345215
"label": "handle_session_handshake",
"node_id": "file::m1nd-mcp/src/tools.rs::fn::handle_session_handshake",
"label": "build_runtime_state",
"node_id": "file::m1nd-mcp/src/tools.rs::fn::build_runtime_state",
"excerpt": "- `graph_intelligence.memory.light_nodes` is a number - `graph_intelligence.memory.grounded_in_edges` is a number - for a fresh graph with no light nodes both counts are 0 - for a fresh graph with no prior queries attention_anchors is empty and `attention_anchors_note` explains why fn session_handshake_graph_intelligen",
"file_path": "m1nd-mcp/src/tools.rs",
"intent_summary": "session_handshake_graph_intelligence_structure (function) [rust, rust:module:tools, rust:fq:tools::session_handshake_graph_intelligence_structure, test, rust:module:tools::tests, rust:fq:tools::tests::session_handshake_graph_intelligence_structure, rust:visibility:private, m1nd:edge:unresolved]",
"label": "session_handshake_graph_intelligence_structure",
"line_end": 4801,
"line_start": 4801,
"node_id": "file::m1nd-mcp/src/tools.rs::fn::session_handshake_graph_intelligence_structure",
"score": 0.4638645350933075,
"graph_activation": 0.002904548542574048,
"temporal_recency": 0.2763853967189789
"label": "dispatch_tool",
"node_id": "file::m1nd-mcp/src/server.rs::fn::dispatch_tool",
"excerpt": "kept labels so the context-budget packing can be SEEN keeping the top-signal hits and dropping the rest on real data. Run with: `cargo test -p m1nd-mcp seek_token_budget_real_snapshot_probe -- --nocapture` Skips gracefully (printing a note) if the snapshot is not present. fn seek_token_budget_real_snapshot_probe() { le",
"intent_summary": "seek_token_budget_real_snapshot_probe (function) [rust, rust:module:server, rust:fq:server::seek_token_budget_real_snapshot_probe, test, rust:module:server::tests, rust:fq:server::tests::seek_token_budget_real_snapshot_probe, rust:visibility:private, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-mcp/src/protocol/layers.rs::enum::GlobSort::Path, m1nd:edge:unresolved, m1nd:edge:ambiguous:file::m1nd-core/src/snapshot_bin.rs::fn::load_graph, m1nd:edge:ambiguous:file::m1nd-core/src/lib.rs::mod::graph]",
"label": "seek_token_budget_real_snapshot_probe",
"line_end": 7624,
"line_start": 7624,
"node_id": "file::m1nd-mcp/src/server.rs::fn::seek_token_budget_real_snapshot_probe",
"score": 0.46150389313697815,
"temporal_recency": 0.16903084516525269
"label": "finalize",
"node_id": "file::m1nd-core/src/graph.rs::fn::finalize",
"excerpt": "Build a small but representative graph: two function nodes, distinctive tags, provenance on one node, and a weighted directed edge between them. fn sample_graph() -> Graph { let mut graph = Graph::new(); let alpha = graph .add_node(",
"file_path": "m1nd-core/tests/snapshot_json_roundtrip.rs",
"intent_summary": "sample_graph (function) [rust, rust:module:m1nd-core::tests::snapshot_json_roundtrip, rust:fq:m1nd-core::tests::snapshot_json_roundtrip::sample_graph, rust:visibility:private, m1nd:edge:unresolved, m1nd:edge:ambiguous, m1nd:edge:ambiguous:file::m1nd-core/src/graph.rs::fn::finalize]",
"label": "sample_graph",
"line_end": 26,
"line_start": 26,
"node_id": "file::m1nd-core/tests/snapshot_json_roundtrip.rs::fn::sample_graph",
"score": 0.45372578501701355,
"graph_activation": 0.003311037551611662,
"temporal_recency": 0.15811386704444885
"sufficiency": {
"captured": 0.23767955601215363,
"state": "gathering",
"top_score": 0.7261282205581665,
"why": "the strongest match left out still scores 0.47 \u2014 relevant context did not fit (set carries 24% of the salience); raise token_budget/top_k or narrow the goal"
"total_candidates_scanned": 6509,
"trust_envelope": {
"calibrated": false,
"factors": [
"band": "deferred: insufficient_evidence",
"known": false,
"name": "trust_band",
"weight": 1.0
"band": "full_trust",
"known": true,
"name": "binding",
"band": "deferred: cross_verify (ingest-only, unavailable in seek)",
"name": "evidence_freshness",
"band": "deferred: am_i_stale (per-file I/O)",
"name": "am_i_stale",
"band": "deferred: why/impact closure (not built in seek)",
"name": "closure",
"band": "deferred: mission_verify (needs an open mission)",
"name": "evidence_class",
"next_repair_call": "trust_selftest",
"reasons": [
"weighted trust score 1.00 over 1 known factor(s), but the `envelope` signal is UNCALIBRATED \u2014 `act` is unreachable and the verdict is capped at `reverify` until a calibration row is measured",
"factor `trust_band` deferred (deferred: insufficient_evidence)",
"factor `evidence_freshness` deferred (deferred: cross_verify (ingest-only, unavailable in seek))",
"factor `am_i_stale` deferred (deferred: am_i_stale (per-file I/O))",
"factor `closure` deferred (deferred: why/impact closure (not built in seek))",
"factor `evidence_class` deferred (deferred: mission_verify (needs an open mission))"
"score": 1.0,
"verdict": "reverify"