Skip to content

Bound session-memory graph neighborhood reads#308

Merged
8Dionysus merged 5 commits into
mainfrom
codex/session-memory-bounded-graph-20260715
Jul 15, 2026
Merged

Bound session-memory graph neighborhood reads#308
8Dionysus merged 5 commits into
mainfrom
codex/session-memory-bounded-graph-20260715

Conversation

@8Dionysus

Copy link
Copy Markdown
Owner

Summary

  • resolve graph aliases through bounded shard route_terms index probes
  • traverse the graph store with an indexed, bounded BFS and compact the MCP response
  • defer unresolved deep archive expansion instead of running a hidden bulk fallback inside MCP
  • expose the deferred state through entity dossier packets

Verification

  • 121 passed for mcp/services/aoa-session-memory-mcp/tests
  • ruff check on the changed source and tests
  • live owner-admitted probe against the 34 GB graph store: 313 ms runtime, 51 MB peak memory, 0 swap, no archive command

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 60ef5e37ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread mcp/services/aoa-session-memory-mcp/src/aoa_session_memory_mcp/core.py Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 82b7b434ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread mcp/services/aoa-session-memory-mcp/src/aoa_session_memory_mcp/core.py Outdated
@8Dionysus
8Dionysus enabled auto-merge (squash) July 15, 2026 10:48
@8Dionysus
8Dionysus merged commit 8a85af7 into main Jul 15, 2026
4 checks passed
@8Dionysus
8Dionysus deleted the codex/session-memory-bounded-graph-20260715 branch July 15, 2026 13:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1d40fed214

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 7563 to 7564
if not start_rows:
return None

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Surface route-term resolution failures

When the synthetic graph-node candidates miss and alias resolution depends on search/shards/*/route_terms, a malformed/unreadable shard or stale route-term match reaches this return after _graph_route_term_node_candidates has collected diagnostics or matched IDs. Returning None discards that evidence, so graph_neighborhood() emits the generic mcp_bounded_graph_deferred "no indexed graph node" response even though the alias read model is broken or inconsistent; carry the route-term resolution diagnostics/matches into the deferred/error payload instead.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant