Files
pulse/docs/release-control
rcourtman 59209647f1 Remove the unreachable resource policy summary card (#2650)
Stacked on #2649 (it edits the same util, test, registry and
unified-resources contract); this branch carries that commit, so
whichever lands first, the other still merges cleanly.

ResourcePolicySummary lost its last production mount when 27ba85ddc6
reworked the Patrol workspace (the same commit added the guard asserting
the workspace no longer contains it). A TypeScript import graph rooted
at `src/index.tsx` (static and dynamic imports) reaches no importer, its
own test was the only caller, and none of its literals appear in a
production build.

- Deletes the card and its test.
- Deletes the count-summary helpers that only the card used:
`getResourcePolicySensitivitySummaries`,
`getResourcePolicyRoutingSummaries`,
`getResourcePolicyRedactionSummaries`, `buildCountSummaries`,
`ResourcePolicyCountSummary`, plus their test case. The label helpers
and canonical orderings stay, since the Settings resource privacy panel
and the resource drawer still use them.
- Drops the card from registry ownership and the resource-consumers
proof list.
- Rewrites contract prose (api-contracts, patrol-intelligence,
unified-resources, ai-runtime) that described the card or its posture
counts as rendered. It now says nothing renders the AI summary's posture
counts, and what a returning posture surface must reuse.

Verification: the production `vite build` output is byte-identical
before and after, and `check-bundle-size.mjs` passes with no baseline
change. contract, registry and status audits pass. The full frontend
lint passes, and vitest passes for utils, Infrastructure, Patrol,
Settings and the root suites. A browser pass on an embedded mock build
covered Settings resource privacy, Patrol and a TrueNAS pool drawer's
governance rows, at 1440 and 390 wide.
2026-10-07 12:49:34 +01:00
..