14bd4e33fb
- KI-Copilot: NL query → proposed actions, execute with RBAC, history, audit logging - LLM client: mock mode (no API key) + OpenAI-compatible mode (AI_MODEL/AI_API_KEY) - Action mapper: NL intent → API calls (create/update/delete/search company/contact) - Workflow engine: step types (action/approval/notification/condition), JSONB steps - Workflow lifecycle: pending → in_progress → completed/rejected/cancelled - Event-triggered workflows: event bus → auto-start instances - Code-engine workflows: onboarding on user.created event - Approval timeout: auto-reject after configured hours - 5 new tenant-scoped tables with RLS: ai_conversations, ai_messages, workflows, workflow_instances, workflow_step_history - Migration 0004: all tables + RLS policies + tenant_id + indexes - 238 tests pass (30 AC + 105 coverage + 103 existing), 84.12% T09 module coverage - MissingGreenlet fix: safe accessor helpers for async ORM attribute access
877 B
877 B
Next Steps — LeoCRM
Current: T03 COMPLETE ✅ (commit 7a5a48f, pushed)
Phase 3 Implementation Progress
- T01 ✅ Core Infrastructure + Multi-Tenant + Auth (commit
7a7daf8) - T02 ✅ Company + Contact + Import/Export (commit
6bf0746) - T03 ✅ Plugin System Framework (commit
7a5a48f)
Next: T07a ∥ T09 (Parallel)
T07a — Frontend SPA Shell
- Deps: T01 ✅
- Reqs: 23 features, 27 ACs
- Vue 3 + Vite + Pinia + Vue Router + TailwindCSS
- Auth flow, layout, navigation, dashboard, settings
T09 — KI-Copilot API + Hybrid Workflow Engine Backend
- Deps: T01 ✅, T02 ✅
- Reqs: 5 features, 22 ACs
- LLM integration, workflow engine, task automation
After T07a + T09: T07b (Frontend Feature Pages)
After T07b: T10 (Monitoring, Performance, Documentation)
v1 Execution Order
T01 ✅ → T02 ✅ → T03 ✅ → (T07a ∥ T09) → T07b → T10