Coldkeep v1.13.7 — SQLite-First Repository Portability Baseline #100
franchoy
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Coldkeep v1.13.7 — SQLite-First Repository Portability Baseline
Coldkeep v1.13.7 establishes the contract and executable evidence required for a future SQLite-first, directory-portable local repository while preserving PostgreSQL as the current normal runtime backend.
This release defines repository portability as a complete catalog-plus-payload invariant rather than treating the SQLite catalog file as independently portable.
Highlights
Inventoried the current repository initialization and backend-selection behavior.
Defined the future local SQLite catalog target:
Defined repository portability across:
Reviewed existing SQLite and PostgreSQL compatibility evidence.
Added direct repository-root relocation coverage.
Corrected a real migration-idempotency defect discovered by the new portability guard.
Preserved existing CLI, backend-default, storage-format, repository-format, and output contracts.
Migration-idempotency correction
The initial relocation guard exposed a schema-reopen defect in the
physical_filecompatibility backfill.On repeated migration, an already-mapped logical file could receive an additional synthetic physical mapping. This increased the number of
physical_filerows without updatinglogical_file.ref_count, causing repository verification to fail correctly.The SQLite and PostgreSQL backfills now create a synthetic physical mapping only when a logical file has no existing physical mappings.
The correction preserves:
No schema version, storage format, or repository format changed.
Direct portability evidence
The new
TestSQLiteRepositoryRelocationReopenVerifyRestoreIntegrationguard proves through explicit SQLite test seams that Coldkeep can:.coldkeep/catalog.sqlitecontainers/directoryCurrent backend posture
This release does not switch Coldkeep to SQLite as its normal runtime backend.
COLDKEEP_STORAGE_CONTEXT=localremains PostgreSQL-backed.coldkeep initdoes not create a local SQLite repository.The SQLite repository layout defined by this release is a future contract target and a test-proven seam, not yet a user-facing runtime mode.
Not included
v1.13.7 does not add:
Validation
The complete pre-release Profile A gate passed, including:
All required pull-request checks passed, including the authoritative CI benchmark results, Codacy, CodeQL, and cross-platform validation.
The full
mainbranch CI also passed after merge.Compatibility
No manual migration or configuration change is required when upgrading.
Existing PostgreSQL deployments, schemas, payload formats, CLI commands, JSON contracts, and stored repositories remain compatible.
Next release
The planned next release is:
v1.13.8 — Restore / Remove Contract Split and Stored-Path Boundary
It will focus on separating restore and removal semantics and clarifying ownership of logical paths, physical mappings, repository payload locations, restore destinations, snapshot retention, and removal selectors.
This discussion was created from the release Coldkeep v1.13.7 — SQLite-First Repository Portability Baseline.
All reactions