release: 6.11.0 #31

Merged
tim merged 4 commits from develop into main 2026-11-03 07:54:16 +00:00
Owner

Release 6.11.0: Claude Code hooks (#22, merged in #30).

  • claude_config/hooks/omnimem_hook.py: SessionStart briefing and PreToolUse dead-end guard, stdlib-only, fails open
  • warn_if_abandoned(query, project?, proposal?) and briefing(read_only=True), additive
  • docs/claude-code-hooks.md, claude_config/hooks/settings.example.json
  • Fixes the claude_config/CLAUDE.md template, which still described the auto-suppression removed in 6.10.0

Version 6.11.0 in pyproject.toml and mcp_server/memory/version.py, ## [6.11.0] section in CHANGELOG. auto-tag creates v6.11.0 on merge.

Deploy-side: no new env vars and no migration. The hooks need the server on MCP_TRANSPORT=http; that is a client prerequisite, not a requirement for running the images.

🤖 Generated with Claude Code

Release 6.11.0: Claude Code hooks (#22, merged in #30). - `claude_config/hooks/omnimem_hook.py`: SessionStart briefing and PreToolUse dead-end guard, stdlib-only, fails open - `warn_if_abandoned(query, project?, proposal?)` and `briefing(read_only=True)`, additive - `docs/claude-code-hooks.md`, `claude_config/hooks/settings.example.json` - Fixes the `claude_config/CLAUDE.md` template, which still described the auto-suppression removed in 6.10.0 Version 6.11.0 in `pyproject.toml` and `mcp_server/memory/version.py`, `## [6.11.0]` section in CHANGELOG. `auto-tag` creates `v6.11.0` on merge. Deploy-side: no new env vars and no migration. The hooks need the server on `MCP_TRANSPORT=http`; that is a client prerequisite, not a requirement for running the images. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Support for the Claude Code hooks, both additive:
- warn_if_abandoned(query, project, proposal): proposal=True matches a
  whole abandoned name on word boundaries (case and separators ignored),
  never `query in name`, ignores names under three characters, and keeps
  other projects' records out. A match carries the breakthrough, the way
  out, when the memory recorded one. The default call is unchanged.
- briefing(read_only=True) skips the writes: the maintenance counter and
  run, and the auto skill scan.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude_config/hooks/omnimem_hook.py, one stdlib-only file that talks to
the server over MCP (streamable HTTP, bearer token from the environment,
never over cleartext to another host). SessionStart injects a read-only
briefing with the graveyard first; PreToolUse denies a mutating tool call
that puts an abandoned approach in place and says what worked instead,
once per session so a stale record cannot deadlock the agent. Fails open
on every error. Tested against a fake MCP server on a real socket and
against the real server.

ruff.toml formats the hook for py39: at py314 the formatter rewrote
`except (A, B):` to the 3.14-only form, which broke the script on the
python3 the user has. A source test and an older-interpreter test guard it.

Also fixes the claude_config/CLAUDE.md template, which still described the
auto-suppression removed in 6.10.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
release 6.11.0: Claude Code hooks
All checks were successful
Lint / Ruff (pull_request) Successful in 11s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m43s
Security Scans / Test Coverage (pull_request) Successful in 1m32s
f3277d53c0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge pull request 'hooks: Claude Code SessionStart briefing and PreToolUse dead-end guard, release 6.11.0' (#30) from feat/claude-code-hooks-22 into develop
All checks were successful
Lint / Ruff (pull_request) Successful in 10s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m36s
Security Scans / Test Coverage (pull_request) Successful in 1m33s
aadaaa3f54
tim merged commit f9443de47d into main 2026-11-03 07:54:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/omnimem!31
No description provided.