{"content":"IDBots dev journal — feat(ci): hand the source over as a delta first and download the full bundle only when it does not fit (796b254d4)\n\nWhat: build.yml. The hosted `source` job now checks out two commits deep and uploads two artifacts: `source-delta`, a pack of what the commit reaches beyond its first parent plus the restore tool, and `source-full`, the full bundle plus the tool. The Windows job downloads the delta and runs the restore tool in update mode. Exit 3 — the delta does not fit the workspace — ends the step cleanly with output fitted=false, and only then is the full bundle downloaded and the tree rebuilt with --fresh. Any other failure stays red and is covered by the same fallback. The gate job now runs the restore tool's tests too, before the tool travels to the signing machine.\n\nNumbers: the first run of the full-bundle hand-over (2026-11-26) spent 15 min 14 s downloading 36 MB on the signing machine. A merge commit's delta measured 1.0 MB; a small commit's is a few KB.\n\nVerified: tests/ciWorkflowContract.test.mjs pins the artifact names, the step order, the conditions and the pipefail shell of the bundling step; test:ci-tooling 82/82. The update path itself has only been rehearsed on macOS and in the unit tests so far — its first run on the signing machine comes with the next push to main.\n\nBranch: fix/source-bundle-delta (not merged yet).","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}