Repository navigation
chore: release 1.7.0 - #1385
Merged
Merged
chore: release 1.7.0#1385
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
## Summary A `workflow_dispatch` of the scaffolded `devkit-upgrade.yml` against an already-current consumer stranded the adoption issue it had just opened: the issue is necessarily created **before** `install.sh --force` runs (the branch name embeds its number, the in-shell commit needs the `Refs:` line), so a zero-diff run correctly skipped publish + PR and exited green — with an open issue no PR would ever close. Live occurrence: `exo-pet/exo-fleet#270`, run 30986580730. ## Change - `Find or create the adoption issue` now exposes a `created` step output (`true` on the create branch, `false` on the reuse branch). - A new final step, gated on `proceed == 'true' && changed != 'true'`: - **created this run** → `gh issue close` with a "no diff at `<version>`" comment and `--reason "not planned"`; - **reused** (mid-train `rc1 → rc2 → final`, where an interim bump can legitimately be a no-op) → comment only, issue left open. The `created` output is routed through `env:` like every other value the workflow's `run:` blocks consume (zizmor template-injection rule). ## Testing - New `test_no_diff_dispatch_cleans_up_the_issue_it_created` in `tests/test_workflow_devkit_upgrade.py` (RED → GREEN, committed separately). - `uv run pytest tests/test_workflow_devkit_upgrade.py tests/test_scaffold_drift.py tests/test_scaffold_lint.py` — 68 passed. - `just precommit` (full suite, all files) green locally, incl. actionlint and yamllint on the changed template. Closes #1347
) ## Summary `install.sh --force` regenerates what the **current** scaffold manages and prunes what the current mode / workflow model / feature set excludes. A path an **old** devkit shipped and a later devkit **retired** is claimed by neither, so it rode along through every upgrade. Observed going 0.3.4 → 1.6.0 (`exo-pet/playground-carlos#9`): `.cursor/`, `.github/actions/resolve-image/`, `.github/workflows/renovate-changelog.yml` and `.hadolint.yaml` all survived. `renovate-changelog.yml` is the sharp one — left in place it is a **live** workflow that duplicates the `renovate-changelog-build`/`-commit` pair that replaced it *and* calls the pruned `resolve-image` action, so it fails at its next trigger rather than at upgrade time. ## Change `assets/init-workspace.sh`: - `PREVIOUS_PIN` — the pin `.vig-os` carried *before* this run rewrites it, read alongside the other manifest values, far ahead of the #852 rewrite. Legacy `DEVCONTAINER_VERSION` included: repos still on that key are the oldest ones, i.e. exactly the population carrying the leftovers. - `retired_paths()` — the cumulative manifest, one `<version> <path>` line per path, `<version>` being the first release that stopped shipping it: | Path | Retired in | Superseded by | |------|-----------|---------------| | `.github/workflows/renovate-changelog.yml` | 0.3.5 | the build/commit pair | | `.cursor/` | 0.4.0 | `.claude/` | | `.hadolint.yaml` | 0.4.0 | — (Debian build path decommissioned) | | `.github/actions/resolve-image/` | 1.1.0 | `resolve-toolchain` | - `version_lt()` — prerelease-aware in the direction that matters (`X.Y.Z-rcN` sorts below `X.Y.Z`, so an rc of the retiring release is still pruned). - `retired_prune_paths()` — the single resolver consulted by **both** the `--preview` `DELETIONS` report and the post-copy prune, so the report can never disagree with what the run does. Four gates: a present, semver-shaped pin; the pin predates the retirement; the current template does not ship the path; the path is not in `PRESERVE_FILES`. `.devcontainer/justfile.base` (also retired in 0.4.0) deliberately keeps its dedicated block: its prune is mode-guarded (#738 never touches a direnv/bare consumer's own `.devcontainer/`), which a version-only manifest cannot express. ### The version gate is the safety property `.cursor/` and `.hadolint.yaml` are generic names. A repo pinned at or past the retiring version was never shipped them by devkit, so an identically named path there is the consumer's own — deleting it would be data loss. The deliberate trade is under-pruning a repo that already upgraded past a retirement before this fix; those are cleaned once by hand, and `docs/MIGRATION.md` says so. ## Testing - New `tests/test_scaffold_retired_paths.py` (RED → GREEN, committed separately) — 6 tests over the real `init-workspace.sh`: manifest contents, prune from an old pin, legacy `DEVCONTAINER_VERSION` pin, **no** prune past the retirement, **no** prune without a pin, and `--preview` reporting without mutating. `tests/workflow_scaffold.py` gained a `preview` passthrough. - `uv run pytest` (excluding the image/integration suites, which need the container) — **987 passed, 1 skipped**. - `just test-bats` — 9 pre-existing `IN_CONTAINER` githooks failures, verified identical on a clean `origin/dev` worktree; unrelated to this change. - `just precommit` (full suite, all files) green locally. Closes #1348
…#1354) ## Summary On `--force` upgrades the installer prints a diff between each preserved consumer file and the incoming template so template evolution can be folded in deliberately. In the shipped image the devkit assets are `/nix/store` **symlinks**, so `git diff --no-index` compared the link itself against the consumer's regular file and rendered a useless typechange ("symlink deleted / file added", with the store path as its only content line). Observed live on the vig-os/scitadel 0.3.3 → 1.6.0 migration. `print_preserved_template_diff` now dereferences the template side before comparing: the resolved content is materialized under the file's own name in a temp dir, so the diff header keeps identifying the file rather than an opaque store path. A template symlink whose target does not resolve is still treated as a missing template (`[[ -f ]]` follows the link), so the function returns 1 with no output, as before. Constraints from #916 (`git diff --no-index`, no `diff(1)`/`cmp(1)` in the image) and #1197 (`GIT_DIR=/dev/null`) are preserved. ## Test plan - New bats test `preserved diff dereferences a symlinked template file (#1349)`: image-shaped template tree with the preserved file as a symlink to out-of-tree content; asserts the printed diff shows the template content and refutes the typechange rendering (RED before the fix, reproducing the exact live failure shape). - Full `tests/bats/init-workspace.bats`: 280/280 green, including the #878/#913/#916/#1197 preserved-diff relatives. - `prek run --all-files` green. Refs: #1349
) ## Summary The direnv-mode `setup-devkit-toolchain` step extracts the consumer dev-shell `$PATH`, filters the `/nix/store` bin dirs, and wrote them to `GITHUB_PATH` highest-priority-first. The Actions runner *prepends* every `GITHUB_PATH` line in file order (the prepend list is joined reversed when composing the next step's PATH), so following steps ran with the dev-shell PATH exactly reversed. Invisible while one tool means one store path — which is why every Python/TS consumer stayed green — but fatal for a stdenv toolchain: raw `gcc` shadowed `gcc-wrapper` (likewise `binutils`) and C builds failed with the unwrapped-compiler signature `ld.bfd: cannot find Scrt1.o` / `cannot find -lc`, while the same build was green locally under `nix develop`. First live hit: vig-os/h5v#2 (vendored HDF5 cmake build, run 31160809242). The store bin dirs are now piped through `tac` before the write, so the runner's per-line prepend rebuilds the dev-shell order verbatim. Bare-mode's single-line `uv tool dir --bin` write is unaffected; the env-forward denylist is untouched (that's #1353). ## Test plan - New test `test_devshell_path_priority_survives_github_path`: the fake dev-shell PATH now carries a `gcc-wrapper-13/bin` → `gcc-13/bin` pair; a `_runner_path` helper replays the runner's per-line prepend and the test asserts the wrapper precedes the raw compiler AND the full store-bin subsequence equals the dev-shell order — semantics-pinned, no coupling to `tac`. RED on the old code with the whole order inverted, exactly the issue shape. - Full `tests/test_setup_toolchain_env.py`: 25/25 green (verified independently by reviewer). - `tests/bats/init-workspace.bats` (renders + actionlints the scaffold): 280/280 green. - `prek run --all-files` green. Refs: #1351
## Summary Two correct mechanisms in the direnv-mode `setup-devkit-toolchain` cancelled out. The step drops the bare Nix CPython from the exported PATH and forwards `UV_PYTHON_DOWNLOADS_JSON_URL` so `uv sync` builds the runner venv from a downloaded manylinux CPython (#698/#703/#729) — but the shellHook env forward (#1180) diffs the dev-shell env against the ambient env and shipped every added var, including `mkProjectShell`'s `UV_PYTHON` store-path pin. `UV_PYTHON` beats PATH resolution, so the CI venv was built on the Nix interpreter anyway and any C-extension wheel failed under the Nix loader on Ubuntu (`ImportError: libstdc++.so.6`). First live hit: exo-pet/playground-carlos#9 (numpy 2.4.4, run 31163316165); existing direnv Python consumers were green only because their test deps are pure-Python. `UV_PYTHON` and `UV_PYTHON_DOWNLOADS` are now denied by name in the forward's denylist. The second is required for the first: forwarded on its own, `UV_PYTHON_DOWNLOADS=never` (also set by `mkProjectShell`) would forbid the very managed-CPython download the JSON-URL forward exists to enable, turning the wheel ImportError into "no interpreter found". Patterns are exact matches, so the deliberate `UV_PYTHON_DOWNLOADS_JSON_URL` forward is untouched — and now pinned by a test. ## Denylist audit (per the issue) Everything else `mkProjectShell` sets was reviewed: `BATS_LIB_PATH` kept (the store is realized on the runner in direnv mode), `NVIM_APPNAME` kept (portable), `LD_LIBRARY_PATH` kept (exported only behind the shellHook's own `/etc/NIXOS` guard, never reaches a hosted runner). `UV_PROJECT_ENVIRONMENT` / `UV_PYTHON_PREFERENCE` / `LOCALE_ARCHIVE` are image-path-only, not dev-shell exports. Pre-existing leaks outside this issue's scope (`PYTHONPATH` store components, `IN_NIX_SHELL`, missed stdenv machinery like `doCheck`/`CC`/`LD`) → follow-up issue. ## Test plan - `_DEVSHELL_ENV` now carries all three uv vars; `UV_PYTHON` + `UV_PYTHON_DOWNLOADS` added to the parametrized denylist test (RED before the fix: `3 failed, 25 passed`, with `UV_PYTHON` visibly landing in GITHUB_ENV). - New `test_uv_interpreter_pins_do_not_defeat_the_manylinux_path`: both pins absent AND `UV_PYTHON_DOWNLOADS_JSON_URL` still forwarded — the survival assertion did not exist before. - Harness fix: the test subprocess env is scrubbed of ambient uv vars (pytest itself runs under `nix develop`, which made one parametrize case pass spuriously via the unchanged-var filter). - Full `tests/test_setup_toolchain_env.py`: 28/28 green (verified independently by reviewer); `test_renovate_preset_managed_exclusion.py` 31/31; `prek run --all-files` green. Refs: #1353
) ## Summary In a consumer with a tag prefix, the release pipeline wrote one changelog heading and read back another: `release-core.yml` finalizes with `prepare-changelog finalize … --tag-prefix "$TAG_PREFIX"`, composing the prefix into the heading (`## [v1.0.0](…/releases/tag/v1.0.0) - …`), while `release-publish.yml` extracted the notes by matching `## [$VERSION]` on the bare semver — which can never land on a prefixed heading. It failed soft: the empty extraction hit the fallback and the release published with the literal body `No changelog notes found for X.Y.Z` (tag and release object both correct, nothing red). Observed releasing vig-os/org-config v1.0.0; unprefixed repos were never affected. The extraction step now takes the already-threaded `tag_prefix` input (#1044) and accepts the composed tag `## [${TAG_PREFIX}${VERSION}]` **alongside** the bare form. Both are needed — the issue's prefix-only suggestion would have moved the bug rather than fixed it: a candidate publishes *before* the finalize step (gated on `release_kind == 'final'`), so its heading is still the unprefixed `## [X.Y.Z] - TBD` that `prepare` wrote. With an empty prefix the two forms are the same string, so unprefixed repos see a byte-identical match. Other readers audited (grep over scaffold + devkit's own workflows for version-heading matches): `prepare-release.yml`'s PR-body sed runs pre-finalize (always bare, correct as-is); devkit's bespoke `release.yml` extractions have no tag-prefix surface at all. Nothing else changed. ## Test plan - New `test_release_notes_extraction_reads_the_heading_on_disk` in `tests/test_release_tag_prefix.py`, parametrized `tag_prefix ∈ {"", "v"}` × writer state `{final, candidate}`: executes the real `run:` block from the workflow YAML under bash against a synthetic CHANGELOG and asserts the notes are the bounded section body, not the fallback. RED before the fix on exactly the `[final-v]` case (fallback body published); the candidate cases are regression guards against the prefix-only fix. - Full release-workflow pytest set (`test_release_tag_prefix`, tombstone, scaffold lint/drift, dist-gitignore, sync-dispatch, release-extension): 72/72 green. - `tests/bats/init-workspace.bats` (renders + actionlints the scaffold): 280/280 green. - `prek run --all-files` green (verified independently by reviewer). Refs: #1355
…ard (#1361) ## Summary Follow-up to the #1353 denylist audit: the shellHook env forward (#1180) still shipped Nix-host state to `GITHUB_ENV`. Three leaks closed: - **`PYTHONPATH` store components are stripped, not blanket-denied.** The nixpkgs python setup hook fills `PYTHONPATH` with store site-packages dirs; forwarded to CI they land on the sys.path of the *downloaded* manylinux CPython — same ABI tag, importable, exactly the mixed-loader shape behind #1353's `ImportError: libstdc++.so.6`. The forward loop now splits the value on `:`, drops `/nix/store/*` components, forwards the remainder, and skips the var when nothing is left — so the legitimate `export PYTHONPATH=$PWD/src` shellHook use case survives verbatim. PYTHONPATH only, by design; the pattern is noted as reusable. - **stdenv machinery the denylist missed**: `_PYTHON_HOST_PLATFORM`, `_PYTHON_SYSCONFIGDATA_NAME`, `DETERMINISTIC_BUILD`, `CONFIG_SHELL`, `do[A-Z]*` (the symmetric partner of the existing `dont*`), and the cc/binutils hook names `AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS STRIP`. stdenv sets those in every dev shell as bare names (`CC=gcc`); inside dev-shell context the wrapped toolchain already wins via PATH (#1351), while for steps running outside it a forwarded `CC` recreates the mixed-toolchain hazard. Two known collisions, both assessed and accepted: the pre-#1351 h5v CC/CXX shellHook workaround (superseded — #1351 removed the need) and the `native` capability module's `CC=cc`/`CXX=c++` exports (those generic names exist precisely so build backends fall back to PATH discovery, which `GITHUB_PATH` already provides on CI). - **`IN_NIX_SHELL`** — no CI step should claim to run inside a nix shell. The `.githooks` guard that reads it is local-only (no scaffold workflow commits through it). The NixOS-self-hosted PATH-filter gap found in the same audit is split out as #1360 and untouched here, as are the `UV_PYTHON*` entries (#1353) and the `GITHUB_PATH` write (#1351). ## Test plan - 8 new parametrized denylist cases + 3 PYTHONPATH value tests (store-only → dropped; mixed → forwarded as exactly the consumer components; consumer-only → verbatim, the #1180 regression guard). RED before the fix: `10 failed, 29 passed`, each var visibly landing in GITHUB_ENV. - Test-harness hardening that the RED run itself justified: pytest runs inside `nix develop`, where stdenv exports `CC`, `CONFIG_SHELL`, `PYTHONPATH`, `IN_NIX_SHELL`, … ambiently — the step's unchanged-var filter would have masked the denylist under test. The subprocess env scrub is now derived from the fixture list instead of a hand-kept 3-var set. - Full `tests/test_setup_toolchain_env.py` + `test_renovate_preset_managed_exclusion.py`: 42/42 green (verified independently by reviewer); rendered-workflow actionlint bats 5/5; `prek run --all-files` green. ## Follow-up candidate `docs/MIGRATION.md` enumerates the denylist in prose and is now stale for both #1353 and #1358 — left untouched per minimal-diff scope; happy to file a docs issue. Refs: #1358
## Summary The direnv-mode `setup-devkit-toolchain` PATH filter (#1028) drops the bare Nix CPython whenever `pyproject.toml` is present — unconditionally. On hosted FHS runners that is correct (`uv` builds the venv from a downloaded manylinux CPython). On a **NixOS self-hosted runner** it is wrong by construction: a manylinux CPython cannot execute there, and after #1353 the `UV_PYTHON`/`UV_PYTHON_DOWNLOADS` pins that used to accidentally mask this no longer reach CI. No current consumer hits the combination — this defuses the landmine before the first Python consumer targets a NixOS runner. The step now probes the runner host once (`/etc/NIXOS`, the probe mkProjectShell's own shellHook already uses; `DEVKIT_NIXOS_MARKER` overrides it solely for the test harness) and branches: - **NixOS runner**: the CPython exclusion is skipped (the store interpreter is the only one that can run) AND the `UV_PYTHON`/`UV_PYTHON_DOWNLOADS` forwards are allowed (the mkProjectShell pins are exactly correct there). Both halves are needed — keeping the interpreter on PATH alone is not enough, since uv's python-preference can still pick a managed download. - **FHS runner**: byte-identical to today, pinned by a new regression-bar test (the #1028 exclusion previously had no test at all). ## Test plan - Stub dev-shell PATH now carries a `python3-3.14.6/bin` store dir; harness gained `pyproject`/`nixos` knobs. - New tests: FHS drops exactly the CPython dir and nothing else (green throughout — the regression bar); NixOS keeps it (RED→GREEN); NixOS forwards both uv pins (RED→GREEN). RED run: exactly the two NixOS tests failed. - **Hermeticity**: the harness always pins `DEVKIT_NIXOS_MARKER` to a per-test path whose existence is the switch. This machine IS NixOS, and the pin was proven load-bearing: removing it flips 4 FHS-branch tests red (including the pre-existing #1353 denial tests, which would otherwise silently test the wrong branch on any NixOS host). - Full `tests/test_setup_toolchain_env.py` + renovate-preset file: 45/45 green (verified independently by reviewer); rendered-workflow actionlint bats 5/5; `prek run --all-files` green. Refs: #1360
The nine cases asserting the workspace githook guard blocks outside a devcontainer sanitized only IN_CONTAINER; from a nix develop shell, IN_NIX_SHELL=impure legitimately satisfies the guard and the cases fail. Also unset IN_NIX_SHELL, mirroring the IN_CONTAINER handling, so the suite is deterministic regardless of the invoking shell. Test-only change: the guard behaves correctly, so there is no implementation commit to split out. Refs: #1381
…en (#1379) ## Summary The `floating-tags` job in the scaffolded `promote-release.yml` created brand-new floating levels via `POST /git/refs` — the one ref-mutation path where GitHub does **not** honor the Release App's Integration ruleset bypass for the `creation` rule. The first release of every new `<prefix>X` / `<prefix>X.Y` level therefore died with the opaque `Reference does not exist` (HTTP 422) and no rule-suite entry at all, despite the App holding an `always` bypass on the whole Tag ruleset (hit live on `commit-action` 0.3.1 and `sync-issues-action` 0.5.0). `move_tag()` now mutates floating tags via `git push --force "${TARGET_SHA}:refs/tags/${name}"` — the exact path `release-publish.yml` already uses to create the release tags, empirically proven to be bypassed — with the App installation token plumbed **explicitly** into the push URL (`https://x-access-token:${GH_TOKEN}@github.com/...`). Checkout's persisted credentials are deliberately not relied on: those are the default `github.token`, which has no bypass. Create and move collapse into one branch-free path. ## Preserved from #1157/#1158 - **Idempotence**: the `gh api` GET + skip-when-already-at-target guard stays, so re-runs are safe. - **Loud failure**: the `::error` annotation + `docs/MIGRATION.md` `#first-release-floating-tags` fallback stays for pushes that fail for other reasons; its wording is updated now that the "grant a creation bypass" remediation is moot (the bypass already exists — the REST create path simply ignores it) and points at verifying the ruleset bypass list and the `RELEASE_APP_CLIENT_ID` / `RELEASE_APP_PRIVATE_KEY` secrets instead. - **The trap is documented in-script**: a comment explains why push is used instead of `POST /git/refs`, so the REST path is not reintroduced. ## Changes - `assets/workspace/.github/workflows/promote-release.yml` — push-based `move_tag()`, explicit-token remote URL, and a `git fetch` of the release tag so the peeled commit object is available locally to push (the checkout is a shallow clone of the workflow head, which need not contain it). - `tests/test_floating_tags.py` — new shape tests pin the push path, the explicit token, the absence of REST ref mutation, the surviving idempotence guard, and the updated annotation (TDD: committed failing first). - `docs/MIGRATION.md` — the #1157 steady-state note now describes the REST bypass asymmetry, scopes the one-off remediation to pre-fix devkit versions, and recommends upgrading. - `CHANGELOG.md` (+ synced workspace mirror) — Fixed entry under Unreleased. ## Verification - `uv run pytest tests/test_floating_tags.py` — 9 passed (3 new tests failed RED before the fix). - `uv run pytest tests` (minus image/integration, which need a built image) — 483 passed; the single failure (`test_flake_hooks` pymarkdown `CONTRIBUTE.md`/`CONTRIBUTING.md` exclude drift) pre-exists on `dev` from the #1372 rename and is untouched by this PR (separate issue to follow). - `just precommit` (full `prek run --all-files`) — all green. - `just test-bats` — full suite green, including the rendered-workflow actionlint checks over `promote-release.yml` (#995). - Live proof lands with the next first-of-a-new-level consumer release, per the issue's acceptance criteria. Out of scope, per the issue: reporting the `POST /git/refs` bypass asymmetry upstream, the optional org-config `exempt`-mode hardening, and shrinking the MIGRATION.md runbook to a historical note. Closes #1377
…#1382) ## Description Every repo devkit scaffolds published its `X.Y.Z` release tag through `assets/workspace/.github/workflows/release-publish.yml`, which ran `git config user.*` + `git tag -a` + `git push` under a GitHub App identity — an **annotated tag object** whose tagger reports `verification.reason: "unsigned"` permanently. The reasoning from #1370 transfers unchanged: an App has no registrable GPG/SSH key, and `POST /git/tags` is not signed server-side either, so the only fix is to not create a tag object at all. The scaffold was also internally inconsistent: `promote-release.yml` already creates the *floating* tags (`vX`, `vX.Y`) as lightweight refs (#1045/#1157), leaving only the version tag — the one users pin and audit — unsigned. ## Type of Change - [x] `fix` -- Bug fix ## Changes Made - `assets/workspace/.github/workflows/release-publish.yml` - "Configure git" + "Create and push tag" are replaced by a single **Create release tag** step mirroring devkit's own `release.yml` from PR #1374: `gh api -X POST repos/{owner}/{repo}/git/refs` writes `refs/tags/<prefix><version>` straight at `inputs.finalize_sha`, using the same resolved auth token (`secrets.token` or the Release App token). - Behaviours carried over, per the issue's acceptance criteria: - the `tag_already_exists` skip (`if: ${{ !inputs.tag_already_exists }}`) is unchanged; - the create-race verification accepts a lost race **only** when the existing ref already resolves to the release commit (peeled `^{}` first, plain ref fallback, so pre-change annotated tags still resolve); - `TAG_PREFIX` composition (#1044): the created ref is `refs/tags/${TAG_PREFIX}${PUBLISH_VERSION}`; - **GH013 tombstone diagnosis** (#1319): the signature match is re-derived against the `POST /git/refs` error surface — the repository-rules 422 body says `Cannot create ref due to creations being restricted.` while the git-protocol shape stays `GH013 ... creations restricted`, so the grep is now `GH013|creations?( being)? restricted`. The shape test exercises the extracted pattern against both shapes and asserts the benign lost-race shape (`Reference already exists`) does NOT match. - The dead `git_user_name` / `git_user_email` `workflow_call` inputs are removed. - `assets/workspace/.github/workflows/release.yml` — the two identity pass-throughs in the `publish` call are removed. The `git-user-name` / `git-user-email` **`workflow_dispatch` inputs stay**, as the issue requires: the rollback job still checks out the release branch and writes with that identity (the asymmetry with #1374). - `assets/workspace/.github/workflows/promote-release.yml` — the "creates an ANNOTATED tag" comment is corrected; the `object.type == "tag"` peel itself stays as backward compatibility for tags published by older scaffolds. - `docs/MIGRATION.md` — same treatment for the first-release floating-tags runbook (~L1028): claim corrected, peel snippet kept (it handles both shapes). - `tests/test_workflow_release_publish_lightweight_tag.py` — new workflow-shape test mirroring `tests/test_workflow_release_lightweight_tag.py` for the scaffold (committed RED first). - `tests/test_release_tombstone_detection.py` — tag-side tests re-pointed at the **Create release tag** step and upgraded to execute the extracted grep pattern against the observed error shapes instead of asserting substrings. ## Out of scope - The optional `persist-credentials` cleanup from the issue is deliberately **not** bundled: after this change the publish job still runs `git ls-remote origin` for the create-race verification, which needs the persisted checkout credential on private consumer repos — the credential is not dead. Same situation in devkit's own `release.yml` post-#1374. If it is to be dropped, the verification must move to `gh api` first; that is its own change. - Existing annotated consumer tags are left as they are (forward-fix policy; immutable releases lock them anyway). The change reaches consumers on their next `devkit-upgrade` / re-scaffold; until then `scaffold-drift` flags them. ## Changelog Entry Added under `## Unreleased` → `### Security`, directly after the sibling #1370 entry (mirrored into `assets/workspace/.devcontainer/CHANGELOG.md` by `sync-manifest`). ## Testing - `uv run pytest tests/test_workflow_release_publish_lightweight_tag.py tests/test_release_tombstone_detection.py` — RED before the workflow change (10 failed / 3 passed), GREEN after (13 passed). - Full lightweight suite (CI `test-project` scope + `packages/vig-utils/tests`): **950 passed**. - Full bats suite: 575 ok; the 9 `githooks.bats` IN_CONTAINER-guard failures are environmental (the runner shell exports `IN_NIX_SHELL`, which the guard sanctions) — all 12 pass with `env -u IN_NIX_SHELL bats tests/bats/githooks.bats`. The rendered-template actionlint tests passed. - `just precommit` (`prek run --all-files`) — fully green. - The live path is only provable on a real release: acceptance is `gh api repos/vig-os/devkit-smoke-test/git/refs/tags/<tag> --jq '.object.type'` reporting `commit`, not `tag`, on the next smoke-test release. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective - [x] New and existing unit tests pass locally with my changes Closes #1378
…rror PR #1376 renamed CONTRIBUTE.md to CONTRIBUTING.md and updated the root .pre-commit-config.yaml, but missed the flake-side mirror in nix/hooks.nix (runner yaml, check, and consumer profiles) and the scaffold template assets/workspace/.pre-commit-config.yaml. The drift gate test_runner_render_matches_committed_config failed on dev; both mirrors now exclude the renamed guide again. Refs: #1380
## Summary The nine `githooks.bats` cases asserting the workspace githook guard *blocks* outside a devcontainer sanitized only `IN_CONTAINER` (`env -u IN_CONTAINER` / `IN_CONTAINER=\"\"` / `IN_CONTAINER=\"false\"`). The guard also legitimately passes when `IN_NIX_SHELL` is set, so running the suite from a `nix develop` shell (`IN_NIX_SHELL=impure`) failed 9/12 cases even though the code under test is correct. This extends the env sanitization in those nine cases to also unset `IN_NIX_SHELL`, mirroring the existing `IN_CONTAINER` handling, making the suite deterministic regardless of the invoking shell. Test-only change in a single `test(...)` commit: the guard implementation is correct, so the usual failing-test/implementation commit split does not apply — there is nothing to implement, only the test harness to fix. No changelog entry: no user-visible impact (CI never exports `IN_NIX_SHELL`; this is a local-DX fix). ## Testing - Before (on `origin/dev`): `IN_NIX_SHELL=impure bats tests/bats/githooks.bats` → **9/12 failed** (all nine "blocks" cases: `command succeeded, but it was expected to fail`). - After: `IN_NIX_SHELL=impure bats tests/bats/githooks.bats` → **12/12 ok**; `env -u IN_NIX_SHELL bats tests/bats/githooks.bats` → **12/12 ok**. - `just precommit` (full suite, all files) green. Closes #1381
…rror (#1383) ## Summary PR #1376 (#1372) renamed `CONTRIBUTE.md` to `CONTRIBUTING.md` and updated the pymarkdown exclude in the root `.pre-commit-config.yaml`, but missed the flake-side mirror. This PR completes the rename: - `nix/hooks.nix`: the three pymarkdown exclude patterns (runner `yaml`, `check`, and `consumer` profiles) and the line-436 comment now say `CONTRIBUTING`. - `assets/workspace/.pre-commit-config.yaml`: the scaffold template's pymarkdown exclude — same rename fallout, and required for the scaffold half of the drift gate (`test_scaffold_render_matches_scaffold_config`) to stay green once the shared render in `nix/hooks.nix` is fixed. - `CHANGELOG.md` `## Unreleased` → Fixed entry (plus its managed `assets/workspace/.devcontainer/CHANGELOG.md` mirror, updated by the `sync-manifest` hook). ## Testing No new test: the existing drift gate `tests/test_flake_hooks.py::TestPortableRenderFidelity::test_runner_render_matches_committed_config` already fails on `origin/dev` and pins this fix (TDD RED pre-satisfied). - Before: `uv run pytest tests/test_flake_hooks.py -k test_runner_render_matches_committed_config` → **FAILED** with `pymarkdown.exclude: rendered='^(README\\.md|CONTRIBUTE\\.md|TESTING\\.md)' committed='^(README\\.md|CONTRIBUTING\\.md|TESTING\\.md)'`. - After: `uv run pytest tests/test_flake_hooks.py` → **36 passed**. - `just precommit` (full suite, all files) green. Closes #1380
Move Unreleased content to [1.7.0] - TBD and create fresh empty Unreleased section for continued development.
Regenerate the synced workspace mirror so assets/workspace/.devcontainer/CHANGELOG.md matches the frozen root CHANGELOG.md on the release branch.
The 1.7.0-rc1 Vulnix CVE Gate blocked on CVE-2026-66032 (CVSS 8.8, double-free in libssh2 sftp_open()), the fourth member of the malicious-server batch whose siblings are already excepted in the 2026-09-02 block. Same closure provenance (curl scp/sftp backend only) and reachability (authenticated SFTP session to a hostile server). The patched derivation has not reached nixos-26.05: NixOS/nixpkgs#547491 merged to master 2026-08-07 but the staging-26.05 backport is still open. The whole block drops on the next effective rev-advance. Refs: #1386
## Summary The 1.7.0-rc1 candidate run ([31200317431](https://github.com/vig-os/devkit/actions/runs/31200317431)) was blocked by the Vulnix CVE Gate on **CVE-2026-66032** (CVSS 8.8, double-free in libssh2 `sftp_open()`) — the fourth member of the libssh2 malicious-server batch whose siblings (CVE-2026-66033/66034/66035) are already excepted in the 2026-09-02 block (#1327). It was absent from the findings at the 2026-08-04 triage (published on NVD 2026-07-24, scored/ingested later). - `.vulnixignore`: add CVE-2026-66032 to the existing 2026-09-02 block with a dated triage note. Same closure provenance (libssh2 enters only as curl's scp/sftp backend) and reachability (authenticated SFTP session to a malicious server) as the siblings. - nixpkgs status re-checked online 2026-08-07: NixOS/nixpkgs#547491 (debian patches for CVE-2026-6603[2345]) merged to **master** 12:41Z, but the 26.05 backport NixOS/nixpkgs#550166 targets staging-26.05 and is still open — the patched derivation has not reached the pinned `nixos-26.05` channel, so exception is the only lever today. The whole block drops on the next effective rev-advance. - `CHANGELOG.md`: Security entry in the frozen `## [1.7.0]` section (+ managed mirror via sync-manifest). ## Testing Config/register change — no code path to test (`check-expirations` validates the register in pre-commit + CI). Full `just precommit` suite green locally. Proof of fix is the re-dispatched candidate's Vulnix CVE Gate. Refs: #1386
This was referenced Aug 7, 2026
The dispatch listener approved its own release PR with the workflow token, which vig-os/org-config#122 now forbids org-wide — the 1.7.0-rc3 smoke chain died at that step. Replace the approve step with a kind-aware gate: candidate dispatches leave the PR unapproved (deferred-approval model, #902), while the final dispatch polls up to 30 minutes for a human approval of the freshly created release PR and fails with re-run guidance on timeout. Cleanup-recreate semantics are unchanged: every dispatch still starts the release branch and PR from scratch. Refs: #1391
## Summary Fixes the smoke-test dispatch orchestration break found at 1.7.0-rc3 (#1391): the listener approved its own release PR with `github.token`, which vig-os/org-config#122 (2026-08-07) now forbids org-wide (`can_approve_pull_request_reviews: false`, not overridable per-repo). Design per maintainer decision: - **Cleanup-recreate semantics unchanged**: every dispatch (each RC and the final) still closes the same-version release PR, deletes the release branch, and re-runs prepare-release from scratch. - **Candidate dispatches** leave the fresh release PR unapproved — approval gates the final release only (deferred-approval model, #902), so the candidate chain runs green end-to-end with no human step. - **Final dispatch** pauses at a new `Gate final release on human approval of release PR` step: polls `reviewDecision` up to 30 min (20 s interval, inside the job's 35-min timeout) for a human to approve the freshly created PR, then proceeds to the final release workflow; on timeout it fails with re-run guidance (approve, then re-run failed jobs). - The gate reads the PR with the Release App token (same as the job's other steps), not the workflow token. The secondary #1391 bug (failure-notify App-token mint 404) is **not** addressed here — it stays open in #1391. ## Testing TDD: new bats pin `smoke-test dispatch gates the final release on human PR approval instead of self-approving` committed RED first (asserts the gate step exists, `gh pr review` is gone, `reviewDecision` is polled), GREEN after the change. All 18 `smoke-test dispatch` bats pins pass; `actionlint` clean on the edited asset; full `just precommit` green. Live proof plan: mirror to smoke-test dev, then dispatch rc4 — the candidate chain (deploy → cleanup-recreate → prepare → no-approval → candidate release → checks) must go green autonomously; the final-kind poll path is exercised at the real final dispatch. Refs: #1391
c-vigo
marked this pull request as ready for review
August 7, 2026 21:27
Set release date to 2026-08-07 and regenerate release docs. Refs: #1385
c-vigo
self-requested a review
August 8, 2026 08:46
c-vigo
approved these changes
Aug 8, 2026
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.7.0 - 2026-08-07
This PR prepares release 1.7.0 for merge to main.
1.7.0 - 2026-08-07
Added
CODE_OF_CONDUCT.md(#1372)through the same GitHub Private Vulnerability Reporting
channel
SECURITY.mdalready designates, so there is one private route tothe maintainers rather than two.
Changed
DEVKIT_UPGRADE_APP_CLIENT_IDsecret (org or repo) holding the upgrade App's Client ID (
Iv23li…).Create the secret first, then upgrade — config-first, always. For this
release the legacy numeric
DEVKIT_UPGRADE_APP_IDstill works as afallback (with a deprecation warning), so an upgrade that races the secret
is not bricked; the fallback is removed in a future release
(#1366).
sync-issues.ymlnow passesCOMMIT_APP_CLIENT_IDthrough theclient-idinput added in
vig-os/sync-issues-actionv0.5.0 — the numericCOMMIT_APP_IDsecret is no longer read anywhere and can be retired onceevery consumer is on this release.
devkit-upgrade.ymlprefersDEVKIT_UPGRADE_APP_CLIENT_IDin itspreflight gate and
create-github-app-tokenmint.the App ID or the Client ID as the App JWT issuer.
CONTRIBUTE.mdrenamed toCONTRIBUTING.md(#1372)CONTRIBUTING.md, so the guidewas invisible to it and no "Contributing guidelines" link appeared on new
issues and pull requests.
docs/templates/CONTRIBUTE.md.j2->docs/templates/CONTRIBUTING.md.j2,docs/generate.py, the pymarkdown exclude in.pre-commit-config.yaml, theexpected_docguard inrelease.yml, theREADME.mdlink (and itstemplate),
docs/NIX.md, and thedocs.ymlissue template. Historicalrecords — released changelog entries,
docs/issues/,docs/pull-requests/— keep the old name.
github/codeql-actionfromd1ba80ato5595cca(#1367)actions/attestfromv4.2.1tov4.2.2actions/attest-build-provenancefromv4.1.1tov4.2.2vig-os/commit-actionfromv0.3.1tov0.3.2vig-os/sync-issues-actionfromv0.4.0tov0.5.0Fixed
git push— first release of a new level no longer fails (#1377)promote-release.ymlcreated brand-new floating levels viaPOST /git/refs, the one ref-mutation path where GitHub does not honor theRelease App's Integration ruleset bypass for the
creationrule — so thefirst release of every new
<prefix>X/<prefix>X.Ylevel died with theopaque
Reference does not exist(HTTP 422) despite the App holding analwaysbypass on the whole Tag ruleset (hit oncommit-action0.3.1 andsync-issues-action0.5.0).move_tag()now force-pushesTARGET_SHA:refs/tags/<name>over git withthe App installation token plumbed explicitly into the push URL (checkout's
persisted credentials are the default
github.token, which has no bypass)— the exact path
release-publish.ymlalready uses to create release tags,empirically bypassed fine. Create and move collapse into one branch-free
path; the idempotence read-and-skip guard and the loud
::error+MIGRATION.md fallback from fix(release): actionable failure on first-time floating-tag create denial #1158 stay, with the moot "grant a creation
bypass" remediation rewritten (the bypass already exists — the REST create
path simply ignores it).
CONTRIBUTING.mdrename (#1380)nix/hooks.nix(runner, check, and consumer profiles) and the scaffoldtemplate
assets/workspace/.pre-commit-config.yamlstill excluded theremoved
CONTRIBUTE.md, drifting from the root.pre-commit-config.yamlupdated in #1372; the
renamed contributing guide was no longer excluded from pymarkdown.
devkit-upgrade.ymlopens the adoption issue beforeinstall.sh --forceruns (the branch name embeds its number and thein-shell commit needs the
Refs:line), so aworkflow_dispatchagainst analready-current consumer created an issue, found zero diff, skipped publish
and PR, and exited green — leaving an issue open with no PR ever attached.
Every credential probe or repair run against a current consumer left one
behind.
cleanup step on the no-diff path closes an issue this run created (with
a "no diff at
<version>" comment) while leaving a reused one open — amid-train
rc1 → rc2 → finalissue can legitimately see a no-op bump, andauto-closing it would be wrong. Comment only in that case.
install.sh --forceregenerated what the current scaffold manages andpruned what the current mode / workflow model / feature set excludes — but a
path an old devkit shipped and a later one retired was claimed by
neither and rode along through every upgrade. Going 0.3.4 → 1.6.0 preserved
.cursor/,.github/actions/resolve-image/,.github/workflows/renovate-changelog.ymland.hadolint.yaml. Theworkflow file is the sharp one: left in place it is live, duplicates the
renovate-changelog-build/-commitpair that replaced it, and calls thepruned
resolve-imageaction — so it breaks at its next trigger ratherthan at upgrade time.
shipping) is now consulted against the pin
.vig-oscarried before therun — the legacy
DEVCONTAINER_VERSIONkey included, since repos still onit are precisely the oldest. Each prune is announced on stdout and listed
under
DELETEDin the--force --previewreport.version was never shipped the path, so an identically named
.cursor/or.hadolint.yamlthere is the consumer's own and is left untouched. A repothat already upgraded past a retirement before this fix keeps its
leftovers — a one-time manual cleanup, documented in
docs/MIGRATION.md.--forceupgrade prints the divergence between each preserved consumerfile and the incoming template so the consumer can fold in template
evolution deliberately. In the shipped image the devkit assets are
/nix/storesymlinks, sogit diff --no-indexcompared the link againstthe consumer's regular file and rendered a typechange — "symlink deleted /
file added", with the store path as its only line — instead of the content
diff. Seen on the
vig-os/scitadel0.3.3 → 1.6.0 migration.shows the actual template changes. A template symlink whose target does not
resolve is still treated as a missing template (no diff, no error), and the
diff header keeps naming the file rather than an opaque store path.
setup-devkit-toolchainwrote the dev-shell's/nix/storebin dirs to
GITHUB_PATHhighest-priority-first, but the runner prependsevery line in file order — so the following steps ran with the dev-shell
PATH exactly reversed. The dirs are now written reversed, and the per-line
prepend rebuilds the dev-shell order verbatim.
path the order is unobservable. A stdenv toolchain is not — the raw
gccshadowed
gcc-wrapper(likewisebinutils) and C builds failed with theunwrapped-compiler signature
ld.bfd: cannot find Scrt1.o/cannot find -lc, while the same build stayed green locally undernix develop(first hit:vig-os/h5v's vendored HDF5 build).UV_PYTHONto CI (#1353)setup-devkit-toolchaincancelledout. The step drops the bare Nix CPython from the exported
PATHandforwards
UV_PYTHON_DOWNLOADS_JSON_URLsouv syncbuilds the runner venvfrom a downloaded manylinux CPython ([BUG] pre-commit: make the pymarkdown hook (pyjson5 C-extension / libstdc++) run on NixOS #698/Nix dev-shell leaks the Nix C++ runtime onto LD_LIBRARY_PATH, breaking
juston non-NixOS hosts #703/[BUG] Downstream mkProjectShell dev-shell omits bare python/python3 and pre-commit (image has them) #729) — but the shellHook envforward (direnv-mode CI: setup-devkit-toolchain forwards only PATH, shellHook env is silently dropped #1180) diffs the dev-shell env against the ambient one and shipped
every added var,
mkProjectShell'sUV_PYTHONstore-path pin included.UV_PYTHONbeats PATH resolution, so the venv was built on the Nixinterpreter regardless and any C-extension wheel then failed under the Nix
loader on Ubuntu with
ImportError: libstdc++.so.6: cannot open shared object file. Existing direnv Python consumers were green only because theirtest dependencies are pure-Python; first live hit
exo-pet/playground-carlos#9(numpy 2.4.4).UV_PYTHONandUV_PYTHON_DOWNLOADSare now denied by name in thatforward's denylist. Both are Nix-host-only by construction, and the second
is required for the first: on its own, a forwarded
UV_PYTHON_DOWNLOADS=neverwould forbid the very managed-CPython downloadthe
_JSON_URLforward exists to enable, turning the wheelImportErrorinto "no interpreter found". The patterns are exact, so the deliberate
UV_PYTHON_DOWNLOADS_JSON_URLforward is untouched — now pinned by a test.mkProjectShellputs in the dev-shell env: keptBATS_LIB_PATH(a store path, but the store is realized on the runner andbatsruns from the dev-shellPATHthere),NVIM_APPNAME(portableconfig) and
UV_PYTHON_DOWNLOADS_JSON_URL.LD_LIBRARY_PATHis exportedonly behind the shellHook's own
/etc/NIXOSguard, so it never reaches ahosted runner and is the correct value on a NixOS self-hosted one — left
forwardable. Nothing else the builder sets is host-specific.
PYTHONPATHis now forwarded component-wise: the direnv-mode preamblesplits it on
:, drops every/nix/storeentry and forwards what remains,skipping the var when nothing is left. With
pythonin the dev-shellpackagesthe nixpkgs setup hook fillsPYTHONPATHwith storesite-packages dirs; forwarded whole, those Nix-built
cp3xxpackages joinedthe
sys.pathof the downloaded manylinux CPython — same ABI tag,importable, the same mixed-loader shape as fix(action): shellHook env forward ships UV_PYTHON to CI, defeating the bare-CPython exclusion #1353's
ImportError: libstdc++.so.6. A blanket deny was not an option: ashellHookexportingPYTHONPATH=$PWD/srcis a legitimate direnv-mode CI: setup-devkit-toolchain forwards only PATH, shellHook env is silently dropped #1180 use caseand still arrives on CI intact.
_PYTHON_HOST_PLATFORM,_PYTHON_SYSCONFIGDATA_NAME,DETERMINISTIC_BUILD,CONFIG_SHELL, thedo[A-Z]*build flags (doCheck,doInstallCheck,doDist; the symmetric partner of the already-denieddont*) — and thestdenv cc/binutils hook names
AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS STRIP. stdenv sets those toolchain names in everydev shell as bare commands (
CC=gcc), so every direnv consumer was shippingthem to its whole CI job. Inside dev-shell context the wrapped toolchain
already wins via
PATHafter fix(action): setup-devkit-toolchain GITHUB_PATH export reverses dev-shell PATH order #1351; for a step that runs outside it(
setup-pythonpluspipbuilding a C extension) a forwardedCCresolving to the Nix wrapper recreates the fix(action): shellHook env forward ships UV_PYTHON to CI, defeating the bare-CPython exclusion #1353 mixed-toolchain hazard.
This deliberately supersedes the
shellHookCC/CXXforward thatvig-os/h5v used pre-fix(action): setup-devkit-toolchain GITHUB_PATH export reverses dev-shell PATH order #1351 — fix(action): setup-devkit-toolchain GITHUB_PATH export reverses dev-shell PATH order #1351 removed the need for it. The
nativemodule's generic
CC=cc/CXX=c++exports likewise no longer reach CI; theyexist so build backends fall back to
PATHdiscovery (fix(image): no C/C++ toolchain — uv cannot build sdists for deps without cp314 wheels (CMake reads absent nix-store compiler from sysconfig) #879/fix(nix): sanitize image sysconfig compiler records to generic cc/c++ #893), which theforwarded dev-shell
PATHstill provides. A CI step that needs a specificcompiler should set it in the workflow. Patterns are case-sensitive, so
DOCKER_*/DO_SOMETHINGare unaffected.IN_NIX_SHELLis denied too: forwardingIN_NIX_SHELL=impuremade everysubsequent CI step claim to be running inside a nix shell.
PATHfilter istracked separately in
#1360.
PATHwheneverpyproject.tomlwas present — unconditionally. That isright on a hosted FHS runner, where
uvdownloads a managed manylinuxCPython ([BUG] pre-commit: make the pymarkdown hook (pyjson5 C-extension / libstdc++) run on NixOS #698/Nix dev-shell leaks the Nix C++ runtime onto LD_LIBRARY_PATH, breaking
juston non-NixOS hosts #703/[BUG] Downstream mkProjectShell dev-shell omits bare python/python3 and pre-commit (image has them) #729), and wrong by construction on a NixOSself-hosted runner, where such a download cannot execute at all. fix(action): shellHook env forward ships UV_PYTHON to CI, defeating the bare-CPython exclusion #1353 made
the gap reachable: the
UV_PYTHONpin it stopped forwarding was what hadaccidentally masked it. No consumer matched the combination yet (the one
NixOS-runner consumer has no
pyproject.toml), so this was a latentlandmine rather than a live break.
/etc/NIXOS— the same markermkProjectShell'sshellHookuses to gateLD_LIBRARY_PATH— and takesthe matching branch. On a NixOS runner the
pyproject.toml-gated CPythonexclusion is skipped, so the store interpreter stays on
PATH, andmkProjectShell'sUV_PYTHON/UV_PYTHON_DOWNLOADS=neverpins areforwarded instead of denied. Both halves are needed:
PATHalone leavesuv's python-preference free to prefer a managed download, and the pinsare what make it use the Nix interpreter deterministically. The podman
exclusion stays unconditional, and
UV_PYTHON_DOWNLOADS_JSON_URLis stillforwarded (harmless once the pin wins).
fix(action): shellHook env forward ships UV_PYTHON to CI, defeating the bare-CPython exclusion #1353's denial of the same two pins included.
DEVKIT_TAG_PREFIX, the release pipeline wrote onechangelog heading and read back another.
release-core.ymlfinalizes withprepare-changelog finalize … --tag-prefix "$TAG_PREFIX", which composes theprefix into the heading (
## [v1.0.0](…/releases/tag/v1.0.0) - …), whilerelease-publish.ymlextracted the notes by matching## [$VERSION]on thebare semver — a match that can never land on a prefixed heading.
was published with the literal body
No changelog notes found for X.Y.Z.The tag and the release object were both correct and nothing went red, which
is why it survived (observed releasing
vig-os/org-configv1.0.0).tag_prefixand accepts the composed tag## [${TAG_PREFIX}${VERSION}]alongside the bare one. Both are needed: acandidate publishes before the finalize step (which is gated on a final
release_kind), so its heading is still the unprefixed## [X.Y.Z] - TBDthatpreparewrote — matching only the composed tag would have moved the emptynotes onto the candidate path. Only prefixed repos were affected; an empty
prefix makes the two forms the same string.
shellHookenvironment forwarding" section enumerated thedenylist by hand and had fallen behind the shipped action: it predated the
UV_PYTHON/UV_PYTHON_DOWNLOADSdenial (fix(action): shellHook env forward ships UV_PYTHON to CI, defeating the bare-CPython exclusion #1353), the stdenv additions andthe cc/binutils hook names (fix(action): shellHook env forward still leaks Nix-host state (PYTHONPATH store paths, stdenv machinery, IN_NIX_SHELL) #1358), and the NixOS-runner exception that
forwards those uv pins after all (fix(action): pyproject-gated CPython PATH exclusion breaks Python consumers on NixOS self-hosted runners #1360) — and its two-bullet shape could
not express the
PYTHONPATHstore-component strip, which is a transformrather than a deny.
representative examples, the
PYTHONPATHtransform, and a pointer to thedevkit_env_deniedfunction in the consumer's own.github/actions/setup-devkit-toolchain/action.ymlas the single source oftruth. The surrounding narrative is unchanged.
Test Summarygreen (#1371)Test Summaryis the only required status check ondev, and it flagged aneeded job only on
result == "failure". A job that was cancelled — jobtimeout, concurrency cancel, runner eviction, a manual "Cancel workflow" —
produced no verdict at all, yet the aggregate printed "All executed test
suites passed" and exited 0, so a pull request whose CI never finished was
mergeable.
cancelledas well asfailure.skippedstays tolerated by design:workflow_dispatchtakes atest-suitesubset input that every job is gated on, andcommit-checks/dependency-revieware pull-request only.Security
release.ymlcreated the tag withgit tag -aundervigOS Release Bot <[email protected]>, producing an annotated tagobject whose tagger was permanently unverifiable — live tag
1.6.0reports
verification.reason: "unsigned". Signing it was never reachable:the tag is written under the Release App installation token and a GitHub
App has no registrable GPG/SSH key, while the server-side
POST /git/tagsroute stores the payload verbatim without signing it either.
refs/tags/<version>ref atthe release commit (
POST /git/refs). A lightweight tag has no tagger andno payload, so there is nothing left that can report
unsigned, and thecommit the ref resolves to is the GitHub-verified release commit. The
candidate-collision guard and the "already tagged at the finalize SHA"
skip are unchanged; the now-unused
git-user-name/git-user-emaildispatch inputs are removed from
release.yml(prepare-release.yml, whichactually writes commits, keeps its own).
release-publish.ymlstill created every consumer'sX.Y.Ztag withgit tag -aunder a GitHub App identity — an annotatedtag object reporting
verification.reason: "unsigned"forever, for thesame unreachable-signature reasons as #1370.
The scaffold was internally inconsistent:
promote-release.ymlalreadycreates the floating tags (
vX,vX.Y) as lightweight refs, while theversion tag — the one users pin and audit — was an unsigned object.
refs/tags/<prefix><version>straight at therelease commit (
POST /git/refs). Preserved behaviours: thetag_already_existsskip, the create-race verification (a lost race isaccepted only when the existing ref already resolves to the release
commit),
TAG_PREFIXcomposition (#1044),and the tombstone diagnosis (#1319)
— its signature match re-derived against the
POST /git/refsHTTP 422rule-violation error shape.
git_user_name/git_user_emailworkflow_callinputs areremoved from
release-publish.ymland their pass-throughs from thescaffold
release.ymlpublish call; the scaffold'sgit-user-name/git-user-emaildispatch inputs stay — the rollback job still writescommits with that identity.
promote-release.ymlanddocs/MIGRATION.mdkeep the annotated-tag peelas backward compatibility for tags published by older scaffolds, with
corrected wording. Existing annotated tags are left as they are
(forward-fix policy); the change reaches consumers on their next devkit
upgrade.
which the org now forbids (chore(config): block workflow PR approvals and member repo creation org-wide org-config#122 sets
can_approve_pull_request_reviews: falseorg-wide) — the 1.7.0-rc3 smokechain died at that step.
leave the PR unapproved (approval gates the final release only, matching
the deferred-approval model of #902),
while the final dispatch polls up to 30 minutes for a human to approve the
freshly created release PR before triggering the final release workflow,
and fails with re-run guidance if nobody does. Every dispatch still
recreates the smoke release branch and PR from scratch, by design.
double-free in libssh2's
sftp_open()), the fourth member of the upstreambatch whose siblings CVE-2026-66033/66034/66035 were already excepted in
the 2026-09-02 block (#1327) —
it was absent from the findings when that block was triaged on 2026-08-04
and surfaced in the feed later.
the image only as curl's scp/sftp backend, and the flaw requires an
authenticated SFTP session against a malicious SSH server. Excepted in the
same 2026-09-02 block; the whole block drops on a nixpkgs rev-advance once
the merged upstream patches (libssh2: apply debian patches for CVE-2026-6603[2345] NixOS/nixpkgs#547491) reach the pinned
nixos-26.05 channel via the still-open staging-26.05 backport.