mirror of
https://github.com/akitaonrails/ai-memory.git
synced 2026-10-02 03:24:46 +08:00
- LICENSE (MIT) + workspace license = MIT (down from MIT OR Apache-2.0) - Wiki-structure migration framework: V06 wiki_migrations table, WikiMigration trait, registry, and run_pending runner (registry starts empty; v1 ships per-project layout natively) - CHANGELOG.md, SECURITY.md, CONTRIBUTING.md - bin/release (fmt/clippy/test/deny/audit -> bump -> tag; never pushes) - .github release workflow + issue/PR templates - README: bootstrap example defers to default workspace/project - evals: inherit version/edition/rust-version from workspace Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4.1 KiB
4.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
- Wiki-structure migration framework:
wiki_migrationsSQL table (V06),WikiMigrationtrait, migration registry, andrun_pendingrunner invoked at server startup before the watcher starts. - MCP read tools (
memory_query,memory_recent,memory_status,memory_briefing,memory_explore) accept an optionalprojectargument to target a specific project on a shared server.
Fixed
- OpenCode hook events (
tool.execute.*,session.*) were rejected with "missing session_id" because OpenCode sendssessionID(capitalID) and the extractor only matchedsessionId. All spellings are now accepted ([#1]). - MCP read tools were locked to the server's static
--project(defaultscratch), so on a shared HTTP server they returned empty memory even while hooks populated the correct per-cwd project. The hook router now publishes the active project to a shared pointer that the read tools use as their default; an explicitprojectargument overrides it ([#2]).
0.1.0 - 2026-XX-XX
Added
- Per-project UUID-namespaced wiki layout: pages live at
<wiki_root>/<workspace_id>/<project_id>/<page-path>. Rename is now a single column update; purge isremove_dir_allon the project dir. - CLI becomes a thin HTTP client:
bootstrap,status,search,reorg,lint,forget-sweep,embed,commit,backup,write-pageall delegate to the running server via/admin/*routes. The server is the sole writer of wiki + SQLite. purge-projectcommand with cascade-delete indexes and per-project isolation guard (refuses to delete files claimed by sibling projects).rename-projectcommand: column-only rename, no file moves.memory_install_self_routingMCP tool: installs the agent-routing snippet into CLAUDE.md / AGENTS.md /.cursorrulesin one call.- Read-only HTTP wiki browser (
/web) with project tree, page view, and full-text search. - Bearer token auth (
AI_MEMORY_AUTH_TOKEN/generate-auth-token), Host-header allowlist, and 10 MB body cap for the HTTP server. backup/restorecommands using.tar.gzarchives with live-process guard (refuses to run if anotherai-memoryis active on the same data dir).- Per-cwd project routing in hooks: observations route to the project matching the agent's working directory, not the server default.
opencode/openclawaliases for the OpenCode MCP client.- Dockerised CLI wrapper (
bin/ai-memory) with auto-restart for the local container and nudge for remote upgrades. bootstrapserialises parallel runs to prevent duplicate project creation and handles the case where the CWD has no git repo.- Monthly log-md rotation to keep
log.mdfrom growing unbounded. memory_consolidatePreCompact checkpointing falls back to rule-based summarisation when no LLM is configured.docs/lifecycle-ops.md: safety matrix for state-touching commands (reset, restore, purge-project, rename-project).docs/wiki-migrations.md: when and how to write a wiki migration.
Changed
bin/ai-memoryforwardsAI_MEMORY_SERVER_URLand no longer creates-wmount-conflict directories.bootstrapresolves the repo root vialibgit2, removing thegitbinary dependency.- Admin routes consolidated: dry-run support, correct status codes, deduplicated handlers.
- Host-header allowlist sourced from
Config.allowed_hosts; logged at startup so operators can verify the effective list.
Fixed
AI_MEMORY_HOST_CWDhandling and dry-run no-project side effects.- Web page view: strip leading H1 from body to prevent title duplication.
install-mcpCodex config key wasbearer_token, nothttp_headers/headers.- Consolidator used server startup default project instead of the session's actual project.