PRD updated with FR-020 (site stabilization scope) and 6 new assumptions. Mission manifest, scratchpad, and TASKS.md created with 13 tasks across workspace context, orchestrator connectivity, missing APIs, and UI gaps. Milestone MS20-SiteStabilization created. Issue #534 tracks the epic. Estimated total: ~215K tokens across 4 execution waves. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.3 KiB
3.3 KiB
Mission Manifest — MS20 Site Stabilization
Persistent document tracking full mission scope, status, and session history. Updated by the orchestrator at each phase transition and milestone completion.
Mission
ID: ms20-site-stabilization-20260227 Statement: Fix runtime bugs, missing API endpoints, orchestrator connectivity, and feature gaps discovered during live site testing at mosaic.woltje.com Phase: Planning Current Milestone: MS20-SiteStabilization Progress: 0 / 1 milestones Status: active Last Updated: 2026-02-27T05:30Z
Success Criteria
- Domains page: can create and list domains without workspace errors
- Projects page: can create new projects without workspace errors
- Personalities page: full CRUD works with proper dark mode theming
- User preferences endpoint (
/users/me/preferences) returns data - Credentials page: can add, view credentials (not just disabled stub)
- Orchestrator proxy endpoints return real data (no 502)
- Orchestrator WebSocket connects successfully
- Dashboard Agent Status, Task Progress, Orchestrator Events widgets work
- Terminal has dedicated
/terminalpage route - favicon.ico serves correctly (no 404)
useWorkspaceIdwarning resolved — workspace ID persists in localStorage- All 5 themes render correctly on all affected pages
- Lint, typecheck, and tests pass
- Deployed and verified at mosaic.woltje.com
Existing Infrastructure
Key components already built that MS20 builds upon:
| Component | Status | Location |
|---|---|---|
| WorkspaceGuard | Working | apps/api/src/common/guards/workspace.guard.ts |
| Auto-detect workspace ID | Working (reads) | apps/web/src/lib/api/client.ts |
| Credentials API backend | Built (M7) | apps/api/src/credentials/ |
| Orchestrator proxy routes | Built (MS19) | apps/web/src/app/api/orchestrator/ |
| Terminal components | Built (MS19) | apps/web/src/components/terminal/ |
| Theme system | Working (MS18) | apps/web/src/lib/themes/ |
Milestones
| # | ID | Name | Status | Branch | Issue | Started | Completed |
|---|---|---|---|---|---|---|---|
| 1 | MS20 | Site Stabilization | not-started | per-task feature branches | TBD | 2026-02-27 | — |
Deployment
| Target | URL | Method |
|---|---|---|
| Portainer | mosaic.woltje.com | CI/CD pipeline (Woodpecker) |
Token Budget
| Metric | Value |
|---|---|
| Budget | ~400K (estimated) |
| Used | 0 |
| Mode | normal |
Session History
| Session | Runtime | Started | Duration | Ended Reason | Last Task |
|---|---|---|---|---|---|
| S1 | Claude Opus 4.6 | 2026-02-27T05:30Z | — | — | Planning |
Scratchpad
Path: docs/scratchpads/ms20-site-stabilization-20260227.md