feat(kannaka): buzz-kannaka adapter crate — HRM memory as a service (v0) - #1
Merged
Conversation
Adds crates/buzz-kannaka, the first Kannaka glue crate from the docs/KANNAKA.md roadmap: an async MemoryService trait (remember / recall / status) with a subprocess-backed KannakaCli implementation following kannaka-memory's ADR-0016 integration contract (CLI binary, JSON stdout, diagnostics on stderr). Also exposes dream, observe --json, and forget. Purely additive — no buzz-core/buzz-relay changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First Kannaka functionality crate from the docs/KANNAKA.md roadmap ("What this fork adds" §1):
crates/buzz-kannaka— asyncMemoryServicetrait (remember/recall/status) with a subprocess-backedKannakaCliimplementation per kannaka-memory's ADR-0016 integration contract (CLI binary + JSON stdout, diagnostics on stderr, exit 0/1).dream(verbatim report — CLI emits plaintext),observe --json(untyped report),forget.BUZZ_KANNAKA_BIN(binary path),KANNAKA_DATA_DIRpassthrough, per-command timeout (default 30 s).SystemStatusdefaults missing fields and preserves unknown ones inextra.buzz-core/buzz-relayinternals touched.buzz-acpsessions/workflow steps is the next increment. An in-process backend linkingkannaka-memorydirectly can slot in behind the same trait later.Test plan
cargo test -p buzz-kannaka— 3 pass (JSON shape parsing, spawn-error path); 1 ignored live round-trip (--ignoredwith akannakabinary on PATH).cargo clippy -p buzz-kannaka --all-targetsclean;cargo fmtapplied.City-Agent: claude-fable-5
🤖 Generated with Claude Code