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
ui-react: name unresolved evidence in grouped safety reasons #4268
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-reactReact chat/files/voice components, stores, WebSocket transport.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: fixSomething is broken and must behave the way it is documented.
Part of #3596. Confirmed against main c5071f7 during the final combined epic review.
SafetyIndicator (packages/ui-react/src/components/chat/safety-indicator.tsx:75) takes its restriction reason from the first occurrence, including one already reviewed. A collapsed group containing a reviewed web fetch followed by an unresolved workspace read says one unresolved trigger but names Web fetch in its accessible name and hover/focus tooltip.
The per-trigger indicator requirements in docs/plans/reviewable-session-safety.md and docs/decisions/session-safety-reviews.md require an accurate reason without hiding independent unresolved triggers. The wire contract retains individual occurrence and decision identity. No schema change is needed.
Acceptance criteria:
A mixed reviewed/unresolved group derives its restriction reason from unresolved evidence, never an earlier reviewed occurrence.
Hover, focus and accessible name agree on the remaining source; counts and persistent details retain all individual evidence and reviews.
A failing-first pinned-container browser test and restored mutation cover the reviewed web fetch / unresolved workspace read case at 320px in both themes.
Claim: safety-review-20261120, branch fix/safety-review-findings-20261120, alongside #4267. Dedicated checkout starts at main c5071f7. Pinned Chromium reproduces GROUP_REASON_NAMES_UNRESOLVED_SOURCE in both themes: expected Workspace read, received Safety restrictions: 1 unresolved trigger; Web fetch · Only this trigger can be reviewed. No new interaction design is needed. Collision inspection reports shared proof closures with concurrent PRs; changes stay scoped to these two defects.
Implemented unresolved-evidence reason selection while retaining all individual details and counts. Pinned offline Chromium at 320px in both themes reproduces the wrong accessible name before the fix. Restoring the first-occurrence expression as a mutation gives exactly 2 failures/9 passes, both at GROUP_REASON_NAMES_UNRESOLVED_SOURCE; restoring the fix gives 11/11 passes including hover, focus, accessible name, persistent details and the existing 320/1280 light/dark review flows. Initial module-loading and screenshot-permission harness failures are separate, not failing-first receipts. PR and complete qualification follow.
Delivered by PR #4269, squash 63bb400b31403ee319926d38e223711a9bf0e7e1 on main, milestone 0.45.0. Failing-first and restored mutation receipts, 28 focused safety tests, 11 pinned browser tests, build, strict typecheck and current-candidate preflight passed. Independent review returned no findings; the clean base merge preserved that review. Candidate run https://github.com/schlessera/brain-kit/actions/runs/44764503535 and automatic-main run https://github.com/schlessera/brain-kit/actions/runs/44767813281 passed. Main qualification audited all nine selected categories and all 17 successful job checkouts at the exact squash, whose parent/tree match the tested candidate. Main attempt 1 had a registry reset before endurance tests; one documented infrastructure retry passed. Operational incident #4272 separately awaits a subsequent inclusive plan for its controller marker; no implementation remains here. Epic #3596 is intentionally open for follow-up review.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-reactReact chat/files/voice components, stores, WebSocket transport.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: fixSomething is broken and must behave the way it is documented.
Activity
schlessera commentedon Nov 20, 2026
Claim: safety-review-20261120, branch
fix/safety-review-findings-20261120, alongside #4267. Dedicated checkout starts at main c5071f7. Pinned Chromium reproducesGROUP_REASON_NAMES_UNRESOLVED_SOURCEin both themes: expected Workspace read, receivedSafety restrictions: 1 unresolved trigger; Web fetch · Only this trigger can be reviewed. No new interaction design is needed. Collision inspection reports shared proof closures with concurrent PRs; changes stay scoped to these two defects.schlessera commentedon Nov 20, 2026
Implemented unresolved-evidence reason selection while retaining all individual details and counts. Pinned offline Chromium at 320px in both themes reproduces the wrong accessible name before the fix. Restoring the first-occurrence expression as a mutation gives exactly 2 failures/9 passes, both at
GROUP_REASON_NAMES_UNRESOLVED_SOURCE; restoring the fix gives 11/11 passes including hover, focus, accessible name, persistent details and the existing 320/1280 light/dark review flows. Initial module-loading and screenshot-permission harness failures are separate, not failing-first receipts. PR and complete qualification follow.schlessera commentedon Nov 20, 2026
Delivered by PR #4269, squash
63bb400b31403ee319926d38e223711a9bf0e7e1on main, milestone 0.45.0. Failing-first and restored mutation receipts, 28 focused safety tests, 11 pinned browser tests, build, strict typecheck and current-candidate preflight passed. Independent review returned no findings; the clean base merge preserved that review. Candidate run https://github.com/schlessera/brain-kit/actions/runs/44764503535 and automatic-main run https://github.com/schlessera/brain-kit/actions/runs/44767813281 passed. Main qualification audited all nine selected categories and all 17 successful job checkouts at the exact squash, whose parent/tree match the tested candidate. Main attempt 1 had a registry reset before endurance tests; one documented infrastructure retry passed. Operational incident #4272 separately awaits a subsequent inclusive plan for its controller marker; no implementation remains here. Epic #3596 is intentionally open for follow-up review.