Repository navigation
feat: durable project memory, release hardening and 0.1.1 - #3
Merged
Merged
Conversation
Durable project memory: - Store reviewed memories in a separate .repogi/memory.db (own application id, memory schema 1, rollback journal, synchronous=FULL), so deleting or rebuilding .code-intel no longer removes them. Memory reads work without an index and report evidence as unverified. - Migrate memories that earlier builds kept in index schema 5 row for row, validated before install, idempotent and crash-recoverable; the legacy rows are kept and frozen. - Add memory status, migrate, export, import (restore or review import) and rebind. Exports are validated, digest-checked and never overwrite a file without --force. - Re-verify evidence inside the approval write transaction, and scrub memory rows from every impact snapshot copy. Release hardening: - Install the migrated store in place, in one validated transaction, when the filesystem has no hard links (FAT, exFAT, some network and FUSE mounts), and fall back to exclusive create for exports. On a real vfat mount the link-only install failed and then blocked every memory write. - Enable fullfsync for memory writes so macOS commits reach the disk. - Make the frozen-table error message version-neutral. - Set rust-version to 1.98, the toolchain CI tests (1.85 never compiled), and collapse the nested ifs Clippy flags once let chains are allowed. - Run the workspace tests on macOS in CI. Documentation: - Describe the current architecture in the README with a new static diagram separating the rebuildable index from durable project memory, plus a matching text fallback. - State what release 0.1.0 contains and what arrives in 0.1.1, and add the Build from source section the installer links to. - Update architecture, memory storage, installation and feature docs. Bump the workspace version to 0.1.1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the 0.1.1 release. It makes project memory durable and fixes portability gaps found while validating it. It also brings the README and docs in line with the current architecture and with what release 0.1.0 actually contains.
Durable project memory
.repogi/memory.db, a separate SQLite store with its own schema version. Deleting or rebuilding.code-intel/no longer removes them, and memory reads work without an index (evidence reported asunverified).memory status,migrate,export,import(restore or review import) andrebind. Exports are digest-checked and never overwrite a file without--force.Release hardening
vfatmount, migration failed withEPERMand then blocked every memory write, and exports without--forcefailed. Migration now builds the store in place in one validatedIMMEDIATEtransaction, and exports fall back to exclusive create. Neither path ever overwrites an existing file.fullfsyncis enabled for memory writes, because a plainfsyncon macOS can leave commits in the drive cache.rust-versionis now 1.98, the toolchain CI tests; 1.85 never compiled. Raising it enables Clippy's let-chaincollapsible_if, so 22 nestedifs in 9 files are collapsed. The change is mechanical, and output is byte-identical.Documentation
assets/repogi-flow.svg) and "How Repogi works" section. They separate the rebuildable index from durable project memory and show memory being created only through explicit CLI review. A text fallback matches the diagram.install.sherror messages link to.Compatibility
atlas_*tool IDs are unchanged.repogi index.Cargo.lockis updated for the workspace crates only.Validation (Linux, local)
cargo fmt,cargo clippy -D warningsandcargo test --workspace --locked(292 passed, 0 failed), plus a locked release build.install.sh.repogicommand in the README was executed against a fixture repository. 173 links and anchors were checked. The diagram was rendered in Chromium in light and dark themes at desktop and mobile widths.Not yet run: macOS, Windows, Linux arm64 and the official MCP SDK check. The new macOS CI job covers macOS, and the release workflow covers the rest before publishing.
Before tagging
v0.1.1: this PR's macOS job should pass, plus a non-publishingReleaseworkflow dispatch.