From 811914e956c21be665275fd06dd978ad1487fa0f Mon Sep 17 00:00:00 2001 From: Tom Cobb Date: Tue, 30 Jun 2026 15:20:38 +0000 Subject: [PATCH 1/2] publish: inline gather/extract bash, simplify gather with priority-overwrite model MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces assemble/assemble.sh with inline bash steps in publish.yml's deploy job and restructures the gather phase around a "maximally gather, overwriting with higher priority" model (releases → branch CI → current build). Key changes: - Delete assemble/assemble.sh; all gh/unzip/mv IO lives as named steps in publish.yml - Seed release stored as $DEFAULT.zip (not skipped) so the overwrite chain supersedes it - Combine default-branch and PR gather into one step with a shared gather_run() helper that does the API lookup + download in one call, using the workflow filename (ci.yml) consistently via the /actions/workflows/ci.yml/runs endpoint - Download this run's docs artifact and Stage current build are now adjacent, share the same if: guard, and the current build wins by being placed last in the gather dir - Remove guard-default-branch input: missing DEFAULT now always hard-fails (at the new Ensure default-branch zip step) rather than being suppressible - assemble.mjs and docs updated to reflect the new gather model Co-Authored-By: Claude Sonnet 4.6 --- .github/CONTRIBUTING.md | 14 -- .github/workflows/publish.yml | 168 ++++++++++++++++++------ CLAUDE.md | 68 +++++----- assemble/assemble.mjs | 23 ++-- assemble/assemble.sh | 210 ------------------------------ docs/explanations/architecture.md | 55 ++++---- docs/reference/workflows.md | 43 +++--- 7 files changed, 220 insertions(+), 361 deletions(-) delete mode 100755 assemble/assemble.sh diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a2f17bd..f289b3b 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -18,20 +18,6 @@ so edits are reflected on rebuild. **Browser caveat:** `