This is the starting point for developers, reviewers, UX, and story planning. Active documents describe the A-to-Z runnable MVP after Phase 5.2L correction, not production deployment, customer onboarding, legal certification, formal legal opinion, regulator submission, or completed implementation readiness.
CONSOLIDATION_PASS_APPLIED
PROJECT_OWNER_DOC_REMEDIATION_APPROVED
SCANNER_BEHAVIOR_AUTHORITY_CONSOLIDATED
CHROMADB_VECTORLESS_DOMAIN_CONTRACT_ALIGNED
UX_ARTIFACT_REMOVED_FROM_ACTIVE_DOC_SET
PYTHON_WORKER_PACKAGE_TOPOLOGY_LOCKED
AUDIT_EXPORT_SYNC_API_BOUNDARY_LOCKED
UX_REBASE_PENDING_AFTER_DOC_PRUNING
CHROMADB_STRUCTURE_FIRST_VECTORLESS_LEGAL_RAG_APPROVED
POSTGRESQL_PGVECTOR_LEGAL_RETRIEVAL_SUPERSEDED
STORY_TRACEABILITY_PENDING
IMPLEMENTATION_NOT_AUTHORIZED
- product/system-context.md
- product/product-brief.md
- product/prd.md
- product/business-rules.md
- specs/use-cases.md
- specs/functional-requirements.md
- specs/non-functional-requirements.md
- specs/acceptance-criteria-catalog.md
- architecture/architecture.md
- architecture/adr/architecture-decision-records.md
- implementation/README.md
- implementation/phase-5-2l-ux-to-readiness-execution-plan.md
- implementation/phase-5-2l-ux-to-readiness-task-list.md
- implementation/phase-5-2l-ux-to-readiness-implementation-guide.md
- docs-vn/README.md
UX review should focus on product, use cases, FR/NFR, acceptance criteria, domain specs and ADR constraints. Engineering work additionally reads architecture and implementation docs after implementation readiness is certified.
| Concern | Authoritative Document |
|---|---|
| Product scope and actors | product/system-context.md, product/product-brief.md, product/prd.md |
| Business rules | product/business-rules.md |
| Canonical requirements | specs/functional-requirements.md, specs/non-functional-requirements.md |
| Use cases and user flows | specs/use-cases.md, specs/user-task-flows.md |
| Acceptance criteria | specs/acceptance-criteria-catalog.md |
| Traceability | specs/requirements-traceability-summary.md, specs/requirements-traceability-matrix.md |
| System components | architecture/architecture.md, active ADRs |
| End-to-end runtime | specs/domain-state-machines.md, specs/event-catalog.md, implementation/ |
| Assessment lifecycle | specs/assessment-lifecycle-spec.md |
| Scanner behavior | specs/scanner-spec.md |
| Scanner runtime | implementation/scanner-implementation.md, implementation/scanner-worker-implementation.md |
| Build details | implementation/ |
| UX-to-readiness coordination | implementation/phase-5-2l-ux-to-readiness-execution-plan.md, implementation/phase-5-2l-ux-to-readiness-task-list.md, implementation/phase-5-2l-ux-to-readiness-implementation-guide.md |
| Physical persistence | implementation/persistence-implementation.md |
| Queues/outbox | implementation/queue-implementation.md |
product/ product purpose, actors, business rules
specs/ canonical behavior and requirements
architecture/ components and decisions
implementation/ build/configuration specifications
docs-vn/ Vietnamese summary and review notes
Historical material remains available through git history, not as active documentation authority.
apps/api NestJS API synchronous control plane
apps/web Manager and optional Developer web UX
lcsp-python-workers bounded Python Worker Platform for all async domain workloads
tools/ts-js-analyzer bounded Node.js CLI used only by Python Scanner Worker
PostgreSQL + ChromaDB legal index
RabbitMQ
S3-compatible object storage
real LLM provider for A-to-Z acceptance
Node.js downstream domain workers are SUPERSEDED_FOR_ACTIVE_MVP. Node.js remains valid for the NestJS API, web/tooling, and the bounded ts-morph analyzer CLI only.
- PBAC is the authorization source of truth. Roles may remain only as subject attributes, grouping labels, or policy templates; roles are not the final authorization authority.
- Structured attestation is
SUPERSEDED_FOR_ACTIVE_MVPand removed from active MVP use cases, requirements, UX, entities, events, audit/report dependencies, and delivery tasks. - Compliance certification, formal legal opinion, direct regulator submission, and
FR-051manual technical evidence JSON upload areREMOVED_FROM_PRODUCT. FR-050no longer means Local/CI scanner report upload. It is redefined asAUTOMATIC_TRUSTED_SCAN_INITIATION.- All asynchronous domain workloads belong to the Python Worker Platform.
- Scanner toolchain includes Syft, Knip, deptry, Semgrep custom rules, tree-sitter/custom parser, Python
ast+libcst, and boundedts-morph.
| Concern | Owner |
|---|---|
| Trusted scan trigger/job query | NestJS API synchronous control plane |
| Scan lifecycle | Python Scanner Worker |
| Python AST/CST | Python Scanner Worker |
| SBOM/dependency inventory | Python Scanner Worker invoking Syft |
| JS/TS dependency usage | Python Scanner Worker invoking Knip |
| Python dependency usage | Python Scanner Worker invoking deptry |
| AI pattern rules | Python Scanner Worker invoking Semgrep custom rules |
| Cross-language structural augmentation | Python Scanner Worker using tree-sitter/custom parser |
| TS/JS semantic analysis | Node CLI subprocess controlled by Python Scanner Worker |
| Findings/taxonomy | specs/scanner-spec.md |
| Runtime object journey | specs/domain-state-machines.md, implementation/scanner-worker-implementation.md |
| Persistence/queues | implementation docs |
Corpus ingestion, review, approval, and index build are internal operations/API/CLI for MVP. bmad-ux designs Manager and optional Developer product experiences; it does not create customer-facing corpus administration screens.
These commands are contracts for the future implementation and are not evidence that code already exists:
# infrastructure and Node services
npm install
npm run db:generate
npm run db:migrate
npm run dev:api
npm run dev:web
# Python Worker Platform
cd lcsp-python-workers
poetry install
poetry run pytest
poetry run python -m lcsp_workers.scanner.main
# TS/JS analyzer
cd ../tools/ts-js-analyzer
npm install
npm run build
npm test
# integrated validation after implementation
npm run test
npm run smoke:a-to-z
An A-to-Z acceptance run additionally requires:
- real PostgreSQL/RabbitMQ;
- real S3-compatible object storage;
- validated official legal source snapshots and approved corpus version;
- completed ChromaDB vectorless legal index;
- configured real LLM provider/model;
- golden repository fixture;
- audit/export verification.
Coding begins only after canonical UX and epics/stories exist and bmad-check-implementation-readiness certifies the remediated set. Until then:
IMPLEMENTATION_NOT_AUTHORIZED
SPRINT_EXECUTION_NOT_AUTHORIZED