# Mission Manifest — MS22-P2 Named Agent Fleet > Persistent document tracking full mission scope, status, and session history. > Updated by the orchestrator at each phase transition and milestone completion. ## Mission **ID:** ms22-p2-named-agent-fleet-20260304 **Statement:** Implement named agent fleet (jarvis, builder, medic) with per-agent personalities, model assignments, Discord channel routing, and WebUI selector. **PRD:** `docs/PRD-MS22-P2-AGENT-FLEET.md` **Phase:** Execution **Status:** in-progress **Last Updated:** 2026-03-04 ## Success Criteria 1. AgentTemplate and UserAgent tables exist and are seeded with jarvis/builder/medic 2. Admin CRUD endpoints at `/admin/agent-templates` work and are guarded 3. User agent CRUD endpoints allow per-user agent customization 4. Chat proxy routes messages to correct agent by name 5. Discord channel → agent routing maps #jarvis/#builder/#medic-alerts 6. WebUI shows agent selector and connects to correct agent 7. All CI gates green ## Milestones | # | ID | Name | Status | Tasks | Notes | | --- | ------------- | ------------- | ---------- | -------------- | --------------------- | | 1 | schema-seed | Schema+Seed | ✅ done | P2-001, P2-002 | PRs #675, #677 merged | | 2 | admin-crud | Admin CRUD | ✅ done | P2-003 | PR #678 merged | | 3 | user-crud | User CRUD | ✅ done | P2-004 | PR #682 merged | | 4 | agent-routing | Agent Routing | ⬜ pending | P2-005, P2-006 | Depends on M3 | | 5 | discord-ui | Discord+UI | ⬜ pending | P2-007, P2-008 | Depends on M4 | | 6 | verification | Verification | ⬜ pending | P2-009, P2-010 | Final gate | ## Task Summary See `docs/TASKS.md` — MS22 Phase 2 section for full task details. | Task | Status | PR | Notes | | ----------------------- | -------------- | ---- | ------------------------------ | | P2-001 Schema | ✅ done | #675 | AgentTemplate + UserAgent | | P2-002 Seed | ✅ done | #677 | jarvis/builder/medic templates | | P2-003 Admin CRUD | ✅ done | #678 | /admin/agent-templates | | P2-004 User CRUD | ✅ done | #682 | /api/agents | | P2-005 Status endpoints | ⬜ not-started | — | | | P2-006 Chat routing | ⬜ not-started | — | | | P2-007 Discord routing | ⬜ not-started | — | | | P2-008 WebUI selector | ⬜ not-started | — | | | P2-009 Unit tests | ⬜ not-started | — | | | P2-010 E2E verification | ⬜ not-started | — | | ## Token Budget | Phase | Est | Used | | ----------------- | -------- | -------------------- | | Schema+Seed+CRUD | 30K | ~15K (done directly) | | User CRUD+Routing | 40K | ~25K | | Discord+UI | 30K | — | | Verification | 10K | — | | **Total** | **110K** | **~40K** | ## Session Log | Date | Work Done | | ---------- | --------------------------------------------------------------------------------------------------------- | | 2026-03-04 | Session 2: Fixed CI security audit, merged PRs #681, #678, #682. Milestones 1-3 complete (4/6 remaining). | | 2026-03-04 | P2-001..003 shipped; CI fix; postgres rebuilt; mission initialized |