Repository navigation
chore: release 1.11.0 - #1557
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://redirect.github.com/github/codeql-action) ([changelog](https://redirect.github.com/github/codeql-action/compare/5595ccaf912efad79be6eef63a5619ff05969be3..ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd)) | action | digest | `5595cca` → `ff2f1c6` | --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yOS41IiwidXBkYXRlZEluVmVyIjoiNDQuMjkuNSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aquasecurity/trivy](https://redirect.github.com/aquasecurity/trivy) | uses-with | minor | `v0.73.0` → `v0.74.0` | | [cachix/install-nix-action](https://redirect.github.com/cachix/install-nix-action) | action | patch | `v31.11.0` → `v31.11.1` | --- ### Release Notes <details> <summary>aquasecurity/trivy (aquasecurity/trivy)</summary> ### [`v0.74.0`](https://redirect.github.com/aquasecurity/trivy/releases/tag/v0.74.0) [Compare Source](https://redirect.github.com/aquasecurity/trivy/compare/v0.73.0...v0.74.0) #### ⚡ Highlights ⚡ 👉 <https://redirect.github.com/aquasecurity/trivy/discussions/11096> #### Changelog <https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md#0740-2026-08-14> </details> <details> <summary>cachix/install-nix-action (cachix/install-nix-action)</summary> ### [`v31.11.1`](https://redirect.github.com/cachix/install-nix-action/releases/tag/v31.11.1) [Compare Source](https://redirect.github.com/cachix/install-nix-action/compare/v31.11.0...v31.11.1) #### What's Changed - nix: 2.35.1 -> 2.35.2 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​281](https://redirect.github.com/cachix/install-nix-action/pull/281) Fixes a crash ([`Assertion '!awake.empty()' failed`](https://redirect.github.com/NixOS/nix/issues/16005)) that could abort builds. **Full Changelog**: <cachix/install-nix-action@v31.11.0...v31.11.1> </details> --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yOS41IiwidXBkYXRlZEluVmVyIjoiNDQuMjkuNSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
The DEVKIT_SYNC_TARGET fold block reaches consumers unlinted: init-workspace.bats pins that its steps render and release-mirror-fold.bats executes the rendered run blocks, but nothing ever looked at the rendered tree the way a consumer's own hooks do — which is why the 1.10.0 typo regression was found by the one repo that sets the manifest key, on its scheduled upgrade. The new file renders a mirror-mode workspace in both workflow models and lints each: typos with no allowlist at all (a consumer's .typos.toml is seeded once and never overwritten, so generated content may not rely on any entry in it — least of all one devkit added later for its own vendored assets) and actionlint over the steps and job the fold injects, which the default-path fixtures never see. Red on the current render: `mis-parse` in the generated release-core.yml comment. Refs: #1531
…s seed The DEVKIT_SYNC_TARGET fold block rendered a comment into the consumer's managed release-core.yml whose wording is only spell-clean under devkit's own .typos.toml. A consumer's .typos.toml is seeded once and never overwritten by an upgrade, so a repo scaffolded before devkit added that entry could not receive it: the mirror-mode consumer's devkit-upgrade run died at the commit step and left no branch, PR or issue behind, and re-failed weekly. Reworded so the generated tree needs no allowlist entry at all. No consumer action required. Refs: #1529
…s seed (#1533) ## Summary Fixes the 1.10.0 upgrade regression that broke `vig-os/org-config` (run [32002045870](https://github.com/vig-os/org-config/actions/runs/32002045870)) and adds the lint guard whose absence let it ship: - **Reword** (#1529): the `DEVKIT_SYNC_TARGET` fold block rendered `mis-parse` into the consumer's managed `release-core.yml` — spell-clean only under devkit's own `.typos.toml` (#1488 entry), not under a pre-#1488 consumer seed, which upgrades never overwrite. Now reads "parse wrong"; no consumer action needed. - **Stock-seed lint guard** (#1531): new `tests/bats/release-mirror-fold-lint.bats` renders a full mirror-mode workspace in **both workflow models** and lints each tree with `typos --isolated` (**no allowlist at all** — stricter than the issue asked, because real consumer seeds predate entries the current seed carries: commit-action's has only 3 of the 7 words) and `actionlint` (first actionlint coverage of the fold-injected steps/job). Fixture preconditions assert the fold actually rendered, so the lints can't pass vacuously. Deliberately untouched: whether #1488's vendored-asset words belong in the consumer seed at all (issue #1529 point 3), and the residual exposure of the *synced devkit changelog* in devcontainer-mode consumers (released 1.10.0 text contains `mis-parses`; no consumer is affected today — noted in the test header, follow-up candidate). ## Test plan - TDD red: the typos legs failed on the current render (`error: \`mis\` should be \`miss\`, \`mist\` — release-core.yml:641`) before the reword, green after - `bats tests/bats/` 543/543 green; scaffold-adjacent pytest suites (1165 tests) green; `prek run --all-files` green (verified independently of the implementation run) Closes #1529 Closes #1531
A failed devkit-upgrade leaves no artifact in the consumer repo today: the adoption branch only reaches the remote in the publish step, so a resolve, scaffold or in-shell-commit failure is visible only as a red scheduled run (live: vig-os/org-config run 32002045870). Two suites, both red: - tests/test_workflow_devkit_upgrade.py pins the wiring — a separate result-gated `report` job (a step-level `if: failure()` cannot survive a job-level abort), an issues-scoped best-effort mint kept off the upgrade job's token, marker-based lookup before create, close-on-success, and the resolve outputs the alert names. - tests/bats/devkit-upgrade-alert.bats executes the rendered `run:` blocks against a stub `gh` (the release-mirror-fold idiom) to cover the branching the structural pins cannot: create vs comment vs close, an unrelated open issue, an unresolved target, and the missing-grant degradation. Refs: #1530
A failed run left no artifact in the consumer repo: the adoption branch only reaches the remote in the publish step, so a resolve, scaffold or in-shell-commit failure showed up only as a red scheduled run, and the pin then stopped moving (live: vig-os/org-config run 32002045870, stuck on 1.9.0). The new `report` job files ONE tracking issue per repo, comments on that same issue on every repeat failure, and closes it on the next fully green run. It is not a revert of #1405: that removed the SUCCESS-path adoption issue, where the bot PR is already the artifact; this covers the failure path, where by construction there is none. The rejected alternative stands rejected — nothing half-applied is pushed, per #1308. Design decisions: - A separate `needs: upgrade` job rather than a late `if: failure()` step. A step never runs once the job itself is aborted (the 30-minute timeout, a lost runner), which is one of the silent failures being closed. Keying both legs on `needs.upgrade.result` covers a resolve-step failure (malformed pin, missing DEVKIT_VERSION) for free and stays quiet on a cancelled run. - The issues grant is a SEPARATE, `continue-on-error` mint, not an extra `permission-issues: write` on the upgrade job's token. create-github-app-token fails the mint when it requests a permission the installation lacks, and this App has needed no Issues grant since #1405, so adding it to the primary mint would turn every green upgrade red on an org that has not re-granted it. Reporting may never break the path it reports on: without the grant both legs emit a warning and exit 0. - De-duplication keys on an HTML body marker, so the title can stay version-free — a failure on a different target finds the same open issue and no title goes stale. `gh issue list` reads the REST index, not the eventually-consistent search index. - The failing step name comes from the run's own job records via the default token (`actions: read`), so no per-step instrumentation has to be kept in sync. Versions come from the resolve step, promoted to job outputs, with `current` published before anything below it can fail. - Closing on ANY green run, including the "already current" and DEVKIT_AUTO_UPGRADE=false no-ops: the workflow ran end to end, so the recorded failure no longer reproduces, and an opted-out consumer should not keep an open alert. Org action required: grant Issues (write) to the devkit-upgrade App installation. Until then the upgrade path is unchanged and reporting is a warning. Refs: #1530
…ilure A job-level if without a status-check function gets an implicit success() gate, so the report job was skipped on exactly the failed runs it exists to report. !cancelled() preserves the intended silence on cancelled runs while letting both the failure and success legs evaluate. The structural test now pins the status function alongside the result checks. Refs: #1530
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | major | `v9.0.0` → `v10.0.1` | --- ### Release Notes <details> <summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary> ### [`v10.0.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.0.1): 🌈 Tolerate transient manifest timeouts [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v10.0.0...v10.0.1) ##### Changes Thank you [@​arguile-](https://redirect.github.com/arguile-) for making this action more resilient. ##### 🐛 Bug fixes - Tolerate transient manifest timeouts [@​arguile-](https://redirect.github.com/arguile-) ([#​1016](https://redirect.github.com/astral-sh/setup-uv/issues/1016)) ##### 🧰 Maintenance - chore: update known checksums for 0.12.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​1017](https://redirect.github.com/astral-sh/setup-uv/issues/1017)) ##### 📚 Documentation - docs: update version references to v10.0.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​1014](https://redirect.github.com/astral-sh/setup-uv/issues/1014)) ### [`v10.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.0.0): 🌈 Disable automatic caching for sensitive events and new QOL features [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v9.0.0...v10.0.0) ##### Changes Another breaking release, directly after v9.0.0 but we think the added security justifies that. ##### Extra security by default If you use the default `enable-cache: auto` this will now **DISABLE THE CACHE** to protect against cache poisoning for the following events: - `pull_request_target` - `workflow_run` - `release` You can read the full reasoning in [#​984](https://redirect.github.com/astral-sh/setup-uv/issues/984) ##### `version: latest-known` ```yaml - name: Install the latest version of uv known to setup-uv uses: astral-sh/[email protected] with: version: "latest-known" ``` This will now install the latest version with a checksum that is known by this action. The [known `uv` checksums](https://redirect.github.com/astral-sh/setup-uv/blob/4f6036f71cec78afb113b323f220c9185d983c12/src/download/checksum/known-checksums.ts) are automatically updated but will take a release of this action to take effect. You won't be always using the latest & greatest but you will have an extra level of security. ##### Read python version from `.tool-versions` ```yaml - name: Install uv based on the version defined in .tool-versions and also set python uses: astral-sh/[email protected] with: version-file: "pyproject.toml" ``` Will now also set the python version if it is defined in `.tool-versions`. You can read the details [in the docs](https://redirect.github.com/astral-sh/setup-uv/blob/main/docs/advanced-version-configuration.md#install-a-version-defined-in-a-requirements-or-config-file) ##### 🚨 Breaking changes - Disable automatic caching for sensitive events [@​eifinger](https://redirect.github.com/eifinger) ([#​992](https://redirect.github.com/astral-sh/setup-uv/issues/992)) ##### 🐛 Bug fixes - Reject paths in .tool-versions [@​eifinger](https://redirect.github.com/eifinger) ([#​1007](https://redirect.github.com/astral-sh/setup-uv/issues/1007)) ##### 🚀 Enhancements - Read Python version from .tool-versions [@​eifinger](https://redirect.github.com/eifinger) ([#​996](https://redirect.github.com/astral-sh/setup-uv/issues/996)) - Add latest-known version selector [@​eifinger](https://redirect.github.com/eifinger) ([#​993](https://redirect.github.com/astral-sh/setup-uv/issues/993)) ##### 🧰 Maintenance - Require pull requests for Dependabot rollups [@​eifinger](https://redirect.github.com/eifinger) ([#​1005](https://redirect.github.com/astral-sh/setup-uv/issues/1005)) - ci: pin Alpine container image [@​eifinger](https://redirect.github.com/eifinger) ([#​995](https://redirect.github.com/astral-sh/setup-uv/issues/995)) - chore: update known checksums for 0.12.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​991](https://redirect.github.com/astral-sh/setup-uv/issues/991)) - chore: update known checksums for 0.12.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​985](https://redirect.github.com/astral-sh/setup-uv/issues/985)) - chore: update known checksums for 0.12.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​982](https://redirect.github.com/astral-sh/setup-uv/issues/982)) - chore: update known checksums for 0.12.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​981](https://redirect.github.com/astral-sh/setup-uv/issues/981)) - chore: update known checksums for 0.11.31/0.11.32 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​972](https://redirect.github.com/astral-sh/setup-uv/issues/972)) ##### 📚 Documentation - docs: update version references to v9.0.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​971](https://redirect.github.com/astral-sh/setup-uv/issues/971)) ##### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​1013](https://redirect.github.com/astral-sh/setup-uv/issues/1013)) - chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​1004](https://redirect.github.com/astral-sh/setup-uv/issues/1004)) - chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​994](https://redirect.github.com/astral-sh/setup-uv/issues/994)) - chore(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​976](https://redirect.github.com/astral-sh/setup-uv/issues/976)) - chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​980](https://redirect.github.com/astral-sh/setup-uv/issues/980)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yOS41IiwidXBkYXRlZEluVmVyIjoiNDQuMjkuNSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
Scheduled refresh of the nixpkgs-unstable pin (uv, gh, claude-code via the fastMovers overlay). Full CI on this PR is the merge gate. Refs: #817
) ## Summary Implements the failure alert from #1530: today a failed `devkit-upgrade` run leaves no artifact in the consumer repo (the remote ref only appears in the late Publish step), so a broken upgrade fails silently every week — observed live at org-config run [32002045870](https://github.com/vig-os/org-config/actions/runs/32002045870). - **New `report` job** in the scaffold `devkit-upgrade.yml`, gated `!cancelled() && (needs.upgrade.result == 'failure' || == 'success')` — a separate job rather than a late step so a job abort (timeout, lost runner) still reports, and resolve-step failures are covered for free. Silent on cancelled runs. - **Failure leg**: opens or re-uses a single tracking issue per repo, found by an HTML body marker with a version-free title (`chore(devkit): automated devkit upgrade is failing`) so a different target on the next failure lands in the same issue. Body carries the run URL, the failing step (read from the run's own job records via `actions: read`), and pinned vs target version (`unknown` when resolve itself died). Lookup via direct `gh issue list`, not the eventually-consistent search index. No label dependency. - **Success leg**: any fully green run (including no-ops) closes the open tracking issue with the green run URL — a fixed upgrade self-cleans, per the issue spec. - **Degraded mode**: the Issues grant is minted as a *separate* `permission-issues: write` token with `continue-on-error` — `create-github-app-token` fails a mint requesting an ungranted permission, so putting it on the primary mint would turn green upgrades red. All report steps are best-effort: without the grant the leg degrades to a `::warning::` and the upgrade path behaves exactly as today. (Both org installations of `vigos-devkit-upgrade` already have `issues: write` accepted, verified via API — so this fires for real from day one.) - **Not** a revert of #1405: the success path still produces no adoption issue (pinned by test). Review caught and fixed one real bug in the initial implementation: the job-level `if` lacked a status-check function, so the implicit `success()` gate would have skipped the report job on exactly the failed runs it exists for — now `!cancelled()`-gated and pinned by test. Rollout note: consumers get this one train after it ships (the cron runs the workflow from their base branch). ## Test plan - `tests/test_workflow_devkit_upgrade.py`: 26 passed (7 new structural pins: result-gated job, issues-only mint, marker + list-before-create, version-free title, env plumbing, close leg, `!cancelled()` gate; TDD red first: 7 failed) - `tests/bats/devkit-upgrade-alert.bats` (new): 9/9 — executes the extracted `run:` blocks against a stub `gh` (create vs comment vs close branching, unknown-target, missing-grant no-ops) - `bats tests/bats/init-workspace.bats` 257/257; `release-mirror-fold-lint.bats` 4/4 (typos + actionlint over the full render, both models) - `prek run --all-files` exit 0 (verified independently of the implementation run) Closes #1530
…gate Encode the #1516 acceptance cases: the verbatim 1.10.0 CHANGELOG wording for #1503 (identity in an inline code span) must pass the PR fingerprint check, while real attributions -- trailers, Signed-off-by, Author lines -- must keep failing, case-insensitively, with name matching unchanged. Refs: #1521
The emails blocklist was matched as a bare substring over the whole content, so a changelog entry or PR body that quoted a bot identity while describing a bug blocked its own release PR. Strip inline Markdown code spans before email matching; names and trailers keep their existing semantics, so plain-text attributions still fail. Refs: #1521
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yOS41IiwidXBkYXRlZEluVmVyIjoiNDQuMjkuNSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
…1536) ## Summary Implements #1521 (follow-up to the #1516 train blocker): the `emails` blocklist in `contains_agent_fingerprint` matched as a bare substring over the whole content, so a changelog entry or PR body that merely *quotes* a bot identity in an inline code span blocked its own release PR. Of the two options the issue offered, this takes **code-span stripping**, not the `_ATTRIBUTION_CONTEXT_RE` guard — deliberately: the context regex (`…[\s-]+by\b`) does not match `Signed-off-by:` (the `-off-` infix) or `Author:` lines, so gating emails on it would let real attributions through and would have required deleting two deliberate #274-era pins. Instead: - New single-line `_CODE_SPAN_RE` (`` `[^`\n]+` ``) — single-line so an unbalanced backtick can't swallow a following attribution line (pinned by test). - The email loop matches against the span-stripped text; `names` keeps its #274 context guard, trailer rules still see raw lines, case-insensitivity preserved. Implemented in code rather than `allow_patterns` because a TOML allow-pattern would also strip before *name* matching, weakening #274. - No vendored code copy exists (consumers use the published package); the scaffold ships only the blocklist *data*, unchanged. ## Test plan - Acceptance 1 (red before fix): the verbatim pre-#1516 changelog wording (recovered from `git show 2c53342`, load-bearing line quoting `github-actions[bot]`) now passes `check-pr-agent-fingerprints` run against the **real** blocklist — previously reproduced the exact #1516 CI failure. - Acceptance 2 (regression pins, green before and after): `Co-authored-by`, `Signed-off-by`, `Author:` attributions still fail; `GitHub-Actions[Bot]` case-insensitivity; names behavior unchanged; a trailer whose email is wrapped in backticks still fails via the trailer rule. - `packages/vig-utils/tests`: 523 passed (+9 new); `test_workflow_pr_agent_fingerprints.py` + `test_flake_hooks.py`: 70 passed; `prek run --all-files` exit 0 (verified independently of the implementation run). - Sanity: this branch's own `## Unreleased` section run through `check-pr-agent-fingerprints` as PR_BODY → exit 0. Closes #1521
Add tests/test_ci_green_gate.py: it extracts the release-PR CI gate's real bash from all six copies (release.yml, release-core.yml, and the validate + merge gates of both promote-release.yml copies) and runs it against fixture statusCheckRollup payloads. Shape assertions cannot distinguish a correct per-name dedup from a plausible one, so the #1516 stale-FAILURE scenario is pinned as behavior. extract_ci_gate/run_ci_gate join the shared workflow_scaffold helpers. Refs: #1522
…n gate The release-PR CI gate counted every FAILURE/ERROR entry in the head SHA's statusCheckRollup. A superseded workflow run leaves its check runs attached to that same SHA, so the gate refused a branch that `gh pr checks` — which keeps only the latest run per name — reported green; the 1.10.0 train had to delete the superseded run to proceed (#1516). Each gate now groups the rollup by check name and derives CI_FAILED, CI_PENDING and CI_SUCCESS from the latest run of each. Recency keys on startedAt, not completedAt: completedAt is null while a re-run is in flight, which would rank the live run oldest and let the stale FAILURE win. StatusContexts carry no name/startedAt, so they key on context/createdAt and keep their current treatment. The issue names release.yml and release-core.yml; the four promote-release.yml gates (validate and merge, both copies) carry the identical logic and the identical hazard, so all six sites are fixed together. Refs: #1522
…n gate (#1537) ## Summary Implements #1522 (follow-up to the #1516 train blocker): the CI-green gate counted **every** FAILURE/ERROR in the release PR head SHA's `statusCheckRollup`, so stale check runs left by a superseded workflow run (e.g. after a close/reopen re-run) blocked a branch that `gh pr checks` correctly reported green — during the 1.10.0 train this forced deleting the superseded run. The gate now dedups the rollup **once** into a latest-per-name set and derives all three counts (`CI_FAILED`, `CI_PENDING`, `CI_SUCCESS`) from it, matching `gh pr checks` semantics: ``` jq '[group_by(.name // .context // "?")[] | max_by(.startedAt // .createdAt // "")]' ``` - **Recency key `startedAt`, not `completedAt`**: `completedAt` is null while a re-run is in flight, which would rank the live run oldest and let the superseded FAILURE win — the exact inversion of the intended behavior. - **Group key `.name // .context`**: StatusContexts have no `name`; they key on `context`, are each their own latest, and keep their pre-existing pending treatment (pinned by test, not changed). - Applied to **all six sites** (approved scope beyond the two the issue names — the promote gates share the identical logic and hazard): `release.yml`, both `promote-release.yml` gates (devkit + scaffold), and the consumer `release-core.yml`. Sync topology verified first: none of these four files is manifest-generated, so each was edited as an independent source. ## Test plan New `tests/test_ci_green_gate.py`: 7 scenarios x 6 sites = 42 tests that **execute the real extracted bash+jq** against fixture rollups (harness in `tests/workflow_scaffold.py`) — superseded FAILURE passes (the #1516 case, red before the fix: 18 failed), latest-run FAILURE still blocks, in-progress re-run counts pending not failed, distinct-name FAILURE still blocks, StatusContext treatment unchanged, distinct StatusContexts not collapsed, order-independence across permutations. Naming each site explicitly also closes the historical scaffold-vs-devkit copy blind spot. Existing suites untouched and green: `test_release_validate_gate.py` + `test_promote_release.py` + `test_release_core.py` (80 passed with the new suite), `just test-bats` 552 passed, `prek run --all-files` exit 0 (verified independently of the implementation run). Follow-up candidates noted in review (not in scope): StatusContexts always count as pending in these gates (pre-existing), and `vig_utils/gh_issues.py::_dedupe_status_checks` still keys on `completedAt`. Closes #1522
The managed devkit-upgrade workflow fetches install.sh from main tip while
installing a pinned $TARGET. Assert the fetch URL uses refs/tags/${TARGET},
that TARGET stays env-routed, and that no main-tip installer fetch survives
anywhere in the template.
Refs: #1532
The managed devkit-upgrade workflow fetched the installer from main tip while
installing a pinned $TARGET, so the installer and the scaffold payload came
from different refs — an untested combination, and the one every scheduled
consumer run got whenever main was ahead of the latest release. It also left a
window where any push to devkit main immediately changed code executing with
contents: write in every consumer repo, with no review gate.
The fetch now uses refs/tags/${TARGET}/install.sh (double-quoted, since the URL
interpolates), reusing the TARGET already in the step's env.
No main fallback: verified with git ls-tree over all 61 tags that every tag
matching the resolve step's semver shape (X.Y.Z[-prerelease], 0.2.0 through
1.10.0) carries a root-level install.sh. The only tag without one is 0.1, whose
two-component name the resolve step's strict semver validation rejects, and
which releases/latest can never return.
Refs: #1532
## Summary Implements #1532 (surfaced by a Scorecard `Pinned-Dependencies` alert on commit-action): the managed `devkit-upgrade.yml` fetched `install.sh` from **`main` tip** while installing a pinned `$TARGET` — an untested installer/payload combination on most scheduled runs, and a window where any push to devkit `main` immediately changes code executing with `contents: write` in every consumer repo. One functional line: the fetch is now `refs/tags/${TARGET}/install.sh` (double-quoted; `$TARGET` reused from the step's existing `env:`), with a rationale comment. The #1530 `report` job is untouched. - **No `main` fallback, verified**: `git ls-tree` over all 61 tags shows root-level `install.sh` in every tag from 0.2.0 through 1.10.0 including every rc; the sole miss (`0.1`) is unreachable — the resolve step's `^X.Y.Z[-pre]$` regex rejects it and `releases/latest` never returns it. - **Every other `main/install.sh` URL audited and kept**: all remaining hits are unversioned human-driven bootstrap paths (README/template one-liners, `install.sh` self-help text, `version-check.sh`'s no-workflow hint, SOLO_ADOPTION/MIGRATION docs, archived issue text) — bootstrap from `main` is correct when no version exists yet. The smoke-test workflows already fetch `${TAG}/install.sh`. - **Out of scope per the issue**: SHA-pinning (circular for a self-upgrading installer — the Scorecard alert is expected to remain and be dismissed consumer-side) and installer self-verification of its version (possible stronger follow-up). ## Test plan - New `test_installer_is_fetched_from_the_target_release_tag`: asserts the exact double-quoted `refs/tags/${TARGET}` curl, the `env.TARGET` wiring, and that `devkit/main/install.sh` appears nowhere in the template (TDD red first: 1 failed against the `main` URL). - `test_bootstraps_installsh_and_commits_in_project_shell` relaxed to ref-agnostic — the ref pin is owned by the new test (DRY). - `tests/test_workflow_devkit_upgrade.py`: 27 passed; `prek run --all-files` exit 0 (verified independently of the implementation run). Rollout note: consumers pick this up one train after it ships (the workflow runs from their base branch). Closes #1532
The block expired 2026-08-19, so check-expirations failed on every branch (the hook is enable=true in the flake hook set, so Tier 0 nix-fast-build runs it inside the pre-commit derivation) and on the nightly security scan for both dev and main -- run 32335643087 aborted at the first step, before vulnix ran, so there was no scan signal at all that morning. Re-verified before renewing rather than bumping the date: against the last green nightly scan on the current pin 531670d871c0 (run 32219442917, findings of 2026-08-19) both CVEs are still live findings against fzf-0.72.0, so neither became droppable the way the gawk block did after its rev advance (#1328). The rev-advance lever still has nowhere to land either: nixos-26.05, release-26.05 and staging-26.05 all still ship fzf 0.72.0 with no backport PR open, and 0.74.3 exists only on master and nixpkgs-unstable. The 2026-07-14 risk assessment is unchanged and stands: CVE-2026-53432 is a FuzzyMatchV2 integer-overflow panic on 32-bit Go builds only (this image is 64-bit) and CVE-2026-53433 is CPU-DoS of fzf's opt-in localhost --listen server, which is never started here. Both are availability-only. Renewed onto the shared 2026-09-02 grid date so the whole register comes up for review in one pass (#1337). The register was reconciled against the same findings while here: all 25 HIGH/CRITICAL findings are excepted, so this block is the only thing standing between the scan and a green gate. Refs: #1547
## Description Renews the fzf exception block in `.vulnixignore` from the expired `2026-08-19` onto the shared `2026-09-02` grid date. Closes the red that took **both** nightly security-scan lanes down this morning ([run 32335643087](https://github.com/vig-os/devkit/actions/runs/32335643087)) and that reds `check-expirations` on every branch (the hook is `enable = true` in the flake hook set, so Tier 0 `nix-fast-build` runs it inside the `pre-commit` derivation). Refs: #1547 ## Type of Change - [x] `fix` -- Bug fix ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - `.vulnixignore`: `Expiration: 2026-08-19` -> `2026-09-02` for the fzf block (`CVE-2026-53432`, `CVE-2026-53433`), plus a renewal note recording the evidence below - `CHANGELOG.md` (+ synced devcontainer mirror): `### Security` entry under `## Unreleased` This is a **renewed risk acceptance, not a date bump**: - Both CVEs are **still live findings** against `fzf-0.72.0` in the last green scan ([run 32219442917](https://github.com/vig-os/devkit/actions/runs/32219442917), 2026-08-19, pin `531670d871c0`) — neither became droppable the way the gawk block did after its rev advance (#1328) - The **rev-advance lever has nowhere to land**: `nixos-26.05`, `release-26.05` and `staging-26.05` all still ship 0.72.0 with no backport PR open; 0.74.3 exists only on `master` / `nixpkgs-unstable` (NixOS/nixpkgs#553573, merged 2026-08-17). The pinned closure evaluates to `fzf 0.72.0` - The 2026-07-14 assessment stands: `CVE-2026-53432` is a `FuzzyMatchV2` integer-overflow panic on **32-bit Go builds only** (this image is 64-bit); `CVE-2026-53433` is CPU-DoS of fzf's **opt-in** localhost `--listen` server, never started here. Availability-only either way The register was reconciled against the same findings while here: 25 HIGH/CRITICAL findings, **zero unexcepted** — this block is the only thing between the scan and a green gate. Three entries (`CVE-2022-30947`, `CVE-2022-36882`, `CVE-2022-36883`) are no longer reported at all and become drop candidates at their own 2027-06-23 review; left untouched here. Related: #1548 — the scan's tracking-issue step is guarded on the *gate* step's outcome, so this morning's pre-gate failure opened no issue and surfaced only in the workflow list. Kept out of this PR to preserve the minimal diff. ## Changelog Entry ``` ### Security - **Renew the fzf exception block in the vulnix register** ([#1547](#1547)) - The block expired 2026-08-19, failing `check-expirations` on every branch (the hook runs inside the flake's `pre-commit` check) and on both lanes of the nightly security scan, which aborts before vulnix ever runs - Re-verified against the current pin before renewing: both CVEs are still live findings against `fzf-0.72.0`, and `nixos-26.05`, `release-26.05` and `staging-26.05` all still ship 0.72.0 with no backport PR open, so advancing the pin cannot clear them either - Renewed onto the shared `2026-09-02` grid date, so the whole register comes up for review in one pass. The risk assessment is unchanged: both findings are availability-only and unreachable on this image (32-bit-only overflow; opt-in `--listen` server) ``` ## Testing - [x] Full hook suite green locally (`just precommit`, `prek run --all-files`), including `check-expirations` - [x] Manual testing performed (below) ### Manual Testing Details ``` $ uv run check-expirations .trivyignore .vulnixignore Validated 32 exception(s) across 2 file(s) # exit 0 (was exit 1 on 2 entries) ``` Evidence gathering: pinned `fzf` version via `nix eval --impure --expr '(builtins.getFlake …).inputs.nixpkgs.legacyPackages.x86_64-linux.fzf.version'` -> `0.72.0`; nixpkgs branch versions read from `pkgs/by-name/fz/fzf/package.nix` on `nixos-26.05`, `release-26.05`, `staging-26.05`, `master`, `nixpkgs-unstable`; findings reconciliation against `vulnix-findings.json` from run 32219442917. ## 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 - [ ] I have updated the documentation accordingly — n/a, no doc surface changes - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (pasted above) - [x] My changes generate no new warnings or errors - [ ] I have added tests — n/a, this is a dated register entry, not code; the expiry enforcement itself is already covered by `packages/vig-utils/tests/test_check_expirations.py` - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published **Note on the `main` lane:** `dev` and `main` carry an identical register, so the `main` nightly lane stays red until the 1.11.0 train merges `dev` into `main`.
The tracking-issue step is guarded on `steps.vulnix-gate.outcome == 'failure'`, so a failure anywhere BEFORE the gate leaves that outcome empty, the guard false, and the run silent -- a red run in Actions and nothing else. An expired .vulnixignore block did exactly that on both lanes on 2026-08-20 (run 32335643087), failing the job's FIRST step. Three workflow-shape assertions, all failing today: the guard is failure() with no gate-outcome conjunct; the script branches on the gate outcome and carries a distinct dedup title per failure class; and the pre-gate body names the failing step from the run's own job records, which needs the actions: read grant. Refs: #1548
The issue-opening step was guarded on `steps.vulnix-gate.outcome == 'failure'`, which is empty whenever a step BEFORE the gate fails. Every failure upstream of the gate -- expired .vulnixignore register, closure build, the vulnix run itself -- therefore died as a red run with no issue, on a workflow whose scheduled runs have no other signal. That is the exact hole #965 restored the issue to close. The guard is now failure() alone. The script branches on the gate outcome and files under one of two titles, so the classes dedup independently per ref (#1237): a red gate keeps its existing title (the open issues filed under it still match), while a pre-gate failure files "run failed before the vulnix gate" and says plainly that the closure went UNSCANNED, not clean. Its body names the failing step from the run's own job records -- the devkit-upgrade reporter's lookup (#1530), scoped to this matrix leg by job-name suffix so the dev lane never reports main's failing step -- which is what the new actions: read grant buys. Verified beyond YAML shape: the run block was extracted and executed against a gh stub for both classes and for the dedup short-circuit. The gate case reproduces the current title and body; the pre-gate case names the dev leg's failing step while main's failure is in the same payload; an existing open issue short-circuits before create. Refs: #1548
…1550) ## Description The nightly scan's tracking-issue step was guarded on the **gate step's** outcome: ```yaml if: ${{ failure() && steps.vulnix-gate.outcome == 'failure' }} ``` `steps.vulnix-gate.outcome` is *empty* whenever a step before the gate fails, so the guard was false and the run died silently — a red run in Actions and nothing else, on a workflow whose scheduled runs have **no other signal**. That is the exact hole #965 restored the issue to close. It fired for real on 2026-08-20: an expired `.vulnixignore` block failed the job's **first** step on both lanes ([run 32335643087](https://github.com/vig-os/devkit/actions/runs/32335643087)), and the failure surfaced only because someone went looking at the workflow list (#1547). Refs: #1548 ## Type of Change - [x] `fix` -- Bug fix ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - **Guard is `failure()` alone** — the whole job is now in scope: register validation, NVD cache, closure build, the vulnix run, SBOM generation - **Two failure classes, two dedup titles**, so neither can suppress the other's issue and each still dedups per ref (#1237): - gate → `Nightly security scan (<ref>): unexcepted HIGH/CRITICAL vulnix findings` — **unchanged**, so issues already open under it keep matching - pre-gate → `Nightly security scan (<ref>): run failed before the vulnix gate`, whose body states plainly that the closure went **unscanned, not clean**, and points at an expired register as the most likely cause - **The pre-gate body names the failing step**, read off the run's own job records — the same lookup the `devkit-upgrade` reporter uses (#1530), scoped to this matrix leg by job-name suffix so the dev lane never reports main's failing step. That needs the new `actions: read` grant on the job - Workflow header `On failure:` block and `docs/CONTAINER_SECURITY.md` §2 updated to describe both classes Deliberately **not** in scope: auto-closing the tracking issue on a later green run. Today's issue is closed by hand in both classes; changing that is a separate behavior change, not this hole. ## Changelog Entry ``` ### Fixed - **A nightly security scan that fails before the gate now files a tracking issue too** ([#1548](#1548)) - The issue-opening step was guarded on `steps.vulnix-gate.outcome == 'failure'` — an outcome that is *empty* whenever an earlier step fails. An expired `.vulnixignore` register, a failed closure build or a vulnix crash therefore produced a red run and nothing else, on a workflow whose whole point is that a scheduled run has no other signal - It fired for real on 2026-08-20: an expired block failed the job's first step on both lanes and surfaced nowhere ([#1547](#1547)) - The guard is now `failure()` alone, and the two failure classes carry distinct titles that dedup independently per ref: a red gate keeps its existing title, while a pre-gate failure files *run failed before the vulnix gate* and names the failing step, read off the run's own job records (`actions: read`). A pre-gate failure means the closure went **unscanned**, not clean — the body says so ``` ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (below) TDD: `tests/test_workflow_scan_failure_reporting.py` was committed **red** (3 failures) before the fix, and passes after. ### Manual Testing Details YAML shape is not enough for a step that is only ever exercised on a red nightly run, so the `run:` block was extracted and executed against a `gh` stub: | Case | Result | |------|--------| | `GATE_OUTCOME=failure` | files the **existing** gate title + body verbatim | | `GATE_OUTCOME=''` (pre-gate) | files the new title; **Failing step: `Validate .vulnixignore exception expirations`** — correctly the *dev* leg's step, while the stub payload also carried a different failing step on the main leg | | existing open issue | `Open tracking issue already exists: #4242 -- skipping create`, exit 0, no create call | `actionlint` (which runs shellcheck over `run:` blocks) is clean, and the full hook suite is green locally. ## 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 (`docs/CONTAINER_SECURITY.md`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (pasted above) - [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 - [x] Any dependent changes have been merged and published
…dability test Refs: #1546
…dability test (#1551) ## Description `just doctor` reported `WARN commit signing: incomplete` for a correctly configured SSH-signing host whenever `user.signingkey` is a tilde path (`~/.ssh/<key>.pub`). The readability guard used `test -r "$signingkey"`, and `test -r` performs no tilde expansion — the shell expands `~` only as an unquoted literal at the start of a word, never the contents of a variable — so the check tested a relative path literally named `~` and always failed. Git itself *does* expand `~` when it consumes `user.signingkey`, so signing worked; only the diagnostic was wrong. A false negative from the recipe whose job is to rule that failure mode out. ## Type of Change - [x] `fix` -- Bug fix ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - Expand a leading `~/` against `$HOME` into a separate `keypath` variable before the `-r` test, in **both** copies of the guard: devkit's own `justfile` and the scaffolded `assets/workspace/justfile` (which must stay in sync — `consumer doctor checks exactly what devkit's doctor checks` pins that). - The `PASS` line keeps echoing the raw `$signingkey`, so the output still mirrors `git config` rather than a rewritten path. - Only a leading `~/` is expanded; `~user/...` is left alone, and an inline `ssh-...` key value still takes the existing literal-key branch. ## Changelog Entry ```markdown ### Fixed - **`just doctor` no longer calls a tilde signing-key path incomplete** ([#1546](#1546)) - `user.signingkey = ~/.ssh/<key>.pub` is a working SSH-signing setup — git expands the leading `~/` when it consumes the value — but the readability guard tested it with `test -r`, which performs no tilde expansion, so a correctly configured host was told its signing was `incomplete` - The guard now expands a leading `~/` against `$HOME` before the test, in both the devkit `justfile` and the scaffolded `assets/workspace/justfile`. The `PASS` line still reports the raw value, so it keeps mirroring `git config` ``` ## Testing - [x] Tests pass locally - [x] Manual testing performed TDD, RED confirmed before the fix. Four new bats tests (two per copy of the recipe), each driving a pinned `HOME` and `GIT_CONFIG_GLOBAL` so host state cannot leak in: - `doctor reports PASS for a tilde signing key path` / consumer twin — the regression itself. Both failed on the pre-fix recipe with `WARN commit signing: incomplete (... user.signingkey=~/key.pub)`. - `doctor warns when a tilde signing key path does not exist` / consumer twin — pins that expansion does not turn the guard into a rubber stamp: a tilde path to a missing file must still WARN. ```text tests/bats/doctor.bats 11/11 ok tests/bats/consumer-doctor.bats 19/19 ok prek run --all-files all hooks pass, tree clean ``` ### Manual Testing Details Reproduced on the reporting host (NixOS, `direnv` mode, real `user.signingkey=~/.ssh/github.pub`): ```text before: WARN commit signing: incomplete (commit.gpgsign=true, gpg.format=ssh, user.signingkey=~/.ssh/github.pub) after: PASS commit signing: ssh key ~/.ssh/github.pub ``` ## 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 (no doc template covers this line) - [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 - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Consumers pick this up with their next scaffold/upgrade, since the fix is in the managed root `justfile` (the layer that *is* regenerated on upgrade), not in the preserved `justfile.project`. Refs: #1546
29 of the 33 live exception entries expired on 2026-09-02: 24 entries in seven .vulnixignore blocks, 4 in three .trivyignore blocks and the single .github/dependency-review-allow.txt entry. One stalled review on that date would have taken every open PR's CI, both nightly security-scan lanes and the release train red on the same Thursday. Each block now owns its own Wednesday, spread by week-multiples and ordered by how soon its remediation lever can move: podman keeps 2026-09-02 as the anchor (weekly re-check, backport open), unbound 09-09, the libssh2 6603x batch 09-16, libssh2 CVE-2026-58050 09-23, the lower-reachability batch 09-30, fzf 10-07, glibc 10-14 (no rev-advance lever exists, so it takes the longest window). The .trivyignore blocks follow at 10-21 / 10-28 / 11-04 and the dependency-review allow-list at 11-11, keeping that register's review off the vulnix weeks. The Class-1 CPE-mismatch block keeps its yearly 2027-06-23. The three .trivyignore directives are kept as three separate blocks with three separate dates: they are independent exceptions with independent levers (a gh release rebuilt on Go 1.26.4, the Nix publish-cutover, and a secret-scan false positive), so a combined pass would answer three unrelated questions at once. Scheduling only, exactly like the #1337 snap: no risk assessment was re-opened, no entry was added or removed, and every rationale stands as written. Each re-dated block records the move and its justification in the register's existing note style, and the three register headers are extended (not rewritten) to record the stagger alongside the 2026-08-04 snap. TDD skipped: this is a data/config change with no code path to test. The format and expiry semantics are already covered by check-expirations, which runs in pre-commit and CI and passes against all 33 entries. Refs: #1553
…1554) ## Description 29 of the 33 live security-exception entries expired on the same day, `2026-09-02`, across all three registers. On `2026-09-03` the whole register would have gone red at once: every open PR's CI, both nightly `security-scan` lanes and the release train. This spreads the renewals over distinct Wednesdays so no single stalled review can do that. This is a **re-date only**. No risk assessment was re-opened, no entry was added or removed, and no rationale text was rewritten — exactly the scope of the #1337 snap. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [x] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made ### Before / after | Register | Block (lever) | Entries | Before | After | Δ | |---|---|---:|---|---|---| | `.vulnixignore` | podman (release-26.05 backport, weekly re-check) | 1 | `2026-09-02` | **`2026-09-02`** | — | | `.vulnixignore` | unbound (1.25.2 reaching `nixos-26.05`) | 5 | `2026-09-02` | **`2026-09-09`** | +1 wk | | `.vulnixignore` | libssh2 6603x batch (staging-26.05 patch PR) | 4 | `2026-09-02` | **`2026-09-16`** | +2 wk | | `.vulnixignore` | libssh2 `CVE-2026-58050` (no upstream fix) | 1 | `2026-09-02` | **`2026-09-23`** | +3 wk | | `.vulnixignore` | zlib / sqlite / libmicrohttpd (low reachability) | 5 | `2026-09-02` | **`2026-09-30`** | +4 wk | | `.vulnixignore` | fzf (no 26.05 backport open) | 2 | `2026-09-02` | **`2026-10-07`** | +5 wk | | `.vulnixignore` | glibc (no rev-advance lever exists) | 6 | `2026-09-02` | **`2026-10-14`** | +6 wk | | `.trivyignore` | gh / Go stdlib `CVE-2026-42504` | 1 | `2026-09-02` | **`2026-10-21`** | +7 wk | | `.trivyignore` | jq `CVE-2026-32316`, `CVE-2026-40164` | 2 | `2026-09-02` | **`2026-10-28`** | +8 wk | | `.trivyignore` | `jwt-token` (secret-scan false positive) | 1 | `2026-09-02` | **`2026-11-04`** | +9 wk | | `.github/dependency-review-allow.txt` | `GHSA-wvrr-2x4r-394v` (false positive) | 1 | `2026-09-02` | **`2026-11-11`** | +10 wk | | `.vulnixignore` | Class-1 CPE mismatch (yearly cadence) | 4 | `2027-06-23` | `2027-06-23` | untouched | Every date is a genuine Wednesday (verified with `date -d`), every date is a week-multiple of the original `2026-09-02` — so no snapping was needed — and no Wednesday carries more than one block across the three registers. ### Why each block landed where it did The grid is ordered by **how soon the block's remediation lever can move**: the sooner a rev-advance could make the block droppable, the earlier its review, so the near-term passes are the ones that can actually delete entries rather than extend them. - **podman `2026-09-02` (kept, shortest).** Its own note asks for a weekly re-check and NixOS/nixpkgs#536367 can merge at any time. Keeping it anchors the grid at the earliest date instead of pushing everything out. Not a re-date, so it carries a short grid note rather than a re-dating note. - **unbound `2026-09-09` (+1 wk).** The staging-26.05 backport is already *merged*, so 1.25.2 can reach the pinned channel in any week's Renovate bump. The block's "short expiry to force near-term re-check" is preserved. - **libssh2 6603x `2026-09-16` (+2 wk).** NixOS/nixpkgs#550166 is open against staging-26.05; vulnix credits CVE-named `patches` entries, so the findings can drop out on a rev-advance at short notice. Still near-term as its note asks. - **libssh2 `CVE-2026-58050` `2026-09-23` (+3 wk).** Same package and lever as the batch above, so it sits one week later — adjacent review, no shared Wednesday. It has no upstream fix at all, so it is the less urgent of the two. - **zlib / sqlite / libmicrohttpd `2026-09-30` (+4 wk).** The note asks for a "medium-near expiry"; four weeks, mid-grid, keeps that intent. - **fzf `2026-10-07` (+5 wk).** Renewed only today (#1547) onto the shared date — the very cliff this PR breaks up. Both findings are availability-only on a 64-bit image and no 26.05 backport is open, so it takes a later slot than the blocks whose backport could land in any week's bump. - **glibc `2026-10-14` (+6 wk), longest vulnix window.** The 2026-08-13 renewal (#1481) already established that the "advance the rev" lever has nowhere to land — the advisories scope the defects through 2.43 — so an earlier re-review would have no new evidence to act on. The issue calls for the longest window here. - **`.trivyignore` `2026-10-21` / `2026-10-28` / `2026-11-04` (+7/8/9 wk).** Placed after the vulnix passes so the two registers do not compete for the same review week. Ordered by lever: gh needs a release rebuilt on Go 1.26.4 (no weekly bump can bring that forward), jq needs the Nix publish-cutover (#639) before `:latest` can be rebuilt at all, and `jwt-token` is not a vulnerability. - **`GHSA-wvrr-2x4r-394v` `2026-11-11` (+10 wk), latest slot.** A definitive false positive that can only change if the advisory is withdrawn or upstream bumps a `package.json` version field it has never touched — the same class as the Class-1 CPE-mismatch block, which already sits on a *yearly* cadence, so ten weeks is comfortably conservative by that precedent. ### `.trivyignore`: three blocks or one? The 4 entries sit under 3 `Expiration:` directives. They are kept as **three separate blocks with three separate dates**: they are independent exceptions with independent levers (a gh release rebuilt on Go 1.26.4; the Nix publish-cutover; a secret-scan false positive). Folding them into one pass would ask three unrelated questions in one review, and would put three blocks on one Wednesday — which is what this PR exists to stop. ### Notes and headers Each re-dated block carries a dated note in the register's own comment style (`# Re-dated 2026-08-20 (#1553): <old> -> <new>, <why>`), recording the move, the justification, and that it is scheduling only. The three register headers are **extended, not rewritten** — the 2026-08-04 snap paragraph stays verbatim and a `STAGGER (#1553)` paragraph follows it, so the historical record is intact and the file no longer contradicts itself. ## Changelog Entry ```markdown ### Changed - **Security-exception expiries are staggered across distinct Wednesdays** ([#1553](#1553)) - 29 of the 33 live exception entries expired on the same day, `2026-09-02`: 24 in `.vulnixignore` (7 blocks), 4 in `.trivyignore` (3 blocks) and the one `.github/dependency-review-allow.txt` entry. One stalled review on that date would have taken every open PR's CI, both nightly `security-scan` lanes and the release train red at once — the cliff that `docs/CONTAINER_SECURITY.md` already warns about ("stagger across weeks, not weekdays") - Each block now owns a distinct Wednesday, spread by week-multiples and ordered by how soon its remediation lever can move: podman keeps `2026-09-02` as the anchor (weekly re-check, backport open), then unbound `09-09`, the libssh2 6603x batch `09-16`, libssh2 `CVE-2026-58050` `09-23`, the lower-reachability batch `09-30`, fzf `10-07` and glibc `10-14` (no rev-advance lever exists, so it takes the longest window). The `.trivyignore` blocks follow at `10-21`/`10-28`/`11-04` and the dependency-review allow-list at `11-11`, keeping that register's review off the vulnix weeks - The Class-1 CPE-mismatch block keeps its yearly `2027-06-23` - Scheduling only: no risk assessment was re-opened and no entry was added or removed. Every re-dated block records the move and its justification in the register's own note style ``` ## Testing - [x] Tests pass locally (`just test`) -- full `prek run --all-files` suite green - [x] Manual testing performed (describe below) ### Manual Testing Details **Validator** ``` $ uv run check-expirations .trivyignore .vulnixignore .github/dependency-review-allow.txt Validated 33 exception(s) across 3 file(s) exit=0 ``` **Resulting distribution** (enumerated via `vig_utils.check_expirations.parse_entries`): ``` date weekday n file(s) -> identifiers 2026-09-02 Wednesday 1 .vulnixignore -> CVE-2026-57231 2026-09-09 Wednesday 5 .vulnixignore -> CVE-2026-50252 CVE-2026-32665 CVE-2026-40691 CVE-2026-44690 CVE-2026-55973 2026-09-16 Wednesday 4 .vulnixignore -> CVE-2026-66032 CVE-2026-66033 CVE-2026-66034 CVE-2026-66035 2026-09-23 Wednesday 1 .vulnixignore -> CVE-2026-58050 2026-09-30 Wednesday 5 .vulnixignore -> CVE-2026-27820 CVE-2026-11822 CVE-2026-11824 CVE-2025-59777 CVE-2025-62689 2026-10-07 Wednesday 2 .vulnixignore -> CVE-2026-53432 CVE-2026-53433 2026-10-14 Wednesday 6 .vulnixignore -> CVE-2025-15281 CVE-2026-4046 CVE-2026-4437 CVE-2026-5435 CVE-2026-5450 CVE-2026-5928 2026-10-21 Wednesday 1 .trivyignore -> CVE-2026-42504 2026-10-28 Wednesday 2 .trivyignore -> CVE-2026-32316 CVE-2026-40164 2026-11-04 Wednesday 1 .trivyignore -> jwt-token 2026-11-11 Wednesday 1 .github/dependency-review-allow.txt -> GHSA-wvrr-2x4r-394v 2027-06-23 Wednesday 4 .vulnixignore -> CVE-2021-28794 CVE-2022-30947 CVE-2022-36882 CVE-2022-36883 total entries: 33 | distinct dates: 12 non-Wednesday or shared-across-files dates: NONE ``` 12 distinct dates, 12 blocks, one block per date. The `2027-06-23` Class-1 block is untouched and collides with nothing. **TDD skipped, deliberately.** This is a data/config change with no code path to exercise; there is nothing to write a failing test against. The format and expiry semantics are already covered by `check-expirations`, which runs in pre-commit and in all PR CI and passes against all 33 entries. Forcing a unit test here would pin the dates themselves, which are meant to move. ## 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 (edit `docs/templates/`, then run `just docs`) -- N/A, no documentation change (explicit non-goal; the staggering rule is already documented) - [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 -- N/A, see TDD note above - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes **Deliberately out of scope** (per the issue's non-goals): - No risk assessment re-opened, no entry added or removed, no rationale text rewritten. - No documentation change -- `docs/CONTAINER_SECURITY.md` already documents the grid and the stagger rule; this PR brings the register into line with it. - No tooling change -- advance warning for an upcoming expiry cliff is tracked separately. - The `2027-06-23` Class-1 block is untouched. **Parallel work.** #1552 is in flight at the same time and touches tooling only (`check_expirations.py` and its tests, `security-scan.yml`, `docs/CONTAINER_SECURITY.md`) -- none of which this PR touches. A `CHANGELOG.md` conflict is the only expected overlap. Refs: #1553
…1555) ## Description Security exception expiries surfaced only as a **hard failure on the day after**. `check-expirations` runs in all PR CI (`ci.yml:441`, `:524`), in pre-commit, as the first step of both nightly `security-scan.yml` lanes and in the release train (`release.yml:906`) — so one lapsed block reds every open branch, both scan lanes and the release path at once, with zero prior warning. That happened three times in two months (#1260, #1481, #1547), each time on a date a human had chosen deliberately weeks earlier. The information existed; nothing surfaced it. This adds a **seven-day advance notice**. It is a notice, not a gate: the hard gate is untouched. ## Type of Change - [x] `feat` -- New feature - [x] `ci` -- CI/CD pipeline changes - [x] `docs` -- Documentation only - [x] `test` -- Adding or updating tests ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made **1. `check-expirations --warn-days N` and `--json`** (`packages/vig-utils/src/vig_utils/check_expirations.py`) - `--warn-days N` emits `::warning::` annotations (stderr, like the existing `::error::` ones) for entries falling due within N days, **inclusive**. It never changes an exit code: an entry inside the window is still valid, and an already-expired entry still exits 1 exactly as today. - `--json` prints `{"expired": [...], "expiring": [...]}` on stdout, each record `{"id", "file", "expiration", "days_left"}` (`days_left` is negative for an expired entry). It replaces the human summary line so stdout is pure JSON, and it is still emitted on the failing (expired) run, where a caller needs it most. - The two flags compose. A new `classify_entries()` holds the single classification rule; `check_file()` is re-expressed through it and keeps its exact contract, so the module stays the single parser of the `Expiration:` grammar. - **Default behaviour is byte-identical** — no existing call site moves. **2. A third issue class in `.github/workflows/security-scan.yml`** (not a new workflow — that job already carries the `main`/`dev` matrix, `issues: write`, the label bootstrap and the ref-distinct dedup pattern from #1548) - Placed **before** the blocking `Validate .vulnixignore exception expirations` step, so an already-red register still reports what is coming next. A notice scheduled after it would go silent exactly on the runs that need it. - Covers all three registers — `.vulnixignore`, `.trivyignore` **and** `.github/dependency-review-allow.txt`. The nightly gate reads only the first, but the other two red every branch just as hard (#1260 was a `.trivyignore` case). - Opens **one deduplicated issue per (matrix ref x distinct upcoming expiry date)**: `Security exception register (dev): exceptions expire 2026-09-02`. Per-date because a date maps 1:1 to one combined review pass and staggered dates then get their own issues — reinforcing the "stagger across weeks" rule rather than flattening it. Dedup reuses the existing `gh issue list --state open --label security-scan --search "\"$TITLE\" in:title"` lookup, with an exact-title filter on top because GitHub's search tokenises a date and would otherwise let one date's open issue suppress another's. - `continue-on-error: true` and every `gh` failure degrades to a `::warning::` — the step can never turn a green nightly scan red. The hard gate stays the validation step. - The body lists only that date's entries, then states the anti-blind-extension standard (read the latest findings delta first, **delete** what the pin advance cleared, a renewal is a re-verification not a date bump) and links `docs/CONTAINER_SECURITY.md`. **3. Docs** — new *Advance notice, one grid period ahead* subsection in `docs/CONTAINER_SECURITY.md`, inside the exception-register section and right after the Wednesday-grid rationale it depends on. It states explicitly that this is a notice and the gate is unchanged, and repeats the anti-blind-extension rule (the notice deliberately arrives *before* the week's findings delta exists). `SECURITY.md:88` ("Expired entries fail CI via the `check-expirations` utility") is still exactly true, so it is left alone. ### Why 7 days One expiry-grid period. `docs/CONTAINER_SECURITY.md` puts every `Expiration:` on a Wednesday so an entry turns red on the Thursday *after* the week's Renovate `nixpkgs` bump and the first nightly findings delta. A 7-day lead lands the notice on a Wednesday too, one full Renovate cycle ahead: notice Wed, bump merges Mon/Tue, nightly delta Tue/Wed, act Wed, red Thu. ## Changelog Entry ```markdown ### Added - **A security exception now gives seven days' notice before it fails everything** ([#1552](#1552)) - `check-expirations` runs in all PR CI, in pre-commit, in both nightly scan lanes and in the release train, so one lapsed block reds every open branch at once — three times in two months ([#1260](#1260), [#1481](#1481), [#1547](#1547)) — with no prior signal, even though every date had been chosen deliberately weeks earlier - `check-expirations` gains `--warn-days N` (emit `::warning::` annotations for entries falling due within N days, exit code untouched) and `--json` (emit the `expired`/`expiring` classification on stdout). The flags compose, and they keep the utility the single parser of the `Expiration:` grammar — no caller re-implements it - The nightly `security-scan` gains a third, non-failing issue class: one deduplicated notice per scanned ref per distinct upcoming expiry date, titled `Security exception register (<ref>): exceptions expire <date>`, covering `.vulnixignore`, `.trivyignore` **and** `.github/dependency-review-allow.txt` - The step runs *before* the blocking validation step, so an already-red register still reports what is coming next, and it is `continue-on-error` so a missed notice can never turn a green scan red - Seven days is one expiry-grid period: dates land on a Wednesday, so the notice does too, one full Renovate cycle ahead of the red. The issue body spells out that a renewal is a re-verification, not a date bump — read the findings delta, delete what the pin advance cleared — because the notice deliberately arrives before that data exists - Default behaviour is unchanged: no existing call site, exit code or output moves ``` ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### TDD evidence Six commits, each phase its own commit: | Commit | Phase | |--------|-------| | `050fe043` `test(vigutils): pin --warn-days and --json on check-expirations` | RED | | `3170a59a` `feat(vigutils): add --warn-days and --json to check-expirations` | GREEN | | `4ae883a6` `test(workflows): pin the seven-day exception expiry notice on security-scan` | RED | | `bb35a932` `ci(security-scan): open an advance notice 7 days before an exception expires` | GREEN | | `727c19ab` `docs(security): document the seven-day exception expiry notice` | docs | | `9b1a831c` `docs(changelog): record the security exception expiry advance notice` | changelog | **RED, utility** — `ImportError: cannot import name 'classify_entries'`, 1 collection error. **GREEN, utility** — `25 passed` in `packages/vig-utils/tests/test_check_expirations.py`. **RED, workflow** — `7 failed` in the new `tests/test_workflow_expiry_notice.py` (`AssertionError: no matching step found in security-scan.yml`), while the three existing #1548 tests passed. **GREEN, workflow** — `10 passed` across both workflow-shape files. `tests/test_workflow_scan_failure_reporting.py::_reporting_step` matched the first step containing `gh issue create`, which the new step would have shadowed — it now also requires a `failure()` guard, which the notice step deliberately does not carry. Caught by running the full suite, not by the hook suite. ### Verification output **Full test suite** — `1645 passed, 20 skipped, 2 warnings in 282.61s`. **Default behaviour unchanged** (the contract every existing call site relies on): ```console $ uv run check-expirations .trivyignore .vulnixignore Validated 32 exception(s) across 2 file(s) # exit 0 ``` A test pins stdout to exactly `Validated 2 exception(s) across 1 file(s)\n` with empty stderr on a default run. **Real registers, real today (2026-08-20), 7-day window** — nothing due, as expected: 29 of 33 entries sit on `2026-09-02`, 13 days out. ```console $ check-expirations --warn-days 7 --json .trivyignore .vulnixignore .github/dependency-review-allow.txt {"expired": [], "expiring": []} # exit 0 ``` **Same registers with `today` injected to 2026-08-26** (7 days before that cliff) — 29 entries reported across all three registers, exit 0: ``` ::warning::Security exceptions expiring within 7 day(s) — review before they fail CI: ::warning:: - .vulnixignore: CVE-2025-15281 (expires 2026-09-02, 7 day(s) left) ... ::warning:: - .trivyignore: jwt-token (expires 2026-09-02, 7 day(s) left) ::warning:: - .github/dependency-review-allow.txt: GHSA-wvrr-2x4r-394v (expires 2026-09-02, 7 day(s) left) ``` **Workflow step executed locally**, extracted from the YAML and run against the real registers with stubbed `uv`/`gh` (injected `today = 2026-08-26`): | Scenario | Result | |----------|--------| | 29 entries due on one date | one `gh issue create`, title `Security exception register (dev): exceptions expire 2026-09-02`, body listing exactly that date's entries | | exact title already open (#42) | `Open notice already exists for 2026-09-02: #42 -- skipping create`, exit 0 | | only a *different* date open (#9, 2026-10-07) | issue still created — the exact-title filter earning its keep | | `WARN_DAYS=1`, nothing due | `No security exceptions expire within 1 days on dev`, exit 0 | | register missing / unparseable payload | `::warning::could not classify the exception registers; the validation step below reports the real failure`, **exit 0** | **Linting** — `just precommit` (`prek run --all-files`) fully green, 52 hooks `Passed`, zero failures, clean tree afterwards. `actionlint` green on `security-scan.yml` specifically. `zizmor` in CI audits only `assets/workspace/.github/workflows/`, which this PR does not touch; every `${{ }}` in the new step is passed through step `env` rather than interpolated into the script. ## 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 (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my feature works - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes - **Parallel work on #1553.** That issue staggers the `Expiration:` dates in the exception registers and touches only those dates. This PR changes no date in any register. The only expected overlap is a `CHANGELOG.md` conflict in the `## Unreleased` section, which union-merges. - **Out of scope, per the issue:** the scaffold under `assets/workspace/`. Consumers get the `check-expirations` pre-commit hook but ship no registers and no `security-scan.yml`, so there is nothing to warn about; `--warn-days` reaches them through the pinned utility if they ever add one. - **Deliberately skipped:** `--warn-days` in PR CI (a yellow annotation on every PR). The issue lists it as "worth adding alongside" but not required, and a PR annotation reaches whoever opens that run rather than the register's owner. Left out to keep this diff minimal — worth a follow-up issue if wanted. - The `assets/workspace/.devcontainer/CHANGELOG.md` diff is the `sync-manifest` mirror of the root changelog, regenerated by the hook. Refs: #1552
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zMy4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzMuMiIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
Move Unreleased content to [1.11.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.
rc1 validation sweep — 13 checks, all passRun against the shipped Artifacts
#1552 — advance expiry noticeThe risk here was a stale nix-store Boundary math against this branch's real register:
Exit code never moves, as designed. Flags compose: JSON on stdout,
#1553 — staggered register12 blocks on 12 distinct Wednesdays ( #1546 —
|
| Case | Expected | Got |
|---|---|---|
~/key.pub, file exists |
PASS | ✅ PASS, and the line prints the raw ~/testkey.pub, not the expansion |
~/key.pub, file missing |
WARN | ✅ WARN — the twin holds, expansion did not become a rubber stamp |
| absolute path, exists | PASS | ✅ |
literal ssh-ed25519 … |
PASS | ✅ |
commit.gpgsign=false |
WARN | ✅ |
#1529 / #1534 — consumer upgrade rehearsal
The highest-value check, since CI only proves the render, not the upgrade.
#1529: copied org-config (1.9.0, direnv, trunk), deleted its mis = "mis" workaround to restore a pristine pre-#1488 seed, then ran install.sh --version 1.11.0-rc1 --force. Upgrade succeeded, pin → 1.11.0-rc1, and typos exits 0 — mis-parse / mis-splitting are absent from all generated content.
Follow-up:
org-configcan dropmis = "mis"from its.typos.tomlonce it takes 1.11.0, exactly as that entry's own comment instructs.
#1534: on a devcontainer-mode consumer, .devcontainer/CHANGELOG.md carries 0 hyphenated and 2 de-hyphenated tokens (misparses / missplitting, lines 389/391), and lints exit 0 under a frozen pre-#1488 seed.
#1532 / #1530 — rendered consumer workflow
devkit-upgrade.ymlfetches…/vig-os/devkit/refs/tags/${TARGET}/install.sh— the target tag, notmain.- The
report:job is present and carries the load-bearing!cancelled()guard with its rationale comment.
#1522 / #1538 / #1539 / #1544 — CI-gate fixes
#1522 and #1538 were exercised live in this train's Validate Release job — first real run of both — and passed.
#1539 proven decisively. Feeding the shipped vig_utils.gh_issues an old FAILURE (with completedAt) alongside a live IN_PROGRESS re-run (completedAt: null), _dedupe_status_checks picks the live one. That is precisely the reported bug.
#1538 / #1544 cannot be proven from live data — worth recording. There is no StatusContext anywhere in this org: 5 devkit PRs and 3 smoke-test PRs are 100% CheckRun, including the CodeQL entry, which is a CheckRun despite its empty workflowName. These fixes are therefore defensive and latent, covered only by unit tests. Verified indirectly by feeding the shipped helpers synthetic shapes — _check_key / _verdict resolve context/state for StatusContext and name/conclusion for CheckRun, and a pending StatusContext classifies as pending rather than being mis-bucketed.
Two observations, neither blocking
flake-bumpadvancedorg-config'svigosinput toc624765(main tip, 1.10.0-era) rather than the rc1 tag — expected, since rc1 is not onmain. Worth confirming it lands on 1.11.0 after promote, per the 1.6.0 lesson that final-lane bumps are never pin-only for direnv consumers.- A bare
typosrun surfaced ~10 errors underdocs/pull-requests/*.mdin the smoke-test copy. These are pre-existing and out of scope: that repo excludes^.github_data/|^docs/issues/|^docs/pull-requests/at the top of its pre-commit config (347 tracked legacy files), and a bare invocation simply bypasses that exclude. Not a scaffold regression.
Still inert until dev → main
Scheduled runs execute the workflow file from the default branch, so #1552's advance notice, #1548's pre-gate failure reporting and the #1547/#1553 register dates are all inert on main today. main still carries the expired fzf block, so its nightly lane fails every night and — lacking #1548 — files no issue. All three clear on promote.
Set release date to 2026-08-20 and regenerate release docs. Refs: #1557
c-vigo
left a comment
There was a problem hiding this comment.
Approving on the release evidence.
- Release-branch CI: 17/17 green, verified before both dispatches.
- rc1: single candidate, clean on the first attempt, no rollback.
- Final (run 32368229910): every job green,
Rollback on Failure: skipped; SLSA provenance verified againstrelease.yml@refs/heads/release/1.11.0. - Cross-repo gate:
devkit-smoke-test1.11.0is published non-draft/non-prerelease, so the promote precondition is met. - rc1 validation sweep against the shipped image (13 checks, all pass) is recorded in the comment above, including the caveat that #1538/#1544 remain latent — no StatusContext exists anywhere in the org to exercise them.
Promoting now.
Release 1.11.0 - 2026-08-20
This PR prepares release 1.11.0 for merge to main.
1.11.0 - 2026-08-20
Added
A security exception now gives seven days' notice before it fails
everything (#1552)
check-expirationsruns in all PR CI, in pre-commit, in both nightly scanlanes and in the release train, so one lapsed block reds every open branch
at once — three times in two months
(#1260,
#1481,
#1547) — with no prior
signal, even though every date had been chosen deliberately weeks earlier
check-expirationsgains--warn-days N(emit::warning::annotationsfor entries falling due within N days, exit code untouched) and
--json(emit the
expired/expiringclassification on stdout). The flags compose,and they keep the utility the single parser of the
Expiration:grammar —no caller re-implements it
security-scangains a third, non-failing issue class: onededuplicated notice per scanned ref per distinct upcoming expiry date,
titled
Security exception register (<ref>): exceptions expire <date>,covering
.vulnixignore,.trivyignoreand.github/dependency-review-allow.txtregister still reports what is coming next, and it is
continue-on-errorso a missed notice can never turn a green scan red
notice does too, one full Renovate cycle ahead of the red. The issue body
spells out that a renewal is a re-verification, not a date bump — read the
findings delta, delete what the pin advance cleared — because the notice
deliberately arrives before that data exists
moves
A failed
devkit-upgradenow leaves a tracking issue in the consumer repo(#1530)
failure before it (version resolve, scaffold run, in-shell commit) was
visible only as a red scheduled run — and the consumer's
DEVKIT_VERSIONthen stopped moving, silently, week after week
reportjob files one issue per repo carrying the run URL, thefailing step (read off the run's own job records) and the pinned vs target
version; every repeat failure comments on that same issue, and the next
fully green run closes it with a link to the green run
dropped the per-adoption issue on the success path, where the bot PR is
the artifact. This one exists only where there is no artifact
issues: writegrant is minted asa separate,
continue-on-errortoken, so an App installation thatnever received it degrades to a warning instead of turning a working
upgrade red. Grant
issues: writeto the devkit-upgrade App to switchreporting on
Changed
(#1553)
2026-09-02:24 in
.vulnixignore(7 blocks), 4 in.trivyignore(3 blocks) and theone
.github/dependency-review-allow.txtentry. One stalled review on thatdate would have taken every open PR's CI, both nightly
security-scanlanes and the release train red at once — the cliff that
docs/CONTAINER_SECURITY.mdalready warns about ("stagger across weeks,not weekdays")
ordered by how soon its remediation lever can move: podman keeps
2026-09-02as the anchor (weekly re-check, backport open), then unbound09-09, the libssh2 6603x batch09-16, libssh2CVE-2026-5805009-23,the lower-reachability batch
09-30, fzf10-07and glibc10-14(norev-advance lever exists, so it takes the longest window). The
.trivyignoreblocks follow at10-21/10-28/11-04and thedependency-review allow-list at
11-11, keeping that register's review offthe vulnix weeks
2027-06-23removed. Every re-dated block records the move and its justification in the
register's own note style
Dependencies
github/codeql-actionfrom5595ccatoff2f1c6(#1524)aquasecurity/trivyfromv0.73.0tov0.74.0(#1525)cachix/install-nix-actionfromv31.11.0tov31.11.1(#1525)astral-sh/setup-uvfromv9.0.0tov10.0.1(#1526)Fixed
just doctorno longer calls a tilde signing-key path incomplete(#1546)
user.signingkey = ~/.ssh/<key>.pubis a working SSH-signing setup — gitexpands the leading
~/when it consumes the value — but the readabilityguard tested it with
test -r, which performs no tilde expansion, so acorrectly configured host was told its signing was
incomplete~/against$HOMEbefore the test, inboth the devkit
justfileand the scaffoldedassets/workspace/justfile.The
PASSline still reports the raw value, so it keeps mirroringgit configA nightly security scan that fails before the gate now files a tracking
issue too (#1548)
steps.vulnix-gate.outcome == 'failure'— an outcome that is empty whenever an earlier step fails. Anexpired
.vulnixignoreregister, a failed closure build or a vulnix crashtherefore produced a red run and nothing else, on a workflow whose whole
point is that a scheduled run has no other signal
step on both lanes and surfaced nowhere
(#1547)
failure()alone, and the two failure classes carrydistinct titles that dedup independently per ref: a red gate keeps its
existing title, while a pre-gate failure files run failed before the vulnix
gate and names the failing step, read off the run's own job records
(
actions: read). A pre-gate failure means the closure went unscanned,not clean — the body says so
Release CI gate now counts only the latest run of each check
(#1522)
statusCheckRollup. A superseded workflow run leaves its check runsattached to that same SHA, so the gate refused a branch
gh pr checks—which keeps only the latest run per name — reported green. During the
1.10.0 train that forced deleting the superseded run to proceed
(#1516)
the most recent run of each: devkit's
release.ymlandpromote-release.yml(validate and merge), and the consumer
release-core.ymlandpromote-release.yml(validate and merge). A re-run still in flight is thelatest, so it holds the gate open as before, and a genuinely failing latest
run still blocks
Release CI gate now reads commit-status results
(#1538)
statusCheckRollupentry by.conclusion, afield only Checks-API entries carry. A commit status reports
stateinstead, so it always landed in the pending bucket and held the gate open
forever: a red status could never block, a green one never stop
counting as pending
back from
.conclusionto.state:FAILURE/ERRORblock,PENDING/EXPECTEDwait,SUCCESScounts as a passing check. Checks-APIentries are unaffected — an in-progress one still resolves to null and
counts as pending
live the day a consumer adopts a tool that reports through the status API
just gh-issuesCI column now shows the live re-run, not the failure itsupersedes
(#1539)
completedAt,which is null while a re-run is in flight: the live run ranked as the
oldest run of its name, so the column reported the superseded FAILURE
during exactly the window someone watches a re-run
startedAt(set at creation, never null) with acreatedAtfallback for commit statuses, matching the release CI gates(#1522). Display-only — the
table is not a gate
just gh-issuesCI column now reads commit-status results(#1544)
nameand classified each entry byconclusion, both fields only Checks-API entries carry. Every commitstatus on a PR collapsed into a single
"?"bucket, and whatever survivedrendered as pending: a red status never showed as failed, a green one never
counted toward the pass tally
normalized verdict that falls back from
conclusiontostate, so thetable reads a rollup exactly as the release CI gates do
(#1522,
#1538). Checks-API entries
render as before. Display-only — the table is not a gate
Describing a bot-identity bug no longer trips the agent-fingerprint check
(#1521)
emailsblocklist was matched as a bare substring over the wholecontent, while
nameshad carried an attribution-context guard since#274. A changelog entry that
quoted a CI bot identity in an inline code span therefore blocked its own
release PR, because
prepare-releaserenders the changelog section into thePR body — exactly what stalled the 1.10.0 train
(#1516)
contains_agent_fingerprintnow strips inline code spans before matchingemails, so a quoted identity reads as prose. Matching stayscase-insensitive,
namesand trailer rules are untouched, and a plain-textattribution — a
Co-authored-bytrailer, a sign-off, an author line —still fails
Generated mirror-fold comment now lints under the stock consumer typos
seed (#1529)
DEVKIT_SYNC_TARGETblock renders into the managedrelease-core.ymlused a token that only devkit's own.typos.tomlallowlists, so every mirror-mode consumer whose seeded
.typos.tomlpredates that entry failed its
devkit-upgradeat the commit step —.typos.tomlis seeded once and never overwritten, so the consumer couldnot receive the entry. Reworded; the tree the scaffold generates is now
typo-clean with no allowlist at all
workflow models and runs
typos(no allowlist) plusactionlintover it(#1531) — the fold block
has one consumer in the org, so nothing else linted it
Synced devkit changelog no longer leans on a typos allowlist entry the
consumer may not have
(#1534)
assets/workspace/.devcontainer/CHANGELOG.mdis a manifest-synced copy ofthe root changelog, and devcontainer-mode consumers git-track it — so
their own typos hook lints it against a
.typos.tomlthat is seeded onceand never overwritten. The released 1.10.0 entry carries two hyphenated
compounds that lint only under
#1488's allowlist entry, so
a consumer seeded before that release would fail its upgrade at the commit
step, exactly as org-config did in
#1529 — and neither of the
two config files that could fix it is ever overwritten
two spellings in the generated dest only: the root file keeps its
released bytes and the mirror is clean under
typos --isolated, with noallowlist at all
check-unreleased-typoshook lints the## Unreleasedsection with no allowlist before it can be committed, so no future release
can freeze another seed-dependent word into immutable text — catching one
after the release is useless. Released sections keep their allowlisted
tokens and are out of scope
a devcontainer-mode leg: that tracked tree — synced changelog and
version-check.shincluded — must need no allowlist entry newer than thegrandfathered words every live consumer's seed predates
Security
devkit-upgradefetchesinstall.shfrom the target release tag, notmain(#1532)main-tip installer while scaffolding a pinned$TARGETpayload — an untested pairing, and the one every scheduledconsumer run got whenever
mainwas ahead of the latest release. It alsomeant any push to devkit
mainimmediately changed code executing withcontents: writein every consumer repo, with no review gaterefs/tags/${TARGET}/install.sh, so installer and payloadmove together and only a published release can change what runs. No
mainfallback is needed: the resolve step admits only
X.Y.Z[-prerelease]versions, and every devkit tag of that shape carries a root-level
install.shPinned-Dependenciesfinding on the consumer copy is expectedto remain — it wants a commit SHA, and SHA-pinning a self-upgrading
installer is circular by construction; dismiss it consumer-side
(#1547)
check-expirationson every branch(the hook runs inside the flake's
pre-commitcheck) and on both lanes ofthe nightly security scan, which aborts before vulnix ever runs
live findings against
fzf-0.72.0, andnixos-26.05,release-26.05andstaging-26.05all still ship 0.72.0 with no backport PR open, soadvancing the pin cannot clear them either
2026-09-02grid date, so the whole register comesup for review in one pass. The risk assessment is unchanged: both findings
are availability-only and unreachable on this image (32-bit-only overflow;
opt-in
--listenserver)