Skip to content

docs(feat-027, enh-005): port the 0.4 upstream specs#121

Merged
kjoshi07 merged 1 commit into
mainfrom
docs/0.4-upstream-specs
Jun 22, 2026
Merged

docs(feat-027, enh-005): port the 0.4 upstream specs#121
kjoshi07 merged 1 commit into
mainfrom
docs/0.4-upstream-specs

Conversation

@kjoshi07

Copy link
Copy Markdown
Contributor

Summary

Canonicalizes the two framework pieces the agentforge-graph dogfood needs, both accepted for the 0.4 train. Specs only — no code yet. Ported verbatim from the house-style drafts; canonical numbers already aligned (enh-005 = directional expansion, the reserved slot; feat-027 = next free feature number).

Specs

  • feat-027KuzuGraphStore, an embedded, file-backed GraphStore driver: zero-ops, in-process, persistent at a path (path: .ckg) — the graph analogue of the SQLite MemoryStore. Implements the locked GraphStore ABC and passes run_graph_conformance, so it's swap-compatible with Neo4j/SurrealDB. New agentforge-memory-kuzu package. No ABC change (adding a conformant driver is the standard contribution shape — no ADR needed). Makes the whole graph + GraphRAG path testable offline. Added to the feature catalogue.
  • enh-005direction: in | out | any on GraphExpansion, so GraphRAG expansion follows asymmetric edges the right way (callers vs callees, who-cites vs what-it-cites). Rides the already-locked get_edges(direction=...); no ABC change, no new package; direction defaults to any → byte-for-byte backward compatible.

Context

These are the only two framework pieces coming out of the code-graph agent epic (~90% of that work lands in the agent itself). They're the first items on the finalized 0.4 roadmap (0.5 = governance Identity + Registry; 0.5/0.6 = durable-execution + Policy; 0.6 = Audit).

Pre-commit green (docs-only; full unit + integration + coverage gates pass unchanged).

🤖 Generated with Claude Code

Finalize + canonicalize the two framework pieces the agentforge-graph
dogfood needs, both accepted for the 0.4 train. Specs only — no code yet.

- feat-027 — `KuzuGraphStore`, an embedded file-backed `GraphStore` driver
  (zero-ops, in-process; the graph analogue of the SQLite MemoryStore).
  Implements the locked `GraphStore` ABC + passes run_graph_conformance, so
  it's swap-compatible with Neo4j/SurrealDB. New `agentforge-memory-kuzu`
  package. No ABC change. Added to the feature catalogue (accepted / 0.4).
- enh-005 — `direction: in|out|any` on `GraphExpansion`, so GraphRAG
  expansion follows asymmetric edges correctly (callers vs callees). Rides
  the already-locked `get_edges(direction=...)`; defaults to `any` →
  byte-for-byte backward compatible. No ABC change, no new package.

Both ported verbatim from the house-style drafts; canonical numbers
already aligned (enh-005 = directional expansion; feat-027 next free).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kjoshi07 kjoshi07 merged commit e587172 into main Jun 22, 2026
4 checks passed
@kjoshi07 kjoshi07 deleted the docs/0.4-upstream-specs branch June 22, 2026 08:04
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