Repository navigation
Conversation
Configure one remote read engine for resources and explicitly approved tools. Keep protocol evidence separate from source authorization and publication, and qualify transport limits, revocation and cancellation with synthetic SDK servers. Signed-off-by: zlareb1 <[email protected]>
A cancelled response waiter leaves the SDK HTTP task alive. Give each open client a lifecycle owner, join its shutdown before returning cancellation, and retain the session deadline through idle time. Verify stream cleanup, repeated cancellation and isolation from other clients. Signed-off-by: zlareb1 <[email protected]>
Join the SDK lifecycle owner after every operation failure, including request deadlines and cancellation after a background refusal. Preserve the first caller cancellation while draining stream finalizers and the HTTP pool. Signed-off-by: zlareb1 <[email protected]>
Reject schema keywords outside their declared type and validate with an explicit registry that cannot retrieve external resources. Retain response cleanup through authority checks and join its finalizer outside the work deadline when handoff fails or is cancelled. Signed-off-by: zlareb1 <[email protected]>
Check session state and total expiry around authority callbacks and publication so background HTTP failures cannot yield successful read evidence. Scope issued cursors by operation and query and accept an absent optional final-page cursor. Signed-off-by: zlareb1 <[email protected]>
Record HTTP status and media failures before the SDK can consume background errors. Preserve optional GET and DELETE responses with status 405. Distinguish omitted mapped cursors from present invalid values during page normalization. Signed-off-by: zlareb1 <[email protected]>
Use the HTTP client normalization for audience and endpoint checks and refuse pin helpers that change the authorized Host or TLS name. Signed-off-by: zlareb1 <[email protected]>
Keep versioned payloads opaque, include source-only history in scoped erasure and qualify restore and key rotation on isolated hosted stores. Signed-off-by: zlareb1 <[email protected]>
Count every retained connection generation before cleanup, preserve strict UUID identity checks with the normal row conversion and record the hosted schema output. Signed-off-by: zlareb1 <[email protected]>
Preserve the unregistered catalog operation and destination component for later integration and hosted qualification. Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Checkpoint source controls and scope revisions while per-document protected read admission is completed. Generic source execution and public surfaces remain unfinished. Signed-off-by: zlareb1 <[email protected]>
Use successful per-document read evidence, guarded metadata refresh and the existing private live-publication and worker paths. Checkpoint the implementation while public surfaces, native removal and hosted privacy qualification remain in progress. Signed-off-by: zlareb1 <[email protected]>
Use the actual analyzer generator artifact from the lifecycle prerequisite head. The ordinary analyzer gate remains required, and later source changes need their own generated manifest. Signed-off-by: zlareb1 <[email protected]>
Keep foreground closed-session calls terminal while joining pending SDK notification work. Cover discovery-only resource and action-only servers without extra RPCs. Signed-off-by: zlareb1 <[email protected]>
Preserve retained registrations while removing their native HTTP and OAuth execution paths. Reuse knowledge publication and recording work, and refuse stale selected-read authority. Signed-off-by: zlareb1 <[email protected]>
Observe protected responses before release and retain publication guards across later requests. Expose source setup through the SDKs, CLI and dashboard, with owned synthetic qualification workflows. Signed-off-by: zlareb1 <[email protected]>
Use the hosted owned source fixture and built SDK wheel for cross-command protection checks. Remove the retired native account command and describe source setup and retained registrations. Signed-off-by: zlareb1 <[email protected]>
Keep durable monotonic proof across clients and tasks, observe bounded raw responses before typed results, and exercise owned HTTP cancellation and publication boundaries in hosted tests. Native qualification remains pending. Signed-off-by: zlareb1 <[email protected]>
Bind durable application-owned proof to the shared HTTP boundary, retain contributing families across tasks and process resume, and add owned HTTP fixtures for hosted race qualification. Native execution remains pending. Signed-off-by: zlareb1 <[email protected]>
Exercise native protected-client fixtures on declared toolchains and export actual generator candidates without replacing failed checks. Remove obsolete consent-link tests and keep explicit retired-command refusal coverage. Signed-off-by: zlareb1 <[email protected]>
Reconcile document-source, live-search and retained push-state architecture with selected MCP reads while preserving protected publication, recording, storage and erasure rules. Signed-off-by: zlareb1 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2 of 4 tasks
This branch has not been deployed
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.
Closes: #1189
Closes: #1190
Closes: #1191
Closes: #1192
Related: #1194
Related: #1209
Related: #1068
Changelog category
Changelog entry
Read selected documents through approved MCP servers with owner-bound connections, live retrieval, selected imports and refresh, ordinary collection destinations and an access preview. Native
gdrive,notionandlineardocument-source setup and execution are removed; retained registrations and content require explicit retirement or owner-led reconfiguration.Why
Document sources need one bounded read protocol and declarative service configuration. Adding another service should normally require an approved MCP profile and validated resource or tool mappings. Descriptions, model output and read-only hints cannot grant authority.
The design is in
docs/architecture/mcp-document-sources.md. It specifies exact resource identity, stable local citations, account and tenant bindings, capability limits, current-read proof, storage authority, lifecycle and the fleet admission floor. Existing live search, knowledge writes, originals, chunks, revisions, collection grants, protected publication, accounting and erasure remain the shared paths.Scope and risk
PR1068 remains open at
2abfe6a2477c976e151d4efba516b559ae618b93. This change reuses its owner-scoped setup, stale-check invalidation, ordered selection, focus refresh and uncertain-save recovery design. Its provider-specific fields and routes are replaced by the generic connection, selection, destination and preview flow. Its reported cleanup assertion is not counted as resolved by this PR, and that foreign branch is not merged or closed here.Compatibility, rollout and rollback
knowledge.connection.mcp_profiles,mcp_connect,mcp_list,mcp_inspect,mcp_discover,mcp_browseandmcp_disconnectunder the same prefix.knowledge.source.mcp_preview,mcp_add,mcp_update,mcp_list,mcp_inspect,mcp_pause,mcp_resume,mcp_refresh,mcp_readandmcp_removeunder the same prefix. Ordinary collection and grant operations manage destinations. SDK calls confer no additional authority.connection.list,connection.disconnect,knowledge.source.update,knowledge.source.parse_links,knowledge.source.push_configure,knowledge.source.push_status,knowledge.source.push_confirmand native consent/callback/notification routes. The native CLI account-connect command and provider-specific source UI are removed.knowledge.source.addnow admits recordings. Removed add inputsitems,links,includeandcredential_modeare reported throughignored_args. Native selection/outputitems/includeand probechecked/sampledfields are removed. Native probe, rotation and execution refuse retained unsupported kinds.Tests
This is a draft implementation. Exact-head hosted qualification and fresh independent review remain required before merge. The source SDK wire-argument join is being corrected; no client parity or feature-readiness claim follows from authored tests.
Focused local checks used the unchanged admission controls, with no local native, integration, database, model or paid execution. Selected server authority, scheduler, read/publication, schema-refusal and opaque-retention cases passed as recorded in the linked issue. The CLI boundary selection passed 33 cases; its actual two-case surface snapshot updater passed. Strict CLI typing passed four source files. Actual Python SDK, CLI and documentation generators ran; some other generator/formatter outputs remain hosted dependencies after preserved capacity/tooling refusals.
Hosted functional qualification is authored for owned ClickHouse and Postgres 16 stores with a synchronous standby and originals bucket. Its 34 fixed cases use real official-SDK resource and mapped-tool servers, actual API/JWT/grants/knowledge writes, two users, privacy/readback, refresh, partial listings, schema drift, revocation, cancellation and installed CLI subprocesses. Remote ASGI routing and local fake embeddings are disclosed; these are synthetic tests, not external-service qualification.
The separate frozen scale qualification uses 10,000 registrations and at least 1,000 eligible sources, bounded fair scheduling and exact work/latency/cancellation/residue limits. Native SDK, frontend, format, schema, mixed-version, storage, privacy and ordinary CI results must be reported at the exact final head. No assertions, floors or limits are relaxed and no unchanged rerun or merge waiver is requested.
No runtime configuration, deployment or production source activation is included. The activation handoff follows qualified source delivery and normal operator cutover.
AI assistance in the code
AI-generated: Codex authored the implementation with independent workers. Focused checks and source reviews are recorded on GitHub; complete hosted qualification and final review remain pending.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist