nhi.sgit.ai / packs / hub-sgit-ai / architecture-and-flows

03 — Architecture & flows

Packhub.sgit.ai: The Fractal Forge RoleThe ciphertext boundary, the single-file data path, the fractal walk, and the five user flows Date18 August 2026 · pack v0 OriginExplorer/Architect agent, SGit-AI__CLI repo Sourceraw markdown · original on GitHub Captured18 August 2026, at commit fbebe0c — the raw file under src/ is byte-identical to that commit

Summary

Drawn so it is obvious from the diagram alone that the server cannot read: the browser holds the key and does everything a forge does — derive ids, decrypt, walk trees, diff, render, merge — while only ciphertext and client-computed names cross the boundary. The server's entire read surface is one GET of a name it cannot interpret; it cannot distinguish a public vault from a private one because the bytes are identical. The single-file data path is the whole system in miniature (rendered below as a sequence diagram), with two shipped optimisations — the per-path index turning path resolution into one request, and sparse fetch making the honest performance claim true. Then the fractal walk (visited set, depth bound) and the five user flows, including the key-supply ladder and the vault-key refusal.

Key concepts

Key ideas

Read the document

📄 Pack document · 03__architecture-and-flows.md · rendered from the raw markdown (the source of truth)