Project Diagnostic Snapshot
Project Diagnostic Snapshot
Section titled “Project Diagnostic Snapshot”What this snapshot represents
Section titled “What this snapshot represents”This page captures the technical diagnosis that was used to bootstrap documentation and planning. It is intentionally static and should be treated as a dated baseline, not as a live source of truth.
Observed maturity at snapshot time
Section titled “Observed maturity at snapshot time”The repository was assessed as an early-stage product with:
- strong database foundations;
- minimal user-facing UI;
- no implemented internal API routes;
- roadmap-heavy planned capabilities.
Key verified technical facts
Section titled “Key verified technical facts”At snapshot time, the following were code-verified:
- Next.js + React + TypeScript stack in a monorepo-style single app repository.
- PostgreSQL schema
leciwith legal entities and revision audit model. - FTS support via generated
tsvectorand GIN index. - Vector search foundation via
pgvectorand IVFFlat indexing. - Migration runner in
scripts/migrate.tsapplying ordered SQL files.
Known constraints captured in the snapshot
Section titled “Known constraints captured in the snapshot”The snapshot emphasized several constraints:
- the
document_nodes.content_textintegrity invariant throughleci.apply_revision(); - missing test suites despite a test command baseline;
- documentation and implementation drift risk for roadmap-defined features.
How to use this artifact today
Section titled “How to use this artifact today”Use this page when you need historical context for why current docs/roadmap shape exists. For current implementation status, prefer:
- code in
src/,drizzle/, andscripts/; - live docs pages under architecture/features/configuration;
- latest planning artifacts.