You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mecatui: general debug mode (unified gate for /debug-* builtins) #551
#488 introduced /debug-ask — a palette builtin that injects a fake permission ask for hand-testing the modal. It is gated by its own env var (MECATUI_DEBUG_ASK=1), deliberately minimal. That was the second mecatui debug affordance with its own ad-hoc gate (the first: MECATUI_DEBUG_MOUSE).
Proposal
A unified debug mode:
ONE gate (e.g. --debug flag or MECATUI_DEBUG=1) that un-hides a debug-* builtin family.
Migrate MECATUI_DEBUG_ASK and MECATUI_DEBUG_MOUSE onto it (keep the old env vars as aliases for a deprecation window, or break cleanly — mecatui is pre-1.0 UX).
A naming/registration convention so future /debug-* builtins (fake hook events, fake MCP errors, layout stress content) register in one place.
Debug builtins must never appear in --help or palette completion for normal users.
The #488 operator decision was explicitly "let's not do all that now" — /debug-ask shipped with the minimal env gate so the general apparatus could be designed once, here.
Activity