Skip to content

Agent session memory as a graph: ingest the Copilot CLI session store - #8

Merged
Naseem77 merged 13 commits into
mainfrom
feat/session-memory-graph
Jul 16, 2026
Merged

Agent session memory as a graph: ingest the Copilot CLI session store#8
Naseem77 merged 13 commits into
mainfrom
feat/session-memory-graph

Conversation

@Naseem77

Copy link
Copy Markdown
Owner

What

A new ingestion source for the same graph: instead of parsing code, Graphora can now ingest the session database the Copilot CLI already maintains (~/.copilot/session-store.db) and map your work history:

  • (:Session)-[:TOUCHED]->(:WorkFile)
  • (:Session)-[:IN_REPO]->(:Repo)
  • (:Session)-[:REFERENCES]->(:Ref) (PR / issue / commit)

New CLI commands

graphora sessions ingest --days 7
graphora sessions connected file build.yml   # which windows touched this file?
graphora sessions connected ref 275          # which sessions relate to PR 275?
graphora sessions connected repo org/proj

Notes

  • Deterministic, read-only on the source, no LLM, idempotent (MERGE everywhere)
  • Purely additive: no existing behavior changed
  • Tested: 7 new integration tests, full suite 87/87 passing
  • Verified against a real session store: 19 sessions, 158 files, 24 refs ingested
  • Documented as use case 6 in USECASES.md with captured real output

@Naseem77
Naseem77 merged commit bfddfc8 into main Jul 16, 2026
4 checks passed
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