Repository navigation
D155 slice 6: remember mount wrapper - #612
Merged
Merged
Conversation
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 20:07
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
remember mount DIRnow mounts a managed remember.dev project's corpus read-only through mountable. It reuses the CLI's signed key (including its org), project selection and issuer metadata, then posts to the advertised account API's/v1/orgs/{org_id}/mount-sessionswith a fresh UUID4 idempotency key. The returned ticket goes only tomountable mount --ticket-stdin --json DIRon stdin, which is closed after writing. Tickets are redacted from forwarded diagnostics/events and never placed in argv, environment or files.The CLI reports the canonical-path
mountedJSON event withsession_idimmediately, then stays in the foreground for mountable's lifecycle.remember unmount DIRdelegates locally without a ticket or credential lookup. Missing mountable, HTTP 401/403/404, invalid session/event responses and child failures have clear nonzero outcomes. CLI help explains installation and foreground use.This implements the CLI portion of D155 slice 6. The binding E0 design records the supplied control-plane contract and mountable lifecycle. Public website docs remain OSS-only: removed the stale wrapper entry from
not-built-yetand regenerated llms exports, without adding cloud mount pages or instructions. The existing self-host filesystem-views page already specifies any S3 filesystem tool with read-only credentials/options, so it needs no change. No compatibility shims, provider integrations or ingestion/reuse generations changed; Rule 4 paid-work identities are unaffected.Verification
.github/ci/unit-paths.txt.src/ benchmarks/, Python 3.13): 0 errors, 0 warnings..github/ci/unit-paths.txtsuite on Python 3.13: 3575 passed, 11 skipped, with one existing Starlette/httpx deprecation warning (137 seconds).Outstanding qualification
No scope deviations. The wrapper stays in the foreground because mountable owns the mount's foreground lifecycle; its mounted event is reported immediately.
The remember.dev control-plane route is built separately in the cloud repository. This PR implements the binding client contract; no end-to-end managed-cloud run is claimed.
Credentialed AWS S3, GCS XML/HMAC and mountable.io sandbox conformance remains to be run, including signing/addressing, checksums, conditional creates, pagination, multipart cleanup/provider-managed expiry, separate endpoints, access logs, bucket=filesystem-id, and read-only session/cache erasure acknowledgement. Fake CLI tests do not qualify those providers.
Mountable source checked at
d936589b1e200e347f03dfc32609c5d368668ae2:mountedcarriesevent,path,filesystem_id,mode; mounting remains foreground until unmount, andmountable unmount DIRis supported. No source is copied.Contributor agreement
Signing on behalf of a legal entity (leave blank if accepting individually):