Files
stack/docs/MISSION-MANIFEST.md
2026-02-27 10:12:24 +00:00

75 lines
3.3 KiB
Markdown

# 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
1. Domains page: can create and list domains without workspace errors
2. Projects page: can create new projects without workspace errors
3. Personalities page: full CRUD works with proper dark mode theming
4. User preferences endpoint (`/users/me/preferences`) returns data
5. Credentials page: can add, view credentials (not just disabled stub)
6. Orchestrator proxy endpoints return real data (no 502)
7. Orchestrator WebSocket connects successfully
8. Dashboard Agent Status, Task Progress, Orchestrator Events widgets work
9. Terminal has dedicated `/terminal` page route
10. favicon.ico serves correctly (no 404)
11. `useWorkspaceId` warning resolved — workspace ID persists in localStorage
12. All 5 themes render correctly on all affected pages
13. Lint, typecheck, and tests pass
14. 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`