# KRB sitewide empty image prop repair v7 — exact page-client targets

Generated: 2026-06-26T08:21:45.732426Z

## What changed from v6

This is not a Code Lab/runtime matching script. It uses Page Client and exact audited IDs:

- `pageId`
- `elementId`
- `propId`
- reviewed `assetId`
- current-value guards

It does **not** use component order or text matching to decide where images go.

## Scope

- Site ID: `6a1e37436b332da28ecc3001`
- Reviewed existing-asset targets from `krb-empty-image-remediation-reviewed-v2.json`: 50 original rows.
- The International Boarding video/still-image row on `/admissions` is removed from the normal fill list and replaced by an explicit clear-if-current correction.
- Adds 3 exact `/admissions` correction actions:
  1. Boarding School Expo/KRB Functions CTA: Uniform image → `KRB-stock-school-photos-250226_013.jpg`
  2. KRB Uniform Shop CTA: International image → `KRB-Uniform_Junior.png`
  3. International Boarding Two Column video block: clear `Visual/Image` if it still contains `KRB-stock-school-photos-250226_013.jpg`

Total actions in this v7 script: 52.

## Run behaviour

Default dry-run:

```bash
node repair_sitewide_empty_image_props_v7_exact_page_client.mjs
```

Live write:

```bash
KRB_RUN_LIVE=1 node repair_sitewide_empty_image_props_v7_exact_page_client.mjs
```

Outputs are written beside the probe directory:

- `krb-sitewide-empty-image-prop-repair-v7-exact-page-client-dryrun-result.json`
- `krb-sitewide-empty-image-prop-repair-v7-exact-page-client-live-result.json`

## Safety guards

- Existing reviewed targets only write when the audited image prop is currently empty.
- Admissions correction targets only write/clear when the current value exactly matches the known wrong value.
- Skips on missing element, component mismatch, prop mismatch, non-empty existing props, or current-value mismatch.
- No publish, delete, asset upload, component creation, style changes, or visibility changes.
