Commit Graph
9 Commits
Author SHA1 Message Date
RyanandClaude Sonnet 5.5 20d69b93b7 Use plain Mermaid diagrams again and drop the SVG images
The preview problems were caused by the diagram text, which is now fixed in
every copy, so the pre-rendered SVGs (white background, harder to keep in
sync) are no longer needed. Also updates docker/docs with the fixed text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 11:31:29 +03:30
RyanandClaude Sonnet 5.5 c1fcfb7b73 Render the diagram images with Mermaid 11.13.0
All Mermaid blocks in the docs now parse on 11.13.0 (the version bundled with
Typora and Obsidian) and the embedded SVGs are rendered with it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 11:21:09 +03:30
RyanandClaude Sonnet 5.5 d408e53755 Show the sequence diagrams as pre-rendered SVG images
GoLand and Typora fail to draw the Mermaid sequence diagrams even though
the same text renders on the Mermaid versions they bundle. Embed SVGs
rendered with Mermaid 11.16.1 (white background) and keep the Mermaid
source in a collapsed section under each image.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 11:12:44 +03:30
RyanandClaude Sonnet 5.5 914e156b62 Use only plain characters inside sequence diagram messages
GoLand's Mermaid preview renders the flowchart and state diagrams but not
two of the sequence diagrams. Remove "|", "||", "+" and braces from message
text, the only characters those diagrams had that the others lack.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 11:06:51 +03:30
RyanandClaude Sonnet 5.5 5b7a2c5584 Fix Mermaid parse errors in the design docs
Semicolons end a statement in Mermaid sequence diagrams and angle brackets
are treated as HTML, so messages like "shared = X25519(s, B); pw = ..." and
"enroll/request/<cid>" broke rendering. Use commas and {cid} style
placeholders instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 10:39:12 +03:30
Ryan 6c2fd0648f feat: added docs for this research 2026-10-25 10:26:01 +03:30
RyanandClaude Sonnet 5.5 05d988f713 Add the design docs to the repo
Test and deploy enrollment demo / test (push) Successful in 8s
Test and deploy enrollment demo / deploy (push) Successful in 1m12s
Copies the SN-as-username process, the FN/SN comparison and the original
R&D notes from the backend repo, links them from the README and stops
documentation-only pushes from redeploying the demo.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 10:07:22 +03:30
RyanandClaude Sonnet 5.5 37ca9d4da1 Add Gitea restart workflow and link-style "Run again" for the public view
Test and deploy enrollment demo / test (push) Successful in 36s
Test and deploy enrollment demo / deploy (push) Successful in 1m13s
The server deployment cannot mount the Docker socket safely, so the web
view's button now opens the Gitea page for a workflow_dispatch workflow
that recreates the stack and replays the demo. Gitea handles who may run it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 21:54:24 +03:30
RyanandClaude Sonnet 5.5 bf40b92c52 Add MQTT enrollment demo with Gitea deploy pipeline
Test and deploy enrollment demo / test (push) Successful in 7s
Test and deploy enrollment demo / deploy (push) Successful in 1m12s
Go backend plus C (libsodium) and C++ (OpenSSL) simulated boards enroll
through a Mosquitto 2.1 broker with Dynamic Security using X25519/HKDF/
Ed25519; a web view shows the run live. The Gitea workflow validates and
builds the images, redeploys the stack on the server with the viewer on
port 8099 and fails unless both boards pass all checks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 21:25:14 +03:30