fix(cli): include loopback tools in cli prompts#83828
Conversation
|
Codex review: passed. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. PR egg Rarity: 🥚 common. What is this egg doing here?
Real behavior proof Risk before merge Maintainer options:
Next step before merge Security Review detailsBest possible solution: Land the resolver-reuse approach with maintainer acceptance of the one-time CLI session refresh, then let the linked issue close through the PR's closing reference after merge. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current main builds the CLI prompt and report with Is this the best way to solve the issue? Yes: reusing the same loopback-scoped resolver that serves MCP tools is the narrowest maintainable fix and avoids a second tool-policy implementation. The session hash addition is appropriate for prompt correctness, with the session reset called out as an upgrade risk rather than a patch defect. Label justifications:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 2c8f78e723ec. |
|
🦞✅ Source: What merged:
Automerge notes:
The automerge loop is complete. Automerge progress:
|
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564d4db2cec15d16b5c9ace8d258848dac15. - Required merge gates passed before the squash merge. Prepared head SHA: d196564d4db2cec15d16b5c9ace8d258848dac15 Review: openclaw/openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564d4db2cec15d16b5c9ace8d258848dac15. - Required merge gates passed before the squash merge. Prepared head SHA: d196564d4db2cec15d16b5c9ace8d258848dac15 Review: openclaw/openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Summary: - The PR feeds loopback-scoped MCP tools into CLI system prompts and reports, persists a prompt tool-name hash for CLI session reuse, adds regression tests, and adds a changelog entry. - Reproducibility: yes. from source inspection: current main builds the CLI prompt and report with `tools: []` ... execute a live CLI turn in this read-only review, but the source path and source PR terminal proof line up. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(cli): gate prompt loopback tools on active runtime - PR branch already contained follow-up commit before automerge: fix(cli): include loopback tools in cli prompts Validation: - ClawSweeper review passed for head d196564. - Required merge gates passed before the squash merge. Prepared head SHA: d196564 Review: openclaw#83828 (comment) Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Makes #83785 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.
Known failing checks:
ClawSweeper 🐠 replacement reef notes:
Inherited issue-closing references from the source PR:
Fixes #83210
Co-author credit kept:
fish notes: model gpt-5.5, reasoning high; reviewed against d196564.