Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Frontend Testing

Start the server (cargo run) and open http://localhost:3000 in a browser.

Pages to Check

URLWhat to verify
/Dashboard loads. Shows department cards, system status, recent activity
/chatChat interface loads. Can type messages, SSE stream works
/dept/forgeForge overview. Shows mission, goals, tasks
/dept/codeCode department. Shows analysis tools
/dept/contentContent department. Shows drafting UI
/dept/harvestHarvest department. Shows pipeline
/dept/gtmGTM department. Shows CRM
/dept/financeFinance department. Shows ledger
/dept/[id]/chatDepartment-scoped chat works for each department
/dept/[id]/agentsAgent CRUD UI – list, create, edit, delete
/dept/[id]/skillsSkills CRUD UI
/dept/[id]/rulesRules CRUD UI
/dept/[id]/hooksHooks CRUD UI
/dept/[id]/mcpMCP server management
/dept/[id]/workflowsWorkflow management
/dept/[id]/configDepartment configuration
/dept/[id]/eventsEvent log
/dept/[id]/actionsQuick actions
/dept/[id]/engineEngine-specific UI
/dept/[id]/terminalTerminal pane
/dept/content/calendarContent calendar view
/dept/harvest/pipelineOpportunity pipeline view
/dept/gtm/contactsCRM contacts
/dept/gtm/dealsCRM deals
/dept/gtm/outreachOutreach sequences
/dept/gtm/invoicesInvoicing
/flowsFlow builder – create/edit DAG workflows
/knowledgeKnowledge base – ingest, search
/approvalsApproval queue – pending human approvals (sidebar badge)
/settingsGlobal settings
/settings/spendCost analytics
/terminalTerminal view
/database/tablesDatabase browser – list tables
/database/schemaSchema viewer
/database/sqlSQL runner

Feature Checklist

FeatureHow to testExpected
NavigationClick each sidebar itemPage loads without error
Department switchingClick different departmentsURL updates, content refreshes
Dark modeToggle theme (if available)CSS variables swap, no broken colors
Chat streamingSend a message in /chatText appears character by character
Tool call cardsChat with code dept, ask about filesToolCallCard renders with tool name + result
Approval cardsCreate content draft needing approvalApprovalCard appears in sidebar badge
Department colorsVisit each departmentEach has its own oklch color accent
Responsive layoutResize browser windowLayout adapts, no overflow
Error handlingVisit /dept/nonexistentError page or redirect, no crash
Command paletteKeyboard shortcut (Cmd+K or similar)CommandPalette opens
OnboardingFresh install, first visitOnboardingChecklist or ProductTour appears

Visual Regression Tests

cd frontend
pnpm install
pnpm test:visual

Expected: Playwright takes screenshots and compares against baselines.

# Update baselines
pnpm test:e2e:update
# AI-powered diff analysis
pnpm test:analyze

Expected: Claude Vision analyzes visual diffs and reports issues.

# Via API
curl -s -X POST http://localhost:3000/api/system/visual-test | jq .

# Self-correction loop
curl -s -X POST http://localhost:3000/api/system/visual-report/self-correct | jq .

Expected: Auto-generates fix skills/rules based on visual diff analysis.