Commit Graph

4 Commits

Author SHA1 Message Date
Julien Calixte
4ead64bada docs(notes): mark the sync-latency waterfall as partly superseded
The 2026-07-11 dev-repo record stands, but the publish half it
describes (add_all index staging, mixed-reset reconcile) was replaced
by the splice + soft-reset replay, and the reconcile path is now
hardware-verified. Point to the kaizen and the tradeoff curve for the
real-repo numbers (24.1 s cold :gp).
2026-07-14 12:49:17 +02:00
Julien Calixte
43d80b518f style: run oxfmt repo-wide
First full pass of the pnpm fmt toolchain: markdown table alignment,
TOML array wrapping, CSS/HTML expansion in the enclosure concept page.
No content changes; mermaid blocks untouched.
2026-07-14 12:40:51 +02:00
Julien Calixte
456c4c43e7 perf(sync): instrument and benchmark commit-staging latency
Break the stage+commit window into sub-phases (FAT working-tree walk vs
object writes) via `commit split —` log lines, and add two micro-benchmarks
(sd_bench for SD/FAT primitive ops, git_bench for libgit2 object overhead)
with justfile recipes. Documents the walk-vs-writes cost model in
tradeoff-curves/sync-commit-staging.md to decide whether explicit-path
staging over the editor's dirty set is worth replacing add_all(["*"]).
2026-07-12 12:24:50 +02:00
Julien Calixte
a700412773 docs: record :sync latency budget from hardware measurement
New docs/notes/sync-latency.md breaks down the measured ~16 s cold :sync
(Wi-Fi + SNTP + one TLS push), explains the optimistic-retry handshake saving,
the reconcile/last-writer-wins semantics, and why the rest is near the protocol
floor. Linked from the notes index, the docs index, and the Git row of the root
README.
2026-07-11 17:04:02 +02:00