v3.0.0-beta.3
Pre-release
Pre-release
This release regularizes the v3.0.0-beta.x series. v3.0.0-beta.1 and
v3.0.0-beta.2 were tagged without a CHANGELOG entry; the changes below
cover everything since v2.7.1 that had not yet been documented, plus the
documentation and schema cleanup landed in beta.3 itself.
Added
- RLS policies and audit delete trigger in canonical
schema/schema.sql— Fresh installs are now secure-by-default. Previously, Row-Level Security and the audit chain delete prevention trigger required runningmigration-v2.3.sqlas a separate step; both are now included inschema.sql. The application role (DB owner or member ofmemforge_app) continues to bypass RLS, so normal app operation is unchanged. RLS now protects against cross-agent reads when non-owner roles connect directly to the database. - Idempotent
DROP POLICY IF EXISTSbefore eachCREATE POLICYin bothschema.sqlandmigration-v2.3.sql, so operators can safely re-run either script without errors.
Changed
- Version strings regularized across the project.
package.jsonbumped from2.2.0(stale) to3.0.0-beta.3.CLAUDE.mdSection 11 andROADMAP.mdnow agree on the current version. migration-v2.3.sqlscope clarified — the header now notes that Parts A (RLS) and B (audit trigger) have been folded intoschema.sqlfor v3+ fresh installs; this migration should only be applied when upgrading a deployment originally installed on v2.2 or earlier.- Type surface tightening across the codebase (21 commits since
v3.0.0-beta.2, PR #86 and related): unexported internal provider configs, narrowed JSON-schema types, DRY'd deduplication helpers, consolidated the pipeline type graph, removed dead types and stale re-exports, tightened SQL parameter types, dropped unnecessary try/catch blocks that hid errors, and narrowed cache return types. - Comment cleanup across modules — stale issue-number references, attribution comments, and "fix-reference" annotations removed in favor of comments that describe behavior. No functional changes.
ROADMAP.mdupdated to reflect that Phase 1 hardening is substantially complete (3 of 4 Tier 1 HARDENING items done; prompt injection defenses, consolidation race fixes, and sleep-cycle mutex are in place).
Removed
BACKLOG.md— the file was stale (its items had either been shipped or superseded by GitHub issues). README references have been redirected to the GitHub issue tracker andROADMAP.md.
Internal (unreleased previously)
v3.0.0-beta.1→v3.0.0-beta.2(cb83cf7) — test and CI stabilization: test-race fixes in reflection/meta-reflection paths, SQL bug fixes in graph CTE and import-entities, HTTP test alignment, singleton DB pool teardown in CI, cache test hang fix, and lint cleanup. No production behavior changes.