docs(legibility): write 18 README.md files for canonical domain packages (DOC-6) #437
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #394 (Epic 2 — Documentation). Rubric check: C7.1 (Major). Per #394 Decision Queue D2: enumeration is 18 files (not the original "~14" estimate), driven by the actual code on
mainand the Canonical Domain Set.Problem
Anja, navigating the codebase, opens
backend/src/main/java/.../document/— there's no README, only Java files. She doesn't know the domain's boundaries until she reads every file. Per-domain READMEs compress the "what does this own" mental model into something readable in 30 seconds. Per Markus, every README uses a fixed 3-section template — anything longer becomes a maintenance burden.Scope (18 files)
Backend (
backend/src/main/java/org/raddatz/familienarchiv/) — 9 filesdocument/README.md(coversannotation/,comment/,transcription/sub-packages inline per Boundary decisions D-OQ-2/3/4)person/README.md(coversrelationship/sub-package inline per D-OQ-7)tag/README.mduser/README.mdgeschichte/README.mdnotification/README.md(per D-OQ-6)ocr/README.md(per D-OQ-5)audit/README.md(cross-cutting but with domain footprint per D-OQ-8)dashboard/README.md(Tier-2 derived per D-OQ-8)Frontend (
frontend/src/lib/) — 8 filesdocument/README.mdperson/README.md(per D-FE-1: PersonTypeahead/MultiSelect live here)tag/README.md(per D-FE-2)user/README.mdgeschichte/README.mdnotification/README.mdocr/README.mdshared/README.md— admission criteria + thediscussion/sub-package per D-FE-3 + thedashboard/sub-package per D-FE-4OCR service — 1 file
ocr-service/README.md— per Tobias: must include startup behaviour ("the service takes 30–60 seconds to become healthy on cold start due to model loading"),/healthendpoint, and theX-Training-Tokenrequirement.Skipped — content lives in CONTRIBUTING.md (DOC-4)
Cross-cutting infrastructure with no domain identity: backend
config/,exception/,security/,filestorage/,importing/. Their conventions are documented in walkthroughs, not standalone READMEs.Fixed README template (per Markus — exactly 3 sections)
Each section is short. Maintenance burden = number of facts × frequency of change. The 3-section template caps the burden.
References
Acceptance criteria
backend/.../document/and within 30 seconds knows what the domain owns and where to look for related files.document/README.mdand frontendlib/document/README.mddescribe the same domain (same name, complementary perspectives).X-Training-Tokenrequirement.Definition of Done
All 18 READMEs are on
main. Cross-stack symmetry verified by spot-checkingdocument/,person/,tag/. Rubric C7.1 PASS.marcel referenced this issue2026-05-05 21:10:58 +02:00
Duplicate of #400. I created this in error before noticing #400 already existed. #400 carries the persona reviews and per-child Decision Queue; closing this in favor of the existing issue.