ZDDC/website
ZDDC d122804bdb feat: freshen-channel helper and channel-discipline protocol
Add ./freshen-channel <tool> <channel> at the repo root for the
"drag alpha/beta forward to current stable" workflow. The script
uses a temporary git worktree at the latest <tool>-v* tag so the
main worktree's HEAD is never touched — no checkout, no stash, no
race against in-progress dev. Build runs inside the worktree, the
resulting <tool>_<channel>.html is copied back into the main
repo's website/releases/, worktree is removed.

The on-page label of a freshened build is `<channel> · <today> ·
<stable-tag-sha>` — the SHA pins which stable was the source, so
anyone debugging can `git checkout <sha>` to reproduce.

Smoke-tested:
  ./freshen-channel archive alpha     → archive_alpha.html with
                                        "alpha · 2026-04-27 · ea385b5"
  ./freshen-channel transmittal beta  → transmittal_beta.html with
                                        "beta · 2026-04-27 · ea385b5"
  ./freshen-channel foobar alpha      → usage error
  ./freshen-channel archive stable    → usage error

AGENTS.md gains a "Channel discipline (MUST rules)" subsection
codifying the protocol the build system can't enforce:

  1. Stable doesn't regress — files are immutable; bump for fixes.
  2. No backports — bump and let users update pins.
  3. Alpha/beta are mutable — never pin in production.
  4. Stale-channel rule — after every stable release, freshen alpha
     and beta so neither is older than current stable. NOT optional.
  5. Hotfix path — direct stable cut allowed, no beta soak required;
     freshen alpha + beta after.
  6. Beta soak (recommended) — a few days exposure before promoting.

Plus a "Freshen helper" subsection documenting the script.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 13:43:42 -05:00
..
css Initial commit 2026-04-27 11:05:47 -05:00
img Initial commit 2026-04-27 11:05:47 -05:00
js Initial commit 2026-04-27 11:05:47 -05:00
releases feat: freshen-channel helper and channel-discipline protocol 2026-04-27 13:43:42 -05:00
index.html docs: add zddc-server.html — local vs online mode, what the server adds 2026-04-27 12:38:30 -05:00
install.zip Initial commit 2026-04-27 11:05:47 -05:00
reference.html docs: add zddc-server.html — local vs online mode, what the server adds 2026-04-27 12:38:30 -05:00
track-alpha.zip Initial commit 2026-04-27 11:05:47 -05:00
track-beta.zip Initial commit 2026-04-27 11:05:47 -05:00
track-latest.zip Initial commit 2026-04-27 11:05:47 -05:00
zddc-server.html docs: add zddc-server.html — local vs online mode, what the server adds 2026-04-27 12:38:30 -05:00