Capability evolution wave: descriptor v2, tools, and memory plane#95
Open
Capability evolution wave: descriptor v2, tools, and memory plane#95
Conversation
Defines how cllama mediates tool execution between LLM providers and pod services using MCP-shaped schemas delivered through provider-native tool calling. Reviewed across four rounds by three independent models (Codex, Gemini, Claude).
The three-field nil check (recall, retain, forget all nil) was a strict subset of the two-field check (recall and retain both nil) that immediately followed it. The second check already covers the forget-only case correctly.
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
claw.describewithtools[]andmemorycapabilities alongside existingfeeds[],endpoints[], andskill. Version-gated validation ensures v1 descriptors remain unchanged.tools:andmemory:fields inx-clawblocks with pod-level defaults (tools-defaults:,memory-defaults:) and spread expansion support.claw upcompiles per-agenttools.jsonandmemory.jsoninto the cllama context directory, following the same declare → compile → mediate pattern as feeds.GET /history/{agent-id}endpoint in cllama with three-tier auth (admin, agent-own, service-principal). Pagination viaaftercursor andlimit.claw history export <agent-id>for local ledger access.Still open
Test plan
go test ./...passes (root repo)go test ./...passes (cllama submodule)go vet ./...cleanclaw history exportagainst a running pod with session history