Skip to content

chore: release 1.15.1 - #1648

Merged
vig-os-release-app[bot] merged 6 commits into
mainfrom
release/1.15.1
Sep 17, 2026
Merged

vig-os-release-app[bot] merged 6 commits into
mainfrom
release/1.15.1

Conversation

@vig-os-release-app

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

Copy link
Copy Markdown
Contributor

Release 1.15.1 - 2026-09-17

This PR prepares release 1.15.1 for merge to main.

1.15.1 - 2026-09-17

Security

  • Except the pcre2 JIT incorrect-free (CVE-2026-89161) in the vulnix
    register
    (#1645)
    • The nightly image gate went red on both refs on 2026-09-17 from an NVD
      feed event, not a closure change: the pin is unchanged and the 2026-09-16
      scan reported no advisory at all against pcre2.
    • Only CVE-2026-89161 crosses the gate's 7.0 threshold (7.4 MITRE / 7.8
      NIST analyst, both local-vector); the five sub-threshold siblings in the
      same batch are deliberately left out of the register.
    • pcre2 reaches the image transitively through ripgrep alone, and the fix
      (10.48) sits on staging-next-26.05 while release-26.05 still ships
      10.46 — the same lever the curl, openssl and libxml2 blocks wait on.
      Time-boxed to 2026-11-04; all four blocks die on that advance.

commit-action-bot Bot and others added 4 commits September 17, 2026 15:16
Add an empty [1.15.1] - TBD section on the
release branch cut from main; the hotfix PR fills it.
Regenerate the synced workspace mirror so
assets/workspace/.devcontainer/CHANGELOG.md matches the frozen root
CHANGELOG.md on the release branch.
…ster

The nightly vulnix gate went red on both refs on 2026-09-17. Like the libxml2
batch the day before, this is a feed event and not a closure change: the
09-16 run (35080687787) reported no advisory at all against pcre2 and the
09-17 run (35207126776) shows 6 added / 0 removed against that single
package, with no expiry fired and the pin untouched. CVE-2026-89161 was
published 2026-09-11 and reached the NVD feed in that window.

Only CVE-2026-89161 crosses the gate's 7.0 threshold; the five siblings score
2.9-6.5 and are left out of the register, as the glibc and libxml2 blocks
already do for theirs. The defect is a CWE-590 incorrect free in
pcre2_jit_match when a previously copied subject is passed in as a match
context; vulnix gates on MITRE's 7.4 and the NIST analyst scores it 7.8, both
local-vector.

nix why-depends gives one path and one hop -- devcontainer-image-env ->
ripgrep 15.1.0 -> pcre2 -- so `rg -P` on a local search is the whole exposure
surface. Whether ripgrep's grep-pcre2 binding can reach the affected calling
pattern was not verified, so the entry accepts that ceiling rather than
claiming unreachability.

The pinned nixpkgs applies no patches to pcre2, so this is a true version
match rather than vulnix over-reporting, and the remediation lever is the one
three blocks are already waiting on: 10.48 landed on staging-next-26.05 on
2026-09-05 while release-26.05 still ships 10.46. Four packages now ride one
branch hop and all four blocks should be deleted, not renewed, when it lands.
Dated 2026-11-04 -- one Wednesday past the libxml2 block, so a stalled review
of one does not carry the other.

Refs: #1645
…ster (#1649)

Fills the seeded `## [1.15.1] - TBD` section of the hotfix branch and
clears the
2026-09-17 nightly red on both refs. One file of substance, one CVE.

Closes the gate half of #1645 (dev) / #1637 (main).

## The incident

A **feed event, not a closure change** — the same shape as the libxml2
batch the
day before:

| | 2026-09-16 (`35080687787`) | 2026-09-17 (`35207126776`) |
|---|---|---|
| pcre2 advisories | **none at all** | 6 |
| blocking | libxml2 `CVE-2026-86140` | `CVE-2026-89161` |
| pin | `21a67dc4` | `21a67dc4` (unchanged) |

`CVE-2026-89161` was published 2026-09-11 and reached the NVD feed in
that
window. Delta is 6 added / 0 removed against exactly one package, no
expiry
fired.

## Why one entry, not six

Only `CVE-2026-89161` crosses the gate's 7.0 threshold. The siblings —
`-89156` (2.9), `-89157` (5.7), `-89158` (6.5), `-89160` (3.7), `-89162`
(2.9) —
are deliberately left out, as the glibc and libxml2 blocks already do
for theirs.

## The assessment

CWE-590 incorrect free in `pcre2_jit_match` when a previously copied
subject is
passed in as a match context. vulnix gates on MITRE's **7.4**
(`AV:L/AC:H/PR:N`); the NIST analyst scores the same defect **7.8**
(`AV:L/AC:L/PR:L`). Both **local-vector**.

`nix why-depends` gives one path, one hop:

```
devcontainer-image-env.drv
└── ripgrep-15.1.0.drv
    └── pcre2-10.46.drv
```

So `rg -P` / `rg --pcre2` on a local search is the entire exposure
surface — no
daemon, no service, no untrusted input path. Whether ripgrep's
`grep-pcre2`
binding can actually produce the affected calling pattern was **not**
verified;
the entry accepts that ceiling rather than claiming unreachability.

`main`'s closure additionally carries pcre2 10.47 — also below the 10.48
fix, and
one entry keyed by CVE id covers both derivations.

Not vulnix over-reporting: the pinned nixpkgs applies **no patches** to
pcre2
(`pcre2.patches` evaluates empty), so this is a true version match.

## One lever, now four passengers

| package | pinned | fixed in | `release-26.05` | `staging-next-26.05` |
|---|---|---|---|---|
| curl | 8.21.0 | 8.22.0 | ❌ | ✅ |
| openssl | 3.6.3 | 3.6.4 | ❌ | ✅ |
| libxml2 | 2.15.3 | 2.15.4 | ❌ | ✅ |
| **pcre2** | **10.46** | **10.48** | ❌ 10.46 | ✅
**10.48** |

pcre2 10.48 landed on `staging-next-26.05` on 2026-09-05 (nixpkgs
`6c02c72fd`);
`release-26.05` is still on 10.46, unchanged since 2025-08-29 — it has
not even
taken the by-name move — so advancing the pin today changes nothing. All
four
blocks **die on the same advance and should be deleted, not renewed**.

Dated **2026-11-04**: one Wednesday past the libxml2 block rather than
on it, so
a stalled review of one does not carry the other with it.

## Verification

```
$ uv run vulnix-gate <09-17 dev findings>  --register .vulnixignore
No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 32 exception(s) applied
$ uv run vulnix-gate <09-17 main findings> --register .vulnixignore
No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 32 exception(s) applied
$ uv run check-expirations .vulnixignore
Validated 32 exception(s) across 1 file(s)
```

Full `just precommit` green (52 hooks), mirror regenerated by
`sync-manifest`.

Refs: #1645
@c-vigo
c-vigo marked this pull request as ready for review September 17, 2026 16:44
Set release date to 2026-09-17 and regenerate release docs.

Refs: #1648
@vig-os-release-app
vig-os-release-app Bot merged commit 94d9808 into main Sep 17, 2026
15 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the release/1.15.1 branch September 17, 2026 22:02
c-vigo added a commit that referenced this pull request Sep 24, 2026
…lease (#1678)

## Description

Implements the release-neutral lane from #1676: **merge to `main`
without cutting a release**, admitted only when a machine proof shows no
published artifact changes.

`main` can only be written by a release — `prepare-release` and
`prepare-hotfix` are the only lanes, and both cut a tag, publish a GHCR
image and trigger `devkit-upgrade` adoption PRs across every consumer
repo. But plenty of changes belong on `main` while altering **nothing a
consumer receives**: devkit's own `.github/workflows/**` (not the
scaffolded copy under `assets/workspace/`), `tests/**`, most of
`docs/**`, the scan-time registers.

Two cases motivated it:

1. A `workflow_dispatch` workflow must exist on the **default branch**
to be dispatchable at all — so a new workflow cannot reach `main`
without a release or an admin bypass.
2. `main` and `dev` each scan their own closure against their own
`.vulnixignore`, so an amendment on `dev` leaves `main`'s nightly lane
red until the next train (32 register commits in 90 days vs a weekly
cadence).

> Supersedes #1677, which solved only case 2 and baked "scan config"
into the lane's identity. This generalises it: scan registers are now
just one thing the lane carries.

## Type of Change

- [x] `feat` -- New feature

### Modifiers

- [ ] Breaking change (`!`)

## Changes Made

**`release-neutral-open.yml`** — opens the PR **as the release App**.

Not ceremony. `main` requires one approving review, GitHub forbids
authors approving their own PRs, and `main`'s only bypass actor is
`OrganizationAdmin` — no App holds bypass, and `promote-release.yml`
merges with a plain `gh pr merge --merge`. So a human-authored PR to
`main` is **unapprovable by the only human there is**, which is exactly
why every release PR into `main` is already App-authored (#1672, #1648,
#1620). Nothing else is automated: which commits get carried, when the
lane runs, and the merge all stay manual.

**`release-neutral-guard.yml`** — proves release-neutrality.

| Gate | Proves |
|------|--------|
| **1** | No release content (`CHANGELOG.md`, its mirror, `.vig-os`) in
the diff |
| **2** | `devShells.default`, `devkitImage`, `devkitImageEnv` `.drv`
paths **identical** to `main`'s |
| **3** | Consumer scaffold under `assets/` byte-identical |
| **4** | `main`'s `## Unreleased` still empty |
| **5** | No `release/*` train in flight |
| **6** | Verdict comment listing the files carried |

**Gate 2 is the contract.** Equal derivation paths mean the published
artifacts *cannot* differ, whatever the diff touched — a proof, not an
argument about which files happen to be inputs. It is deliberately
**not** a path allowlist: an allowlist encodes a guess about what is
published and would need extending for every new kind of release-neutral
change. It compares `devShells.default` as well as the image because a
`direnv`/`bare` consumer never pulls the image — it evaluates the dev
shell straight from the flake — so an image-only check would wave
through a change that alters every such consumer's toolchain.

**Content-triggered extra.** When the diff touches `.vulnixignore`, the
guard also replays `main`'s own nightly gate and requires exit 0. Not
part of the contract — it exists because the register is not
append-only: a pin advance on `dev` *clears* exceptions and `dev`'s pin
advances first, so there is always a window where `dev` has correctly
deleted an exception `main`'s older closure still needs.

**Docs** go to `docs/RELEASE_CYCLE.md`, beside the hotfix lane (its
sibling concept). `docs/CONTAINER_SECURITY.md` carries only a pointer
plus the two register-specific notes — the procedure has one home.

**Label** lives in `.github/label-taxonomy.local.toml` (new), not the
shared taxonomy: the shared file syncs into `assets/workspace/` and
would scatter this label across consumers that have none of this
machinery. Verified it does *not* appear under `assets/workspace/` after
`sync-manifest`.

## Changelog Entry

See `5ca1764c` — deliberately its own commit (explained under Testing).

```
### Added

- **Release-neutral lane: change `main` without cutting a release**
  ([#1676](#1676))
  - `main` could only be written by a release, so a change that alters nothing a
    consumer receives — devkit's own `.github/workflows/**`, `tests/**`, most of
    `docs/**`, the scan-time registers — either waited for the next train or
    inflated the version for a no-op that handed every consumer an adoption PR
  - `release-neutral-open.yml` opens the PR **as the release App** (`main`
    requires one approving review and GitHub forbids authors approving their own
    PRs, so a human-authored PR there is unapprovable), and
    `release-neutral-guard.yml` proves the change is release-neutral
  - The contract is **derivation identity**: `devShells.default`,
    `devkitImage` and `devkitImageEnv` `.drv` paths must equal `main`'s, which
    proves the published artifacts cannot differ whatever the diff touched. It
    covers `direnv`/`bare` consumers too, who never pull the image
  - Also gated: no release content in the diff, the `assets/` scaffold
    untouched, `main`'s `## Unreleased` still empty, and no release train in
    flight. A verdict comment lists the files carried
  - A changelog entry makes a change **non**-release-neutral (it is mirrored
    into the scaffold and baked into the image), so keep changelog edits in
    their own commit to leave the rest cherry-pickable
  - When a lane PR touches `.vulnixignore` the guard additionally replays
    `main`'s own nightly gate, since a pin advance on `dev` clears exceptions
    that `main`'s older closure may still need
```

## Testing

- [x] Tests pass locally (`just test`) — 23 new assertions; full suite
**1122 passed, 1 skipped**
- [x] Manual testing performed (below)

### Manual Testing Details

**TDD**, three commits: `b18329f6` (23 assertions, red) → `3669c3b2`
(implementation, green) → `5ca1764c` (changelog, separate — see below).

**Gate 2 was measured, not assumed.** `nix eval …drvPath` against `main`
and against this branch:

| Tree | `devShells` | `devkitImage` | `devkitImageEnv` | Verdict |
|------|-------------|---------------|------------------|---------|
| `main` | `464904d9…` | `d6ikbz96…` | `262sli4a…` | — |
| workflows + label + docs + tests | `464904d9…` | `d6ikbz96…` |
`262sli4a…` | **admitted** |
| the same **plus a `CHANGELOG.md` entry** | `464904d9…` | `ffbgni7c…` |
`262sli4a…` | **refused** |

Two things follow, and both are load-bearing:

1. **The lane's own implementation is release-neutral by its own
contract** — so it can travel by the very lane it adds, once
bootstrapped.
2. **A changelog entry makes a change non-neutral.** The changelog is
mirrored into `assets/workspace/.devcontainer/CHANGELOG.md` and baked
into the image. That is why gate 1 refuses it, why it is barred a second
time by gate 4 (an entry on `main` leaves `## Unreleased` non-empty,
which `prepare-release` and `prepare-hotfix` refuse to start on), and
why the changelog is a **separate commit** here rather than folded into
the feature. `RELEASE_CYCLE.md` records this as a runbook rule.

`just precommit` green (exit 0) including `actionlint` + `shellcheck`
over both workflows.

**Not yet exercised end-to-end.** These are shape, lint and eval proofs.
The guard has never *run* — `workflow_dispatch` only registers from the
default branch, so the first live exercise is the bootstrap.

## 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 (`RELEASE_CYCLE.md` +
pointer; not template-generated)
- [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

**Bootstrap — needs one admin bypass.** The lane cannot deliver itself:
`workflow_dispatch` only registers from the default branch. After this
merges to `dev`:

```bash
git switch -c chore/1676-bootstrap-release-neutral origin/main
git cherry-pick b18329f 3669c3b      # NOT 5ca1764 (the changelog)
git push -u origin HEAD
```

Then open a PR and merge with **`OrganizationAdmin` bypass**, one time
only. Both refs then hold identical content so the next release merge is
clean, and the lane carries its own future changes from then on.

Dropping the changelog commit from that cherry-pick is required, not
tidiness — carrying it would leave `main`'s `## Unreleased` non-empty
and **break `prepare-release` and `prepare-hotfix`**.

**Still unverified, flagged in #1676:** `main` sets
`require_extra_approval_for_unattributed_changes: true`. App-authored
commits *should* be attributed to the app rather than counting as
unattributed, but that is unproven. If it bites, a lane PR would
silently demand a second approval that cannot be supplied — worth
watching on the first live run.

Refs: #1676
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