Add scoped MCP, OAuth, tokens, and bounded traces - #31
Merged
Conversation
navanchauhan
marked this pull request as ready for review
August 26, 2026 17:03
jaytaylor
previously approved these changes
Aug 26, 2026
jaytaylor
approved these changes
Aug 28, 2026
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.
What changed?
llms.txt, MCP guidance, and client authentication guidance.Why?
These changes make CXDB usable by MCP and API clients, add browser-managed credentials, improve mobile operation, and reduce large-trace response cost without introducing private systems.
For a representative 100-turn page from a 400-turn trace with 16 KiB messages, the bounded response changed from 1,659,078 bytes at a 5.38 ms median to 71,497 bytes at a 1.92 ms median. Each median used 10 warm samples.
How to test?
Playwright result: 75 passed and 2 intentional offline tests skipped.
Checklist
cargo test,go test ./...,pnpm test)cargo clippy,cargo fmt,golangci-lint run,pnpm lint)Related Issues
None.