Skip to content

Knowledge graph

Agents window → Knowledge graph. A tab with the projects from the Agents window and what is linked to them: agent sessions, worktrees, branches, commits, ticket ids, plans and journal entries. Every link says how it is known and where it comes from. Only local data is read; nothing goes to the network and nothing is written to the repositories or the agents’ folders.

Source Read Gives
claude ~/.claude/projects/<folder>/<session>.jsonl of each project folder and its worktrees (newest 80), ~/.claude/sessions/<pid>.json session, its folder, gitBranch, ticket ids and plans in your prompts, state (busy, waiting)
codex ~/.codex/sessions/**/*.jsonl session, folder, git.branch of session_meta, ticket ids and plans in your prompts
spinacz spinacz-sessions/ in the KryoDesk folder Mr. Paperclip sessions
git git worktree list --porcelain -z, git for-each-ref refs/heads, git log (300 commits of main/master, 50 per other branch not in it, 60 newest branches) worktrees, branches, commits, ticket ids in branch names and commit messages, plans in commit messages
journal the agents’ journal (Agent Security) entries, their reporter session, named commit, ticket ids and plans, awaiting your decision
plans plans/NNN-*.md and plans/NNN-*/ in the project folder plans

Ticket ids: ABC-123 by default (common prefixes such as UTF, SHA, ISO, RFC are skipped). Your own patterns: ticketPatterns (list of regular expressions) of the project in projects.json. Plans: plan 044, plans/044-….

The index is built when the tab is shown, at most every 30 s (refresh button: now); transcripts already read are read again only when they change. Text from transcripts, commits and the journal is shown with hidden characters (bidi, zero-width) visible and cut.

Meaning Line
Declared Stated by an agent on purpose: a journal entry’s reporter session, the commit it names, ticket ids in it solid, accent
Observed Seen in machine data: gitBranch in a transcript, working folder, git worktree list, a ticket id in a branch name or commit message solid, grey
Inferred Concluded from similarity or time (later) dashed
Suggested A proposal to confirm (later) dotted

An orange animated line goes to You: a session waiting for a permission answer (from its state file) or a journal entry awaiting your decision.

Control What it does
Find Ticket id, title, branch, plan, session id, path; Enter or a click centers the graph on it.
Depth 1 / 2 / 3 Steps from the centered entity. At most 14 neighbours per entity (waiting and newest first) and 170 entities; the rest is counted as +N more.
Zoom, fit, drag Wheel or buttons; drag the background to move.
Refresh Builds the index now.
Kinds, How it is known Filters with counts in the whole index.
Waiting Entities waiting for you; a click centers on one.
Index Per source: entities, links, time; red = an error (hover).
Click Details and the links of the entity: relation, how it is known, source, what matched and the file or command (click to copy).
Double-click Session: resumes it in a tab. Branch, commit: the Git log. Plan: editor. Journal entry: Agent Security. Ticket, folder: copies it.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close