Repository navigation
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.