Commit Graph

21 Commits

Author SHA1 Message Date
rcourtman
155442c846 Remove the unreachable resource policy summary card
ResourcePolicySummary lost its last production mount when 27ba85ddc6
reworked the Patrol workspace, which also added a 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.

The count-summary helpers in resourcePolicyPresentation.ts (the
sensitivity, routing and redaction summaries, buildCountSummaries and
ResourcePolicyCountSummary) served only that card, so they go with it.
The label helpers and canonical orderings stay: the Settings resource
privacy panel and the resource drawer still use them.

Registry ownership and the resource-consumers proof entry drop the
deleted files. Contract prose that described the card as rendered on
the AI summary or Patrol page now says nothing renders the AI summary's
posture counts, and what a returning posture surface must reuse.

A production build is byte-identical before and after, so no chunk
names or bundle baselines change.
2026-10-07 11:50:07 +01:00
rcourtman
dcd409f9da Remove exports orphaned by the unified resource table removal
PR 2612 deleted the never-mounted UnifiedResourceTable, which left
exports whose only production callers were the deleted files. An import
graph from src/index.tsx confirms none of them is reachable now.

infrastructureSelectors.ts served one live caller: workloadSelectors used
computeIOScale for Net I/O and Disk I/O outlier emphasis, by building
fake Resource objects from guests and casting them. The median, MAD and
percentile math now lives in workloadSelectors and reads guest throughput
directly, so the file and its search, sort, grouping and summary-scope
helpers go. Output is unchanged for every input, including null,
negative and non-finite throughput.

getResourcePolicyTableBadges, hasBlockingResourcePolicyPosture and
shouldShowResourceAlternateName only fed the deleted table cards, and
ResourceFacetSummary's maxVisibleBadges and class props (with the +N
overflow chip) were only passed by the deleted rows. The detail drawer,
the component's one live caller, still renders every chip.

Registry ownership, proof entries and lane L10 evidence drop the deleted
file. Contract prose that described the selector pipeline or table-only
behaviour as live is removed or made conditional. Completion Obligation
15 now states the operator-local raw-name search rule that a17f879a19
introduced, instead of the governed-label search it replaced.

A production build keeps the same chunk set; WorkloadsSurface and the
shared MetricBar chunk shrink and the other chunks change only in
minified names.
2026-10-07 10:39:57 +01:00
rcourtman
9e7a5ffdeb Move frontend to Tailwind CSS 4 and jscpd 5 to drop braces
GHSA-vfj7-8cjw-p6xm affects every braces release and has no fix, so the
required frontend audit failed with seven high findings on any pull
request that changes the dependency graph. Tailwind CSS 3 (chokidar,
fast-glob, micromatch) and jscpd 4 (@jscpd/finder, fast-glob) were the
only paths in, both dev-only, and no override can remove braces from
fast-glob or micromatch. Tailwind CSS 4.3.3 through @tailwindcss/vite and
jscpd 5.4.0 leave none; npm audit over the full graph reports zero.

The stylesheet keeps the v3 rendering. It pins the v3 palette (inlined,
so opacity modifiers compile to static colors), font stacks and line
heights, keeps v3's cascade order by placing former component and
unlayered rules around the generated utilities, and restores v3 hover on
touch devices, gray-200 default borders, the 3px blue ring, placeholder
color, button cursor, table-cell padding and the space-* and divide-*
child selectors. The 900/950 shades Pulse overrode with 25% alpha are
opaque now and their callers say /25, because v4 multiplies an opacity
modifier into a translucent color instead of replacing it. Opacity
modifiers on var() colors that v3 never generated are removed.

Utility order changed from lexical to numeric, so a few caller overrides
that silently lost in v3 would start to win. Touch targets keep their
authored 44px phone size (the Machines row stays 32px); cosmetic
overrides v3 never applied are removed, and overrides it did apply use
the important suffix.

Contract-Neutral: Tailwind CSS 4 migration for GHSA-vfj7-8cjw-p6xm: utility class renames and stylesheet compatibility, no subsystem contract change
2026-10-03 15:19:35 +01:00
rcourtman
9569cfc785 Downplay infrastructure policy chips 2026-05-06 15:41:30 +01:00
rcourtman
1531f8cef4 Fix infrastructure resource badge stacking 2026-05-06 15:14:52 +01:00
rcourtman
795c16755b Normalize alert and status presentation palette 2026-04-23 15:57:03 +01:00
rcourtman
ca40817922 Fix verbose governed resource labels 2026-03-25 10:21:13 +00:00
rcourtman
065df632bc Hide default drawer governance posture 2026-03-23 10:01:07 +00:00
rcourtman
bb35c8eb7c Hide default policy badges in infra rows 2026-03-23 09:49:51 +00:00
rcourtman
a682e9dfd7 Make shared resource labels policy aware 2026-03-19 17:36:24 +00:00
rcourtman
cdd282d744 Centralize policy-aware display names 2026-03-19 17:28:43 +00:00
rcourtman
cfaa75716a Refocus governed resource labels 2026-03-19 17:25:07 +00:00
rcourtman
460067e9e1 Remove redundant policy routing row 2026-03-19 15:15:21 +00:00
rcourtman
8927ca7b78 Derive cloud summary routing from scope 2026-03-19 15:10:48 +00:00
rcourtman
cfd6eb634f Remove raw signals from policy surface 2026-03-19 15:02:38 +00:00
rcourtman
7f1d038b0e Centralize policy routing row presentation 2026-03-19 08:49:20 +00:00
rcourtman
5cb333d256 Centralize policy routing decision labels 2026-03-19 08:45:38 +00:00
rcourtman
6af50809a4 Centralize frontend policy summaries 2026-03-19 02:22:27 +00:00
rcourtman
81446f4bb9 Centralize policy ordering 2026-03-19 02:12:38 +00:00
rcourtman
ad7388b591 Expose canonical policy posture summary 2026-03-19 01:08:48 +00:00
rcourtman
778a2577b6 feat: Pulse v6 release 2026-03-18 16:06:30 +00:00