Skip to content

v0.1.13

Choose a tag to compare

@github-actions github-actions released this 01 Jun 09:09
· 1288 commits to master since this release
f0c1aa0

v0.1.13

v0.1.13 expands Mnemon's host integration surface while keeping the stable release contract focused on the CLI, setup targets, storage behavior, and markdown/hook based agent integration. The larger harness work included in this tag remains experimental and is called out separately below.

Highlights

Hermes Agent native hook integration

This release adds mnemon setup --target hermes, a native shell-hook integration for Hermes Agent. The implementation uses Hermes' public hook surface rather than embedding Mnemon as a Hermes memory provider, so it follows Mnemon's existing model: hooks inject guidance and recalled context, while the LLM still decides what is worth storing.

The installer now:

  • detects Hermes via the hermes binary or an existing ~/.hermes/ config directory
  • writes ~/.hermes/skills/mnemon/SKILL.md
  • installs executable hook scripts under ~/.hermes/agent-hooks/mnemon/
  • patches ~/.hermes/config.yaml without removing unrelated Hermes settings
  • supports mnemon setup --eject --target hermes to remove only Mnemon-owned files and hook entries

The hook mapping is:

  • on_session_start records Mnemon status and guide context for the next LLM call
  • pre_llm_call injects recalled memory context using Hermes' {"context": "..."} shell-hook response shape
  • post_llm_call queues a lightweight remember/nudge reminder for the next turn instead of automatically writing memory
  • optional on_session_finalize queues compact/finalization guidance for later context preservation

This is one implementation path for the Hermes discussion in #2. It intentionally does not close that issue by itself; a Hermes MemoryProvider/plugin path can still be evaluated independently.

Pi Coding Agent integration

v0.1.13 also includes mnemon setup --target pi, which deploys Mnemon into Pi's native extension surface.

The Pi setup target writes:

  • skills/mnemon/SKILL.md
  • extensions/mnemon.ts
  • prompt files under the normal Mnemon prompt directory

The extension maps Mnemon lifecycle behavior onto Pi events including resources_discover, session_start, before_agent_start, agent_end, and session_before_compact. This gives Pi sessions the same core Mnemon reminders and skill discovery pattern used by the other setup targets, while keeping storage operations in the standalone mnemon binary.

Experimental harness beta

This tag includes a large experimental mnemon-harness beta surface. It is useful for internal and advanced evaluation workflows, but it is not part of the stable v0.1.13 public API contract.

Included harness work covers:

  • lifecycle control-plane primitives for goals, proposals, profiles, audit records, event logs, and coordination state
  • host projection and reconciliation paths for Codex and Claude Code surfaces
  • eval/runtime scaffolding, replay/reporting utilities, and Codex app-server scenario assets
  • daemon/job execution and trigger evaluation infrastructure
  • a terminal review console for evidence, proposals, profile state, traces, hosts, and coordination views
  • reorganized harness loop assets for memory, skill, eval, and goal workflows

The harness remains default-off and should not be treated as a release-path dependency for mnemon setup or other stable CLI commands.

Documentation

  • English and Chinese usage docs now list the Hermes setup target.
  • README setup sections now cover Hermes and Pi integration behavior.
  • Harness documentation was compressed and marked as unstable beta to reduce accidental reliance on experimental contracts.

Install / Upgrade

Homebrew users can upgrade with:

brew update
brew upgrade mnemon

Direct downloads are available below for:

  • macOS amd64 / arm64
  • Linux amd64 / arm64
  • Windows amd64

Validation

The release workflow completed successfully and published GoReleaser artifacts plus the Homebrew formula. The release test job ran the E2E suite before publishing.

Additional local checks run before tagging:

  • go test ./internal/setup ./cmd
  • go build -o mnemon .
  • bash scripts/check_bilingual_sync.sh
  • make test (147 E2E checks passed)

Notes

  • GitHub Actions reported Node.js 20 deprecation warnings for upstream actions (actions/checkout, actions/setup-go, and goreleaser/goreleaser-action). The release completed successfully; this is workflow maintenance to address later.
  • GoReleaser reported deprecation warnings for some config keys (archives.format, archives.format_overrides.format, and brews). The artifacts and Homebrew formula were still published successfully.