docs(legibility): write docs/ARCHITECTURE.md with diagram, domains, security model (DOC-2) #433
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 checks: C1.3 (Major), C3.1 (Critical), C3.2 (Major).
Problem
Tobias (PM-with-CS) needs a single architecture document that names every domain, shows component data flow, and links to the existing ADRs (
docs/adr/001..006). The existing C4 diagrams indocs/architecture/c4-diagrams.mdpredateOcrService,GeschichteService,TranscriptionQueueService,SseEmitterRegistry,NotificationService(per Markus's audit). Without ARCHITECTURE.md, the diagram is inaccurate and the canonical domain set is invisible.Scope
docs/ARCHITECTURE.md.docs/architecture/c4-diagrams.md(or supersede it) so it includesOcrService,GeschichteService,TranscriptionQueueService,SseEmitterRegistry,NotificationService. Embed or link from ARCHITECTURE.md.document,person,tag,user,geschichte,notification,ocr,conversation(derived),activity(derived). Each gets a one-paragraph definition (what it owns / what it does NOT own).@RequirePermission+PermissionAspectAOP mechanism, the permission hierarchy (READ_ALL,WRITE_ALL,ADMIN,ADMIN_USER,ADMIN_TAG,ADMIN_PERMISSION), and a link todocs/security-guide.mdfor production hardening.docs/adr/001..006with a one-line consequence per ADR (per Markus: not just a list of files).CONTRIBUTING.md(DOC-4) anddocs/DEPLOYMENT.md(DOC-5).References
docs/architecture/c4-diagrams.md,docs/adr/001..006.md,docs/security-guide.mdAcceptance criteria
docs/ARCHITECTURE.mdexists.document,person,tag,user,geschichte,notification,ocr) has a one-paragraph definition (rubric C3.2).@RequirePermission+ permission hierarchy.Definition of Done
docs/ARCHITECTURE.mdis onmain. C4 diagram is refreshed (either inline or indocs/architecture/c4-diagrams.md). Rubric C1.3, C3.1, C3.2 PASS.marcel referenced this issue2026-05-05 21:10:58 +02:00
Duplicate of #396. I created this in error before noticing #396 already existed. #396 carries the persona reviews and per-child Decision Queue; closing this in favor of the existing issue.