Files
Pulse/docs/release-control
pulse-triage[bot] 4e5723aaf4 Keep role permission selections focused while editing (#4394)
**Keep role permission selections focused while editing**

Keep indexed permission controls mounted across immutable draft updates,
so changing an action or resource preserves focus and the next Tab stays
on the same rule. Name each removal control with its current index and
permission. Exercise repeated edits, unknown options, duplicate removal,
reindexing and exact saved readback through the existing role transport
tests.

Contract-Neutral: Role fields, grants, authorization and HTTP payloads
are unchanged; this repairs focus and descriptions of existing
permission controls.

**Keep focused permission controls within the existing bundle budget**

Retain the original static removal tooltip while keeping the
rule-specific accessible name. Use equivalent direct string membership
checks instead of creating rule-change callbacks. Preserve focused
controls, unknown options and saved payloads without relaxing any size
or test limit.

Contract-Neutral: Role fields, grants, authorization and HTTP payloads
are unchanged; this preserves existing permission controls within the
unchanged bundle budget.

**Render fixed permission options without reactive list owners**

The action and resource catalogs are fixed literal values. Map those
static options once and omit redundant value assignments when text
already equals the exact value; keep explicit bindings for unknown
values. Retain focused permission controls, every option and the
original tooltip without changing size or test limits.

Contract-Neutral: Role fields, grants, authorization and HTTP payloads
are unchanged; static option rendering preserves the existing
permission-control contract.

**Share static permission option rendering across editor rows**

Render both fixed catalogs through one static option factory instead of
allocating identical option callbacks per permission row. Keep explicit
bindings for unknown values and preserve the focused controls and
existing fields without relaxing any size or test limit.

Contract-Neutral: Role fields, grants, authorization and HTTP payloads
are unchanged; sharing the static option renderer preserves existing
permission controls.

**Account for the measured role-editor accessibility cost**

Controlled production builds measure 6193 original and 6246 repaired
gzip bytes: a 53-byte increase for stable keyboard focus and contextual
removal names, 15 bytes above the historical ceiling. Declare a bounded
64-byte RolesPanel reference allowance (5418 to 5482), not a baseline
reset; retain the 15 percent rule, every other chunk, totals and
preload/integrity enforcement. Preserve failed runs for independent
review. Verify that shared option rendering creates independent DOM
nodes and never mutates saved state before explicit save.

Contract-Neutral: The bounded performance-reference allowance and its
verification change no rendered content, behavior, grants, authority or
API contract; all runtime browser receipts remain own-parent-bound.

**Verify saved policies without repeated deep text queries**

Retain the namesake save/reopen flow after its observed five-second
timeout. Snapshot scoped permission items once and compare their ordered
exact text, preserving every identity and grant assertion while
rejecting extra or reordered items. Query action buttons once and verify
each actual accessible name, order and enabled state. Keep the existing
timeout, fixtures and runtime unchanged.

---
Fleet candidate `20261114T141123Z-web-product` from the `web-product`
lane. Reviewed tip `9008ad4f22493aa85797dc2f632d0dddca1515f5` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-14 17:56:24 +00:00
..