Skip to content

fix(cli): simplify YOLO startup warnings - #2283

Merged
JAORMX merged 1 commit into
mainfrom
fix/2282-yolo-startup-warning
Oct 13, 2026
Merged

JAORMX merged 1 commit into
mainfrom
fix/2282-yolo-startup-warning

Conversation

@JAORMX

@JAORMX JAORMX commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace the jargon-heavy YOLO startup warning with the agreed short message in mecatui and mecated:

WARNING: YOLO skips default approvals. Commands can delete files or expose data.
Use an isolated, disposable environment. Explicit permission rules still apply.

When AI safety checks are enabled under YOLO, mecatui also prints AI safety checks are advisory only. before starting the UI. This uses the resolved checker state passed through embedded-server startup metadata, not raw CLI flags or parsed log text. The existing server guardrails diagnostic uses the same plain wording.

No permission or guardrail enforcement behavior changes. Auto-posture wording is unchanged.

Closes #2282.

Validation

  • Focused tests for mecatui, mecated, embedded startup, and guardrails diagnostics passed during implementation.
  • Real transport-startup regression tests cover enabled, disabled, unconfigured, and non-YOLO safety checks from isolated operator settings, stderr delivery, diagnostics-file delivery, and remote connections.
  • Offline demo passed, including a tool call/result and permission ask/approval.
  • Local full test, lint, and race gates were attempted but hit disk-quota errors during compilation/linking. No assertion failure or race was reported by those runs. Further validation is delegated to CI at the operator's request.
  • Final review found no blockers. An additional guardrail-slot startup test was noted as optional; existing binding tests cover that resolver.

API compatibility

No wire contract, protocol major, feature identifier, permission semantics, or stored-data format changes. A boolean on the internal composition result carries existing resolved checker state to embedded startup for display only. No client upgrade or migration is required.

Replace shell-policy jargon with concise risk and permission guidance. Show the advisory safety-check notice only when the embedded checker is enabled under YOLO.

Co-authored-by: Mecatl <[email protected]>
@JAORMX
JAORMX merged commit 5cd8922 into main Oct 13, 2026
37 checks passed
@JAORMX
JAORMX deleted the fix/2282-yolo-startup-warning branch October 13, 2026 11:19
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 13, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the random text shown when using yolo mode

1 participant