Skip to content

Content Map

Maps every documentation file to its content, source, and priority for the content-writing phase.

PriorityMeaning
P0Essential — must be complete before docs site goes live
P1Important — should be complete for a useful docs site
P2Can wait — nice to have, not blocking

FileContentSourcePriority
index.mdProject overview, key capabilities, ecosystem diagram, quick linksROADMAP.md, PROJECT_MAP.mdP0
getting-started/introduction.mdWhat is Juca, why it exists, ecosystem context, key conceptsROADMAP.md “Visao do Produto”, PROJECT_MAP.md §1, §5P0
getting-started/quickstart.md5-minute setup: clone, minimal .env, npm run dev, first interactionREADME.md, PROJECT_MAP.md §4P0
getting-started/installation.mdFull setup: all services, Docker, Git hooks, troubleshootingREADME.md, PROJECT_MAP.md §3-§4, docker-compose.ymlP1
FileContentSourcePriority
architecture/overview.mdHub architecture, entry points, data flow, responsibility matrixPROJECT_MAP.md §5, ROADMAP.mdP0
architecture/stack.mdFull dependency table with versions, status, justificationsPROJECT_MAP.md §3, REORG_PLAN.md §2.3P1
architecture/decisions.md7 ADRs: Unified Home, SQLite, KG adapter, orchestrator decomp, briefing, hub pivot, Liquid LegalPROJECT_MAP.md §8, ROADMAP.md decisions, docs/ui-reference.tsxP1
architecture/diagrams.md6 Mermaid diagrams: ecosystem, components, query lifecycle, briefing flow, block types, deploymentPROJECT_MAP.md §5 diagrams, ROADMAP.md ecosystemP1
architecture/ecosystem.mdsens.legal 3-project overview: Juca, Valter, LeciROADMAP.md ecosystem, Valter/Leci project explorationP0
FileContentSourcePriority
features/index.mdFeature inventory with status badges (implemented/in-progress/planned/deprecated)ROADMAP.md features tablesP0
features/block-system.md11 block types, lifecycle, factory pattern, component reference, “adding new block” guidePROJECT_MAP.md §2 §5, src/lib/blocks/types.ts, src/components/blocks/P0
features/briefing/index.mdBriefing Progressivo overview, phase flow, PhaseRail, implementation approachROADMAP.md, Issues #283-289P0
features/briefing/phase-1-diagnosis.mdF1 detail: diagnosis card, Valter endpoints, UX flowIssue #285, src/actions/briefing.tsP1
features/briefing/phase-2-precedents.mdF2 detail: precedent cards, selection, Valter searchIssue #286P1
features/briefing/phase-3-risks.mdF3 detail: risk balance, Contradição Estratégica, Valter graphIssue #287, INNOVATION_LAYER.mdP1
features/briefing/phase-4-delivery.mdF4 detail: 4 delivery modes, exit card, PDF integrationIssue #288P1
features/composer.mdComposer UI, intent detection, tool registry, SSE streaming, clarification flowPROJECT_MAP.md §2 §5, src/lib/unified/P1
features/session-management.mdSessions, SQLite persistence, sidebar, server actions, known issuesPROJECT_MAP.md §2, src/lib/db/P1
features/pdf-export.mdPDF generation, API endpoint, future briefing PDFsrc/lib/pdf/generator.ts, Issue #289P2
features/auth.mdNextAuth v5, Google OAuth, magic links, dev bypass, known issuesPROJECT_MAP.md §3 §4, src/lib/auth.tsP2
features/feature-flags.mdFlag system, available flags, usage patternssrc/lib/featureFlags.tsP2
FileContentSourcePriority
configuration/environment.mdAll 30+ env vars organized by category with descriptions and defaultsPROJECT_MAP.md §4 complete tableP0
configuration/settings.md11 config files reference: next.config, tsconfig, tailwind, vitest, playwright, etc.REORG_PLAN.md §2.2, root config filesP1
configuration/integrations.mdExternal service setup: Valter, LLM providers, auth providers, Neo4j, RailwayPROJECT_MAP.md §3, ROADMAP.mdP1
FileContentSourcePriority
development/setup.mdDev environment setup, scripts, multi-agent workflow, important rulesREADME.md, CLAUDE.md, package.jsonP0
development/conventions.mdCode style, naming, auth patterns, block creation, commit format, animationspatterns.md, CLAUDE.mdP0
development/testing.mdTest stack, running tests, organization, writing unit/E2E tests, coverage statusPROJECT_MAP.md §9, patterns.md “Test Patterns”P1
development/contributing.mdBranching, PR guidelines, AI agent rules, architecture principlesCLAUDE.md, agent_docs/P1
FileContentSourcePriority
api/index.mdAPI architecture overview, route groups table, auth patternPROJECT_MAP.md §2P1
api/valter-adapter.mdValter adapter layer, endpoints table, auth, request/response mappingROADMAP.md, Valter API explorationP0
api/unified.mdUnified endpoints: sessions CRUD, analyze, SSE streamsrc/app/api/unified/, src/app/api/v2/P1
api/briefing.mdBriefing server actions, PDF export, transitional endpoints listsrc/actions/briefing.tsP2
api/export.mdPDF export endpoint detail, generation internalssrc/app/api/export/, src/lib/pdf/P2
FileContentSourcePriority
roadmap/index.mdStrategic direction, current milestone, overview table, pending decisionsROADMAP.mdP0
roadmap/milestones.mdDetailed v0.3–v1.0 milestone breakdowns with features and criteriaROADMAP.md milestonesP1
roadmap/changelog.mdHistory: rewrite (Waves 0-5), cleanup, KG migration, auth, originsMEMORY.md, REORG_PLAN.md, PROJECT_MAP.mdP2
FileContentSourcePriority
reference/glossary.mdLegal terms (STJ, sumula, acordao, etc.) + technical terms (block, hub, etc.)Codebase, Brazilian legal systemP1
reference/faq.mdCommon questions about architecture, development, troubleshootingAll docs sourcesP2
reference/troubleshooting.mdInstall issues, runtime errors, test failures, build rulesCommon issues, PROJECT_MAP.md §10P1

PriorityCountDescription
P012Essential for docs launch — overview, architecture, key features, setup, config
P117Important for completeness — detailed features, ADRs, testing, integrations
P27Can wait — PDF export, auth details, FAQ, changelog, briefing endpoints
Total36

FileStatusResolution
docs/SEMANTIC_SEARCH_SETUP.mdArchivedMoved to _archive/docs/. Transitional content (local embedding service being replaced by Valter).
docs/LOGGER_USAGE.mdArchivedMoved to _archive/docs/. Logger usage documented in conventions.
docs/truncation-audit.mdArchivedPreviously archived. Historical — no longer relevant post-Valter migration.
docs/ANALYZER_CONSOLIDATED_SPEC.mdAbsorbedKey parts absorbed into features/composer.md (analyzer section).
docs/api-response.mdAbsorbedAbsorbed into api/index.md (Response Envelope section). Archived.
docs/orchestrator-diagnostics.mdArchivedMoved to _archive/docs/. Transitional (orchestrator pipeline moving to Valter).
docs/database-architecture-decisions.mdAbsorbedContent absorbed into architecture/decisions.md (ADR-002).
docs/ui-reference.tsxKeptDesign reference — referenced by ADR-007 and features docs.