# ApiVault v1.3.6 — Interface Clarity Rebuild Phase 5

## Scope

Phase 5 completes the cockpit migration for Documentation and Settings.

Added:

- `UI/Panels/DocumentationPanelV2.lua`
- `UI/Panels/SettingsPanel.lua`
- `UI/Components/Header.lua`
- `UI/Components/PolicyBadge.lua`
- `UI/Components/EmptyState.lua`

Updated:

- `/av docs` now opens Documentation V2 inside AppShell.
- `/av settings` now opens Settings V2 inside AppShell.
- Legacy catalog settings moved to `/av catalogs settings`.
- Home dashboard includes `Read Documentation` and `Open Settings` cards.
- V2 panels use shared header, policy badge and empty-state helpers.

## Safety policy

No SafeRunner behavior was changed. No protected/secure execution was added. No runtime source file reads were added. Documentation V2 reads only in-memory documentation metadata loaded through the TOC. Settings V2 stores preferences in `ApiVaultDB` and only performs UI-only reset behavior.

## Validation

- `/av docs` opens Documentation V2 in AppShell.
- `/av settings` opens Settings V2 in AppShell.
- `/av catalogs settings` opens the catalog settings/CVar browser.
- Compact mode persists through `ApiVaultDB.settings.ui.compactMode`.
- Output caps persist through `ApiVaultDB.settings.ui.maxOutputLines` and `ApiVaultDB.settings.ui.maxOutputChars`.
- Legacy docs remain reachable through the `Legacy Docs` button.
