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: attach guardrail notices to tool calls in scrollback #2117
Benign contextual-guardrail hook notices and their live details are currently separate retained conversation blocks. By default they are hidden; f9 temporarily reveals them, and hook_notices.show_benign: true keeps them visible. Their source action/result relationship is not represented as part of the corresponding tool call in scrollback or its /toolcalls inspection data.
Desired outcome
Include correlated guardrail notices and available detail in the tool call's scrollback data, and render them as part of that call's presentation and inspector detail instead of standalone conversation notices. Preserve the ability to inspect benign outcomes without making routine conversation noisy.
Acceptance considerations
Define correlation and lifecycle for action/inbound reviews, including multiple reviews, streaming/out-of-order results, and resumed/replayed calls. Do not invent an association when the identifiers do not establish one.
Preserve the guardrail machine assessment/disposition, exact review identity, live-only versus durable detail lifetime, and the existing fail-visible behavior for unknown, advisory, failure, approval, denied, withheld, and mismatched outcomes.
Keep uncorrelated and non-tool guardrail notices accessible and visible when attention-worthy; avoid dropping historical/replayed evidence or duplicating notices.
Preserve display sanitization, approval ownership, and separation between client presentation and server execution/authority.
Decide how the compact conversation row, pending card, /toolcalls list/detail, and f9 behave once the data is attached.
This is a follow-up to #2089 and the quiet benign guardrail notices work, not part of #2089's F9/keybinding reconciliation.
Activity