Skip to content

Keeping docs current

The public site at openpocketcine.app/docs is this Starlight handbook. It must stay current with the apps and the protocol. That is a same-PR rule, not a follow-up.

Layer Path Who it is for On Pages?
Public handbook handbook/src/content/docs/ Operators, new contributors, anyone on the website Yes — /docs/
Engineering contracts docs/*.md, AGENTS.md, ANDROID.md Agents and maintainers (parity, live-session, budgets, hygiene) No

Do not paste live-session runbooks, SoftAP passwords, or packet captures into the handbook. Wire facts that are safe to publish live under Protocol. Gotchas that only agents need stay in docs/live-session.md.

You changed Update in the same PR
DUML, BLE, opcode, pktType, HEVC/AVC payload Matching page under handbook/src/content/docs/protocol/
Operator-visible chrome, assists, connection UX docs/PARITY.md and the iOS or Android app page if the public description changed
Build, toolchain, how to run Setup and CONTRIBUTING.md if GitHub workflow changed
Git, tags, version trains docs/RELEASE.md (not Git Flow; no develop)
Architecture seams (core vs shell) Architecture if the public map changed; docs/ARCHITECTURE.md is the seam table
Live-path budgets (ACK Hz, HUD Hz) docs/PERFORMANCE.md (not duplicated here)
First-run / operator copy docs/UX.md; handbook only if the public FTUE description changed

A task is not done until those pages match the code. Preview with just handbook. Merge to main deploys Pages when handbook/ or site/ changed.

The handbook summarizes. The contract files own the numbers and exceptions. If a sentence would have to be edited in two places, keep it in the contract and link here.

Agents: AGENTS.md handbook pointer. Human GitHub workflow: CONTRIBUTING.md.