docs(architecture): reconcile DFD flow labels to one canonical scheme#254
Conversation
A second, off-by-one flow-label scheme had drifted into several specs and ADRs (backend leg as F10, audit fan-in as F11, north face as F12), contradicting the threat-model's canonical F1-F11 scheme and its stated eleven-flow count. No file defined the labels authoritatively — eleven specs deferred to two sections, neither of which carried a definition table. - 05-c4-container.md §4: add the authoritative F# column (F1-F11), the sole definition every spec and 06-threat-model.md §3 reference. - Reconcile the drifted scheme to canon: broker->edge->backend = F9, audit fan-in = F10, north face = F11 (was F10/F11/F12). Files: components/04 (25/77/93), components/01 (33), components/02 (33), components/07 (23/29/89), adr/0006 (41), adr/0002 (57). - Fix two sandbox-egress-leg mislabels: the outbound egress leg is F8, not F9 (components/05 lines 36, 69). - Redirect definition pointers from '06-threat-model.md §1' (which uses the labels) to '05-c4-container.md §4' (which now defines them). Verified zero residual divergence: no F12 anywhere, every F8/F9/F10/F11 matches its canonical flow, the threat-model and diagrams agree. No NFR or decision content changed — labels only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
WalkthroughThis PR consolidates flow-label definitions scattered across threat-model and component specs into a single canonical schema in the C4 container boundary table (F1–F11), then updates all downstream references in component specs and ADRs to point to this unified source. ChangesArchitecture Flow-Label Consolidation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
A vertical-consistency trace (during ADR-0010 follow-up work) surfaced a pre-existing defect: two competing DFD flow-label schemes across the architecture docs.
No file defined the labels authoritatively — eleven specs deferred to
06-threat-model.md §1(which uses the labels) or05-c4-container.md §4(which had no F# column).Fix
05-c4-container.md §4— add the authoritativeF#column (F1–F11). This table is now the sole definition.06-threat-model.md §1→05-c4-container.md §4.Verification
Verified by
gsd-doc-verifierre-trace: zero F12 anywhere, every F8/F9/F10/F11 matches its canonical flow, threat-model and.mmddiagrams agree, F1–F11 each appear exactly once in the canonical table. No NFR or decision content changed — labels only.This unblocks ADR-0011 (storage-leg detach), which edits many of these loci and needs a single consistent flow-label scheme underneath.
🤖 Generated with Claude Code
Summary by CodeRabbit