Repository navigation
docs: gated passthrough for Muse (configuration and flows) - #49
Merged
Merged
Conversation
Operator summary with one flowchart and two sequence diagrams, annotated placeholder policy, secrets, operations and limits. Facts checked against config.rs, audit.rs and the design and runbook docs. Mermaid was only syntax-checked by hand, not rendered: mmdc was not available on macmini or mini. No code run.
…l], token file, audit digest) Verified against origin/main d4ae61a: - hold/mod.rs Table::admit (blocking: cooldown, dedupe, caps, then persist) and admit_async (persist first) - ap-core config.rs Config::validate (approval validated only when present) and ap-proxy lib.rs:331-366 (no approval listener, holds expire) - ap-proxy notify.rs read_secret_file (regular file, mode & 0o077 == 0; no ownership or exact 0600 check) - ap-core audit.rs HoldRec.digest (credential-blind SHA-256 of outbound request) Mermaid: 3 blocks rendered with npx @mermaid-js/mermaid-cli@11 on macmini, no syntax errors.
chaodu-agent
marked this pull request as ready for review
November 23, 2026 02:42
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.
Adds docs/gated-passthrough-for-muse.md: roles, architecture flowchart, blocking and async polling sequence diagrams, an annotated placeholder TOML, credentials, operations, and known limits.
Docs only (one file). Uses the names Gated passthrough, Stage 1 and Stage 2, consistent with the parallel docs-naming PR.
Mermaid: all three diagrams were rendered with
npx @mermaid-js/mermaid-cli@11on macmini (exit 0, no syntax errors) after the review fixes.Not verified in the doc: whether the Muse connector sends a caller key, a token, or both; where the audit stream ends up (code writes to stdout only).
Review fixes (46c7672), each checked against origin/main code, which matched all four findings: blocking order is cooldown, dedupe or supersede, caps, then the
heldwrite (async writes first);[approval]is validated when present, not required for a hold; the Telegram token file check is regular file plus no group or other bits only; held records carry a credential-blind request digest and never a token,Authorizationvalue or credential hash.