veritas-kanban/web
Brad Groux 44b63455ea fix(docker): standardize path resolution across all services (#102)
Created shared paths.ts utility as single source of truth for all path
resolution. Refactored 7 services to use it:

- server/src/utils/paths.ts: New shared utility with JSDoc docs
- task-service: Uses getTasksActiveDir()/getTasksArchiveDir()
- activity-service: Uses getDataDir()
- chat-service: Uses getChatsDir()
- audit-service: Uses getAuditDir()
- metrics/helpers: Uses getProjectRoot()/getTelemetryDir()
- backlog-repository: Uses getTasksBacklogDir()

Resolution priority: DATA_DIR/VERITAS_DATA_DIR env var > auto-discovery
of monorepo root (walks up looking for pnpm-workspace.yaml) > cwd fallback.
Filesystem root guard prevents silent '/' resolution (the original EACCES bug).

Backwards compatible: existing DATA_DIR configurations unchanged.
Cross-model reviewed: 10/10/10/10 (GPT-5.1 authored, Claude Sonnet 4.5 reviewed).

Closes #102

[author: gpt-5.1]
[reviewed-by: claude-sonnet-4.5]
Version: 2.1.3
2026-02-07 22:02:05 -06:00
..
src feat: Squad chat protocol scripts, system events, model attribution 2026-02-07 13:04:17 -06:00
.env.example fix(security): remove .env from git, add .env.example 2026-01-28 12:05:17 -06:00
components.json feat: complete US-104 to US-108 (Kanban UI) 2026-01-26 02:54:25 -06:00
favicon.svg feat: add purple scales of justice favicon 2026-02-05 20:56:24 -06:00
index.html feat: add purple scales of justice favicon 2026-02-05 20:56:24 -06:00
package.json fix(docker): standardize path resolution across all services (#102) 2026-02-07 22:02:05 -06:00
postcss.config.js feat: initial project scaffolding 2026-01-26 02:34:54 -06:00
tailwind.config.js feat: complete US-104 to US-108 (Kanban UI) 2026-01-26 02:54:25 -06:00
tsconfig.json feat: initial project scaffolding 2026-01-26 02:34:54 -06:00
tsconfig.node.json feat: initial project scaffolding 2026-01-26 02:34:54 -06:00
vite.config.ts fix: resolve infinite render loop in useKeyboard test + memoize context value 2026-01-29 05:54:22 -06:00
vitest.config.ts feat(web): add React error boundaries with graceful fallback UI 2026-01-29 04:39:30 -06:00