nhi.sgit.ai / packs / static-publishing / architecture

01 — Architecture

PackStatic Publishing, `sgit vault serve`, and the Publishing Matrix RoleThe transport seam, publish-as-projection, the published layout, the manifest contract Date17–19 August 2026 · pack v0 OriginArchitect-review agent, SGit-AI__CLI repo Sourceraw markdown · original on GitHub Captured19 August 2026, at commit 2cedd9a — the raw file under src/ is byte-identical to that commit

Summary

The whole feature hangs on one seam: every sgit action already accepts an injected api, so the static transport is a sibling class — read-only GET fan-out over any host or folder — with zero changes to any call site, proven by a running spike. Four methods carry the entire read path (including presigned_read_url, which is on the clone path for every blob over ~4 MB — a size-dependent bug waiting for anyone who skips it). Transport resolution is transparent but never silent: sniffed once, sticky, reported in vault info. Publish is a projection of the vault, not a copy, with a fixed plaintext surface recorded by hash in manifest.json.

Key concepts

Key ideas

Read the document

📄 Pack document · 01__architecture.md · rendered from the raw markdown (the source of truth)