Repository navigation
D155 slice 4: activate corpus folders with delete, forget and restore - #610
Merged
Merged
Conversation
Mountable's S3 gateway answers every unserved subresource, ?versioning included, with 501. Hard forget and the corpus purge-key scan would fail on the managed target; it serves no object versions to erase. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb
fazpu
marked this pull request as ready for review
November 13, 2026 18:35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb
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.
Summary
Activates D155's live corpus publisher together with normal deletion, hard-forget and restore replay. Originals and reader derivatives are copied into document folders; ordinary work updates only recorded folders and affected navigation. Snapshot generation and the local snapshot-mount materializer are removed.
REMEMBERSTACK_SELFHOST_CORPUS_VERIFY_INTERVAL_S); no scheduler or coordination tables are added.Verification
provider_managedon HTTP 501.Deviations and scope
The requested MinIO startup script verified its pinned download but found an already-running container with its expected name. Tests reused that healthy local MinIO instance at
127.0.0.1:59000; no alternate storage implementation or test skips were used. There are no implementation-scope deviations. Public docs ship in this PR; consumer path/tooling and benchmark attestation remain slice 5, and managed mount CLI/tickets and credentialed endpoint qualification remain slice 6.Managed companion integration
No changes are made to
writeitai/ultimate-memory-cloud. Before managed activation it must:reconcile_corpusand hard-forget delivery.runtime/src/umc_runtime/cloud_tasks.py::task_class_ofalready routes every non-convert stage tollm, andCloudTasksAnnounceralready preserves futurenot_beforeasscheduleTime; no class-map rewrite or scheduler is needed.runtime/src/umc_runtime/setup.py::run_setupcurrently builds the profile without a task queue, so wire the existingEngineAnnounceinto bootstrap/policy seeding for immediate initial announcements (the existingsweeper.pyjanitor still recovers lost due delivery). Carry configurablecorpus_verify_interval_sthrough tenant settings when overriding the inherited daily default.runtime/src/umc_runtime/tenants.py::build_context/runtime.py's context-cache builder, plus shared API composition), runprofile.hard_forget().ensure_ready()before exposing a restored context or mount, including locally complete manifests. Supply the newcorpus_cachescapability to stop sessions, drain external writes, purge document caches and verify acknowledgement. Keep sessions closed until the whole batch replays. Composek_gitandknowledge_rebuildercapabilities when K history is configured.runtime/src/umc_runtime/storage_capture_profile.py::managed_capture_profile. Its engine helpers (rememberstack/spine/storage_capture_catalog.py,profiles/storage_capture_profile.py,profiles/managed_storage_capture.py) still classify P3 viaprojection_snapshots.gcs_uri/corpus.unpublished_snapshot. A separately reviewed capture follow-up must use livedocuments.corpus_paths, publication/input identity and physical keys, distinguish hot document copies/navigation from incomplete or orphan copies, count corpus originals separately from canonical raw originals, and regenerate schema/classification/native-profile digests and qualification fixtures. Until then capture must fail closed; managed rollout must not claim the snapshot-only classifier supports the new tree. Mountable's unsupported multipart listing retainsprovider_managedcoverage.These are companion integration requirements, not hidden correctness mechanisms or changes to the cloud repository. The cloud implementation was inspected read-only to distinguish existing support from work actually needed.
Contributor agreement
Signing on behalf of a legal entity (leave blank if accepting individually):