Skip to content

Releases

v4.0.9 — Security, Provenance & Fleet Hardening

Choose a tag to compare

@M4F-S M4F-S released this 02 Dec 15:54

Security & Hardening

  • Dashboard CSRF & DNS-Rebinding Protection (GHSA-39ch-prg6-mj25): Enforced Host allowlist, Origin / Sec-Fetch-Site + per-server X-Gomaa-CSRF token checks, strict Content-Type: application/json (415) and 1 MiB body limit (413), and restricted CORS to matching GOMAA_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 unregistered pip install gomaa references in README and embed service with GitHub install URLs; hardened .github/workflows/publish.yml with environment: pypi, tag/version verification, and twine check.

Reliability & Recall

  • Propagated embedder_id provenance consistently across publish_shared, SWS crystallization, and hybrid_search / associative_ppr.
  • Prevented EMB_CACHE from caching transient hash-v1 fallback vectors when remote embedder is configured.
  • Suppressed healthy watchdog log spam, disabled tqdm progress bars in gomaa-embed-srv, and added DEFAULT_SYNC_EXCLUDES for 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

Choose a tag to compare

@M4F-S M4F-S released this 20 Nov 23:31
6f6e8d1

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

Choose a tag to compare

@M4F-S M4F-S released this 20 Nov 20:36
11653d8

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=1 keeps 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(), not search_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.sh provides 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

Choose a tag to compare

@M4F-S M4F-S released this 30 Aug 16:08

🧠 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 #pinned memory 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