Add document converter, seeder data structure, and project wiki

- ai-service/convert.py: converts Office/PDF files to markdown with frontmatter
- database/seeders/data/: folder structure for themas, projects, documents, etc.
- database/seeders/data/raw/: drop zone for Office/PDF files to convert
- wiki/: project architecture, concepts, and knowledge graph documentation
- Remove unused Laravel example tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-04-08 08:33:30 +02:00
parent 302c790c13
commit 926872a082
23 changed files with 1785 additions and 76 deletions

69
wiki/overview.md Normal file
View File

@@ -0,0 +1,69 @@
---
title: Project Overview
created: 2026-04-08
updated: 2026-04-08
status: evolving
tags: [overview, status, roadmap]
sources: [CLAUDE.md, composer.json, package.json, docker-compose.yml]
---
# Innovatieplatform — R&D Lab Waterschap Brabantse Delta
Innovation governance platform supporting the full lifecycle of innovation trajectories — from signal to handover — with built-in AI support. The primary UI is a **zoomable metro map** with retro-futurism aesthetic (Commodore 64-inspired CLI bar, pixel accents, monospace typography).
## What Works
| Capability | Status | Evidence |
|---|---|---|
| Authentication (Fortify) | proven | Login, register, password reset, email verification all functional |
| Metro map canvas (D3.js) | proven | Zoomable SVG canvas with stations, lines, hover preview, breadcrumb |
| Project CRUD API | proven | REST endpoints for create, update, transition, park, stop, delete |
| Thema CRUD API | proven | REST endpoints for list, create, update |
| Domain model (21 models) | proven | All Eloquent models with relationships, 27 migrations |
| Service-oriented architecture | proven | ProjectService, MapDataService, ThemaService (411 LOC) |
| Docker Compose infrastructure | proven | 7 services: nginx, php-fpm, worker, scheduler, postgresql, redis, ai-service |
| Retro-futurism UI | proven | C64 CLI bar, VT323/Press Start 2P fonts, dark palette, glow effects |
| Demo data seeder | proven | 4 themes x 3 projects with lifecycle phases |
| Performance optimizations | proven | OPcache, gzip, font subsetting, lazy-loaded pages |
## What Doesn't Work (honestly)
| Capability | Status | Notes |
|---|---|---|
| Project detail pages | not started | Routes exist, page component missing |
| Commitment/action tracking UI | not started | Models + enums exist, no frontend |
| Document management | not started | Document model with embedding vector, no upload/display |
| AI chat integration | not started | Python FastAPI stub only, no LangGraph/RAG pipeline |
| Semantic search | not started | pgvector enabled, no embedding generation |
| RBAC UI | not started | Role/CheckRole middleware exist, no admin UI |
| Test suite | not started | PHPUnit 12.5 configured, 0 tests written |
| Roadmap visualization | not started | RoadmapItem model exists, no UI |
| Zoom-to-dimension transitions | not started | Canvas supports zoom, no cross-fade to child dimension |
| Right-click create/edit | not started | Planned interaction pattern, not implemented |
| Bilingual NL/EN | not started | All code in Dutch, no i18n framework |
## Current Scale
| Metric | Value |
|---|---|
| Backend LOC (excl. vendor) | ~13,500 |
| Frontend LOC (excl. node_modules) | ~3,900 |
| Eloquent models | 21 |
| Enums | 14 |
| Services | 3 |
| Controllers | 4 |
| Vue components/pages | 15 |
| Database migrations | 27 |
| Docker services | 7 |
| Git commits | 7 |
| Test coverage | 0% |
## Next Steps (Priority Order)
1. **Project detail view** — click station -> full project page with phases, commitments, documents
2. **Zoom-to-dimension** — scroll-zoom near station cross-fades into child metro map
3. **Commitment/action tracking** — UI for managing commitments with deadlines and owners
4. **Test suite** — PHPUnit feature tests for API + unit tests for services
5. **AI chat integration** — Wire Python FastAPI service with LangGraph orchestrator
6. **Document management** — Upload, link, embed, search documents
7. **RBAC admin** — Role assignment UI, permission management