Skip to content

chore: release 1.14.0 - #1612

Merged
vig-os-release-app[bot] merged 34 commits into
mainfrom
release/1.14.0
Sep 7, 2026
Merged

vig-os-release-app[bot] merged 34 commits into
mainfrom
release/1.14.0

Conversation

@vig-os-release-app

@vig-os-release-app vig-os-release-app Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Release 1.14.0 - 2026-09-07

This PR prepares release 1.14.0 for merge to main.

1.14.0 - 2026-09-07

Added

  • DEVKIT_DEV_PROFILE_PATH: keep the CI dev-shell gcroot across ephemeral
    self-hosted jobs
    (#1601)

    • In direnv mode, setup-devkit-toolchain realises the repo's dev-shell
      into a Nix profile under $RUNNER_TEMP — a gcroot that dies with the job.
      Correct on a hosted runner, wrong on an ephemeral self-hosted one, whose
      /nix/store persists: nothing roots the closure between jobs, so the host's
      nix.gc collects it and every run re-realises the dev-shell. Measured on a
      heavy dev-shell: a 26 s toolchain step becoming 180–237 s, in each of the
      three lanes that run per CI run
    • The new optional .vig-os key names an absolute, persistent, runner-writable
      path for that profile. resolve-toolchain reads and vets it and emits a
      dev-profile-path output; the lint, test and commit-checks lanes —
      the ones DEVKIT_CI_RUNNER can move onto your runner — plumb it into the
      toolchain action's new dev-profile-path input
    • A value that could never persist (relative, or inside the runner's
      _work/_temp tree) is refused at resolve time, before any lane realises a
      dev-shell; a path the host cannot create or write fails the toolchain step
      itself. Neither falls back silently — a job-scoped gcroot is
      indistinguishable from the bug
    • Absent or empty (the shipped default) keeps $RUNNER_TEMP/devkit-dev-profile
      byte for byte, so hosted and self-hosted consumers alike are unchanged. The
      key round-trips a --force upgrade like the other manifest knobs. See
      Keep the dev-shell gcroot across ephemeral self-hosted jobs
  • vigos.multiplexer: org tmux keybindings and terminal defaults
    (#1605)

    • The module set five options and no keybindings, so every consumer
      re-derived the same extraConfig — and a host running it bare (a shared
      remote development guest, a devcontainer) got none of it. prefix + X,
      kill the current session, is the concrete case: unbound in stock tmux, so
      a habit built on one machine silently did nothing on the next
    • programs.tmux.terminal now defaults to tmux-256color; home-manager's
      default is screen, which advertises 8 colors and no italics. Everything
      the org ships that draws color — starship, neovim, delta, lazygit,
      gh-dash — was rendering degraded the moment it ran inside tmux, on every
      host. A terminal-overrides line adds truecolor on top
    • New bindings: prefix + X kills the session behind a confirm prompt;
      splits and new windows inherit the pane's cwd; v/y in copy mode match
      the module's own vi keyMode; h/j/k/l select panes. New settings:
      renumber-windows, focus-events, set-clipboard (OSC 52 — a yank on a
      remote host reaches the local clipboard with no X forwarding),
      detach-on-destroy off, and per-session terminal titles
    • Two behaviour changes for a host already enabling the module: prefix + l
      is now select-pane -R rather than last-window, and a client whose
      session is destroyed switches to another live session instead of dropping
      to a shell (it still detaches if that was the last session). Everything
      else is additive or a mkDefault a bare assignment overrides
    • The block lands before any lib.mkAfter definition and tmux takes the
      last binding of a key, so a consumer takes a key back through
      programs.tmux.extraConfig = lib.mkAfter … — the same seam vigos.sesh
      already uses for bind o

Changed

  • CI cancels superseded runs instead of letting them burn runner slots
    (#1602)
    • ci.yml carried no concurrency block, so a force-push or a rapid
      follow-up push left the previous run's every lane — lint, test,
      commit-checks, scaffold-drift, summary — running to completion for a commit
      that no longer matters. Wasted billed minutes on a hosted runner; worse on a
      self-hosted consumer with a small fixed slot pool, where the stale run holds
      the slots and the replacement run queues behind its own predecessor
    • Runs are now grouped per workflow and per ref, so a superseded
      pull_request or workflow_dispatch run is cancelled while distinct refs
      (other PRs, dispatches on other branches) stay independent. Consumers pick
      this up through the normal adoption PR; a hand-added block was never an
      option, since ci.yml is a managed file and the edit failed scaffold-drift
    • The cancel is conditioned on the event not being push: neither trigger is
      push today, but a deploy gating on the exact-commit CI run stays
      satisfiable if one is ever added
    • Existing gate semantics are unchanged: a cancelled run cannot green the
      required check (the summary job already trips on cancelled), and the
      release-PR CI gate evaluates only the latest run per check name, so a
      superseded run cannot refuse a branch that is green

Dependencies

  • Update cachix/cachix-action from 5f2d7c5 to 38b0826 (#1607)
  • Update vig-os/commit-action from v0.3.2 to v0.3.3 (#1608)

Fixed

  • The scaffolded upgrade workflow now trusts your flake's own nixConfig
    (#1599)
    • devkit-upgrade.yml installed Nix with only experimental-features, so a
      repo whose flake.nix declares nixConfig.extra-substituters had them
      ignored on both Nix legs of the job — install.sh's nix flake update and
      the nix develop commit — each printing a warning: ignoring untrusted flake configuration setting pair and resolving the dev-shell against
      cache.nixos.org alone
    • The installer step now carries the same four settings
      setup-devkit-toolchain has always passed (accept-flake-config plus the
      vig-os Cachix substituter and its public key), so the two Nix entry points
      a consumer repo has behave identically
    • Unchanged: the image's baked nix.conf still does not set
      accept-flake-config. That
      (#773) was about trusting a
      foreign flake run inside the container; this is a per-runner setting in a
      job that evaluates the consumer's own repo flake and nothing else
    • Consumers pick this up on their next adoption PR; no repo-side edit is
      needed

Security

  • Exception register reconciled against the 2026-09-07 pin advance — the
    rsync block deleted, nothing renewed

    (#1592,
    #1593)

    • The weekly pin advance c5c4a43b → c25784012c
      (#1609) ships rsync 3.5.0, so
      every one of the 17 advisories from the 2026-09-01 batch — the 8 excepted
      in .vulnixignore and the 9 below the gate's CVSS 7.0 threshold — is gone
      from the image closure. The block is deleted (tombstoned) 16 days before
      its 2026-09-23 expiry: the "dies on remediation" exit its own note asked
      for, and the reason it was placed earliest on the staggered grid
    • Verified against the first scan on the new closure (run 34108767776, dev
      lane): 17 findings removed, 0 added, no other package touched. The
      remaining 14 entries each still match a live finding and stand unchanged on
      their staggered Wednesdays — none renewed, none re-dated
  • .trivyignore retired to an empty register — the last three Debian-era
    exceptions removed
    (#512,
    #564,
    #805)

    • All three surviving blocks — the gh Go-stdlib CVE-2026-42504, the
      jwt-token secret-scan false positive and the Debian jq pair
      CVE-2026-32316/CVE-2026-40164 — were written against the Debian
      :latest image, whose Trivy job left with the Debian path
      (#642). The Nix image
      inherited the file but none of the findings
    • Confirmed by scanning the current image with no ignore file (trivy
      0.72.0, vuln,secret, HIGH/CRITICAL/MEDIUM, closure built from the
      c25784012c pin): 63 unique vulnerabilities, zero secret findings, none of
      the three excepted IDs among them. The Nix image's Go binaries are built on
      stdlib 1.26.7 (past the 1.26.4 the block awaited), it ships jq 1.8.2 with
      no dpkg DB to match Debian's 1.6, and it has no /opt/pre-commit-cache
    • The file itself stays as the seam for genuine Nix-image Trivy findings and
      secret false positives; with no entries there is nothing left to expire

vig-os-release-app Bot and others added 30 commits September 1, 2026 16:55
Syncs `dev` with `main` (sync-main-to-dev workflow).
The scaffolded devkit-upgrade.yml installs Nix with only
experimental-features, so a consumer flake's own nixConfig substituters are
ignored on both Nix legs of the job. setup-devkit-toolchain — same payload,
same runner class, same flake — passes the full set.

Lift that expectation into workflow_scaffold as one NIX_SETTINGS constant
plus a parse_nix_settings helper, point the two existing toolchain
assertions at it, and add the failing third assertion for the upgrade
workflow's installer step.

Refs: #1599
Install Nix with the same four settings setup-devkit-toolchain has always
passed: accept-flake-config plus the vig-os Cachix substituter and its
public key. Both Nix legs of the job — install.sh's `nix flake update
vigos` and the `nix develop` commit — stop warning "ignoring untrusted
flake configuration setting" and can substitute from the caches the
consumer's own flake.nix declares.

Not a #773 regression: that removed accept-flake-config from the image's
baked nix.conf, where a container-run FOREIGN flake could redirect the
substituters. This is per-runner, in a job that evaluates the consumer's
own repo flake and nothing else.

Refs: #1599
#1600)

## Description

The scaffolded `devkit-upgrade.yml` installed Nix with only
`experimental-features`, so a consumer repo whose `flake.nix` declares a
`nixConfig` block had it ignored on **both** Nix legs of the job —
`install.sh`'s
`nix flake update vigos` and the `nix develop -c git commit` — each
emitting

```
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
```

and resolving the dev-shell against `cache.nixos.org` alone.

`setup-devkit-toolchain` — same scaffold payload, same runner class,
same
consumer flake — has always passed the full set. This closes the gap and
pins
all three copies to one constant.

## Type of Change

- [x] `fix` -- Bug fix

### Modifiers

- [ ] Breaking change (`!`)

## Changes Made

- `assets/workspace/.github/workflows/devkit-upgrade.yml` — the `Install
Nix`
step now carries `accept-flake-config = true`, `extra-substituters` and
`extra-trusted-public-keys` alongside `experimental-features`, with a
comment
  explaining the #773 boundary
- `tests/workflow_scaffold.py` — new shared `NIX_SETTINGS` constant and
`parse_nix_settings()` helper, so the three places that ship these
settings
  assert against one expectation instead of three
- `tests/test_workflow_devkit_upgrade.py` — new
  `test_install_nix_carries_the_toolchain_nix_settings`
- `tests/test_setup_toolchain_env.py` — its two existing assertions now
use the
  shared constant (net −22 lines of hand-rolled parsing)

### Not a #773 regression

\#773 removed `accept-flake-config = true` from the **image's baked**
`/etc/nix/nix.conf`, where any in-container `nix run
github:attacker/flake` would
silently trust a *foreign* flake's substituters.
`tests/test_image.py::test_nix_conf_does_not_accept_flake_config` still
guards
that and is untouched.

This is the other case: a per-runner installer setting, in a job that
evaluates
**the consumer's own repo flake** and nothing else — the identical
posture
`setup-devkit-toolchain` already ships to every consumer.

### Scope note

This removes two warnings per run and restores the substituters the
consumer's
flake asked for. It is **not** a meaningful speed-up: the upgrade step
advances
the consumer's `nixpkgs` pin immediately before the `nix develop`, so
that
closure is new and no cache holds it. Sized `effort:small` /
`priority:low`
accordingly.

## Changelog Entry

```markdown
### Fixed

- **The scaffolded upgrade workflow now trusts your flake's own `nixConfig`**
  ([#1599](#1599))
  - `devkit-upgrade.yml` installed Nix with only `experimental-features`, so a
    repo whose `flake.nix` declares `nixConfig.extra-substituters` had them
    ignored on both Nix legs of the job — `install.sh`'s `nix flake update` and
    the `nix develop` commit — each printing a `warning: ignoring untrusted
    flake configuration setting` pair and resolving the dev-shell against
    `cache.nixos.org` alone
  - The installer step now carries the same four settings
    `setup-devkit-toolchain` has always passed (`accept-flake-config` plus the
    vig-os Cachix substituter and its public key), so the two Nix entry points
    a consumer repo has behave identically
  - Unchanged: the image's baked `nix.conf` still does not set
    `accept-flake-config`. That
    ([#773](#773)) was about trusting a
    *foreign* flake run inside the container; this is a per-runner setting in a
    job that evaluates the consumer's own repo flake and nothing else
  - Consumers pick this up on their next adoption PR; no repo-side edit is
    needed
```

## Testing

- [x] Tests pass locally (`just test`)
- [x] Manual testing performed (describe below)

### Manual Testing Details

TDD, both phases run:

- RED (`312f43af`): `1 failed, 42 passed` — the new assertion reported
  `Right contains 3 more items: accept-flake-config, extra-substituters,
  extra-trusted-public-keys`
- GREEN (`02c1a3db`): `70 passed` across
  `test_workflow_devkit_upgrade.py` + `test_setup_toolchain_env.py`
- Full suite: `1570 passed, 3 skipped` (`pytest -q --deselect
tests/test_image.py`)
- `just precommit` (`prek run --all-files`): all hooks green, including
  `actionlint` and `yamllint` on the edited workflow

Two local failures are **pre-existing and environmental**, both
reproduced with
this branch's working-tree changes stashed, and
`test_image.py::TestFileStructure::test_manifest_files` also reproduced
on a
clean `origin/dev` worktree:

- `test_image.py::TestFileStructure::test_manifest_files` — the local
  `ghcr.io/vig-os/devcontainer:dev` image carries the pre-`8e7c4916`
`.pymarkdown` (`959f081e…` vs the tree's `0ba0738d…`); the image
predates that
  2026-08-31 commit
-
`test_integration.py::TestDevContainerCLI::test_github_cli_authentication`
—
`dbus-launch` missing in the container, `gh` refusing a multi-account
config
  migration

## 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 — no doc surface
changes
- [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 on their next `devkit-upgrade` adoption PR — the
workflow
is devkit-managed, so a consumer-side edit would be overwritten anyway.

Refs: #1599
## Description

`setup-devkit-toolchain`'s direnv branch realises the consumer dev-shell
into a
Nix profile under `$RUNNER_TEMP`. The `--profile` is what makes it a
**gcroot**
rather than a bare `nix develop`, and on a hosted runner that placement
is
right — the machine is discarded with the job anyway.

An **ephemeral self-hosted** runner inverts the trade-off: `RUNNER_TEMP`
is
wiped between jobs while the `/nix/store` — the whole reason to run one
—
persists. Nothing roots the dev-shell between jobs, so a routine
`nix.gc` on the
host collects the closure every CI run needs. Measured on a `direnv`
consumer
with a heavy dev-shell: a 26 s `Set up devkit toolchain` step becoming
180–237 s, in each of the three toolchain lanes that run per CI run.

This adds an opt-in `.vig-os` key naming a persistent path for that
profile.
Absent or empty — the shipped default — reproduces today's behaviour
byte for
byte for every consumer, hosted and self-hosted alike.

## Type of Change

- [x] `feat` -- New feature

### Modifiers

- [ ] Breaking change (`!`) -- This change breaks backward compatibility

## Changes Made

Wired the way `DEVKIT_CI_RUNNER` (#1173) is, per the issue discussion —
same
class of fact (an infrastructure detail of the runner this repo builds
on),
declared in the consumer's committed manifest, so there is no repo
variable to
declare and it round-trips a `--force` upgrade:

- **`assets/workspace/.vig-os`** — new `DEVKIT_DEV_PROFILE_PATH=` key,
shipped
  empty, documented with the self-hosted rationale.
- **`resolve-toolchain`** — reads the key and emits a `dev-profile-path`
output.
Vets it once, on the cheap hosted producer job: a relative path, a path
inside
the runner's `_work`/`_temp` tree, or the filesystem root fails there,
before
  any lane realises a dev-shell. Trailing slashes are trimmed.
- **`setup-devkit-toolchain`** — new optional `dev-profile-path` input,
routed
through `env:` (never inline `${{ }}` in `run:`). The step resolves it,
or
falls back to `$RUNNER_TEMP/devkit-dev-profile` when unset, and **all
four**
`nix develop` calls use the resolved path. What only the target host can
answer — is the parent directory creatable, is it writable — is checked
there
and fails the step loudly. Neither layer falls back silently: a
job-scoped
  gcroot is indistinguishable from the bug.
- **`ci.yml`** — the `lint`, `test` and `commit-checks` lanes pass the
resolved
  path. Deliberately only those three: they are exactly the jobs
`DEVKIT_CI_RUNNER` can move onto a consumer's runner, and the three the
issue
measured. Everything else in the scaffold stays on the hosted default,
where
  `RUNNER_TEMP` is the correct place for the root.
- **`init-workspace.sh`** — the key is read before the template
overwrite and
  written back, so an upgrade cannot silently re-root the dev-shell in
  `RUNNER_TEMP`.
- **`docs/MIGRATION.md`** — new "Keep the dev-shell gcroot across
ephemeral
self-hosted jobs" section plus the manifest-key table row, including the
runner-host notes: slots on one host are expected to **share** the path
(concurrent `nix develop --profile` realisations take the profile lock
and
converge), and it must be a local persistent directory, not a per-job
tmpfs.

## Changelog Entry

```markdown
### Added

- **`DEVKIT_DEV_PROFILE_PATH`: keep the CI dev-shell gcroot across ephemeral
  self-hosted jobs** ([#1601](#1601))
  - In `direnv` mode, `setup-devkit-toolchain` realises the repo's dev-shell
    into a Nix profile under `$RUNNER_TEMP` — a gcroot that dies with the job.
    Correct on a hosted runner, wrong on an ephemeral self-hosted one, whose
    `/nix/store` persists: nothing roots the closure between jobs, so the host's
    `nix.gc` collects it and every run re-realises the dev-shell. Measured on a
    heavy dev-shell: a 26 s toolchain step becoming 180–237 s, in each of the
    three lanes that run per CI run
  - The new optional `.vig-os` key names an absolute, persistent, runner-writable
    path for that profile. `resolve-toolchain` reads and vets it and emits a
    `dev-profile-path` output; the `lint`, `test` and `commit-checks` lanes —
    the ones `DEVKIT_CI_RUNNER` can move onto your runner — plumb it into the
    toolchain action's new `dev-profile-path` input
  - A value that could never persist (relative, or inside the runner's
    `_work`/`_temp` tree) is refused at resolve time, before any lane realises a
    dev-shell; a path the host cannot create or write fails the toolchain step
    itself. Neither falls back silently — a job-scoped gcroot is
    indistinguishable from the bug
  - Absent or empty (the shipped default) keeps `$RUNNER_TEMP/devkit-dev-profile`
    byte for byte, so hosted and self-hosted consumers alike are unchanged. The
    key round-trips a `--force` upgrade like the other manifest knobs. See
    [Keep the dev-shell gcroot across ephemeral self-hosted jobs](docs/MIGRATION.md#keep-the-dev-shell-gcroot-across-ephemeral-self-hosted-jobs)
```

## Testing

- [x] Tests pass locally (`just test`)
- [x] Manual testing performed (describe below)

### Manual Testing Details

TDD, RED committed first (`ecfc316`, `33a044e`) then the implementation
(`bdbe469`). New/extended coverage:

- `tests/test_toolchain_dev_profile.py` (new, 21 tests) — the input's
shape and
default; the `env:` routing (no `${{ }}` in `run:`); every `--profile`
using
the resolved value; `resolve-toolchain`'s emission (absent / empty /
absolute
/ whitespace / quoted / trailing slash, and every delivery mode) and its
refusals, executed against the action's real bash; the `ci.yml`
re-export and
  the three lane call sites.
- `tests/test_setup_toolchain_env.py` — six executed-bash cases on the
step
itself: the unset default is still `$RUNNER_TEMP/devkit-dev-profile`, a
configured path moves *every* realisation, and relative / uncreatable /
unwritable paths fail the step without realising anything. The `nix`
stub now
logs each `--profile` it is handed; the step harness was refactored to
expose
  the process so the refusal paths are assertable.
- `tests/test_vig_os_manifest.py`, `tests/bats/init-workspace.bats` —
the key
ships declared-and-empty, the output is declared, and the value
round-trips an
  upgrade.

Local runs: full `pytest` green apart from two pre-existing environment
failures (`test_image.py::test_manifest_files` — local `.pymarkdown` vs
the
pulled image — and
`test_integration.py::test_github_cli_authentication`), both
verified failing on a stashed clean tree. `prek run --all-files` green.

Not verifiable locally: the acceptance criteria that need a real
ephemeral
self-hosted runner (profile surviving a job boundary and a
`nix-collect-garbage`, second run not re-realising). Those want a live
run on
the reporting consumer once this is adopted.

## 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`)
- [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
- [x] Any dependent changes have been merged and published

## Additional Notes

The wiring shape follows the recommendation in the issue comment rather
than an
Actions variable. The comment's two implementation notes are both
addressed: the
shared-path expectation is documented in `MIGRATION.md`, the `.vig-os`
key
comment and the action's input table; and the fail-loudly constraint is
split
between resolve time (a value no host could make persistent) and step
time (what
only the target host can answer).

The `_work`/`_temp` guard catches the mistake the knob exists to prevent
—
rooting inside the tree the runner clears — but it cannot prove an
arbitrary
path is persistent, and does not claim to.

Refs: #1601
## Description

The scaffolded `ci.yml` had no `concurrency` block, so a force-push or a
rapid
follow-up push left the superseded run's every lane — lint, test,
commit-checks, scaffold-drift, summary — running to completion for a
commit
that no longer matters. On a hosted runner that is wasted billed
minutes; on a
self-hosted consumer with a small fixed slot pool it is worse: the stale
run
holds the slots and the replacement run queues behind its own
predecessor
(measured 120–250 s per-job queue times on a 3-slot consumer).

Consumers could not fix this themselves — `ci.yml` is a managed file, so
a
hand-added block fails the `scaffold-drift` gate (#1295) on every PR.
The fix
has to land here.

Both copies get the block, because they are separate render paths:
devkit's own
image-building CI and the mode-aware scaffold consumers receive. #1414
is the
standing proof that a fix landing in one copy only is the likely failure
mode.

## Type of Change

- [ ] `feat` -- New feature
- [ ] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task (deps, config, etc.)
- [ ] `refactor` -- Code restructuring (no behavior change)
- [ ] `test` -- Adding or updating tests
- [x] `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

- `.github/workflows/ci.yml` and
`assets/workspace/.github/workflows/ci.yml` —
  a workflow-level `concurrency` block between `on:` and `permissions:`
  (the placement `sync-main-to-dev.yml`, `release-core.yml` and
  `abandon-release.yml` already use):

  ```yaml
  concurrency:
    group: ci-${{ github.workflow }}-${{ github.ref }}
    cancel-in-progress: ${{ github.event_name != 'push' }}
  ```

- `tests/test_ci_concurrency.py` — new suite, parametrized over both
copies,
  pinning the group shape (per-workflow, per-ref) and the exact cancel
  condition.
- `CHANGELOG.md` (+ synced mirror) — `Changed` entry.

### Two decisions worth a reviewer's attention

1. **`!= 'push'`, not the `== 'pull_request'` the issue suggested.**
Neither
   copy triggers on `push` at all — both run only on `pull_request` and
`workflow_dispatch` — so the acceptance criterion "in-flight `main` push
runs are not cancelled" is satisfied by construction today. The issue's
conservative form would therefore guard nothing while disabling the one
case
the issue explicitly wants cancelled ("a dispatched re-test supersedes
the
previous one"). `!= 'push'` keeps dispatch supersession and still leaves
the
   push guard standing if a push trigger is ever added.

2. **Existing gate semantics are untouched, and were checked rather than
assumed.** A cancelled superseded run cannot green the required check:
the
summary job is `if: always()` and trips on `cancelled` for every needed
job
(#1371/#1414). And it cannot refuse a green branch either: all six
release-PR
CI gate sites evaluate only the latest run per check name (#1522), so a
superseded run's entries are outranked. No changes were needed to
either.

## Changelog Entry

```markdown
### Changed

- **CI cancels superseded runs instead of letting them burn runner slots**
  ([#1602](#1602))
  - `ci.yml` carried no `concurrency` block, so a force-push or a rapid
    follow-up push left the previous run's every lane — lint, test,
    commit-checks, scaffold-drift, summary — running to completion for a commit
    that no longer matters. Wasted billed minutes on a hosted runner; worse on a
    self-hosted consumer with a small fixed slot pool, where the stale run holds
    the slots and the replacement run queues behind its own predecessor
  - Runs are now grouped per workflow and per ref, so a superseded
    `pull_request` or `workflow_dispatch` run is cancelled while distinct refs
    (other PRs, dispatches on other branches) stay independent. Consumers pick
    this up through the normal adoption PR; a hand-added block was never an
    option, since `ci.yml` is a managed file and the edit failed `scaffold-drift`
  - The cancel is conditioned on the event not being `push`: neither trigger is
    `push` today, but a deploy gating on the exact-commit CI run stays
    satisfiable if one is ever added
  - Existing gate semantics are unchanged: a cancelled run cannot green the
    required check (the summary job already trips on `cancelled`), and the
    release-PR CI gate evaluates only the latest run per check name, so a
    superseded run cannot refuse a branch that is green
```

## Testing

- [x] Tests pass locally (`just test`)
- [ ] Manual testing performed (describe below)

### Manual Testing Details

N/A — the change is a declarative workflow key; GitHub evaluates it, so
shape
assertions are the testable surface (the same treatment
`nix-image.yml`'s
concurrency block gets in `test_workflow_cachix.py`). Its live effect is
observable on this PR itself: pushing a follow-up commit should cancel
the
run started by the previous one.

Evidence from the local run:

- RED first: the new suite failed 4/4 before the block existed, on
`scaffold ci.yml must declare a workflow-level concurrency block
(#1602)`.
- GREEN after: `tests/test_ci_concurrency.py`,
`tests/test_workflow_summary_gate.py`, `tests/test_ci_green_gate.py` and
  `tests/test_ci_runner.py` — 188 passed.
- Full suite: 1714 passed, 3 skipped, 3 failed. All three failures
reproduce
  identically on a clean `origin/dev` worktree and are local-environment
  artifacts, not regressions:
  - `test_image.py::test_manifest_files` — the locally cached
`ghcr.io/vig-os/devcontainer` image is the 1.13.0 release, so its baked
    `.pymarkdown` no longer matches dev's.
- `test_integration.py::test_github_cli_authentication` — the host `gh`
    config needs a keyring; `dbus-launch` is absent in the container.
- `test_transforms.py::test_mirror_is_the_source_plus_the_transforms` —
the
changelog mirror was stale until `sync-manifest` regenerated it; green
    afterwards, and the regenerated mirror is committed.
- Full hook suite: `just precommit` green over all files (`actionlint`
and
  `yamllint` included, both workflows).

## 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 (edit
`docs/templates/`, then run `just docs`)
- [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
- [ ] Any dependent changes have been merged and published

## Additional Notes

- No docs change: this adds no knob and needs no consumer action — the
block
  arrives through the normal `devkit-upgrade` adoption PR.
- **#1602 is unmilestoned**, and there is no open `1.14.0` milestone yet
(only
  `Backlog` and the closed `1.13.0`). Worth assigning before merge.

Refs: #1602
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cachix/cachix-action](https://redirect.github.com/cachix/cachix-action)
([changelog](https://redirect.github.com/cachix/cachix-action/compare/5f2d7c5294214f71b873db4b969586b980625e71..38b082610b782e7e93e209c35fd730d399dee866))
| action | digest | `5f2d7c5` → `38b0826` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
…iplexer (#1606)

## Description

`vigos.multiplexer` set five options and no keybindings, and left
`programs.tmux.terminal` at home-manager's default. Every consumer
re-derived
the same `extraConfig` by hand, and a host running the module bare — a
shared
remote development guest, a devcontainer — got none of it.

Two concrete symptoms, both from #1605:

- `prefix + X` (kill the current session) lived only in a downstream
personal
config. `prefix + x` still worked there because kill-pane is a tmux
default;
`X` is not, so a habit built on one machine silently did nothing on the
next.
- `programs.tmux.terminal` evaluated to `"screen"`: 8 colors, no
italics. Every
colored tool the org ships — starship, neovim, delta, lazygit, `gh-dash`
—
  rendered degraded the moment it ran inside tmux, on every host.

## Type of Change

- [x] `feat` -- New feature

### Modifiers

- [ ] Breaking change (`!`) -- This change breaks backward compatibility

Not breaking, but two behaviour caveats for a host already enabling the
module
(both accepted in the issue's Impact section):

- `prefix + l` becomes `select-pane -R` rather than stock `last-window`.
The
only default this replaces; coherent with the module's own `keyMode =
"vi"`,
  and the cookbook now shows how to take the key back.
- `detach-on-destroy off` changes what happens to a client after its
session
ends — it switches to another live session instead of dropping to a
shell
  (still detaches if that was the last one).

## Changes Made

`nix/home/multiplexer.nix`:

- `terminal = lib.mkDefault "tmux-256color"` plus
  `set -ga terminal-overrides ",*256col*:Tc"` for truecolor.
- `bind-key X confirm-before … kill-session` — `X` is unbound in stock
tmux, so
this takes nothing away, and the prompt keeps a stray prefix from
destroying
  a project's layout.
- cwd-preserving splits/new windows, `renumber-windows`, `focus-events`.
- `set-clipboard on` (OSC 52 — a yank on a remote host reaches the local
clipboard with no X forwarding) and `v`/`y` in copy mode, which the
module's
  own vi `keyMode` does not imply.
- `detach-on-destroy off`, `set-titles` / `set-titles-string "#S"`.
- `h`/`j`/`k`/`l` pane selection.

The block is a plain (not `mkAfter`) `extraConfig` definition, so it
lands
*before* any `lib.mkAfter` block. tmux takes the **last** binding of a
key, so
the override seam `vigos.sesh` already uses for `bind o` keeps working,
and a
consumer can take a key back the same way.

`docs/home/COOKBOOK.md` documents that seam.

Deliberately not done: a per-group `enable` option (YAGNI —
`extraConfig` is
already the seam and every option is `mkDefault`), and nothing moved
into
`vigos.sesh`.

## Changelog Entry

```markdown
### Added

- **`vigos.multiplexer`: org tmux keybindings and terminal defaults**
  ([#1605](#1605))
  - The module set five options and no keybindings, so every consumer
    re-derived the same `extraConfig` — and a host running it bare (a shared
    remote development guest, a devcontainer) got none of it. `prefix + X`,
    kill the current session, is the concrete case: unbound in stock tmux, so
    a habit built on one machine silently did nothing on the next
  - `programs.tmux.terminal` now defaults to `tmux-256color`; home-manager's
    default is `screen`, which advertises 8 colors and no italics. Everything
    the org ships that draws color — starship, neovim, delta, lazygit,
    `gh-dash` — was rendering degraded the moment it ran inside tmux, on every
    host. A `terminal-overrides` line adds truecolor on top
  - New bindings: `prefix + X` kills the session behind a confirm prompt;
    splits and new windows inherit the pane's cwd; `v`/`y` in copy mode match
    the module's own vi `keyMode`; `h`/`j`/`k`/`l` select panes. New settings:
    `renumber-windows`, `focus-events`, `set-clipboard` (OSC 52 — a yank on a
    remote host reaches the local clipboard with no X forwarding),
    `detach-on-destroy off`, and per-session terminal titles
  - Two behaviour changes for a host already enabling the module: `prefix + l`
    is now `select-pane -R` rather than `last-window`, and a client whose
    session is destroyed switches to another live session instead of dropping
    to a shell (it still detaches if that was the last session). Everything
    else is additive or a `mkDefault` a bare assignment overrides
  - The block lands before any `lib.mkAfter` definition and tmux takes the
    *last* binding of a key, so a consumer takes a key back through
    `programs.tmux.extraConfig = lib.mkAfter …` — the same seam `vigos.sesh`
    already uses for `bind o`
```

## Testing

- [x] Tests pass locally (`just test`)
- [x] Manual testing performed (describe below)

Three new tests in `tests/test_flake_checks.py`, all reading the
existing
cached `_ci_full_config()` eval slice (no new eval): the terminal
default, that
every binding reaches a host which only enables the module, and that the
block
precedes `vigos.sesh`'s `bind o` so the override seam still works. TDD —
all
three committed red first (`screen != tmux-256color`, then `substring
not
found`), then green.

```console
$ uv run pytest tests/test_flake_checks.py tests/test_flake_modules.py -q
60 passed in 873.29s (0:14:33)

$ prek run --all-files          # full suite, both hook sets
(all Passed)

$ nix build .#checks.x86_64-linux.hm-full
# only hm_tmuxtmux.conf + home-manager-{files,generation} rebuilt
```

### Manual Testing Details

The generated `tmux.conf` was loaded into a real tmux 3.6a server on an
isolated socket, and the resulting bindings/options read back — the eval
asserts the *text*, this asserts tmux actually accepts it:

```console
$ tmux -f "$conf" -S ./t.sock new-session -d -s probe \; list-keys \; show-options -g
bind-key -T copy-mode-vi v   send-keys -X begin-selection
bind-key -T copy-mode-vi y   send-keys -X copy-pipe-and-cancel
bind-key -T prefix       X   confirm-before -p "kill session '#S'? (y/n)" kill-session
bind-key -T prefix       \"  split-window -v -c "#{pane_current_path}"
bind-key -T prefix       \%  split-window -h -c "#{pane_current_path}"
bind-key -T prefix       c   new-window -c "#{pane_current_path}"
bind-key -T prefix       h   select-pane -L
bind-key -T prefix       j   select-pane -D
bind-key -T prefix       k   select-pane -U
bind-key -T prefix       l   select-pane -R
base-index 1
detach-on-destroy off
history-limit 100000
mouse on
renumber-windows on
set-titles on
set-titles-string "#S"

$ ... \; show-options -s \; show-options -gw
default-terminal tmux-256color
escape-time 10
focus-events on
set-clipboard on
terminal-overrides[0] linux*:AX@
terminal-overrides[1] *256col*:Tc
mode-keys vi
```

`terminal-overrides` appends to tmux's own default rather than replacing
it,
and the merged `extraConfig` ends with `bind o display-popup -E
"sesh-picker"`
— sesh's `mkAfter` still last.

## 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 fix is effective or that 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

The issue flagged group 6 (vim pane navigation) for review as the only
item
that removes a tmux default. Implemented as specified — the issue's own
Impact
section accepts the `prefix + l` trade — but it is the one thing worth
an
explicit yes/no at review, and it is a two-line revert if the answer is
no.

Refs: #1605
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[vig-os/commit-action](https://redirect.github.com/vig-os/commit-action)
| action | patch | `v0.3.2` → `v0.3.3` |

---

### Release Notes

<details>
<summary>vig-os/commit-action (vig-os/commit-action)</summary>

###
[`v0.3.3`](https://redirect.github.com/vig-os/commit-action/blob/HEAD/CHANGELOG.md#v033---2026-09-07)

[Compare
Source](https://redirect.github.com/vig-os/commit-action/compare/v0.3.2...v0.3.3)

##### Changed

- **The release pipeline rebuilds the action bundle instead of relying
on a hand-written commit**
([#&#8203;157](https://redirect.github.com/vig-os/commit-action/issues/157)).
`prepare-release-extension.yml` — the devkit-seeded, consumer-owned
no-op whose header names exactly this use case — now resolves the devkit
toolchain, runs `just sync && just bundle` on the freshly cut
`release/X.Y.Z`, and commits `dist/` when it differs. It runs after the
branch is fast-forwarded onto the changelog freeze and before `open-pr`,
so the refreshed bundle is in the release PR diff from its first CI run
and `Dist Check` validates it; `rollback` already lists `extension` in
its `needs`, so a failed rebuild deletes the branch and takes the commit
with it. `release-extension.yml`'s finalize-time `verify-dist` is
untouched and becomes a genuine backstop rather than the only gate, and
`dist-check.yml` triggers are unchanged so `dev` stays ungated
([#&#8203;71](https://redirect.github.com/vig-os/commit-action/issues/71)).
This removes the recurring manual rebuild that
[#&#8203;130](https://redirect.github.com/vig-os/commit-action/issues/130)
fixed once by hand and that had accrued again: six lock-file-maintenance
PRs
([#&#8203;139](https://redirect.github.com/vig-os/commit-action/pull/139),
[#&#8203;143](https://redirect.github.com/vig-os/commit-action/pull/143),
[#&#8203;146](https://redirect.github.com/vig-os/commit-action/pull/146),
[#&#8203;148](https://redirect.github.com/vig-os/commit-action/pull/148),
[#&#8203;152](https://redirect.github.com/vig-os/commit-action/pull/152),
[#&#8203;156](https://redirect.github.com/vig-os/commit-action/pull/156))
moved `@octokit/core`, `@octokit/request`, `@octokit/endpoint`,
`@octokit/request-error`, `@octokit/graphql`, `content-type` and
`undici` — all **runtime** transitives that `ncc` inlines — while the
committed bundle stood still. Drift is read from `git status` rather
than a walk of `dist/`, so the gitignored declaration byproducts under
`dist/src/` stay untracked (the
[#1159](https://redirect.github.com/vig-os/devkit/issues/1159)
bug behind
[#&#8203;134](https://redirect.github.com/vig-os/commit-action/issues/134)),
and the commit is made through `vig-os/commit-action` at its last
released tag rather than the possibly-stale local bundle.

##### Dependencies

- Update `eslint` from `10.8.0` to `10.10.0`
([#&#8203;138](https://redirect.github.com/vig-os/commit-action/pull/138),
[#&#8203;147](https://redirect.github.com/vig-os/commit-action/pull/147),
[#&#8203;151](https://redirect.github.com/vig-os/commit-action/pull/151),
[#&#8203;155](https://redirect.github.com/vig-os/commit-action/pull/155))
- Update `tsx` from `4.23.7` to `4.23.13`
([#&#8203;138](https://redirect.github.com/vig-os/commit-action/pull/138),
[#&#8203;151](https://redirect.github.com/vig-os/commit-action/pull/151))
- Update `@vercel/ncc` from `^0.44.1` to `^0.45.0`
([#&#8203;142](https://redirect.github.com/vig-os/commit-action/pull/142))
- Update `jest` from `30.4.2` to `30.5.1`
([#&#8203;151](https://redirect.github.com/vig-os/commit-action/pull/151),
[#&#8203;155](https://redirect.github.com/vig-os/commit-action/pull/155))
- Update `typescript-eslint` from `8.67.0` to `8.69.0`
([#&#8203;151](https://redirect.github.com/vig-os/commit-action/pull/151),
[#&#8203;155](https://redirect.github.com/vig-os/commit-action/pull/155))
- Update `globals` from `17.11.0` to `17.12.0`
([#&#8203;155](https://redirect.github.com/vig-os/commit-action/pull/155))
- Lock file maintenance (npm)
([#&#8203;139](https://redirect.github.com/vig-os/commit-action/pull/139),
[#&#8203;143](https://redirect.github.com/vig-os/commit-action/pull/143),
[#&#8203;146](https://redirect.github.com/vig-os/commit-action/pull/146),
[#&#8203;148](https://redirect.github.com/vig-os/commit-action/pull/148),
[#&#8203;152](https://redirect.github.com/vig-os/commit-action/pull/152),
[#&#8203;156](https://redirect.github.com/vig-os/commit-action/pull/156))
- Adopt vigOS devkit 1.12.0
([#&#8203;141](https://redirect.github.com/vig-os/commit-action/pull/141),
[#&#8203;145](https://redirect.github.com/vig-os/commit-action/pull/145),
[#&#8203;150](https://redirect.github.com/vig-os/commit-action/pull/150),
[#&#8203;154](https://redirect.github.com/vig-os/commit-action/pull/154))
— [release
notes](https://redirect.github.com/vig-os/devkit/releases/tag/1.12.0)

</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:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
Scheduled advance of the pinned stable nixpkgs rev - the primary
CVE-remediation lever (docs/CONTAINER_SECURITY.md). Full CI on this PR,
including the closure rebuild, is the merge gate.

After merge, the first nightly security scan produces the findings delta
against the new closure; reconcile the exception registers against that
delta (delete cleared entries) rather than re-dating them.

Refs: #1565
The weekly pin advance c5c4a43b -> c25784012c (#1609) ships rsync 3.5.0,
so all 17 advisories of the 2026-09-01 batch are gone from the closure:
the 8 entries excepted here and the 9 that fell under the gate's CVSS 7.0
threshold. The block is deleted rather than renewed, 16 days before its
2026-09-23 expiry — the staging-next-26.05 backport (NixOS/nixpkgs#557467)
it was waiting on needed the single release-26.05 -> nixos-26.05 hop its
note predicted, which is why it sat earliest on the staggered grid.

Verified against the first scan on the new closure (run 34108767776, dev
lane, checkout 1867537): rsync is absent from the findings while still a
direct member of the image env, and the delta against the main lane is 17
removed / 0 added. The other 14 entries were re-checked in the same pass
and all still match live findings; none is renewed or re-dated. Local
gate re-run against that artifact: green, 14 exceptions applied.

Refs: #1592
All three surviving .trivyignore blocks were written against the Debian
:latest image, whose Trivy job was removed with the Debian path (#642).
The Nix image inherited the file but none of the findings, so the entries
have been suppressing nothing: scanned with NO ignore file (trivy 0.72.0,
image --input <devkitImage tar> --scanners vuln,secret --severity
HIGH,CRITICAL,MEDIUM, closure built from the c25784012c pin), the image
reports 63 unique vulnerabilities and zero secret findings, and none of
CVE-2026-42504, jwt-token, CVE-2026-32316 or CVE-2026-40164 is among them.

Each had its own reason to be gone: the image's gobinaries are built on
Go stdlib v1.26.7, past the 1.26.4 rebuild CVE-2026-42504 waited for; it
ships jq 1.8.2 and has no dpkg DB for Trivy's OS scanner to match Debian's
1.6-2.1+deb12u1 against, which was the jq block's own escape condition;
and the jwt-token match lived in typos source fixtures under
/opt/pre-commit-cache, a path the Nix image does not have (prek caches at
/opt/prek-cache) since it ships typos as a prebuilt binary.

The register is now empty but kept: it stays the seam for genuine
Nix-image Trivy findings and secret false positives, and with no entries
check-expirations has nothing to expire.

Refs: #512
…diation (#1611)

## Description

Reconciles both CVE exception registers against remediation that has
already
landed. Nothing is renewed or re-dated here: every entry removed is one
that no
longer matches a finding, and every entry kept was re-verified against a
live
scan.

- **`.vulnixignore`** — the 8-entry rsync block (`Expiration:
2026-09-23`) is
  deleted 16 days before its expiry. The weekly pin advance `c5c4a43b` →
`c25784012c` (#1609) ships **rsync 3.5.0**, past all 17 advisories of
the
  2026-09-01 batch.
- **`.trivyignore`** — the three surviving blocks (`CVE-2026-42504`,
`jwt-token`, `CVE-2026-32316`/`CVE-2026-40164`) are retired. All three
were
written against the Debian `:latest` image, whose Trivy job left with
the
Debian path (#642); the Nix image inherited the file but none of the
findings.

Both files keep tombstones in place of the deleted entries, per the
register
convention, so the history of why an exception existed and how it died
stays
in the file.

## Type of Change

- [ ] `feat` -- New feature
- [x] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `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

### `.vulnixignore`: the rsync block dies on remediation

The block was placed **earliest** on the staggered grid precisely
because its
remediation lever moved soonest: the fix needed one `staging-next-26.05`
→
`release-26.05` → `nixos-26.05` hop (NixOS/nixpkgs#557467), which the
weekly
`update-nixpkgs.yml` advance then picks up on its own. That is exactly
what
happened, one grid period early.

Evidence — the first nightly scan on the new closure (run `34108767776`,
dev
lane, checkout `1867537d` = the merge of #1609):

| | `dev` (new pin) | `main` (old pin) |
|---|---|---|
| rsync | **absent** | `rsync-3.4.4`, 17 CVEs |
| glibc | `2.42-84` | `2.42-67` + `2.42-84` |
| delta | **17 removed, 0 added** | — |

`rsync` is still a direct member of the image env (`flake.nix`), so this
is
remediation, not a closure change; the locally built closure on this
branch
contains `rsync-3.5.0`.

The other **14 entries were re-checked in the same pass and every one
still
matches a live finding** — glibc ×6 (10-14), zlib/sqlite/libmicrohttpd
×5
(09-30), fzf ×2 (10-07), shellcheck CPE mismatch (2027-06-23). None is
renewed
or re-dated; the remaining grid is unchanged.

`main` still ships rsync 3.4.4 and keeps the block until the next
release train
carries the pin and the register over together, so this opens no gap
there.

### `.trivyignore`: retired to an empty register

Each entry had its own reason to be gone, and none of the three could
ever have
fired against the Nix image:

- **`CVE-2026-42504`** (#512, #564) — Go stdlib MIME header DoS, matched
via the
`gh` binary Debian shipped on Go 1.26.3. Every gobinary in the Nix image
reports **stdlib v1.26.7**, past the 1.26.4 rebuild the block was
waiting for.
- **`jwt-token`** (#512) — secret-scan false positive on a JWT-like
string in
typos crate test fixtures under `/opt/pre-commit-cache`. The Nix image
has no
such path (prek caches at `/opt/prek-cache`) and ships typos as a
prebuilt
  binary, not its source fixtures.
- **`CVE-2026-32316` / `CVE-2026-40164`** (#805, #512) — jq DoS/RCE
scoped to
Debian `jq`/`libjq1` 1.6-2.1+deb12u1. The image has no dpkg DB for
Trivy's OS
scanner and ships jq 1.8.2. The block's own escape condition was
"time-box the
  ignore until the Nix image ships" — it has.

The file itself is kept, not deleted: it stays the seam for genuine
Nix-image
Trivy findings and secret false positives
(`docs/CONTAINER_SECURITY.md`). With
no entries, `check-expirations` has nothing to expire.

## Changelog Entry

```markdown
### Security

- **Exception register reconciled against the 2026-09-07 pin advance — the
  rsync block deleted, nothing renewed**
  ([#1592](#1592),
  [#1593](#1593))
  - The weekly pin advance `c5c4a43b` → `c25784012c`
    ([#1609](#1609)) ships rsync 3.5.0, so
    every one of the 17 advisories from the 2026-09-01 batch — the 8 excepted
    in `.vulnixignore` and the 9 below the gate's CVSS 7.0 threshold — is gone
    from the image closure. The block is deleted (tombstoned) 16 days before
    its 2026-09-23 expiry: the "dies on remediation" exit its own note asked
    for, and the reason it was placed earliest on the staggered grid
  - Verified against the first scan on the new closure (run 34108767776, dev
    lane): 17 findings removed, 0 added, no other package touched. The
    remaining 14 entries each still match a live finding and stand unchanged on
    their staggered Wednesdays — none renewed, none re-dated

- **`.trivyignore` retired to an empty register — the last three Debian-era
  exceptions removed** ([#512](#512),
  [#564](#564),
  [#805](#805))
  - All three surviving blocks — the `gh` Go-stdlib `CVE-2026-42504`, the
    `jwt-token` secret-scan false positive and the Debian jq pair
    `CVE-2026-32316`/`CVE-2026-40164` — were written against the Debian
    `:latest` image, whose Trivy job left with the Debian path
    ([#642](#642)). The Nix image
    inherited the file but none of the findings
  - Confirmed by scanning the current image with **no ignore file** (trivy
    0.72.0, `vuln,secret`, HIGH/CRITICAL/MEDIUM, closure built from the
    `c25784012c` pin): 63 unique vulnerabilities, zero secret findings, none of
    the three excepted IDs among them. The Nix image's Go binaries are built on
    stdlib 1.26.7 (past the 1.26.4 the block awaited), it ships jq 1.8.2 with
    no dpkg DB to match Debian's 1.6, and it has no `/opt/pre-commit-cache`
  - The file itself stays as the seam for genuine Nix-image Trivy findings and
    secret false positives; with no entries there is nothing left to expire
```

## Testing

- [x] Tests pass locally (`just test`) — see the note on two unrelated
local failures below
- [x] Manual testing performed (describe below)

### Manual Testing Details

Registers are config, so the verification is the scan evidence itself:

1. **vulnix gate, edited register vs the new closure's findings** —
   `gh run download 34108767776 -n nix-image-cve-scan-dev`, then
   `uv run vulnix-gate vulnix-findings.json --register .vulnixignore` →
`No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 14 exception(s)
applied`.
2. **Register-vs-findings reconciliation** — every one of the 14
surviving
entries matches a live finding in that artifact; the 8 removed ones
match
   none.
3. **Trivy, with no ignore file** — `nix build .#devkitImage` on this
branch,
   then `trivy image --input result --scanners vuln,secret --severity
HIGH,CRITICAL,MEDIUM` (trivy 0.72.0 from the pinned nixpkgs; CI runs
0.74.0):
   63 unique vulnerabilities, **0 secret findings**, and none of
`CVE-2026-42504`, `CVE-2026-32316`, `CVE-2026-40164` present. The secret
   scanner is confirmed enabled in that run's log.
4. `uv run check-expirations .trivyignore .vulnixignore` → green;
   `prek run --all-files` → green.
5. `just test` → **1169 passed, 3 skipped, 2 failed**. Both failures are
local
environment artefacts, not this diff, which touches only the two
registers
   and the changelog pair:
   - `test_image.py::TestFileStructure::test_manifest_files` — checksum
mismatch on `/root/assets/workspace/.pymarkdown` between the working
tree
and the locally cached image, which predates `8e7c4916` (the pymarkdown
fixer change on `dev`). CI builds the image from the branch and does not
     see it.
-
`test_integration.py::TestDevContainerCLI::test_github_cli_authentication`
     — needs a host `gh` token forwarded into the devcontainer.

## 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 (edit
`docs/templates/`, then run `just docs`)
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [ ] 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
- [x] Any dependent changes have been merged and published

Docs need no edit: `docs/CONTAINER_SECURITY.md` describes the registers'
mechanics and conventions, not their contents, and both survive this
change
unchanged. No tests are added for the same reason — the registers are
data
consumed by `check-expirations`/`vulnix-gate`, both already covered.

## Additional Notes

Follow-up this enables: `#1592`/`#1593` were closed when the exception
landed;
the underlying finding is now gone from `dev` for real, and will be gone
from
`main` once the next release train carries the pin over.

Refs: #1592, #1593, #512, #564, #805, #642, #1609
Move Unreleased content to [1.14.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.
@c-vigo
c-vigo marked this pull request as ready for review September 7, 2026 15:00
@c-vigo
c-vigo self-requested a review as a code owner September 7, 2026 15:00
Set release date to 2026-09-07 and regenerate release docs.

Refs: #1612
@vig-os-release-app
vig-os-release-app Bot merged commit cb1ff30 into main Sep 7, 2026
17 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the release/1.14.0 branch September 7, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant