Update mnemon 0.1.17 → 0.2.3 + add Mnemon Integration Test - #35
Merged
Conversation
Add functional test to Docker publish workflow.
3-layer verification: 1. Hermes remembers name via mnemon_remember tool 2. mnemon CLI confirms data was stored (direct recall + grep) 3. Claude retrieves the name via mnemon recall (cross-agent) Each step has explicit pass/fail assertions. Unique test name per CI run prevents false passes from stale data.
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
Updates Mnemon from 0.1.17 to 0.2.3 and adds a CI integration test that verifies the full mnemon memory pipeline across two agents (Hermes and Claude).
Changes
Dockerfile
MNEMON_VERSIONbumped from0.1.17to0.2.3CI Workflow (docker-publish.yml)
Integration Test Design
The test verifies that mnemon works end-to-end across two independent agents:
Why 3 layers?
If step 2 passes but step 3 fails, the issue is specifically in Claude's mnemon integration — not in storage. This pinpoints exactly where the integration breaks.
Why unique test names?
Each CI run generates a unique test ID (
ci-mnemon-<timestamp>-<pid>) to prevent false passes from stale data. Previous runs cannot accidentally satisfy the grep assertions.Why no cleanup step?
The container is ephemeral — when the CI job ends, the container is destroyed and all mnemon data with it. A cleanup step would be dead code.
Why show Claude output?
Step 3 captures and echoes Claude's full output before checking it. This makes CI logs debuggable — you can see exactly what Claude returned, not just pass/fail.
Verification