[IDEA] Augmenting checkpoint metadata with epistemic node types and path addressing
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.1k
- Forks
- 475
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 178
Description
Problem or use case
When reviewing or resuming an agent session captured by Entire, the raw transcript shows what was said, but not the logical structure of the conversation. It is difficult to programmatically determine which messages were seeking information (questions), which were providing it (answers), or which represented consensus (task alignment). This makes it hard for agents to efficiently navigate or summarize long session histories without relying on lossy semantic search.
Desired behavior
An optional enrichment of session metadata that tags each captured message with a lightweight epistemic type and a logical path.
For example, a checkpoint's metadata might include a structured summary like:
Session path tree:
/0 (Question: "How to fix this bug?")
/0/0 (Condition: "The error is on line 42")
/0/0/0 (Task: "Apply patch X")
/0/1 (Condition: "Alternative approach using library Y")
This would allow tools like `entire explain` or future agentic workflows to reconstruct the reasoning chain without reprocessing the entire transcript.
Proposed solution
The underlying model is an "Issue Tree" where each message gets a path (e.g., /0/1) encoding its branching position and one of four node types (Task, Question, Condition, None) based on whether it seeks or provides information. This is derived from a simple two-party communication model.
Implementation could be a post-processing hook that analyzes the transcript and appends a small JSON block to the checkpoint metadata. The exact structure is open for discussion; the core value is establishing a computable, addressable map of the conversation's intent flow.
This is a conceptual suggestion from a repository of design notes, not a demand for a specific API. https://github.com/D7x7z49/llm-context-idea
Alternatives or workarounds
Current workaround is manual tagging within prompts or relying on entire explain to generate a narrative summary. These lack a consistent, queryable structure. Another alternative is using vector embeddings for semantic search, but that does not capture the logical dependency between messages (e.g., "this answer replies to that question").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the checkpoint metadata consumed by entire explain; the issue names no files or tests. Before implementation, agree on the JSON structure, node types, path semantics, and post-processing hook, then verify that the metadata can reconstruct the conversation's reasoning flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100