# RC13 — Clinical Reasoning Database Bootstrap Repair

## Root cause

RC11 and RC12 contained the Top-300 seed file, but the workbench tried to load and seed the repository while JavaScript constants used by `newMedication()` were still in their temporal dead zone.

The sequence was effectively:

1. create `state`
2. call `loadRepository()`
3. call `seedRepositoryFromTop300()`
4. call `newMedication()`
5. attempt to use `FIELD_DEFINITIONS`
6. crash because `FIELD_DEFINITIONS` had not initialized

That startup exception prevented the owner database interface from rendering, so it appeared completely empty.

## RC13 changes

- Defers repository loading until the entire schema and all constructors are initialized.
- Adds a single explicit `bootstrapWorkbench()` startup function.
- Verifies the Top-300 seed is available.
- Merges missing Top-300 records into the repository instead of replacing owner edits.
- Repairs partially populated repositories automatically.
- Preserves existing owner medication edits and custom records.
- Ensures every Top-300 medication has its missing starter claims added.
- Shows a visible red startup error instead of silently rendering a blank page.
- Changes Reload Top 300 into a non-destructive repair action.
- Adds cache-busting query strings to `seed-top300.js` and `app.js`.
- Adds `OPEN_CLINICAL_REASONING_DATABASE.cmd`.
- Renames Control Center option 3 to Open Clinical Reasoning Database.

## Expected result

The workbench should show at least 300 medication records immediately. Existing custom owner records may increase the count above 300.
