Skip to content

Graph-backed work objects: repo, issue, release, docs, and trace graphs #2124

@Hmbown

Description

@Hmbown

Problem

Agents repeatedly rebuild local understanding from raw text: files, search results, GitHub issues, release notes, docs, tests, and logs. This wastes cache, bloats transcripts, and hides the relationships that matter for real work.

Refactoring is the obvious example, but the same shape exists in every workflow:

  • GitHub triage needs issue/PR/milestone/contributor graphs.
  • Release prep needs version/changelog/check/artifact graphs.
  • Docs renovation needs claim/source/support-surface graphs.
  • Debugging needs symptom/log/code/test graphs.
  • Model Lab needs trace/task/tool/evidence graphs.

Desired behavior

Add durable graph-backed work objects that tools can build, update, query, and hand to RLM or sub-agents by handle.

Initial object types:

RepoGraph
IssueGraph
ReleaseGraph
DocsGraph
TraceGraph
RefactorPlan
SlopLedger
EvidenceLedger

Each object should support:

  • Stable IDs and handles.
  • Bounded handle_read projections.
  • Source-linked nodes and edges.
  • Freshness / invalidation rules.
  • Redaction/export policy.
  • Optional RLM semantic analysis over slices.
  • Task/handoff persistence.

Acceptance criteria

  • Design doc defines shared graph primitives: node, edge, source span, confidence, freshness, owner, evidence.
  • Prototype RepoGraph and one non-code graph, preferably IssueGraph or ReleaseGraph.
  • Graph objects are queryable without pasting full state into the parent transcript.
  • RLM can load a graph slice and return structured classifications by handle.
  • Existing task/evidence/handoff surfaces can link to graph object IDs.
  • Tests cover graph creation, projection, invalidation, redaction, and handle reads.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    cache-maximalismDeepSeek V4 cache-maximal context and agent architecturedocumentationImprovements or additions to documentationenhancementNew feature or requestv0.9.0Targeting v0.9.0

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions