Repository navigation
Releases
v4.0.9 — Security, Provenance & Fleet Hardening
Security & Hardening
- Dashboard CSRF & DNS-Rebinding Protection (
GHSA-39ch-prg6-mj25): EnforcedHostallowlist,Origin/Sec-Fetch-Site+ per-serverX-Gomaa-CSRFtoken checks, strictContent-Type: application/json(415) and 1 MiB body limit (413), and restricted CORS to matchingGOMAA_DASHBOARD_ORIGIN. - Credential Redaction: Added
redact_dsn()so PostgreSQL passwords are never written to recall or MCP logs. - PyPI Install Guard (
GHSA-mmw6-fvcv-5rxg): Replaced unregisteredpip install gomaareferences in README and embed service with GitHub install URLs; hardened.github/workflows/publish.ymlwithenvironment: pypi, tag/version verification, andtwine check.
Reliability & Recall
- Propagated
embedder_idprovenance consistently acrosspublish_shared, SWS crystallization, andhybrid_search/associative_ppr. - Prevented
EMB_CACHEfrom caching transienthash-v1fallback vectors when remote embedder is configured. - Suppressed healthy watchdog log spam, disabled
tqdmprogress bars ingomaa-embed-srv, and addedDEFAULT_SYNC_EXCLUDESfor vault sync.
Verification: 210/210 unit tests passing; GitHub Actions CI run 46764313780 green across Python 3.9–3.13 + PostgreSQL/pgvector.
v4.0.6 — recall stops injecting stale snapshots
Fixes fleet-wide stale-context injection: store queries now return created_at/updated_at (the recency tie-break was dead code), superseded and probe-tagged notes are never injected, old perishable notes (live-state/status/snapshot) lose up to 4 points by age, and the block labels them [as of DATE]. Verified with fresh DB queries on all five agents; 16 recall tests pass.
v4.0.5 — restore 4.0.4 hardening, truthful CI
What changed
main had reverted the 4.0.4 hardening (80003cf) while the fleet kept running it. A rebuild from
main would have restored three defects; 4.0.5 re-lands them:
create_store()fails closed when a configured Postgres DSN is unreachable, instead of silently
writing a private SQLite file (MEMORY_ALLOW_SQLITE_FALLBACK=1keeps the old behaviour).- Dashboard: constant-time token comparison,
Vary: Origin, refusal to bind non-loopback without
GOMAA_DASHBOARD_TOKEN. - REM link discovery seeds from
list_notes(), notsearch_keyword("a").
CI is now truthful: runner images are pinned per Python version, the "Postgres integration" job runs
test_postgres_contract.py against a real pgvector service (it was running SQLite with a masked
password), and Ruff is clean.
Verification
- CI green on Python 3.9–3.13, lint, and the Postgres integration job (11 passed).
- 30 targeted tests for the re-landed behaviour pass locally.
scripts/test.shprovides the chunked local runner.
Tag v4.0.4 stays where it was; wip/4.0.4 and PR #6 are superseded by this release.
v3.5.0 — Production-Grade Hierarchical Memory Engine for AI Agents
🧠 Gomaa v3.5.0 — Autonomous Agent Long-Term Memory OS
🌟 What's New in v3.5.0:
-
🛡️ Thread-Safe Vault Writes: Unique UUID-isolated atomic temporary writes (
.{name}.{pid}.{uuid}.tmp) eliminating concurrency collisions across multi-agent swarms. - 🔄 Database Rollback Safety: Pre-write note backups guarantee markdown notes on disk are cleanly restored if a database connection or upsert fails.
-
🌐 Bi-Directional Knowledge Graph: 2-hop graph walk queries discover both forward links (
[[Target]]) and backward backlinks across PostgreSQL and SQLite stores. -
⏳ Linear Step Decay Formula: Stable geometric temporal decay (
$S_{t+1} = S_t \times d$ ) per consolidation cycle with#pinnedmemory immunity. -
🛠️ Robust MCP Argument Coercion: Gracefully handles stringified JSON arrays (
tags='["ops", "runbook"]'), comma-separated strings, and numeric strings across all 9 MCP tools. - ⚡ Dual Storage Parity: 100% feature parity between zero-config SQLite WAL local mode and production PostgreSQL 16 + pgvector (HNSW) fleet mode.
- 🧪 100% Test Suite Coverage: 98 / 98 automated unit, concurrency, security, and integration tests passing.
📦 Installation
# 1-Line Online Installer
curl -fsSL https://raw.githubusercontent.com/M4F-S/gomaa/main/install.sh | bash
# Or via pip
pip install gomaa
gomaa init
gomaa dashboard