← Back to PRs

#20450: feat(mabos): comprehensive frontend dashboard and reasoning engine

by kingler open 2026-02-18 23:30 View on GitHub →
docs cli commands agents size: XL
## Summary - **Comprehensive frontend dashboard** — vanilla JS SPA with 7 new modules: 5-step business onboarding wizard with industry-prefilled data, TROPOS i* goal model SVG visualization, Kanban board, Gantt chart, agent management panel, and performance dashboard - **20 reasoning engine tools** — formal logic (SBVR, OCL, Alloy), probabilistic (Bayesian networks, Monte Carlo, decision trees), causal reasoning, and experience-based learning - **TypeDB knowledge graph backend** — replaced Neo4j with TypeDB for schema-enforced knowledge representation - **Wildcard static file server + 8 new API endpoints** — onboarding, goals CRUD, task management, agent configuration, and campaign data ## Details ### Frontend Dashboard (Phase 1-5) - `data.js` — industry prefill constants (6 business types, domain agents, BMC templates) - `wizard.js` — 5-step onboarding wizard with auto-prefill on industry selection - `goals.js` — TROPOS i* goal model with SVG rendering, pan/zoom, interactive editing - `kanban.js` — 4-column task board (Proposed → Active → In Progress → Completed) - `gantt.js` — timeline visualization with day/week toggle - `agents.js` — agent list + configuration panel (status, autonomy, approval threshold) - `performance.js` — KPI cards, sales charts, campaign table - `app.js` — rewritten router with MABOS namespace, business switcher, state management - `styles.css` — extended with ~544 lines for all new components ### API Endpoints | Method | Path | Purpose | |--------|------|---------| | POST | `/mabos/api/onboard` | Business onboarding | | GET/PUT | `/mabos/api/businesses/:id/goals` | TROPOS goal model CRUD | | GET | `/mabos/api/businesses/:id/tasks` | Parse tasks from Plans.md | | POST | `/mabos/api/businesses/:id/tasks/:taskId` | Update task status | | GET | `/mabos/api/businesses/:id/agents` | Agent list with cognitive counts | | PUT | `/mabos/api/businesses/:id/agents/:agentId` | Agent configuration | | GET | `/mabos/api/businesses/:id/campaigns` | Marketing campaign data | ### Reasoning Engine (20 tools) Formal logic, probabilistic reasoning, causal analysis, and experience-based learning tools for BDI agent cognitive processing. ## Test plan - [ ] `pnpm build` passes with 0 errors in `extensions/mabos/` - [ ] Dashboard loads at `/mabos/dashboard` with all new nav items - [ ] Complete 5-step wizard → business created with manifest, agents, BMC - [ ] Goal model renders SVG with actor boundaries and goal nodes - [ ] Kanban/Gantt views display tasks from Plans.md - [ ] Agent management shows cognitive state counts and saves config - [ ] Performance dashboard renders KPI cards and campaign table 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Most Similar PRs