Skip to content

feat: --fuck-it-ship-it flag to bypass all approval prompts#724

Merged
teknium1 merged 1 commit intomainfrom
fuck-it-ship-it
Mar 11, 2026
Merged

feat: --fuck-it-ship-it flag to bypass all approval prompts#724
teknium1 merged 1 commit intomainfrom
fuck-it-ship-it

Conversation

@dmahan93
Copy link
Copy Markdown
Contributor

@dmahan93 dmahan93 commented Mar 8, 2026

What

Adds --fuck-it-ship-it CLI flag that bypasses all dangerous command approval prompts. Because sometimes you just need to ship it.

How

  • Sets HERMES_YOLO_MODE=1 env var when the flag is passed
  • check_dangerous_command() in tools/approval.py checks for this env var early and auto-approves
  • Flag is available on both the top-level parser and the chat subparser:
    • hermes --fuck-it-ship-it
    • hermes chat --fuck-it-ship-it

Testing

5 new tests in tests/tools/test_yolo_mode.py:

  • Verifies dangerous commands are blocked normally
  • Verifies yolo mode auto-approves everything
  • Verifies all dangerous patterns are bypassed
  • Edge case: empty string env var does NOT trigger bypass

All 53 existing approval tests still pass.

Adds a fun alias for skipping all dangerous command approval prompts.
When passed, sets HERMES_YOLO_MODE=1 which causes check_dangerous_command()
to auto-approve everything.

Available on both top-level and chat subcommand:
  hermes --fuck-it-ship-it
  hermes chat --fuck-it-ship-it

Includes 5 tests covering normal blocking, yolo bypass, all patterns,
and edge cases (empty string env var).
@teknium1 teknium1 merged commit 586fe5d into main Mar 11, 2026
1 check passed
@teknium1
Copy link
Copy Markdown
Contributor

Merged in 586fe5d — thanks @dmahan93! 🎉

One tweak: renamed --fuck-it-ship-it to --yolo for easier typing. Same HERMES_YOLO_MODE env var under the hood. Usage:

hermes --yolo
hermes chat --yolo

Appreciate the contribution! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants