## 1. Shell Routing and Contracts - [x] 1.1 Add route helper contracts for resolving known hashes, fallback routes, and page metadata. - [x] 1.2 Add shell view contracts for dashboard summaries, server instances, plugins, users, and provider status. - [x] 1.3 Extend frontend API types and client methods for game plugins, server instances, health, and plugin bridge authorization. ## 2. First-Party Page Implementation - [x] 2.1 Expand 首页 into an operational overview with health, server, plugin, user, and AI provider summary sections. - [x] 2.2 Expand 服务器管理 into an instance/run/job/log overview without dispatching unimplemented lifecycle workflows. - [x] 2.3 Expand 插件市场 into an installed plugin catalog with permissions, bridge readiness, and validation state. - [x] 2.4 Expand 用户管理 into a user/role/access-review overview using frontend-owned contracts. - [x] 2.5 Keep AI 提供商管理 compatible with the updated shell and shared page contracts. ## 3. Styling and Responsive Shell - [x] 3.1 Update shell/page styling for dense operational layouts, responsive navigation, and accessible active states. - [x] 3.2 Ensure page content avoids raw secret, host path, direct socket, and run credential display. ## 4. Tests and Browser Walkthrough - [x] 4.1 Add route helper and API client tests for shell resource contracts. - [x] 4.2 Add page rendering tests for each required first-party page. - [x] 4.3 Run `cd platform_web && npm test`. - [x] 4.4 Run `cd platform_web && npm run build`. - [x] 4.5 Run browser walkthrough for desktop and mobile shell views. ## 5. Verification - [x] 5.1 Run `scripts/check-structure.sh`. - [x] 5.2 Run `openspec validate implement-platform-web-console-shell --strict`. - [x] 5.3 Record verification evidence in this task file before marking verification tasks complete. ## Evidence - `cd platform_web && npm test`: passed on 2026-07-03; Vitest reported 6 files and 14 tests passing. - `cd platform_web && npm run build`: passed on 2026-07-03; TypeScript no-emit and Vite production build completed. - Browser walkthrough: passed on 2026-07-03 using local Chrome CDP against `http://127.0.0.1:5174/`; checked 首页、服务器管理、插件市场、用户管理、AI 提供商管理 at desktop 1440x1000 and mobile 390x844 with no missing target content or page-level horizontal overflow. Screenshots were written under `/tmp/platform-web-console-shell-walkthrough/`. - `scripts/check-structure.sh`: passed on 2026-07-03 with `structure check passed`. - `openspec validate implement-platform-web-console-shell --strict`: passed on 2026-07-03 with `Change 'implement-platform-web-console-shell' is valid`.