Skip to content

Commit 87a5a5d

Browse files
cdeustclaude
andauthored
chore(release): v3.25.0 — headless wiki-authoring hardening + active forgetting (#73)
Bumps version across pyproject/server/manifest/marketplace/plugin manifests and records the 3.25.0 CHANGELOG section covering #67#72: - feat: active forgetting module (#69), safe headless drain (#70), full zetetic agent roster for wiki authoring (#72) - fix: Windows portability (#68), subscription-default billing (#71), variadic --add-dir prompt-swallow root cause (#72) - deps: pydantic-settings 2.14.0→2.14.2 security patch (#67) Claude-Session: https://claude.ai/code/session_019o58McF4LRfvGNNXaqG2Au Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ab4df13 commit 87a5a5d

6 files changed

Lines changed: 51 additions & 7 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
},
77
"metadata": {
88
"description": "Persistent memory and cognitive profiling plugins for Claude Code",
9-
"version": "3.24.1"
9+
"version": "3.25.0"
1010
},
1111
"plugins": [
1212
{
1313
"name": "cortex",
1414
"source": "./",
1515
"description": "Persistent memory and cognitive profiling for Claude Code — thermodynamic memory with heat/decay, intent-aware retrieval, biological plasticity, codebase intelligence, and cognitive profiling. 43 MCP tools (46 with the optional automatised-pipeline + prd-spec-generator integrations) with enriched schemas (visualization extracted to the standalone cortex-viz MCP). PostgreSQL + pgvector in CLI mode; automatic SQLite fallback in Cowork/sandboxed mode. v3.17.0 — autonomous per-project wiki: SessionStart auto-spawns a 6-hour consolidate cycle; a headless `claude -p` worker drains the curation-gap queue, calls codebase-intelligence MCP tools to ground each section in the real call graph, and authors missing anchor pages (architecture / services / api / data-flow / operations / decisions / PRD) per project from the source tree. 15 canonical scopes × 13 file sections; per-project dashboards under `wiki/_dashboards/`. Mermaid diagrams have a 🔍 lens with zoom + pan. Workflow graph with caller-qualified CALLS chains rendering full method-to-method dependencies (native tree-sitter, no AP required). Side panel humanized for non-technical users. Ingests codebase analysis (ai-automatised-pipeline) and PRDs (prd-spec-generator) into wiki + memory + knowledge graph. Docker image available.",
16-
"version": "3.24.1",
16+
"version": "3.25.0",
1717
"author": {
1818
"name": "Clement Deust",
1919
"email": "admin@ai-architect.tools"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cortex",
33
"description": "Persistent memory for Claude Code — remembers across sessions automatically. Install and forget. Scientific retrieval backed by 72 published references.",
4-
"version": "3.24.1",
4+
"version": "3.25.0",
55
"author": {
66
"name": "Clement Deust",
77
"email": "admin@ai-architect.tools"

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,50 @@ adheres to [Semantic Versioning](https://semver.org/).
66

77
## [Unreleased]
88

9+
## [3.25.0] - 2026-07-01
10+
11+
Headless wiki-authoring hardened end-to-end (subscription billing, full zetetic
12+
agent roster, anti-recursion guard) plus the active-forgetting memory module and
13+
Windows portability fixes.
14+
15+
### Added
16+
- **Active forgetting (Module #6).** `core/active_forgetting.py` +
17+
`handlers/consolidation/forgetting.py`: two independent Drosophila dopaminergic
18+
forgetting circuits — permanent Rac1 trace erosion (chronic interference ×
19+
stage vulnerability) and transient DAMB retrieval block (Davis & Zhong 2017,
20+
Sabandal et al. 2021). Shipped with a falsification harness left failing where
21+
the model genuinely diverges from biology. (#69)
22+
- **Safe headless wiki-authoring drain.** Async `claude -p` invocation
23+
(`asyncio.create_subprocess_exec` + `wait_for`) that no longer blocks the event
24+
loop; per-cycle concurrency / wall-clock / USD budget via `CORTEX_HEADLESS_*`
25+
knobs (defaults 4 / 300s / $5); anti-fabrication `Scope.groundable` filter so
26+
non-derivable scopes (prd/decisions/changelog/roadmap/accessibility/
27+
localization) are never authored from scratch. (#70)
28+
- **Full zetetic agent roster for wiki authoring.** Two-mode argv
29+
(`claude_cli._build_argv`, gated on `CORTEX_HEADLESS_AGENTS`, default on):
30+
agents mode loads the user roster only (`--setting-sources user`, project/local
31+
excluded so a malicious repo cannot inject settings/hooks) with a hard
32+
`--disallowedTools Write,Edit,Bash,NotebookEdit` deny ceiling that propagates to
33+
delegated subagents; solo mode falls back to `--safe-mode`. New
34+
`hooks/_headless_guard.py` no-ops every Cortex hook under
35+
`CORTEX_HEADLESS_AUTHORING_CHILD=1`, stopping consolidation→authoring recursion
36+
and memory pollution. (#72)
37+
38+
### Fixed
39+
- **Windows cross-platform portability.** macOS/Linux compatibility preserved. (#68)
40+
- **Headless drain billing.** The drain now uses a logged-in Claude subscription
41+
by default with API billing as explicit opt-in; previously `--bare` forced
42+
`ANTHROPIC_API_KEY` and the fail-closed guard skipped the whole drain on
43+
subscription-only machines. (#71)
44+
- **Silent drain failure since 3.24 (root cause).** The variadic `--add-dir`
45+
swallowed the trailing positional prompt, so every drain with a `source_root`
46+
failed silently; the prompt is now passed via STDIN. (#72)
47+
48+
### Changed
49+
- Bump `pydantic-settings` 2.14.0 → 2.14.2 (upstream security patch:
50+
`NestedSecretsSettingsSource` no longer follows symlinks outside
51+
`secrets_dir`). (#67)
52+
953
## [3.24.1] - 2026-06-23
1054

1155
Cross-backend `recall` fix — PostgreSQL users could not use `recall`.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,5 @@
133133
"type": "string"
134134
}
135135
},
136-
"version": "3.24.1"
136+
"version": "3.25.0"
137137
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "hypermnesia-mcp"
7-
version = "3.24.1"
7+
version = "3.25.0"
88
description = "Scientifically-grounded memory system based on computational neuroscience research"
99
readme = "README.md"
1010
license = "MIT"

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/cdeust/Cortex",
77
"source": "github"
88
},
9-
"version": "3.24.1",
9+
"version": "3.25.0",
1010
"packages": [
1111
{
1212
"registry_type": "pypi",
1313
"identifier": "hypermnesia-mcp",
14-
"version": "3.24.1",
14+
"version": "3.25.0",
1515
"transport": {
1616
"type": "stdio"
1717
}

0 commit comments

Comments
 (0)