Repository navigation
fix(mecatui): silence routine guardrails and unify review feedback - #2002
Merged
Merged
Conversation
Keep successful guardrail checks behind --debug, correlate explanations with their warning or approval, and preserve late final outcomes without duplicate notices. Co-authored-by: Mecatl <[email protected]>
Share detail correlation and state updates between warnings and approvals, and reuse reducer setup across the guardrail regression tests without dropping coverage. Co-authored-by: Mecatl <[email protected]>
Share typed block lookup for notice mutations, centralize review handoff and receipt transitions, and retire pending approval restoration when its run or session is abandoned. Co-authored-by: Mecatl <[email protected]>
Merged
2 tasks
aponcedeleonch
added a commit
that referenced
this pull request
Oct 5, 2026
Restore the quiet-benign-hook-notices plan on top of #2002's per-review notice model. Known-benign reviews are retained but hidden while details are collapsed instead of being dropped; ExpandTools, the client setting hook_notices.show_benign, or --debug reveals them, live and on replay. - Classify benign reviews nil-safely and require a review ID and an action/inbound job; everything else fails visible. - Fetch and fold live detail for benign reviews as well. - A mismatched detail identity fails visible without its text. - A routine final outcome never replaces a resolved approval receipt. - Hidden notices leave no blank-row residue and stay cache-equivalent. Co-authored-by: Mecatl <[email protected]>
aponcedeleonch
added a commit
that referenced
this pull request
Oct 5, 2026
Co-authored-by: Mecatl <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Successful guardrail checks no longer interrupt normal mecatui conversations. The existing
--debugflag exposes compact diagnostics instead; guardrail execution and durable audit events are unchanged.This is the directly approved UX fix. The operator explicitly waived an ADR and formal acceptance-plan document. No checker enforcement, server API, permission, or persistence changes.
Verification
task test— complete suite, all modules and standalone proofstask lint— all configured modulestask test:race— complete suitetask docstask site:buildgo run ./cmd/mecademo— tool call, permission ask/approval, and result verifiedgit diff --checkRegression coverage includes silent successful batches, debug and replay parity, terminal-control injection, warning updates, session switches, queued errors, retractions, and the actual inbound approval-before-final-hook ordering. Independent spec, standards/architecture, UX, security, reuse, and test-adequacy reviews completed; identified lifecycle and coverage issues were fixed and re-reviewed. DevEx review was not applicable: this changes internal terminal-client helpers, not a published SDK/API.
Verification notes: an initial non-race run failed in the unchanged JSONL lineage conformance test; 20 focused reruns and the subsequent complete suite passed. Initial full-gate attempts exhausted their time budgets. The root linter passed with an extended timeout, followed by a successful unmodified
task lintrun.