Repository navigation
Conversation
Stage a per-turn XDG_CONFIG_HOME with translated muse/settings.json (http to streamable-http, resolved headers, auth symlinked) and rewrite it in place for the capture attempt. 5 new tests; gemini/bundle suites green.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed October 6, 2026, 12:20 PM ET / 16:20 UTC. ClawSweeper reviewWhat this changesAdds a Muse CLI bridge mode that stages MCP settings and authentication links in a temporary configuration directory and refreshes the host tool token before execution. Merge readiness⛔ Blocked before merge - 11 items remain The Muse integration remains useful and is not implemented on current main, but two introduced MCP policy bypasses block merging. The core-versus-plugin contract also needs a maintainer decision. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's CLI runner translates host and configured MCP servers into settings consumed by external agent CLIs. Those settings determine which tool servers the CLI can contact during a turn. flowchart TD
A[Host tool grant] --> C[CLI MCP preparation]
B[Configured MCP servers] --> C
C --> D[Conversation tool policy]
D --> E[Muse settings adapter]
F[Existing Muse settings] --> E
E --> G[Muse CLI]
G --> H[MCP tool calls]
Decision needed
Why: The external plugin establishes demand, but adding vendor-specific core behavior expands the public contract without proving the existing transport inadequate. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new settings adapter allows direct MCP access outside host-selected server and tool restrictions. PR surfaceSource +170, Tests +170, Docs +1. Total +341 across 5 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep Muse layout plugin-owned where feasible, while ensuring every exposed MCP server and tool remains subject to the host's exact policy. Do we have a high-confidence way to reproduce the issue? Yes, source establishes two focused failing scenarios: a direct server with an allowed and denied tool, and an ambient Muse server omitted from exclusiveConfig. These scenarios were not executed during this read-only review. Is this the best way to solve the issue? Unclear. The adapter follows the existing lifecycle, but loses authoritative policy and has not established why supported plugin-owned execution cannot provide the staging. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3d23bf9dd463. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Status: superseded by the external SDK adapter
The adapter is available as openclaw-muse-cli v0.7.0. This PR's vendor-specific core mode is no longer needed and is withdrawn. Its diff remains as historical context; it has not been merged or deployed.
The original claim that a plugin could not obtain fresh capture credentials through the supported transport was too broad. On unmodified OpenClaw 2026.9.5,
prepareExecution.executereceives the final environment after capture refresh. The plugin consumes that settings path at execution time, translates HTTP to Muse'sstreamable-http, and stages Muse's private native settings. OpenClaw retains admission, per-session lanes, tool grants/capture, watchdog and history. No launcher or MCP proxy is required.The same transport delivers the complete host system prompt through Muse's
run.system_prompt, refreshes context on resume, forwards reasoning levels and normalizes terminal events. The release includes compiled JavaScript for package installs.Validation of the replacement
This supersedes the core-mode proposal in #165943. It does not claim that raising Muse's reasoning effort makes autonomous follow-through reliable.