Add CauseStarter LLM API map, generated API-doc links, and protocol MCP - #174
Merged
Conversation
Document jobs onto SDK/IPFS/attester HTTP instead of UI screens, serve /api-docs from Vite, and add a read-first stdio MCP for agents.
startsWith(root) is a prefix match; path.relative rejects traversal.
AdamSpitz
commented
Sep 8, 2026
AdamSpitz
left a comment
Owner
Author
There was a problem hiding this comment.
Review receipt.
Docs+MCP+Vite /api-docs. Fixed prefix path check in sendStaticFile (path.relative instead of startsWith) so ../ cannot escape the generated docs root. Writes gated by COMMONALITY_MCP_WRITES; cause-assist paths allow-listed. No remaining blocking issues.
Reviewed-with: grok
Reviewed-files: 25
Reviewed-commit: 011d2e5
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
Document CauseStarter jobs onto SDK / IPFS / attester HTTP instead of UI screens, serve
/api-docsfrom Vite, and add a read-first stdio MCP for agents.This is docs + MCP + Vite
/api-docs. It is not a testnet republish.Test plan
npm test --workspace=@commonality/mcp(or package test script)mcpanduiif the gate runs them