Repository navigation
Add durable binary editing core and save admission primitives - #96
Merged
Merged
Conversation
vanedaltro
marked this pull request as ready for review
November 2, 2026 00:00
11 of 25 tasks
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.
Binary editing needs a durable private draft and a recoverable native save before production mutation routes can be enabled. This increment adds bounded expected-byte splices, undo/redo, original-offset byte reviews, private base storage, journaled same-filesystem exchange, operation receipts and reviewed Restore Last Save.
Save retries reuse the original operation identity. Process-death tests cover preparation, intent, native exchange and acknowledgement; uncertain outcomes retain evidence and never automatically repeat the exchange. Full source content is rechecked at commit, and metadata/ACL preservation is verified before acknowledgement. Scoped restart discovery and explicit discard retain receipts/preimages and isolate manual/model namespaces. Private storage is prepared and hidden before child launch.
Text editors and Git snapshot capture/restore now share workspace mutation coordination. File edit admission preserves Plan, sandbox, ownership and private-path ceilings. Owner permission asks require manual confirmation without Auto-classifier inference.
Validation:
Refs #94. This is a core/admission increment: production CLI/TUI and binary owner routes remain read-only. Mutation routes/SDK, manual editing UX, model operations, snapshot/version retention and acknowledged FileChanged integration remain required before closing the issue. Windows native replacement is not implemented; its viewer remains available. The implementation progress document records evidence and platform limits.