Files
fips/docs/design/diagrams/dynamics-ex2-physical.svg
Johnathan Corgan 00e26765bd Design documentation illustration and review pass
Wire format diagrams:
- Add 24 SVG diagrams covering every FMP and FSP wire format: common
  prefix, established frame headers, Noise IK handshake messages,
  handshake flow, TreeAnnounce, AncestryEntry, FilterAnnounce,
  LookupRequest/Response, SessionDatagram, Disconnect, SenderReport,
  ReceiverReport, FSP complete message, SessionSetup/Ack/Msg3,
  PathMtuNotification, CoordsRequired, PathBroken, and MtuExceeded
- Replace ASCII art in fips-wire-formats.md with SVG references
- Apply text edits to fips-mesh-layer.md, fips-mesh-operation.md,
  fips-transport-layer.md, and fips-ipv6-adapter.md

Spanning tree dynamics:
- Add 12 topology SVG diagrams: node join (overview + 3-panel steps),
  three-node convergence (4-panel), link addition with depth labels,
  link removal, partition formation, and 6 real-world example diagrams
  (office, mixed-link, two-site WAN topologies)
- Rewrite all code blocks to narrative prose with diagram references
- Add inline prior art attributions distinguishing Yggdrasil-derived
  concepts from FIPS-novel contributions
- Add 3 new references (De Couto ETX, IEEE 802.1D, RFC 2328 OSPF) and
  Prior Art summary
- Remove outdated sections: indirect partition note, integration test
  gaps, DHT-based lookup reference
- Change "must elect a new root" to "must rediscover its new root"

Spanning tree design review (fips-spanning-tree.md):
- Rename "Root Election" to "Root Discovery" across docs
- Add "What Is a Spanning Tree?" introductory section
- Add parent selection intro explaining self-organization role
- Fix tree distance example: 4 hops, not 2
- Clarify timestamp field as advisory only
- Remove unimplemented ROOT_TIMEOUT and TREE_ENTRY_TTL from timing
  parameters and implementation status tables

Bloom filter design review (fips-bloom-filters.md):
- Add "What Is a Bloom Filter?" intro section
- Rewrite Purpose section to frame filters as routing path identification
- Correct FPR analysis (old values were 3-50x overstated)
- Add Filter Occupancy Model based on network size and tree position
- Fix filter expiration to describe actual MMP-based cleanup
- Combine Scale Considerations with Size Classes after Wire Format
- Fix stale FPR values in src/bloom/mod.rs comments

Session layer review (fips-session-layer.md):
- Add inline prior art attributions: Noise Protocol Framework, WireGuard,
  DTLS (RFC 6347), IKEv2 (RFC 7296), RFC 1191 PMTUD, Yggdrasil, NIP-44
- Replace warmup state machine ASCII art with SVG diagram
- Convert CoordsWarmup wire format code block to prose
- Add External References section with full citations

Level 5 implementation doc cleanup:
- Delete fips-software-architecture.md (redundant with protocol layer docs)
- Delete fips-state-machines.md (Rust tutorial, not protocol design)
- Add fipsctl command reference to README.md
- Update cross-references in fips-intro.md, docs/design/README.md,
  fips-transport-layer.md, fips-configuration.md

Fixes:
- Correct fd::/8 to fd00::/8 in fips-session-layer.md,
  fips-identity-derivation.svg, and fips-node-architecture.svg
- Fix config example MTU: 1197 → 1472 in fips-configuration.md

File organization:
- Move all SVG diagrams into docs/design/diagrams/ subdirectory
- Update all diagram references to use new paths
2026-02-24 17:32:37 +00:00

49 lines
3.0 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 550 320">
<rect width="550" height="320" fill="#0d1117" rx="8"/>
<!-- Title -->
<text x="275" y="30" text-anchor="middle" font-family="monospace" font-size="15" font-weight="bold" fill="#e0e0e0">Mixed Network — Physical Topology</text>
<text x="275" y="48" text-anchor="middle" font-family="monospace" font-size="11" fill="#909090">node_addr: B &lt; A &lt; D &lt; E &lt; C</text>
<!-- Node positions: A(100,110) B(420,110) C(100,250) D(275,250) E(450,250) -->
<!-- Fiber links (thick solid green) -->
<line x1="100" y1="110" x2="420" y2="110" stroke="#60a060" stroke-width="3"/><!-- A═B fiber -->
<line x1="420" y1="110" x2="275" y2="250" stroke="#60a060" stroke-width="3"/><!-- B═D fiber -->
<line x1="275" y1="250" x2="450" y2="250" stroke="#60a060" stroke-width="3"/><!-- D═E fiber -->
<!-- DSL link (medium dashed yellow) -->
<line x1="100" y1="250" x2="275" y2="250" stroke="#a0a060" stroke-width="2" stroke-dasharray="8,3"/><!-- C—D DSL -->
<!-- Radio link (thin dotted red) -->
<line x1="100" y1="110" x2="100" y2="250" stroke="#a06060" stroke-width="1.5" stroke-dasharray="3,3"/><!-- A~C radio -->
<!-- Link labels -->
<text x="260" y="100" text-anchor="middle" font-family="monospace" font-size="10" fill="#60a060">fiber</text>
<text x="365" y="178" text-anchor="start" font-family="monospace" font-size="10" fill="#60a060">fiber</text>
<text x="362" y="240" text-anchor="middle" font-family="monospace" font-size="10" fill="#60a060">fiber</text>
<text x="187" y="268" text-anchor="middle" font-family="monospace" font-size="10" fill="#a0a060">DSL 1Mbps</text>
<text x="78" y="183" text-anchor="end" font-family="monospace" font-size="10" fill="#a06060">radio</text>
<text x="78" y="195" text-anchor="end" font-family="monospace" font-size="10" fill="#a06060">9600bps</text>
<!-- Node A -->
<circle cx="100" cy="110" r="22" fill="#1a1a2e" stroke="#e0e0e0" stroke-width="2"/>
<text x="100" y="115" text-anchor="middle" font-family="monospace" font-size="14" font-weight="bold" fill="#e0e0e0">A</text>
<!-- Node B -->
<circle cx="420" cy="110" r="22" fill="#1a1a2e" stroke="#e0e0e0" stroke-width="2"/>
<text x="420" y="115" text-anchor="middle" font-family="monospace" font-size="14" font-weight="bold" fill="#e0e0e0">B</text>
<!-- Node C -->
<circle cx="100" cy="250" r="22" fill="#1a1a2e" stroke="#e0e0e0" stroke-width="2"/>
<text x="100" y="255" text-anchor="middle" font-family="monospace" font-size="14" font-weight="bold" fill="#e0e0e0">C</text>
<!-- Node D -->
<circle cx="275" cy="250" r="22" fill="#1a1a2e" stroke="#e0e0e0" stroke-width="2"/>
<text x="275" y="255" text-anchor="middle" font-family="monospace" font-size="14" font-weight="bold" fill="#e0e0e0">D</text>
<!-- Node E -->
<circle cx="450" cy="250" r="22" fill="#1a1a2e" stroke="#e0e0e0" stroke-width="2"/>
<text x="450" y="255" text-anchor="middle" font-family="monospace" font-size="14" font-weight="bold" fill="#e0e0e0">E</text>
</svg>