Repository navigation
Conversation
|
@greptileai review |
335e258 to
7555744
Compare
Graph-based knowledge memory plugin using Graphiti for temporally-aware knowledge graphs. Supports two backends: - Zep Cloud (managed) via @getzep/zep-cloud SDK - Self-hosted Graphiti via REST API Features: auto-capture (agent_end), auto-recall (before_agent_start), graphiti_search/graphiti_episodes tools, CLI status command, and configurable group ID strategies (channel-sender, session, static). Includes 49 unit tests and 6 integration tests against Zep Cloud. Co-Authored-By: Claude Opus 4.6 <[email protected]>
7555744 to
0fa0f4f
Compare
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
PR Review Summary — feat/graphitiCritical Issues (2 found)
Important Issues (6 found)
Suggestions (4 found)
Strengths
Verdict: NEEDS FIXES — Critical #1 (race condition / data leak) must be fixed before merge.🤖 Generated with Claude Code |
…QGR 509f0a5 fix(syntropy): user-facing onboarding strings — Link→Pair Device, brand (oc-hygiene #4)
|
Superseded: closing (cto-loop W26 hygiene, CTO openclaw#13303). memory-graphiti shipped on main via #9 (655cdc5, 2026-05-12) and was extended after that (P1 characterization tests 37d6b07; tripwire; the register now in openclaw.json). main has 17 files under extensions/memory-graphiti. This branch (0fa0f4f, 2026-02-25) is an older subset: merging it would DELETE ~2.9k lines from main (git diff origin/main origin/feat/graphiti -- extensions/memory-graphiti: +175/-2881). Nothing on this branch is missing from main. |
Summary
memory-graphitiextension inextensions/memory-graphiti/with dual-backend support (Zep Cloud managed service + self-hosted Graphiti REST API), auto-capture/recall hooks, search tools, and CLI.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
memory-graphitiplugin available in thememoryslotapiKey(Zep Cloud) orserverUrl(self-hosted Graphiti)graphiti_search(search knowledge graph) andgraphiti_episodes(retrieve recent episodes)openclaw graphiti statusto check connectivitychannel-sender(default, per-user per-channel),session(per-thread),static(shared graph)Security Impact (required)
Yes— new memory plugin with network access to Zep Cloud or self-hosted GraphitiYes—apiKeyfield markedsensitive: true, supports${ENV_VAR}resolutionYes— calls to Zep Cloud API (api.getzep.com) or self-hosted Graphiti REST APIYes— two new agent tools (graphiti_search,graphiti_episodes)No— operates within the memory plugin slot, same as existing memory pluginssensitive: trueflag. Environment variable resolution prevents hardcoded secrets. All network calls go to user-configured endpoints only.Repro + Verification
Environment
{ "apiKey": "${GETZEP_API_KEY}" }Steps
Expected
Actual
Evidence
49 unit tests covering: config parsing (15), client factory (3), group ID derivation (9), message extraction (7), fact formatting (3), REST client (12).
6 integration tests against live Zep Cloud: healthcheck, addMessages, getEpisodes (with polling), searchFacts.
Human Verification (required)
Compatibility / Migration
Yes— new extension, no changes to existing codeYes— newGETZEP_API_KEYorGRAPHITI_SERVER_URLenv vars neededNoFailure Recovery (if this breaks)
memory-graphitifrom plugin slot config, or uninstall extensionextensions/memory-graphiti/directory — fully self-containedRisks and Mitigations
^3.16.0, integration tests validate live API