# KRB next 16 v5 visibility + image fix

## Why these issues appeared after the earlier repair

The page-slot issue was solved by v4: page-client readback shows `misplacedCount = 0` for all 16 pages. The remaining problems are a different failure class:

1. **Visibility regression:** the v3/v4 helper named `visible()` looked for the `Section Controls/Hide section` prop, then tried to infer the value from optional true/false labels. When the labels were unavailable in the Code Lab runtime, it defaulted to `true`. Because the prop is literally **Hide section**, `true` means hidden. So the content was added/moved correctly but remained invisible.
2. **Image prop mismatch:** the image setter looked for `Image/Image` or loose generic image props. The KRB section components use `Visual/Image`, so hero and two-column image writes could be skipped even when the asset fallbacks existed.
3. **Co-curricular Program:** v4 should insert its missing Text Content and Next Pages sections. This v5 keeps that insertion path but fixes the visibility/image setters before population.

## Script

- `krb-next-16-live-scrape-import-v5-visibility-image-fix.js`

## Scope

- KRB site only, next 16 audited pages embedded in the script.
- No publish, delete, redirects, global styles, or site settings.
- Default `CONFIG.dryRun = false` and `CONFIG.runMode = 'all-pages'` because Sylvain asked for the fix script; set dryRun/current-page manually for a one-page test.

## Expected fixes

- Sets migrated content sections to `Hide section = false`.
- Inserts missing Co-curricular Program `Section / Text Content` and `Section / Next Pages` into the Page Slot if still missing.
- Sets Co-curricular Program hero image.
- Sets the 12 missing two-column `Visual/Image` props using embedded Webflow asset fallbacks.

## Result prefixes

- Current page: `KRB_NEXT16_V5_VISIBILITY_IMAGE_FIX_RESULT`
- All pages: `KRB_NEXT16_V5_VISIBILITY_IMAGE_FIX_AUTO_RESULT`

## Post-run verification

Re-run `krb_page_client_probe/audit_next16_readonly_qa.mjs` and expect:

- `misplacedCount = 0`
- hidden migrated sections = 0
- missing component count = 0
- missing hero/two-column image count = 0
