Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge PR #1174: fix(profile): keep Codex instructions that name no directory out of the profile

AkitaOnRailsfa63023ad043
diff --cc CHANGELOG.md
index bca36c51,3108f7fa..2f3ed898
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,32 -8,25 +8,51 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Fixed
+- Fixed generated TypeScript integrations (OpenCode, OpenCode 2, OMP,
+ Pi, OpenClaw) flashing a console window on Windows.
+ `discoverRemoteIdentity` spawned `git config --get remote.<name>.url`
+ without `windowsHide`. The spawn now passes `windowsHide: true`, as
+ the repo-root probe's two git spawns already do (#1169).
+- Fixed `AI_MEMORY_LLM_REASONING_EFFORT` being ignored for
+ `claude-haiku-5-5`: the Anthropic provider dropped effort and thinking
+ fields for every Haiku model because Haiku 4.5 rejects them, so Haiku 5.5
+ always ran adaptive thinking at its default `medium` effort. Haiku 5.5 and
+ later now receive `output_config.effort`, adaptive thinking, and
+ `thinking: disabled` for `none`, like the other current Claude models
+ (#1180).
+- Documented that Anthropic currently refuses Claude Free/Pro/Max subscription
+ tokens from third-party apps, so `anthropic-oauth` usually fails with a
+ `429 rate_limit_error` on every request. That is a policy refusal, not a
+ real rate limit; the docs now point to the `anthropic` provider with a
+ Console API key or another provider. Also corrected the claim that
+ `claude setup-token` writes `CLAUDE_CODE_OAUTH_TOKEN`: it only prints the
+ token, which you export yourself. (#1170)
+- Documented that Zero runs hook commands inside its sandbox, whose default
+ policy blocks network (loopback included) and writes outside the
+ workspace, so hook events stay in the spool instead of reaching the
+ server. The `install-hooks --agent zero` and `setup-agent` notes and the
+ Zero install docs now name the global `~/.config/zero/config.json`
+ `sandbox` keys that allow delivery, their tradeoff, and the
+ `ai-memory hook-drain` fallback. (#1172)
+ - Fixed a global `~/.codex/AGENTS.md` reaching the cross-project profile as
+ the user's own words. Codex injects its instruction files as a user message
+ headed `# AGENTS.md instructions for <cwd>` when a project `AGENTS.md`
+ contributes, and `# AGENTS.md instructions` with no directory when only the
+ global file does. The transcript import recognized only the first heading,
+ so `backfill` stored the global file as a user prompt in every project, and
+ the profile harvest admitted its "always"/"never" lines, which repeat across
+ projects by construction. The import now recognizes both headings. (#1173)
+ - Fixed the profile harvest reading text the user did not write as the
+ user's words: a user-prompt observation that is a harness turn, such as
+ Claude Code's `<task-notification>` blocks or Codex's injected
+ instructions, is now skipped, and ai-memory's own routing and
+ recalled-history blocks inside a prompt are left out, including a block the
+ 16 KiB prompt cap cut before its end marker. `profile rebuild` also skips
+ Codex instructions an earlier version stored as prompts, but it keeps the
+ candidates already harvested from them, so those lines can still show as
+ waiting in `profile review`. An entry an earlier version already admitted,
+ or one those candidates reach later, stays until `ai-memory profile forget`
+ removes it. (#1173)
- Fixed Cursor tool calls being stored with no title or content: Cursor's own
hooks, and the Claude Code hooks Cursor also runs, send Claude's
`tool_name`/`tool_input` fields, but Cursor was missing from the tool-capture