Repository navigation
chore: release 1.5.0 - #1301
chore: release 1.5.0#1301vig-os-release-app[bot] wants to merge 76 commits into
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
…him (#1286) ## Summary The `if: always()` "Delete old cache" cleanup step in `sync-issues.yml` calls the `retry` wrapper, which only exists after toolchain setup (BASH_ENV shim from `setup-devkit-toolchain` in the template / `setup-env` in devkit's own copy). When the job fails before setup — e.g. the exo-pet/vault "Generate a token" failures of 2026-07-26 — the step degraded to `retry: command not found`, and the `CACHE_ID=$(retry … | head -1)` pipeline masked the error via `head`'s exit 0, silently skipping the anti-collision deletion. A one-shot fallback shim (`command -v retry >/dev/null 2>&1 || retry() { …; }`) is now prepended to the step's `run:` block in **both** copies (scaffold template + devkit's own workflow — scope approved in review). Healthy runs are unchanged (the real shim wins); early-failure runs degrade to a single unretried attempt instead of a masked error. `if: always()` and `continue-on-error: true` stay as designed. ## Changes - `assets/workspace/.github/workflows/sync-issues.yml` — fallback shim in the cleanup step (scaffold template) - `.github/workflows/sync-issues.yml` — same fix in devkit's own (independently maintained) copy - `tests/bats/init-workspace.bats` — new test: rendered scaffold's cleanup step carries the fallback guard (TDD: committed RED first) - `CHANGELOG.md` + `assets/workspace/.devcontainer/CHANGELOG.md` — `### Fixed` entry (mirror kept in sync by the sync-manifest hook) ## Verification - TDD: test committed failing (`34541bb9`), fix turns it green (`1eb61c65`) - Full `bats tests/bats/init-workspace.bats`: 244/244 ok - zizmor 1.25.2 (CI gate config) on `assets/workspace/.github/workflows/`: no findings - actionlint on both changed workflow files: clean - `prek run --all-files`: all hooks green Closes #1278
…1287) ## Summary The `DEVKIT_SYNC_TARGET` mirror-bootstrap step (injected at scaffold time by `render_sync_settings()` in `assets/init-workspace.sh`) interpolated the `target-branch` workflow_dispatch input directly into its `run:` block — a zizmor **template-injection (High)** in the rendered consumer workflow. First hit in the wild: vig-os/org-config#80, which carries a local forward-port of this exact fix until the template ships it. The #1182 hardening sweep never saw it because the step only renders when the knob is set. The heredoc now uses standard env indirection, matching the template's existing `TARGET_BRANCH:` pattern: the dispatch input is forwarded as `TARGET_INPUT` in the step's `env:`, and the run body reads `TARGET="${TARGET_INPUT:-<manifest-target>}"`. The scaffold-time default is safe as a literal — `DEVKIT_SYNC_TARGET` is allowlist-validated (`[A-Za-z0-9._/-]`) at scaffold time. Cron-triggered runs still fall back to the default (empty input → `:-` expansion). ## Changes - `assets/init-workspace.sh` — env indirection in the bootstrap-step heredoc - `tests/bats/init-workspace.bats` — new test: rendered bootstrap step forwards the input via env, has no inline `${{ github.event.inputs` in the run body, and still lands the default (TDD: committed RED first) - `CHANGELOG.md` + `assets/workspace/.devcontainer/CHANGELOG.md` — `### Security` entry (mirror synced by the sync-manifest hook) ## Verification - TDD: test committed failing (`26bdb254`), fix turns it green (`953a930a`) - Full `bats tests/bats/init-workspace.bats`: 244/244 ok, including the hostile-`DEVKIT_SYNC_TARGET` guard test - Rendered scaffold (with `DEVKIT_SYNC_TARGET=sync/issue-mirror`) structural check: 0 inline `${{ github.event.inputs` in the run body, 1 `TARGET_INPUT:` env forward; rendered form is functionally identical to org-config#80's forward-port - shellcheck on `assets/init-workspace.sh`: clean; `prek run --all-files`: all hooks green ## Rollout note org-config#80 can drop its local forward-port once this ships — and conversely, org-config's next devkit upgrade would re-introduce the zizmor finding if this doesn't ship first. Closes #1279
…on blocks (#1288) ## Summary Advances the pinned `nixpkgs` rev from nixos-26.05 @ `34268251` (2026-06-22) to @ `8623c4c2` (2026-07-26) and drops the `.vulnixignore` exception blocks whose fixes have propagated to the channel. Deliberately kept out of the 1.4.2 patch train (mass rebuild); the jq block's expiry (2026-08-03) was the nearest deadline. ## Before/after vulnix diff (per docs/CONTAINER_SECURITY.md §4) Scanned `.#devkitImageEnv` closure at both pins against the nvd-mirror. **Unique CVEs: 112 → 56. No new HIGH/CRITICAL (CVSS ≥ 7.0) findings introduced.** | Package | Before | After | Register action | |---|---|---|---| | openssl | 3.6.2 | **3.6.3** | block dropped (10 CVEs) | | curl | 8.20.0 | **8.21.0** | block dropped (17 CVEs) | | openssh | 10.3p1 | **10.4p1** | block dropped (CVE-2026-60002) | | jq | 1.8.1 | **1.8.2** | CVE-2026-49839 entry dropped (line-granular; shared `Expiration: 2026-08-03` directive and libssh2/socat survivors preserved) | | unbound | 1.25.1 | 1.25.1 | kept — fix not propagated | | gawk | 5.4.0 | 5.4.0 | kept — fix not propagated | | podman | 5.8.2 | 5.8.2 | kept — fix not propagated | | fzf | 0.72.0 | 0.72.0 | kept — fix not propagated | | libssh2 | 1.11.1 | 1.11.1 | kept — fix not propagated | - Kept blocks' re-verification notes refreshed to 2026-07-28 with the new pin context. - New surface: jq 1.8.2 shows three unrelated advisories (CVE-2026-33948 5.3, CVE-2026-39979 6.5, CVE-2026-44777 5.5) — all below the 7.0 gate threshold, awareness-only, **no new exceptions added**. - gzip/ldns/libxml2 also cleared from the report incidentally; their (harmless, non-gating) register entries were left untouched per minimal diff. ## Verification - `nix flake update nixpkgs` — flake.lock diff touches only the nixpkgs node - `uv run check-expirations .trivyignore .vulnixignore` — 37 exceptions validated, exit 0 - `uv run vulnix-gate vulnix-after.json --register .vulnixignore` — "No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 33 exception(s) applied", exit 0 (independently re-run at review) - `nix build .#devkitImage` — image builds at the new pin - `prek run --all-files` — all hooks green - TDD n/a (lockfile + exception-register change) Includes a merge of current dev (changelog-overlap resolution with #1286/#1287). Closes #1273
Add failing cases for #1280: an undotted typos.toml (with no .typos.toml) must be treated like the legacy _typos.toml case — consumer file stays the single active config, template .typos.toml not shipped, mirrored in --preview, and the skip is surfaced. Includes a regression guard for the combo case where a curated .typos.toml is also present (preserve-list path). Refs: #1280
The `typos` tool reads config from .typos.toml, _typos.toml, or the undotted typos.toml. The scaffold guarded the first two but not the undotted spelling, so a consumer carrying typos.toml (and no .typos.toml) also received the template .typos.toml — two active configs, the curated allowlist silently shadowed. Extend the #913 copy-time guard to also match an undotted typos.toml: the consumer file stays the single active config, the template copy is not shipped, and the skip is mirrored in --preview and named in the scaffold surface message. Refs: #1280
## Summary The `typos` tool reads its config from `typos.toml`, `.typos.toml`, or `_typos.toml`. The scaffold guarded the preserved `.typos.toml` (#913) and the legacy `_typos.toml` (copy-time exclude), but an undotted `typos.toml` escaped the guard: the template `.typos.toml` was shipped alongside it, leaving two active configs and silently shadowing the consumer's curated allowlist. The #913 copy-time branch now treats any alternate spelling (`typos.toml` and/or `_typos.toml`, with no `.typos.toml` present) as the consumer's single active config: the template copy is not shipped, the skip is mirrored in `--preview` via the shared `MODE_CONFIG_EXCLUDES` SSoT, and the scaffold surface message names the triggering file(s). ## Changes - `assets/init-workspace.sh`: extend the legacy-typos exclude to undotted `typos.toml` (`TYPOS_ALT_CONFIGS` records the triggering spellings); generalize the surface message; update enumerating comments. - `tests/bats/init-workspace.bats`: 4 new #1280 cases (dual-config guard, `--preview` ADDED truthfulness, surface message, both-files no-misfire combo). - `CHANGELOG.md` (+ generated devcontainer mirror): Fixed entry. ## Test evidence - TDD: failing tests committed first (`55c9f3b3`), fix in `11b2963c`. - `bats tests/bats/init-workspace.bats --filter "913|1196|1280"`: 9/9 ok (new cases + all #913/#1196 regressions). - `prek run --all-files`: green. ## Merge order Part of the #1280–#1285 solo-adoption batch; recommended merge order #1281 → #1280 → #1283 → #1282 → #1284 → #1285 (shared `init-workspace.sh`/CHANGELOG surface). Closes #1280
…ATURES_DISABLED) (#1293) ## Summary New `.vig-os` key `DEVKIT_FEATURES_DISABLED` — a comma-separated (whitespace-tolerant) subset of seven scaffold feature groups that are never scaffolded, pruned if a previous scaffold left them behind, truthfully reported by `--preview`, and stable across `--force` upgrades. Clearing the key re-ships the features on the next `--force`. Absent/empty key ⇒ byte-identical scaffold. Groups (feature → path map, SSoT in `feature_paths()`): - `release` — the 8 release-train workflows + `docs/DOWNSTREAM_RELEASE.md` - `renovate` — `renovate.json`, `renovate-default.json`, both renovate-changelog workflows - `sync-issues` — `sync-issues.yml` + `label-taxonomy.toml` - `scanning` — `codeql.yml`, `scorecard.yml` - `gh-templates` — `ISSUE_TEMPLATE/`, `pull_request_template.md` - `skills` / `worktree` — `.claude/skills/` split, enumerated dynamically from the template tree (no hardcoded names) ## Design notes - **Mechanism reuse:** disabled paths feed `MODE_CONFIG_EXCLUDES`, so the `--preview` ADDED classifier and the rsync copy stay in agreement for free; DELETIONS report + post-copy prune mirror the #1205 trunk `sync-main-to-dev.yml` quartet, and compose with it (trunk + `release` disabled → exactly one prune/report). - **Preserved-class carve-out:** `release-extension.yml`, `prepare-release-extension.yml`, `renovate.json` carry consumer implementation (PRESERVE_FILES) — excluded from the copy but never pruned; a left-in-place notice is printed instead of a DELETIONS entry. - **Contradiction notice:** `sync-issues` disabled with `DEVKIT_SYNC_TARGET`/`DEVKIT_SYNC_SCHEDULE` set warns (never aborts); `render_sync_settings` is skipped explicitly. - Unknown feature name aborts loudly; round-trip via the #1116 write-back idiom; comma-separated deviates deliberately from the issue's space-separated example for consistency with `DEVKIT_FLOATING_TAGS`/`DEVKIT_CI_RUNNER`. - Deliberately named NOT `DEVKIT_MODULES` (#884 reservation); v1 scope = standalone files only, `ci.yml` stays atomic. - `docs/MIGRATION.md`: manifest-table row + "Scaffold feature opt-outs" subsection. ## Test evidence - Strict TDD, five RED→GREEN cycles (commits `52e2fd74`…`8f8a36f3`), failing-first confirmed each cycle. - 16 new bats cases: per-group disable, preview truthfulness, upgrade prune + DELETIONS, re-enable, byte-identical default, unknown-name abort, skills/worktree granularity, preserved-class survival, trunk compose, contradiction notice. - Verified: `--filter "1284|1205|913|1196"` 27/27 ok; `pytest tests/test_workflow_model.py` 22 passed; full `bats tests/bats/init-workspace.bats` 261 tests zero failures; `prek run --all-files` green. ## Merge order Part of the #1280–#1285 solo-adoption batch (semver:minor); recommended merge order #1281 → #1280 → #1283 → #1282 → #1284 → #1285. Closes #1284
The scaffolded justfile.project test/test-cov recipes gate on pyproject.toml
presence, so a consumer with a pyproject.toml but no test suite ran
uv run pytest and got exit 5 ("no tests collected"), turning just test and CI
red out of the box. Both recipes now swallow pytest's exit 5 while propagating
every other nonzero exit, so "nothing to test" no-ops green like non-Python
consumers already do.
Refs: #1281
c-vigo
left a comment
There was a problem hiding this comment.
Approved on behalf of the maintainer (validation plan approved in-session and executed; evidence above).
Set release date to 2026-07-30 and regenerate release docs. Refs: #1301
…detection
With both runtimes on PATH (GitHub ubuntu-latest), the preinstalled podman
can pair with a stale system crun that rejects podman >= 5's OCI configs
("crun: unknown version specified") -- the #1299 runner regression on the
consumer side, where devkit's setup-env crun pin does not apply. First live
devkit-upgrade dispatch died at the install step on exactly this. Auto-detect
now prefers docker when its daemon responds and falls back to podman
(podman-only hosts unchanged; dead docker daemon still yields podman);
--docker/--podman still override. The devkit-upgrade template passes --docker
explicitly. Consumers curl install.sh from main, so the detection fix heals
all existing scaffolds at the next promote without re-scaffold.
Refs: #1305
…detection (#1306) ## Summary Closes #1305 — the first live `devkit-upgrade` dispatch ([smoke-test run 30543470753](https://github.com/vig-os/devkit-smoke-test/actions/runs/30543470753)) proved the whole App identity path (fail-fast, mint, adoption issue opened by `app/vigos-devkit-upgrade`) and then died in `install.sh`: runtime auto-detection picked the runner's preinstalled podman 5.8.4, whose stale system crun rejects podman ≥ 5 OCI configs (`crun: unknown version specified`) — the #1299 regression on the consumer side, where devkit's own `setup-env` crun pin doesn't apply. - `detect_runtime()` now prefers docker **when its daemon responds** (`docker info`), falling back to podman. Podman-only hosts (vigOS machines) are unchanged; a both-present host with a dead docker daemon still gets podman; explicit `--docker`/`--podman` keep overriding. - The `devkit-upgrade.yml` template passes `--docker` explicitly (the runner's first-class runtime; self-documenting). Delivery property: consumers fetch `install.sh` from `main`, so the detection fix heals **every existing scaffold** at the next promote with no re-scaffold; the next train's adoption dispatch doubles as the live proof of the workflow's remaining push/PR legs. ## Verification TDD: stub-based bats (docker+podman on PATH → docker; dead docker daemon → podman) committed RED at 4885de4, fix turns them GREEN; full `install.bats` 117 ok; template tests 15 passed; full pre-commit suite green. Refs: #1305
…1307) ## Summary Restart of the 1.5.0 finalization (maintainer-approved): the first live `devkit-upgrade` dispatch exposed #1305 (runtime auto-detection picks the runner's broken podman → `crun: unknown version specified` at the install step). Since nothing consumed the final (draft release deleted, tag deleted, `latest`/`main`/promote untouched), the fix ships **within 1.5.0** instead of a same-day 1.5.1. - Merge `dev` (PR #1306: docker-first daemon-probed detection + `--docker` in the upgrade template) into `release/1.5.0` — clean merge, App-era template keeps all #1302/#1304 content plus the new flag. - `prepare-changelog reset-version` restores the `- TBD` heading (finalize will re-stamp). - #1305 changelog entry added to the frozen 1.5.0 section (was missed in #1306 — dev's Unreleased stays empty since the fix ships here). Precedent: 1.4.0 unfreeze (PR #1215). After merge: rc3, focused revalidation (delta is #1305 only), re-approve, re-finalize. Refs: #1305
Restart addendum — rc3 (maintainer-approved unfreeze, #1305)Finalize was restarted before any external consumption (draft release + tags deleted, rc3 evidence: release-PR CI fully green pre-dispatch (15 checks); rc3 release run green end-to-end; auto smoke chain green — deploy PR devkit-smoke-test#311 (CI + Direnv Smoke + auto-merge), smoke release PR + second Direnv Smoke green, smoke candidate Release run success. rc2→rc3 delta is #1305 only; all rc2 validation evidence above carries over. Post-finalize: Re-dispatching final. |
Set release date to 2026-07-30 and regenerate release docs. Refs: #1301
…erified) The in-shell staging commit keeps hook fidelity but is unsigned, and consumers' Signed-commits rulesets rightfully reject it at push (first live dispatch, smoke-test PR #316 — closed unmerged; the interim ruleset bypass was reverted as wrong-model). Replay the staged tree through the git-data API with the minted App token instead: blobs -> tree -> commit -> ref. API commits are GitHub-signed as the App, per-entry tree modes keep executable bits (createCommitOnBranch would drop them, and commit-action v0.3.x lacks deletion + branch-bootstrap support, hence inline REST), deletions ride as null-sha entries, and the branch ref is force-updated for within-train rc->rc->final reuse. The unsigned commit never leaves the runner; no ruleset bypasses anywhere. Refs: #1308
…erified) (#1309) ## Summary Closes #1308 — third and final 1.5.0 restart item (maintainer-approved): the adoption commit that reaches consumers is now **GitHub-signed as the App**. The in-shell commit stays exactly as designed (hooks run, message validated) but becomes a staging artifact; its tree is replayed through the git-data API with the minted App token — blobs → tree → commit → ref. Design decisions: - **Inline REST, not commit-action**: v0.3.x `statSync`s every path (no deletions — the scaffold prunes files) and has no branch bootstrap; extending it would put a cross-repo TS release on the critical path. Follow-up candidate: teach commit-action deletions and migrate. - **Not `createCommitOnBranch`**: it drops executable modes; the tree API carries an explicit mode per entry (`100755` preserved). - Deletions = null-sha tree entries; branch ref created on first use and force-updated within a train (preserves rc→rc→final reuse). - `git push` is gone from the template; Signed-commits rulesets stay fully enforced with **zero bypass actors**. - Changelog: `- TBD` heading restored (re-finalize re-stamps); #1308 sub-bullet added under the #1296 entry. ## Verification TDD: `test_publishes_a_verified_commit_via_api_not_git_push` RED at be91036 → GREEN (16/16); zizmor 1.25.2 clean; full pre-commit suite green. Live proof at rc4: pin-gap harness dispatch on devkit-smoke-test must yield an adoption PR whose commit shows **Verified** — the last unproven leg of the feature. Refs: #1308
Set release date to 2026-07-30 and regenerate release docs. Refs: #1301
|
Closing unmerged — 1.5.0 becomes a ghost version: devkit-smoke-test's tag 1.5.0 is tombstoned by org-enforced release immutability (published mid-train, deleted at restart #1), so the cross-repo promote gate can never pass for this version string. The fully validated content re-releases as 1.5.1 (sync PR #1310 → re-cut); every piece of validation evidence in this PR's trail applies verbatim to 1.5.1. Devkit's never-published 1.5.0 tag and draft release are deleted. |
… the real cause (#1321) ## Description Lesson from the 1.5.0 ghost (#1301): under org-enforced release immutability, deleting a *published* release permanently tombstones its tag name. The workflows reported this state misleadingly — the downstream publish died with a generic "Failed to push tag" / raw `gh` error, and devkit's promote gate advised "wait for the smoke-test workflow to publish its final release, then retry", which is futile when the tag can never be re-published. This PR makes both surfaces name the real cause: **version burned — re-cut required**. > **Stacked on #1320** (branched from `feature/1318-unfreeze-runbook` to avoid a CHANGELOG conflict; merge #1320 first, after which this PR shows only its own diff). The error messages point at the runbook section #1320 adds. ## Type of Change - [x] `feat` -- New feature ## Changes Made - `assets/workspace/.github/workflows/release-publish.yml` (template, ships to consumers incl. `devkit-smoke-test`): - **Create and push tag**: the push output is captured; a `GH013` / "creations restricted" rejection is diagnosed as a tombstoned tag name with a burned-version message and runbook URL, instead of falling through to the generic push error. - **Create GitHub Release**: the two `gh release create` branches (identical except `--prerelease`) are folded into one args-array invocation whose failure output gets the same `GH013` diagnosis. - `.github/workflows/promote-release.yml` (devkit): the cross-repo gate's no-downstream-release error now names the tombstone as a possible cause (with the `GH013` signature to look for in the smoke-test release run) and points at the runbook. The gate itself cannot distinguish a tombstone from a not-yet-published draft — both are a 404 on `/releases/tags/:tag` — which is why the authoritative detection lives at the creation sites. - New workflow-shape test `tests/test_release_tombstone_detection.py` (RED committed first per TDD) pinning the `GH013` detection in both template steps and the gate message. ## Changelog Entry ### Added - **Tombstoned tag names fail with the real cause** ([#1319](#1319)) - The downstream `release-publish.yml` template now recognizes the `GH013` "creations restricted" signature on tag push and release creation — the mark of a tag name permanently retired because its published release was deleted under org-enforced immutability — and fails with a "version burned — re-cut required" diagnosis instead of a generic push/create error. - Devkit's `promote-release.yml` cross-repo gate no longer only advises "wait and retry" when no downstream release exists: it names the tombstone as a possible cause and points at the point-of-no-return runbook. ## Testing - [x] `tests/test_release_tombstone_detection.py`: 4 failing tests committed first (RED), all green after implementation - [x] Workflow-shape + scaffold suites green: `test_release_tag_prefix`, `test_promote_mergeability`, `test_scaffold_lint` (caught an unshipped-path reference — doc pointer rewritten to absolute URL), `test_scaffold_drift`, `test_workflow_model`, `test_floating_tags`, `test_release_core_*`, `test_transforms` — 135 passed - [x] Rendered-workflow actionlint bats (#995): all 5 modes green (devcontainer/direnv/bare/both/smoke-test), incl. bundled shellcheck over the new run-block bash - [x] `just precommit` green on all files ### Manual Testing Details The live `GH013` path is only provable on a real tombstone; the tests pin the script shape. The template change reaches `devkit-smoke-test` at the next devkit release + re-scaffold, so it ships dormant until then. ## Checklist - [x] I have performed a self-review of my code - [x] I have updated the documentation accordingly (runbook lands in #1320) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes ## Additional Notes Devkit's own `release.yml` tag push (`release.yml:982`) has the same theoretical exposure, but devkit's 1.5.0 draft was never published so it was not tombstoned in the incident; left out per issue scope — can file a follow-up if wanted. Closes #1319 Refs: #1319 https://claude.ai/code/session_01MiPJmV8hXX6RPiggZAMZwg
# [Release 1.18.0](https://github.com/vig-os/devkit/releases/tag/1.18.0) - 2026-10-05 This PR prepares release 1.18.0 for merge to main. ## [1.18.0](https://github.com/vig-os/devkit/releases/tag/1.18.0) - 2026-10-05 ### Added - **`DEVKIT_CI_RESOLVE_RUNNER` variable for the `resolve-toolchain` jobs** ([#1796](#1796)) - The `resolve-toolchain` job in all seven scaffolded workflows that declare it takes its runner from the repository or organization variable `DEVKIT_CI_RESOLVE_RUNNER` (one runner label), so a private consumer stops paying a billed hosted minute per workflow run for it - Unset => the hosted `ubuntu-26.04` default, unchanged for every existing consumer; an unmatched label queues rather than failing, as documented in `docs/MIGRATION.md` - **Consumer matrix in devkit PR CI** ([#1762](#1762)) - New `Consumer Matrix` job renders consumer variants with the PR's own `init-workspace.sh` and runs each rendered consumer's own gates (`just lint`, `just precommit`, the commit-stage hooks over the staged first commit, actionlint, zizmor, the declared-language guard). Cells: `direnv`, `devcontainer` and `bare` modes, trunk, every feature disabled, a custom `DEVKIT_CI_RUNNER`, `DEVKIT_TAG_PREFIX=v`, and a declared language with no marker file that must fail the guard - `scripts/consumer-matrix/render-cell.sh` holds the cell list and runs any cell locally, as the RC validation recipe - Language cells for python, node and rust adopt a zero-dependency hello world (`tests/fixtures/consumer/`) and run `just sync` and `just test`; the fixture test must prove it ran, so a `just test` that silently skips fails - The `rust` cell is a strict expected-fail on [#1496](#1496): it passes only while `just test` silently skips the Rust suite, and fails once that is fixed so the marker gets removed - A `direnv-flake` cell runs `nix flake check` on the rendered flake against the PR's own devkit and runs the direnv cell's gates inside its dev shell, so the flake-generated hooks are exercised too - Devkit CI only: nothing changes in what consumers receive - **`packages.<system>.guardrails`: the vendored gates without a `mkProjectShell` migration** ([#1572](#1572)) - The guardrails gates derivation (previously reachable only through `mkProjectShell`'s `modules = [ "guardrails" ]`) is now exposed directly as `packages.<system>.guardrails`, for a consumer that owns its own dev shell and pre-commit/prek config and only wants the hermetic gate binaries. Composes with #1492: the consumer's hook config stays consumer-owned - Documented in `docs/NIX.md`: `$out/share/guardrails/gates/test-gates.sh` is the supported way for a consumer to assert gate execution in its own flake - **`validate-branch-name`: one branch-name rule for every enforcement point** ([#1760](#1760)) - New vig-utils entry point `validate-branch-name` (`--branch`, `--types`, `--issueless-types`, `--workflow`; pure arguments, no `.vig-os` reads). It accepts `main`, `dev` (gitflow), `<issueless-type>/<summary>`, `<type>/<issue>-<summary>`, `worktree/<issue>`, `renovate/*` and `release/X.Y.Z`; a detached HEAD passes with a note - The scaffolded and devkit CI `Validate branch name` steps now call it instead of hand-kept bash alternations, so the local and CI gates can no longer disagree on shape - **CI extension seam so consumer jobs gate CI Summary** ([#1761](#1761)) - New preserved stub `.github/workflows/ci-extension.yml`, called unconditionally from the managed `ci.yml` as the `extension` job — no opt-in knob, so a consumer's own CI jobs can never be silently skipped. `summary` (`CI Summary`) lists it in `needs:` and fails on `failure` or `cancelled`, exactly like every other lane - Every `workflow_call` input (`mode`, `image`, `image-tag`, `runner-json`) is `required: false`; the stub's `runs-on` resolves from `fromJSON(inputs.runner-json)` rather than a literal label - The smoke-test deploy overlay ships a real, non-empty extension so the seam is live-proven by the release train - **Issue-less branch form for every Refs-optional commit type** ([#1767](#1767)) - Every type in the resolved `DEVKIT_REFS_OPTIONAL_TYPES` set now gets a `<type>/<summary>` branch form, as `chore` already did. With `DEVKIT_REFS_OPTIONAL_TYPES=chore,docs`, `docs/<summary>` is accepted next to `docs/<issue>-<summary>`. There is no new key: a branch may skip the issue only where its commits may - Applies to the scaffolded branch guard, the flake-generated guard and CI's branch-name gate (new `issueless-branch-types` output of `resolve-toolchain`). `chore/<summary>` stays allowed under every policy, `required` included, so the default pattern is unchanged - Consumers on `DEVKIT_REFS_POLICY=optional` exempt every approved type, so every type now gets the issue-less form (e.g. `feat/<summary>`) - **DEVKIT_FLAKE_PIN_ADVANCE: advance a pinned devkit flake input on upgrade** ([#1752](#1752), [#1756](#1756)) - New `.vig-os` key `DEVKIT_FLAKE_PIN_ADVANCE`. With `true`, an `install.sh --force` upgrade in direnv or `both` mode rewrites a pinned release ref (`?ref=X` or `/X`, form kept) to the new `DEVKIT_VERSION` and runs `nix flake update <input>` in the same step. If the lock update fails, `flake.nix` and `flake.lock` are both restored. Empty or `false` (default) leaves a pin untouched, and the `flake-bump:` line now names the key - The scaffolded `ci.yml` fails its `resolve-toolchain` job when a pinned release ref differs from `DEVKIT_VERSION`, so an adoption PR can no longer wire hooks the pinned toolchain cannot run. Floating inputs, non-release pins, `bare` and `devcontainer` modes are not gated - Pinned consumers: the adoption PR that ships this gate is red once. Fix it in one commit on that branch (bump the pin, `nix flake update <input>`, set the key) and merge it before the next weekly upgrade run replaces the branch; see `docs/MIGRATION.md` - **Release train: pluggable pre-release format, draft-Release-first owner contract, and a standalone publish seam** ([#1746](#1746)) - Candidates can be tagged in any SemVer pre-release format, e.g. `alpha.{N}` for `v0.1.0-alpha.1` (`{N}` counter, `{YYYYMMDD}` date). Precedence: `release.yml` input `pre-release-format` > `.vig-os` `DEVKIT_PRERELEASE_FORMAT` > `rc{N}`, which keeps today's `X.Y.Z-rcN` tags byte-identical. A format switch that would sort below an existing tag of the same `X.Y.Z` is refused. Computed by the new `release-version` vig-utils CLI - Candidate discovery now lists every `X.Y.Z-*` tag, not only `-rc*`, so a stray pre-release tag that sorts above the next `rcN` (e.g. `1.2.3-test`) now stops a candidate for that version. Delete the stray tag, or release the next version - `release-publish.yml` now creates the draft GitHub Release before the tag ref, so tag-triggered asset workflows always find it (the "pre-publish assets window"); a failed tag push discards the orphan draft. `promote-release.yml` stays the only place a draft is published - New preserved, default no-op seam `publish-release-extension.yml` on `release: published` (plus a `workflow_dispatch` tag retry) for irreversible publishes such as crates.io or PyPI. It is standalone so Trusted Publishing binds to its own path - `docs/DOWNSTREAM_RELEASE.md` documents the contract and a cargo-dist recipe: cargo-dist builds the assets and a tag-push workflow uploads them into the train's draft, because `create-release = false` makes cargo-dist publish the draft itself - **`devkit` Claude Code plugin -- state-lookup-first operator skills** ([#1744](#1744)) - New `plugins/devkit/` plugin with eleven skills covering adoption (`/devkit:adopt`), the read-only state report (`/devkit:status`), every release-train pathway (`/devkit:release-prepare`, `-candidate`, `-finalize`, `-promote`, `-abandon`, `-hotfix`, `-neutral`), consumer upgrades (`/devkit:upgrade`) and the Rust pack audit (`/devkit:pack-rust`). - Every skill starts with a read-only state lookup and carries an explicit refusal table for the states that would foot-gun the verb it wraps -- another train in flight ([#1627](#1627)), a floating tag that would move backwards ([#1626](#1626)), a published Release whose deletion tombstones the tag name ([#1301](#1301)), a dirty tree, `dev` behind `main`. Skills wrap the canonical `just` recipes and workflow dispatches; they never re-implement release logic. - Read-only skills are model-invocable; every mutating skill sets `disable-model-invocation: true`, so an agent cannot infer its way into dispatching a release verb. - The plugin is versioned with devkit: `plugin.json`'s version equals `DEVKIT_VERSION`, and `release.yml`'s finalize step bumps and verifies both, so every release tag carries skills matching that release's verbs. - Distributed through a marketplace in this repository, not vendored into the consumer scaffold -- the per-repo copy is the drift model [#927](#927) exists to retire. Pin the marketplace to your `DEVKIT_VERSION` (`/plugin marketplace add vig-os/[email protected] --sparse .claude-plugin plugins` then `/plugin install devkit@vigos-devkit`): an unpinned marketplace tracks devkit's default branch, so the skills would be the newest release's whatever the scaffold pins. `/devkit:status` reports the mismatch. Moving to a new version is remove-then-add; a repeat add is a no-op and `marketplace update` keeps the ref it was added with. - Skills that fetch the installer validate the version against `^[0-9]+\.[0-9]+\.[0-9]+$` in the same snippet, before the fetch, and resolve it as `refs/tags/<version>`. The version is read from the inspected repo's manifest and interpolated into a URL that is piped to a shell, and `curl` collapses `..` before sending, so an unvalidated value would reach an arbitrary repository. - `tests/test_devkit_plugin.py` fails when a skill names a `just` recipe or a workflow file that does not exist in devkit or in the scaffold. - **Creation runbook for the `vigos-devkit-upgrade` GitHub App** ([#1739](#1739)) - New `docs/runbooks/devkit-upgrade-app.md` documents the App's grant, its public visibility (linking to the recorded decision in `vig-os/org-config`), its install targets, which org secrets carry its credentials, and the key-rotation procedure, including the mandatory `GET /app/installations` inventory sweep for a public App with no webhook - The scaffolded `devkit-upgrade.yml` grant header now links to the runbook instead of restating the permission set inline ### Changed - **Promote-release cleanup matches the configured pre-release format** ([#1749](#1749)) - The scaffolded `promote-release.yml` cleanup job used to prune only `-rc*` candidate tags, so a repo on a non-default `DEVKIT_PRERELEASE_FORMAT` (e.g. `alpha.{N}`, #1746) never got its candidate tags cleaned up. The match is now derived from the resolved format via the new `release-version --list-pattern` CLI mode (`PreReleaseFormat.list_pattern` in vig-utils), reusing the format's existing `re.escape`/placeholder machinery rather than a second parser - A tag from a *previously* configured format (a mid-series switch) is intentionally left alone; the existing "no GitHub Release" guard is unchanged - Scope: the scaffold copy only. Devkit's own `.github/workflows/promote-release.yml` stays on literal `rc{N}` -- it sets no pre-release format and its cleanup also prunes per-arch GHCR `-rcN-<arch>` tags, which a format-generic matcher would not cover - **The local branch guard is the `validate-branch-name` hook** ([#1760](#1760)) - The scaffolded `.pre-commit-config.yaml` and the flake-generated hook set replace pre-commit-hooks' `no-commit-to-branch` regex with a `repo: local` `validate-branch-name` hook; `DEVKIT_BRANCH_TYPES`, the Refs-optional set and `DEVKIT_WORKFLOW` now render its `--types`, `--issueless-types` and `--workflow` args. `release/X.Y.Z` branches now pass locally, as they did in CI - The upgrade folds every rendered shape of the old hook in a preserved config into the new one, reported as `preserved-hook-fold: no-commit-to-branch-pre-1760`. A hand-edited pattern is left in place and reported as `preserved-hook-drift: no-commit-to-branch-pre-1760` #### Dependencies - Update `anchore/sbom-action` from `v0.24.2` to `v0.24.3` ([#1812](#1812)) - Update `aquasecurity/trivy` from `v0.74.0` to `v0.75.0` ([#1812](#1812)) - Update `vig-os/sync-issues-action` from `v0.5.0` to `v0.5.1` ([#1812](#1812)) - Lock file maintenance (pip) ([#1813](#1813), [#1814](#1814)) ### Removed - **Numeric `DEVKIT_UPGRADE_APP_ID` fallback in `devkit-upgrade.yml`** ([#1366](#1366)) - The workflow now reads only `DEVKIT_UPGRADE_APP_CLIENT_ID`; the legacy numeric secret is no longer read at all, and its deprecation warning is gone. Every consumer org already carries the Client-ID secret (#1365), so no consumer loses its App identity. The org secret can be retired in org-config once this release is adopted ### Fixed - **Actionlint opt-out left a double blank line that failed yamllint** ([#1800](#1800)) - `DEVKIT_FEATURES_DISABLED=actionlint` excised the `# >>> devkit:actionlint` … `# <<< devkit:actionlint` block from a rendered `.pre-commit-config.yaml` but left the blank lines flanking it, so the two ends met as two adjacent blank lines — `too many blank lines (2 > 1)` under the scaffold's own `.yamllint` (`empty-lines: max: 1`). The excision now also drops the blank line immediately before the block, scoped to that one seam - A consumer who already hit the bug on a prior render is not repaired by a later upgrade: the excision is sentinel-gated and the sentinels are already gone from an already-excised file, so there is nothing new to trigger on. Fixing the double blank line by hand (or re-adding the hook and re-running the opt-out) clears it - **Fresh scaffold's first commit failed `check-added-large-files` on `.devcontainer/CHANGELOG.md`** ([#1801](#1801)) - The scaffold copies devkit's own, growing `CHANGELOG.md` into `.devcontainer/CHANGELOG.md` (528 KB+ on `dev`), which crossed the hook's 500 KB default. `check-added-large-files` now excludes that path; devkit's own repo has no `.devcontainer/` directory, so the exclude is an inert no-op on devkit's own commits - **`sync-issues.yml`'s `sync` job ignored `DEVKIT_CI_RUNNER`** ([#1795](#1795)) - `resolve-toolchain` now re-exports `runner-json`, and the `sync` job routes `runs-on` through it (`${{ fromJSON(needs.resolve-toolchain.outputs.runner-json) }}`), matching `ci.yml`. A self-hosted consumer's own runner now also carries this daily-cron job instead of paying for it on the hosted default every day regardless of activity. `resolve-toolchain`'s own `runs-on` is unchanged (hosted default, per #1173) - **Smoke listener's deploy job unbound from the commit-App environment** ([#1793](#1793)) - `repository-dispatch.yml`'s `deploy` job mints the commit App token but was missing from `render_commit_app_environment`'s render list, so a `--smoke-test` scaffold with `DEVKIT_COMMIT_APP_ENVIRONMENT` set left it reading `COMMIT_APP_CLIENT_ID`/`COMMIT_APP_PRIVATE_KEY` from org/repo secrets instead of the environment. It is now bound alongside the other token-minting jobs. - **Sync watermark advanced past a failed push** ([#1757](#1757)) - `sync-issues.yml` saved its incremental cutoff with `if: always()`, so a failed `Commit and push` step still advanced it and the next run never regenerated the unpushed issues and PRs. The save now runs only when the sync succeeded and the push did not fail; a skipped push (nothing changed) still saves - **Mirror mode without a release feature froze the trunk's archive silently** ([#1758](#1758)) - The `DEVKIT_SYNC_TARGET` mirror's only fold-back is the release train, so with `release` in `DEVKIT_FEATURES_DISABLED` it was never merged back and the trunk's `docs/issues/` stopped updating, with no output. The scaffold now prints a notice for that combination (it still proceeds) - The `.vig-os` and migration docs no longer claim each sync regenerates full state: the sync is incremental, and only `force-update` rebuilds - **Stacked PRs ran no CI or CodeQL** ([#1759](#1759)) - `ci.yml` and `codeql.yml` filtered `pull_request` to `dev`, `release/**` and `main`, so a PR onto a topic branch showed no checks at all. Both now accept any base (`'**'`); `codeql.yml` gains the same concurrency group as `ci.yml`, cancelling superseded runs except on push - **Release train deadlocked on its own Dist Check** ([#1745](#1745)) - A repo with a `bundle` recipe now rebuilds its committed `dist/` when the release is prepared, and the refreshed bundle rides the CHANGELOG freeze commit, so the release PR opens with a fresh artifact instead of failing Dist Check before the candidate can run. Finalize still rebuilds it. The detect-and-build logic moved into a shared managed action, `.github/actions/build-bundle`, which the `release` feature group prunes - **`vigos.multiplexer` re-attached a window to an on-screen session** ([#1753](#1753)) - `detach-on-destroy` is now `no-detached`: killing a session switches the client to a detached session if one exists and otherwise closes the window, instead of showing a project already attached elsewhere - **SHA-anchored release-PR check-wait in the smoke gate** ([#1737](#1737)) - The smoke listener's `wait-release-pr-ci` job could observe a complete, green required-check set for the release PR's *pre-push* head SHA and let `trigger-promote-release` dispatch `promote-release.yml` while `finalize`'s `sync-issues` push was still re-triggering that PR's CI -- a timing race, not a content defect (live on the 1.17.0 train). - The wait now requires both a quiet release branch (no `queued`/ `in_progress` workflow run) and a required-check read anchored by a `headRefOid` snapshot taken immediately before and after the query; a head move discards the observation instead of judging it. - The confirmed SHA is exposed as a job output and consumed by a new last-mile guard in `trigger-promote-release` that re-checks the PR head immediately before dispatch and fails with an explicit message on a mismatch, instead of a confusing downstream "checks still in progress" refusal. - **Renovate vulnerability-fix coverage for smoke-test Python and Rust consumers** ([#1763](#1763)) - Renovate is the vulnerability-fix channel, but its alert rules only fire for dependencies an enabled manager extracts. The smoke-test overlay enabled `github-actions` only, and every smoke deploy overwrote a hand fix; it now also enables `pep621`. - The workspace `renovate.json` template now enables `cargo`, and the preset carries a `cargo` rule (`build(cargo)`) so Cargo PRs pass the commit gate. `renovate.json` is preserved on upgrade: existing Rust consumers add `cargo` by hand (see `docs/MIGRATION.md`). - The preset now configures `vulnerabilityAlerts` explicitly and labels vulnerability PRs `security`.
Release 1.5.0 - 2026-07-30
This PR prepares release 1.5.0 for merge to main.
1.5.0 - 2026-07-30
Added
Self-polling devkit-upgrade workflow (#1296)
devkit-upgrade.ymlscaffolded into every consumer: a weeklyschedule (Monday, aligned with the Renovate window) polls devkit's public
releases/latestand, when this repo'sDEVKIT_VERSIONis behind, runs thefull-fidelity
install.sh --forceupgrade — the.vig-ospin, theflake.lockvigosnode and the whole scaffold move together, committedinside the project shell so consumer hooks run — then opens the adoption PR.
workflow_dispatchtakes an explicitversion(final or rc) for therelease-train / lane-re-bump path.
is never downgraded (no-op when current or ahead). Within a train the
adoption issue, branch and PR are reused across rc→rc→final, force-updated to
the latest bump.
.vig-osknobs:DEVKIT_AUTO_UPGRADE=falsedisables the schedule only(manual dispatch still works);
DEVKIT_UPGRADE_EXCLUDElists paths resetbefore the adoption commit. The whole file opts out via the new
devkit-upgradefeature group (DEVKIT_FEATURES_DISABLED).(#1302): the
DEVKIT_UPGRADE_APP_IDandDEVKIT_UPGRADE_APP_PRIVATE_KEYsecrets feed aper-run installation token minted in-workflow (the default
GITHUB_TOKENcannot open a PR that triggers CI, and a static PAT is not supported —
user-bound, expiring, single-owner). The workflow fails fast with a clear
message when the secrets are absent, and the commit identity is configurable
and kept off the agent blocklist.
(#1308): the in-shell commit
stays a staging artifact (hooks run, message validated) and its tree is
replayed through the git-data API with the App token — blobs → tree (with
explicit per-entry modes, so executable bits survive) → commit → ref, with
deletions as null-sha entries and a force-updated branch ref for the
within-train reuse semantics. Consumers' Signed-commits rulesets stay fully
enforced; no bypass actors are needed anywhere.
Scaffold-drift CI gate (DEVKIT_DRIFT_CHECK) (#1295)
ci.ymlgains ascaffold-driftjob that re-runs the pinneddevkit version's scaffold over the checkout and fails a PR whose managed
files diverge from it —
DEVKIT_VERSIONbumped without re-scaffolding, or amanaged file hand-edited. A pin-only bump otherwise merges green.
*.projectfiles and persisted
.vig-osvalues are exempt by construction (the scaffoldnever overwrites them), and
.gitignored files (e.g.*.local) are ignored.git diff(theinstall.sh --previewreportclassifies OVERWRITTEN by path existence, not content, so it cannot tell
drift from an up-to-date file). The job
docker runs the in-image scaffold onthe host so a direnv/bare consumer (which resolves an empty container image)
is covered too;
resolve-toolchainemits the all-modes image ref..vig-oskeyDEVKIT_DRIFT_CHECK(truedefault,falsedisables). It is a runtime gate — CI reads it throughresolve-toolchain'sdrift-checkoutput, so flipping it needs nore-scaffold — and the value round-trips across
--forceupgrades. Runs onPRs only (the ~1.5 GiB image pull); an invalid value fails the scaffold.
Solo/private-repo adoption profile (#1285)
docs/SOLO_ADOPTION.md: the one document a single-user, private repofollows to adopt devkit without the team/traceability layer, expressed as a
combination of existing
.vig-osknobs (--mode/--workflow,DEVKIT_FEATURES_DISABLED,DEVKIT_REFS_POLICY). States what is kept (hookstack, commit-msg validation, agent-identity enforcement, managed upgrade
path, justfiles, dev environment) as clearly as what is dropped, calls out
the
renovatejudgment call and forward-drift on upgrades, and cross-linksthe adoption notes that trip solo adopters (fix(workspace): undotted typos.toml escapes the #913 dual-config guard #1280, fix(workspace): just test fails on Python repos with zero collected tests (pytest exit 5) #1281, feat(init): preflight failure for non-main default branches (legacy master lockout) #1283). Linked
from the README install section and
docs/MIGRATION.md.Scaffold-time Refs policy knob (DEVKIT_REFS_POLICY) (#1282)
.vig-osmanifest key drives theRefs:-line enforcement of both thevalidate-commit-msgpre-commit hook and CI'svalidate-commit-rangefrom asingle value:
chore-optional(default — onlychoremay omitRefs:,today's behavior),
optional(any approved type may omit it), andrequired(every type,
choreincluded, must carry aRefs:line). Absent key => abyte-identical scaffold; the value round-trips across
--forceupgrades.Preflight abort on non-main default branches (#1283)
main(the branch-name hook,ci.ymland its workflow triggers all key off it). On a legacymasterrepo the scaffold used to succeed silently, then block every subsequent
commit with a confusing hook error.
install.shnow detects a non-maindefault branch (via
origin/HEAD, a best-effortgh apilookup, or thelocal branch) and refuses before writing anything, printing the rename
recipe. A topic/
devbranch of a repo that already hasmainproceedsunchanged;
--previewwarns without aborting;--skip-preflightbypasses.Manifest-driven scaffold feature opt-outs (DEVKIT_FEATURES_DISABLED) (#1284)
.vig-oskey: a comma-separated, whitespace-tolerant list of scaffoldfeature groups a repo opts out of. Disabled groups are never scaffolded,
pruned if a prior scaffold left them, reported by
--preview, and stableacross
--forceupgrades; clearing the key re-ships them. Absent/emptyscaffolds identically to before; an unknown name aborts loudly.
release(the release/prepare/promote workflows + downstreamdocs),
renovate(renovate config + changelog workflows),sync-issues(the sync workflow + label taxonomy),
scanning(CodeQL + Scorecard),gh-templates(issue templates + PR template),skills(every.claude/skills/dir exceptworktree_*), andworktree(theworktree_*skills +justfile.worktree).release-extension.yml,prepare-release-extension.yml) andrenovate.jsonare never pruned whentheir feature is disabled — they are left in place with a notice.
Fixed
install.shprefers a responsive docker over podman in runtime auto-detection (#1305)ubuntu-latestrunners), auto-detectionpicked the preinstalled podman, whose stale system crun rejects podman ≥ 5's
OCI configs (
crun: unknown version specified) — the first livedevkit-upgradedispatch died at the install step on exactly this.Detection now prefers docker when its daemon responds and falls back to
podman: podman-only hosts are unchanged, a dead docker daemon still yields
podman, and explicit
--docker/--podmankeep overriding. Thedevkit-upgrade.ymltemplate also passes--dockerexplicitly, so thechoice rides in the scaffold independent of the fetched installer.
just testno longer fails a Python repo with zero collected tests (#1281)justfile.projecttest/test-covrecipes gate onpyproject.tomlpresence, so a consumer with apyproject.tomlbut no testsuite ran
uv run pytest→ exit 5 ("no tests collected") → redjust testand red CI out of the box. Both recipes now treat pytest's exit 5 as a green
no-op — "nothing to test" is not a failure, matching how non-Python
consumers silently skip — while every other nonzero exit still fails. This
is a template-only change; preserved consumer copies of
justfile.projectkeep their own recipes (the fix(workspace): scaffold upgrade strands base recipes — justfile.project is preserved but now owns sync/precommit/test, breaking the shipped ci.yml #877 repair only appends missing ones).
Undotted
typos.tomlno longer collides with the template.typos.toml(#1280)typostool reads config from.typos.toml,_typos.toml, or theundotted
typos.toml. The scaffold guarded the first two (a preserved.typos.tomlvia the preserve list; a legacy_typos.tomlvia a copy-timeexclude) but not the undotted spelling, so a consumer carrying
typos.tomlalso received the template
.typos.toml— two active configs, the curatedallowlist silently shadowed. An undotted
typos.toml(with no.typos.toml)is now treated exactly like the legacy
_typos.tomlcase: the consumer filestays the single active config, the template copy is not shipped, and the
skip is mirrored in
--previewand named in the scaffold surface message.sync-issues cache cleanup no longer silently skips on early job failure (#1278)
if: always()"Delete old cache" step calls theretryshim, whichonly exists after toolchain setup. When the job died beforehand the shim
was absent and the
retry ... | head -1assignment masked thecommand not found, so the step took the "No cache found" branch. Aone-shot fallback shim now runs a single unretried attempt when
retryismissing; healthy runs still use the real wrapper.
Security
Route the sync-issues bootstrap step's target input through env, not inline (#1279)
sync-issues.yml"Bootstrap sync target branch if absent"step (rendered only when
DEVKIT_SYNC_TARGETis set) interpolated theworkflow_dispatchtarget-branchinput straight into itsrun:block,which
zizmorflags as a template-injection (High). The input is nowforwarded via a
TARGET_INPUTenv var and referenced as a shell parameterexpansion (
TARGET="${TARGET_INPUT:-<target>}"), matching the template'sexisting
TARGET_BRANCHpattern; the allowlist-validated scaffold defaultstays the safe literal fallback. First consumer hit: chore: point sync-issues at the sync/issue-mirror branch org-config#80,
which carried a local forward-port of this fix until the template shipped it.
Advance the nixpkgs pin and drop the propagated vulnix exception blocks (#1273)
nixpkgsrev (flake.lock) from nixos-26.05@
34268251(2026-06-22) to @8623c4c2(2026-07-26). The before/aftervulnixclosure diff cut the reported CVE surface from 112 to 56 uniqueadvisories with no new HIGH/CRITICAL (CVSS ≥ 7.0) findings.
.vulnixignoreblocks whose fixes reached the pinned channel:openssl 3.6.2 → 3.6.3 (10 CVEs), curl 8.20.0 → 8.21.0 (17 CVEs),
openssh 10.3p1 → 10.4p1 (CVE-2026-60002), and the jq CVE-2026-49839 entry
(jq 1.8.1 → 1.8.2). jq 1.8.2 surfaces three unrelated sub-7.0 advisories
(CVE-2026-33948, -39979, -44777) that are awareness-only and do not gate.
and libssh2 (1.11.1) blocks — the rebuilt closure confirms those fixes have
still not propagated to the pinned channel; their re-verification notes were
refreshed to 2026-07-28 with the new pin context.