Files
browser/openspec/changes/repair-server-live-operations-console/tasks.md
T

30 lines
1.9 KiB
Markdown

## 1. Backend Metrics Projection
- [x] 1.1 Update per-server metrics listing to return the latest authorized persisted metric sample instead of deterministic placeholder values.
- [x] 1.2 Add/adjust service tests for latest-sample projection and no-sample placeholder behavior.
## 2. Frontend Refresh And Metrics Presentation
- [x] 2.1 Add bounded automatic refresh for server list metrics/jobs and server detail header/job projections.
- [x] 2.2 Update server cards and detail header to show metric freshness, placeholders, and CPU/memory/disk progress meters.
## 3. Live Logs And Management Terminal
- [x] 3.1 Add a live log drawer that lists server log streams and tails selected entries with cursor polling plus pause, clear, filter, and manual refresh controls.
- [x] 3.2 Add a management terminal drawer that dispatches SCUM commands through the existing Source RCON API and shows safe unsupported state for other plugins.
- [x] 3.3 Wire server list card actions to `编辑部署`, `实时日志`, and `管理终端` without reflowing cards or moving deployment editing into detail.
- [x] 3.4 Register job stdout/stderr log streams and accept current Run spool checksum/sequence behavior so live logs can populate.
- [x] 3.5 Convert the management terminal to an opaque full-width command console with bottom input and quick command templates.
- [x] 3.6 Recover missing job log streams for legacy persisted jobs at durable service startup.
## 4. Server Detail Workspace
- [x] 4.1 Remove the server detail overview section/tab and deployment edit button while keeping operational sections available.
- [x] 4.2 Reuse the live log and management terminal components from detail where appropriate.
## 5. Verification
- [x] 5.1 Run focused backend/frontend tests covering metrics, page contracts, and command/log UI.
- [x] 5.2 Run `scripts/check-structure.sh`.
- [x] 5.3 Run `openspec validate repair-server-live-operations-console --strict`.