chore(task): archive 07-08-complete-ops-ai-board
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Implementation Plan
|
||||
|
||||
## 1. Planning and Context
|
||||
|
||||
- [x] Read Trellis workflow context and relevant backend/frontend/shared specs.
|
||||
- [x] Inspect existing collaboration modules, dashboard page/component, AI analysis service, permissions, and seed data.
|
||||
- [x] Persist PRD, design, implementation plan, and curated spec manifests.
|
||||
|
||||
## 2. Seeding
|
||||
|
||||
- [x] Extract idempotent collaboration seed helper from the full-workspace seed path.
|
||||
- [x] Call the helper for both existing core workspaces and newly seeded workspaces.
|
||||
- [x] Preserve existing operator rows and insert only missing default records.
|
||||
|
||||
## 3. AI Analysis Board
|
||||
|
||||
- [x] Add an organization-scoped AI board listing function that joins elder names and redacts restricted analysis rows.
|
||||
- [x] Add serializable dashboard board item types.
|
||||
- [x] Keep existing elder-specific analysis APIs unchanged.
|
||||
|
||||
## 4. Dashboard Integration
|
||||
|
||||
- [x] Expand dashboard permission gate to collaboration and AI read permissions.
|
||||
- [x] Conditionally load devices, notices, alerts, family, and AI board data by permission.
|
||||
- [x] Render collaboration cards and AI analysis board from persisted data only.
|
||||
- [x] Preserve slug-aware links via `getWorkspaceHref`.
|
||||
|
||||
## 5. Verification
|
||||
|
||||
- [x] Add focused tests for collaboration seed idempotency and AI board redaction.
|
||||
- [x] Run focused tests covering changed code.
|
||||
- [x] Run `pnpm type-check`.
|
||||
- [x] Smoke-test the dashboard route when feasible via `pnpm build` route compilation.
|
||||
- [x] Add latency controls for AI provider timeout, token cap, retry count, and sanitized timeout failure history.
|
||||
Reference in New Issue
Block a user