Compiled from
raw/architecture-docs/raw/github-prs/raw/github-commits/raw/codebase-snapshots/- Codebase analysis and session synthesis
Lexery - Source Map
Purpose
Ця сторінка фіксує, звідки саме зібрано Lexery wiki, і якою була ієрархія довіри між джерелами. Вона потрібна, щоб вся wiki лишалась compiled artifact, а не перетворювалась на “враження з чату”.
Source Hierarchy
Tier 1: live code and runtime-facing artifacts/Users/andriyseredyuk/Documents/Lexery/apps/*,package.json,prisma/schema.prisma,wrangler.toml,Dockerfile, workflow files, tests, current git status.Tier 2: repo-local docs close to codeapps/brain/docs/**,docs/**,apps/portal/README.md,apps/lldbi/README.md,docs/adr/**, rollout/runtime/testing docs.Tier 3: git and branch evidencelocalgit log,git rev-list,git status, remote refs, PR history, contributor history.Tier 4: GitHub statelexeryAI/Lexery,seredyuk2077/Ukrainan-Lawyer-LLM-BETA, repo metadata, PRs, contributors, branches.Tier 5: Linear planning layerLEX-*issues, projectsAgent Architecture,Lexery Legal Agent Dev,Backend,Frontend.Tier 6: local checkpoint / prior synthesis/Users/andriyseredyuk/Documents/Lexery/codex/SESSION_019d457b-3011-7a53-95ac-f6cb2afd3eb3_CHECKPOINT.md
Repositories Included
Current private monorepo
- Path:
/Users/andriyseredyuk/Documents/Lexery - GitHub:
lexeryAI/Lexery - Observed role:
current product monorepo with
apps/brain,apps/api,apps/portal,apps/lldbi, DocList services. - Key truth pages:
[[Lexery - Current State]],[[Lexery - Product Surface]],[[Lexery - Brain Architecture]]
Legacy public beta repo
- Path:
/Users/andriyseredyuk/Documents/Ukrainan-Lawyer-LLM-BETA - GitHub:
seredyuk2077/Ukrainan-Lawyer-LLM-BETA - Observed role: earliest public product incarnation, centered on chat UX, Supabase, GPT-4, Mike Ross persona.
- Key truth pages:
[[Lexery - Legacy Beta App]],[[Lexery - Idea Evolution]]
Legacy bridge repo
- Path:
/Users/andriyseredyuk/Documents/New project/Ukrainan-Lawyer-LLM-BETA - Git branch:
feature/lexery-legal-agent-architecture - Observed role:
“missing middle” між consumer beta app і сучасним Lexery Brain; тут одночасно співіснують
scripts/lexery-legal-agent, legislation infra, new frontend experiments, великі architecture docs і Linear-aligned execution notes. - Key truth pages:
[[Lexery - Legacy Architecture Bridge]],[[Lexery - Retrieval, LLDBI, DocList]],[[Lexery - Linear Roadmap]]
Earlier private placeholder repo
- GitHub only:
seredyuk2077/Ukrainan-Lawyer-LLM - Observed role:
дуже ранній приватний репозиторій, створений
2025-09-26, без локального clone у цій машині. - Confidence: low-detail metadata only.
Key Document Clusters
Current Lexery docs
apps/brain/docs/architecture/app/context/CURRENT_PIPELINE_STATE.mdapps/brain/docs/architecture/app/orchestrator/README.mddocs/lexery-current-runtime-map.mddocs/lexery-agentivity-upgrade.mddocs/lexery-target-orchestrator-architecture.mddocs/lexery-testing-guide.mddocs/lexery-doclist-corpus-gap-recovery.md
Legacy architecture docs
docs/plan_archinecture_Agnet/plan.mddocs/plan_archinecture_Agnet/answer.mddocs/plan_archinecture_Agnet/PLAN_vs_LINEAR_GAPS.mddocs/architecture/LEXERY_LEGAL_AI_AGENT_ARCHITECTURE.mddocs/architecture/MEGA_DIAGRAM_FULL.md
Legacy legislation / retrieval docs
scripts/legislation/README.mdscripts/legislation/COMPLETION.mddocs/supreme_court_rag.mddocs/supreme_court_benchmark.mddocs/legislation-rag/**
Trust Markers Used Across The Wiki
Observed: directly confirmed by code, git, GitHub, Linear, or a concrete repo document.Inferred: synthesis from two or more observed facts.Planned: exists in architecture docs / roadmap / issue descriptions, but not fully confirmed in current live code.Drift: two or more artifacts disagree.
Known Limits
- Current wiki is strongest on:
apps/brain, legacy architecture bridge, GitHub/Linear evolution, product/control-plane direction. - Current wiki is weaker on: actual production infra secrets, live cloud deployment state, real revenue/customers, anything not persisted in repo/GitHub/Linear.
- A few docs are explicitly stale:
root
README.mdin current monorepo, someapps/portaldocs, some Azure assumptions.