Adds docs/guides/SELF_HOST.md covering:
- Prerequisites (Node.js, pnpm)
- Build steps
- Local hosting
- LAN access (HOST=0.0.0.0, CORS, VITE_ALLOWED_HOSTS)
- Tailscale Serve — root path and sub-path (/kanban/) routing
- Reverse proxy (nginx, Caddy) with sub-path examples
- Docker / docker-compose with sub-path build args
- Security (VERITAS_ADMIN_KEY, API keys, TRUST_PROXY, roles)
- Full environment variables reference table
- Troubleshooting (CORS, WebSocket, base path, rate limits, sessions)
Original contribution by @xechehot in PR #126 — the Vite base path
and VITE_ALLOWED_HOSTS config from that PR are already merged into main;
this adds the missing documentation guide.
Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
* chore: upgrade shadcn/ui components to v4 CLI compatibility (closes#186)
- Update 16 registry components to v4 API (function components, data-slot, radix-ui unified import)
- Migrate components.json style from new-york to radix-nova with new v4 fields (rtl, menuColor, menuAccent)
- Convert CSS variables from HSL to oklch color format with @theme inline block for Tailwind v4
- Preserve VK custom purple accent (primary/ring) in dark mode: oklch(0.389 0.15 303.5)
- Add new dependencies: radix-ui, shadcn, tw-animate-css, @fontsource-variable/geist
- Add WCAG accessibility rules, reduced-motion and focus-visible in consolidated @layer base
- Update docs/SHADCN-V4.md with v4 migration details and oklch theme reference
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: revert font stack to system-ui/Roboto per review
Removes Geist Variable font and restores the original system font stack
as requested by BradGroux. Also adds missing trailing newline to globals.css.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: francois352 <francois@neurofeedback-luxembourg.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Add 'NODE_ENV & Docker' section explaining why NODE_ENV=development breaks
the UI in Docker (Express is API-only in dev mode, no Vite server in container)
- Add working docker-compose.yml quick-start example with required env vars
- Add table of required/recommended Docker environment variables
- Update NODE_ENV description in env vars table with warning and cross-reference
- Add warning callout in Quick Start section
- Link to issue #197 throughout
Closes#197
Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
- Add Reverse Proxy (Traefik) section with Docker labels example
- Add Sub-Path Deployment section covering VITE_BASE_PATH build arg,
StripPrefix middleware, and config volume mount for persistence
- Add TRUST_PROXY to env var table (was documented inline but missing)
- Add VITE_BASE_PATH to frontend env var table
- Add troubleshooting entry for ERR_ERL_UNEXPECTED_X_FORWARDED_FOR
Based on production deployment experience behind Traefik with a
/kanban/ path prefix where we discovered:
- Config directory (.veritas-kanban/) on overlay filesystem = lost on
every container rebuild unless mounted as a separate Docker volume
- Missing TRUST_PROXY causes rate limiter to treat all clients as one
- VITE_BASE_PATH needed for frontend to generate correct asset/API URLs
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Verified shadcn CLI at v4.0.0 with Tailwind v4 support
- Audited all 16 components with --diff (no upstream changes)
- Documented VK design preset (neutral base, purple primary accent)
- Verified dark mode compatibility (class-based, all CSS vars defined)
- Added docs/SHADCN-V4.md with new CLI commands and theme reference
- Remove repo history rewrite warning (long enough since backlog purge)
- Add Shipped in v3.3.x section with 10 features
- Add Planned v4.0 Security & Governance section with 9 features
- Remove stale (NEW — v2.0) tags from feature highlights
- Reorder AI Agents features logically (core → comms → mgmt → workflow → infra)
- Add sprint management to Organization section
- Archive stale root-level one-off reports to docs/archive/
(REVIEW_108_109.md, TEST_FAILURES_REPORT.md, SQUAD_CHAT_IMPLEMENTATION.md, SECURITY-AUDIT.md)
- Create docs/mcp/README.md with architecture, quickstart, full 26-tool
catalog with examples, security model, troubleshooting, and FAQ
- Update root README: condense MCP section, add link to dedicated docs
- Add MCP docs to Documentation Map in root README
- Add changelog entry under [Unreleased]
- Added explicit audience callouts (👤 humans, 🤖 AI agents)
- Human setup section: prerequisites, step-by-step template creation, testing
- AI execution workflow: complete loop with API calls, error handling, telemetry
- Agent execution examples with bash/curl commands at every step
- Configuration tips: enforcement gates, progress files, retry policies
- Troubleshooting section for common issues
- API reference summary table for quick lookup
- Expanded from 17KB to 28KB with actionable procedures for both audiences
- Created dedicated guide at docs/features/prd-driven-development.md (17KB)
- Added concise summary in FEATURES.md with link to full guide
- Reduced FEATURES.md by 506 lines while preserving all content
- Matches existing features/ directory structure and formatting
- Includes workflow steps, OAuth2 example, configuration tips, when to use/not use
- Updated docs/enforcement.md with squadChat and orchestratorDelegation gates
- Added 'For AI Agents' section with pre-flight checks, 400 error handling, and polling optimization
- Added error code reference (REVIEW_GATE_FAILED, CLOSING_COMMENT_REQUIRED, etc.)
- Added practical examples of what happens when agents violate enforcement gates
- Updated README.md with Enforcement Gates section in Feature Highlights
- Updated CHANGELOG.md with enforcement feature entry for next release
- Updated SOP-agent-task-workflow.md with enforcement gates awareness section
- All docs now reference both human operators and AI agents as primary audiences
FEATURES.md, WORKFLOW-GUIDE.md, and internal/ all contain workflow YAML
examples with Liquid-conflicting template syntax. Updated _config.yml to
exclude them from GitHub Pages build.
- WORKFLOW-GUIDE.md: User-facing guide with quick start, YAML schema,
step types (agent/loop/gate/parallel), tool policies, session
management, dashboard, example workflows, and troubleshooting
- API-WORKFLOWS.md: Complete API reference with all endpoints,
request/response examples, TypeScript interfaces, WebSocket events,
and error responses
Both documents are production-ready and comprehensive.
- 10/10/10/10 scores (Code Quality, Security, Performance, Architecture)
- 10 issues identified and fixed (5 security, 5 performance)
- Zero regressions, zero typecheck errors
- Approved for merge to main
- Detailed findings, fixes, and verification for each issue