Skip to content

Update mnemon 0.1.17 → 0.2.3 + add Mnemon Integration Test - #35

Merged
gitricko merged 7 commits into
mainfrom
gitricko-update-mnemon-0.2.3
Aug 16, 2026
Merged

Update mnemon 0.1.17 → 0.2.3 + add Mnemon Integration Test#35
gitricko merged 7 commits into
mainfrom
gitricko-update-mnemon-0.2.3

Conversation

@gitricko

@gitricko gitricko commented Aug 16, 2026

Copy link
Copy Markdown
Owner

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_VERSION bumped from 0.1.17 to 0.2.3

CI Workflow (docker-publish.yml)

  • Added Mnemon Integration Test step after the existing Docker smoke test
  • 3-layer verification with explicit pass/fail assertions

Integration Test Design

The test verifies that mnemon works end-to-end across two independent agents:

Step 1: Hermes remembers → hermes chat -q stores a unique name via mnemon_remember
Step 2: mnemon CLI confirms → mnemon recall finds the stored name (direct CLI check)
Step 3: Claude retrieves → claude -p recalls the name via mnemon (cross-agent check)

Why 3 layers?

Layer What it verifies Failure means
Step 1 Hermes tool call works Hermes + mnemon_remember integration broken
Step 2 Data was actually stored mnemon storage layer broken
Step 3 Cross-agent retrieval works Claude + mnemon recall integration broken

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

  • 2 consecutive green CI runs after the test was added
  • Test runs in ~10 seconds (steps 1-3 are fast CLI calls)
  • No impact on existing smoke test or push-to-ghcr jobs

Copilot AI lite review requested due to automatic review settings August 16, 2026 09:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

gitricko and others added 6 commits August 16, 2026 06:35
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.
@gitricko gitricko changed the title Update MNEMON_VERSION to 0.2.3 Update mnemon 0.1.17 → 0.2.3 + add Mnemon Integration Test Aug 16, 2026
@gitricko
gitricko merged commit 2074986 into main Aug 16, 2026
4 checks passed
@gitricko
gitricko deleted the gitricko-update-mnemon-0.2.3 branch August 16, 2026 12:48
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.

2 participants