Skip to content

feat(mecatui): unify client debug mode - #1143

Merged
jhrozek merged 2 commits into
mainfrom
fix/issue-551-debug-mode
Sep 7, 2026
Merged

jhrozek merged 2 commits into
mainfrom
fix/issue-551-debug-mode

Conversation

@JAORMX

@JAORMX JAORMX commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add canonical --debug / MECATUI_DEBUG=1 client debug mode
  • retain legacy ask, mouse, steer, and keymap variables as narrow compatibility aliases
  • make explicit --debug=false suppress every debug environment gate
  • centralize debug builtin declaration so enabled registration and gated local interception cannot drift
  • keep debug commands absent from normal help and palette
  • document and test all current debug surfaces

Fixes #551

Verification

  • go test ./cmd/mecatui/...
  • task docs
  • task site:build
  • git diff --check

@jhrozek jhrozek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed via automated agent pass — well-scoped, correct fix, good test coverage, CI green. Approving.

@jhrozek
jhrozek merged commit 0a19c56 into main Sep 7, 2026
96 of 104 checks passed
@jhrozek
jhrozek deleted the fix/issue-551-debug-mode branch September 7, 2026 07:49
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.

mecatui: general debug mode (unified gate for /debug-* builtins)

2 participants