Skip to content

chore: sync dev with main - #2062

Merged
vig-os-release-app[bot] merged 29 commits into
devfrom
chore/sync-main-to-dev-49-1
Nov 8, 2026
Merged

vig-os-release-app[bot] merged 29 commits into
devfrom
chore/sync-main-to-dev-49-1

Conversation

@vig-os-release-app

Copy link
Copy Markdown
Contributor

Syncs dev with main (sync-main-to-dev workflow).

gerchowl and others added 29 commits November 4, 2026 09:50
## Description

Release preparation moves changelog entries out of Unreleased, causing
the seeded hook migration contract test to fail. Find every section
containing #1929 anywhere in the changelog, require at least one match,
and assert that every occurrence is under Added. This includes older
releases and rejects entries under Fixed or any other category.

## Type of Change

- [ ] `feat` -- New feature
- [ ] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task
- [ ] `refactor` -- Code restructuring
- [x] `test` -- Adding or updating tests
- [ ] `ci` -- CI/CD pipeline changes
- [ ] `build` -- Build system or dependency changes
- [ ] `revert` -- Reverts a previous commit
- [ ] `style` -- Code style

### Modifiers

- [ ] Breaking change (`!`)

## Changes Made

- Parse level-two release boundaries and level-three categories in one
test helper.
- Exercise the repository changelog, populated Unreleased, pending
release, newest published release, and an entry two releases back.
- Check category ordering, multiple matching sections, missing entries,
Fixed entries in another section, and a misplaced historical entry under
Changed.
- Scanned all tests for positional changelog/category splits; this was
the only affected test.

## Changelog Entry

No changelog needed: test-only correction with no consumer-visible
behavior change.

## Testing

- [x] Touched tests pass locally.
- [x] Manual testing performed.

### Manual Testing Details

- RED: `uv run --with pytest-xdist pytest
tests/test_seeded_hook_runner_migration.py -k 'docs_and_changelog or
rejects_missing' -n 4
--basetemp=$HOME/.cache/devkit-pytest/frozen-r2-red` exited 1: two
failures (valid entry two releases back rejected; historical Changed
entry incorrectly accepted), six passed.
- GREEN: `uv run --with pytest-xdist pytest
tests/test_seeded_hook_runner_migration.py -n 4
--basetemp=$HOME/.cache/devkit-pytest/frozen-r2-green` exited 0: 45
passed.
- Commits run inside `nix develop` with repository hooks enabled.

## 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 where useful
- [x] Documentation reviewed; no changes needed
- [ ] I have updated CHANGELOG.md (not needed for this test-only change)
- [x] My changes generate no new warnings or errors
- [x] I have added tests that prove my fix is effective
- [x] New and existing touched unit tests pass locally
- [x] Any dependent changes have been merged and published (none)

## Additional Notes

Targets release/1.19.0 as required by #2034. No merge or workflow
dispatch requested or performed.

Refs: #2034
## Description

On Nix 2.35, metadata can report an unrealised source path, so direnv
installs fail when copying assets. Use `nix flake prefetch --json <ref>
| jq -er .storePath` to realise the source before reading it. Targets
`release/1.19.0`.


## 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

- Switch the installer fetch, dry-run plan, and consumer Scaffold Drift
command/comment to prefetch. Devkit’s own CI has no equivalent source
fetch.
- Model Nix 2.35 in installer stubs: metadata returns a nonexistent
path, prefetch returns real assets. Pin the complete workflow and
dry-run commands.
- Audit `git grep -nE 'flake metadata'`: leave freshness.sh unchanged
because it reads locked input metadata only; the provisioning example
does not read source files. Historical changelog text stays unchanged.
- Add the Unreleased fix and regenerate the devcontainer changelog
mirror through sync_manifest; the consumer seed remains empty.


## Changelog Entry

### Fixed

- **Realise direnv scaffold sources on Nix 2.35**
([#2039](#2039))
- Fetch installer and Scaffold Drift sources with `nix flake prefetch`
so their assets exist before copying; show the same command in the
installer dry-run plan.


## Testing

- [x] Touched tests pass locally (commands below)
- [ ] Manual testing performed (describe below)

### Manual Testing Details

- RED: `uv run --with pytest-xdist pytest
tests/test_install_direnv_host.py tests/test_scaffold_drift.py -n 4
--basetemp=$HOME/.cache/devkit-pytest/prefetch-red` exited 1 (25 failed,
55 passed). `bats tests/bats/install.bats --filter "direnv install
points"` exited 1 with missing source assets. Failing tests committed
before implementation.
- GREEN: `uv run --with pytest-xdist pytest
tests/test_install_direnv_host.py tests/test_scaffold_drift.py
tests/test_seed_changelog.py -n 4
--basetemp=$HOME/.cache/devkit-pytest/prefetch-green2` exited 0 (81
passed). `bats tests/bats/install.bats` exited 0.
- Commits and checks run inside `nix develop` with hooks enabled.
- Manual real-Nix evidence is recorded in #2039: metadata on 2.35.3
reports an invalid/unrealised path, metadata on 2.34.8 realises it, and
prefetch on 2.35.3 realises it. No real-Nix test added to the unit
suite.


## 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

No merge or workflow dispatch. No dependent changes. Documentation
impact is the command comment and changelog.


Refs: #2039
… composites

The gated-runner static scan must flag jobs with services:, any docker or
podman subcommand (buildx, push, info, image, ...) and local composite
actions whose own steps need a runtime. Fixture jobs for each shape fail
against the current detector.

Refs: #2045
…ner scan

The gated-runner static scan now treats a job as needing a container
runtime when it declares services:, invokes the docker or podman CLI with
any subcommand (full-line shell comments excluded), or calls a local
composite action (resolved one level, through a sub-path checkout) whose
steps do. The resolve-toolchain jobs it newly flags stay on the direct
runner expression by design (client-side registry probe): they are listed
in an explicit allowlist that is pinned to contain only resolvers with no
other runtime use.

Refs: #2045
Since #2040 the direnv Scaffold Drift step fetches the pin with nix flake
prefetch, so direnv needs no docker at all; only bare's Scaffold Drift and
upgrade need a docker CLI and daemon. Gated devcontainer/both repos still
run resolve-toolchain on the direct runner expression, which needs a
docker CLI for the image probe. Correct the ADR known limit and the
migration guide, describe the stronger runner scan, and say the opt-in key
is still validated in direnv/bare.

Refs: #2045
## Description

Implements the owner decision on #2045: container-mode consumers
(`devcontainer`, `both`) use `CI_RUNNER_*` runners only after they opt
in with the new `.vig-os` key `DEVKIT_CI_CONTAINER_RUNNERS=true`.
Without the key, every lane stays on hosted `ubuntu-26.04`, as in
1.18.x. `vars.CI_RUNNER_*` also resolves organization variables, and an
expression cannot tell an inherited org variable from a repo one. An org
that sets them for a pool with no container runtime therefore broke
every container-mode repo in it on adoption: the 1.19.0-rc3 smoke test
failed at `Initialize containers` and at Scaffold Drift's `docker run`.

Into `release/1.19.0`, because this blocks release 1.19.0 (#2033).

## Type of Change

- [x] `fix` -- Bug fix
- [x] `test` -- Adding or updating tests
- [x] `docs` -- Documentation only

### Modifiers

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

## Changes Made

**One gate, in `resolve-toolchain`**
(`assets/workspace/.github/actions/resolve-toolchain/action.yml`)
- Parses `DEVKIT_CI_CONTAINER_RUNNERS` with the shared `KEY=VALUE`
reader. The file is never sourced. Any value other than `true`, `false`
or empty is an `::error::` and exit 1, in every mode, before any runner
output is written.
- In `devcontainer`/`both` without `true`, the variable arm is skipped
for every class. Each lane then gets the hosted default, so
`DEVKIT_CI_LANE_SIZES` is ignored for placement, though it is still
validated. The fork predicate still wins. The repo's own legacy
`DEVKIT_CI_RUNNER` key keeps its 1.18.x meaning (see Notes).
- When the gate ignores a visible variable on a non-foreign run, the
resolver prints one `::notice::` that names `CI_RUNNER_*`, the mode and
`DEVKIT_CI_CONTAINER_RUNNERS=true`, and gives the reason. The
partial-setup notice and the opted-in-class warning do not fire, because
nothing is placed. The private-repo notice and the legacy-key migration
warning also name the key. Under the gate, the migration warning lists
only variables that are really unset, and it no longer says "delete the
key once the variables are set": the key keeps deciding every class
until the repo opts in. Labels are never printed.
- `direnv`/`bare`: unchanged.

**`devkit-upgrade.yml`**: its `upgrade` job runs `install.sh --docker`
in every mode but direnv, so it needs a docker daemon. It now gets its
runner from a new `resolve-toolchain` job (the same shape as
`sync-issues`), not from `vars.CI_RUNNER_SMALL` directly. That job
checks out the same `ref:` the upgrade rewrites (`dev`, or `main` after
the trunk retarget), so the gate reads that branch's `DEVKIT_MODE` and
opt-in key, not the default branch's. As with the key, a legacy
`DEVKIT_CI_RUNNER` now places the upgrade job too; the consumer-matrix
contract was updated to match. `report` also fires when
`resolve-toolchain` fails (for example, an invalid key), because that
failure skips `upgrade`.

**`init-workspace.sh`**: validates the key at the write path and writes
it back on every upgrade. The legacy-key strip, decision (c)-1, now
judges whether the key is inert with the gate applied. In a container
mode without the opt-in, the variables place nothing, so the key is kept
and a `ci-runner-migration:` line names the opt-in.

**Template `.vig-os`**: ships `DEVKIT_CI_CONTAINER_RUNNERS=` with a
comment. **Consumer matrix**: the `ci-runner` cell runs mode `both`, so
it now seeds `DEVKIT_CI_CONTAINER_RUNNERS=true`. That keeps it on the
opted-in path and also exercises the write-back from start to finish.

**Docs**: ADR-site-agnostic-projects updates:
- TL;DR.
- §3 algorithm (gate `G`).
- §4 inventory row.
- §5: the old "already container-capable" assumption is replaced with
the decision, why it was taken (org vars are inherited and
indistinguishable), a placement table, and the known limit.
- §6: a migration subsection and a PR-body row.
- A dated amendment and the Consequences list.

`docs/MIGRATION.md` gets a new "Container-mode CI runners" section and a
row for the key in the `.vig-os` key table (the SSoT). CHANGELOG has an
entry under `## [1.19.0] - TBD` → `### Fixed`, and the mirror is synced.

### Audit: jobs under `assets/workspace/` that place on `CI_RUNNER_*`,
`DEVKIT_CI_RESOLVE_RUNNER` or the resolver's `runners`/`runner-json`

| Workflow | Job | Needs a container runtime in container mode? | Runner
after this PR |
|---|---|---|---|
| `ci.yml` | `resolve-toolchain` | No daemon: the image probe is `docker
login` + `docker manifest inspect`, both client-side registry calls
(they ran on a daemon-less pool in the rc3 smoke). It still needs a
`docker` CLI | direct expression (cannot use its own output) |
| `ci.yml` | `lint`, `test`, `commit-checks` | **yes**, `container:` |
gated `runners.lint` / `.test` / `.small` |
| `ci.yml` | `scaffold-drift` | **yes**, `docker login/pull/run` on the
host | gated `runners.small` |
| `ci.yml` | `devkit-staleness`, `summary` | no (shell/gh) | gated
`runners.small` (already on the output) |
| `ci.yml` → `ci-extension.yml` | `extension` | stock hook: no; a
consumer's hook may | gated `runners.extension` via `runner-json` input
|
| `ci.yml` | `dependency-review` | — | hosted literal |
| `sync-issues.yml` | `resolve-toolchain` / `sync` | probe only /
**yes** `container:` | direct / gated |
| `sync-main-to-dev.yml` | `resolve-toolchain` / `check`, `sync` | probe
only / **yes** `container:` | direct / gated |
| `prepare-release.yml` | `validate` (the resolver) / `prepare`,
`open-pr`, `rollback` | probe only / **yes** `container:` | direct /
gated `needs.validate.outputs.runners` |
| `prepare-hotfix.yml` | `resolve-toolchain` / `validate`, `prepare`,
`open-pr`, `rollback` | probe only / **yes** `container:` | direct /
gated |
| `release.yml` | `resolve-toolchain` / `rollback` | probe only /
**yes** `container:` | direct / gated |
| `release-core.yml` (via `release.yml`) | `validate`, `finalize`,
`test` | **yes** `container:` | gated `inputs.runners` (caller passes
the resolver's `runners`) |
| `release-publish.yml` (via `release.yml`) | `publish` | **yes**
`container:` | gated `inputs.runners` |
| `promote-release.yml` | `resolve-toolchain` / `validate`, `promote`,
`merge`, `cleanup`, `floating-tags` | probe only / **yes** `container:`
| direct / gated |
| `abandon-release.yml` | `resolve-toolchain` / `validate`, `abandon`,
`unfreeze` | probe only / no (shell/gh, host toolchain) | direct / gated
(already on the output) |
| `devkit-upgrade.yml` | `resolve-toolchain` (new) | probe only | direct
|
| `devkit-upgrade.yml` | `upgrade` | **yes**, `install.sh --docker` (all
modes but direnv) | **moved**: gated `runners.small` |
| `devkit-upgrade.yml` | `report` | no (gh only) | direct expression |
| `prepare-release-extension.yml`, `release-extension.yml` (seeded) |
`extension` | no, stock no-op shell. The file is consumer-owned, so a
consumer whose hook needs a runtime routes it itself | direct expression
|
| `publish-release-extension.yml` (seeded) | `resolve`, `publish` | no
(gh / shell) | direct expression |
| `codeql.yml`, `scorecard.yml` | — | — | hosted literal |

Composite actions: only `resolve-toolchain` touches docker (the
client-side probe above). `setup-devkit-toolchain` and `build-bundle`
run inside the job's own container or on the host, and do not drive a
daemon themselves. devkit's own `.github/` uses literal hosted labels
and has no copy of the resolver, so there is nothing to keep in lockstep
there.


`tests/test_ci_container_runners.py::test_container_jobs_take_the_gated_runner`
derives the container-needing set from the workflows themselves:
`container:` or `services:`, a `docker://` or `docker/*` action, any
`docker`/`podman` CLI subcommand (full-line shell comments excluded),
compose, `install.sh`, or a local composite action (`uses: ./…`,
resolved one level, including through a sub-path checkout such as
`./.devkit-resolve/…`) whose steps do any of these. It fails any such
job whose `runs-on` is not the resolver's `runners` output, whether read
directly from a resolver it `needs:` or through an `inputs.runners` that
every caller fills from one. A future lane therefore cannot bypass the
gate. The only exception is an explicit, commented allowlist of the nine
resolver jobs (client-side registry probe, documented in ADR §5); a
pinned test keeps each entry a resolver whose own definition needs no
runtime besides that probe.

## Changelog Entry

### Fixed (under `## [1.19.0] - TBD`)
- **Container-mode consumers opt in to `CI_RUNNER_*` runners**
([#2045](#2045))
- New `.vig-os` key `DEVKIT_CI_CONTAINER_RUNNERS` (`true` | `false`,
default `false`). In `devcontainer`/`both` mode, every lane stays on
hosted `ubuntu-26.04`, as in 1.18.x, unless it is `true`;
organization-level `CI_RUNNER_*` variables no longer move container
lanes onto pools without a container runtime.
- `resolve-toolchain` prints a notice naming the key when it ignores a
visible variable, and rejects any other value; `direnv`/`bare` and fork
PRs are unchanged.
- `devkit-upgrade` resolves its installer runner through the same gate,
and keeps a legacy `DEVKIT_CI_RUNNER` key until a container-mode repo
opts in.

## Testing

- [x] Tests pass locally (the touched suites; full suite in CI)
- [ ] Manual testing performed

### Manual Testing Details

- The resolver matrix runs the action's real Bash over mode
{devcontainer, both, direnv, bare} × key {absent, true, false} × vars
{set, unset} × fork. A separate invalid-value matrix covers every mode ×
fork × vars. Further tests cover the notice text, quoting and whitespace
parsing, the gated diagnostics, the private-repo notice, legacy-key
parity and the static scan.
- Bats (CI): the key persists across `--force` upgrades, invalid values
are refused before any write, and the legacy key is kept in a gated
container mode but stripped once the repo opts in.
- Round 2 RED, before the stronger detector: 9 failed (`services`,
`buildx`, `docker info`, `docker push`, `podman image`, three
local-composite shapes, plus the shell-only-composite negative), e.g.
`assert _needs_runtime({'services': ...})` false and `TypeError:
_needs_runtime() got an unexpected keyword argument 'root'`.
- RED, before the implementation: `120 failed, 430 passed` across
`test_ci_container_runners.py`, `test_ci_runner.py`,
`test_vig_os_manifest.py` and `test_workflow_devkit_upgrade.py`.
Examples: `assert ['self-hosted-small'] == ['ubuntu-26.04']`, and
`devkit-upgrade.yml job 'upgrade' needs a container runtime but runs on
"${{ … || vars.CI_RUNNER_SMALL || 'ubuntu-26.04' }}", not on the gated
resolve-toolchain runners output (#2045)`.

## 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` (the `[1.19.0]` section, because
this targets the release branch) 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

- **Legacy `DEVKIT_CI_RUNNER` under the gate.** The decision says
"otherwise every lane runs on hosted `ubuntu-26.04`, as in 1.18.x", with
the goal that no consumer breaks on upgrade. In 1.18.x the repo's own
legacy key routed container-mode lanes on purpose. Honouring it is the
1.18.x behaviour, and it is the kind of explicit repo statement the
decision asks for. Dropping it would silently move a self-hosted
container-mode repo onto hosted runners, which fails on a
billing-blocked org. So the gate ignores the inherited `CI_RUNNER_*`
variables, not the legacy key. The legacy migration text and the upgrade
strip both account for this, so following the migration never drops a
repo onto hosted runners.
- **Known limit: what a self-hosted `CI_RUNNER_*` pool must provide, per
mode.** The gate is keyed on the delivery mode, as decided.
- `direnv`: no docker at all. Since #2040 the direnv Scaffold Drift step
fetches the pin with `nix flake prefetch`, and the upgrade runs
`install.sh` without a runtime; the pool needs `nix`, `jq` and `rsync`.
- `bare`: `ci.yml`'s Scaffold Drift (`docker login`/`pull`/`run`) and
`devkit-upgrade`'s `upgrade` (`install.sh --docker`) need a docker CLI
and daemon. The gate does not apply in `bare`, so a `bare` repo whose
pool has no container runtime still fails those two lanes. This needs
its own issue (reported to the architect, not filed here).
- `devcontainer`/`both`, gated: every lane is hosted, but the
`resolve-toolchain` jobs still run on the direct `vars.CI_RUNNER_SMALL
|| vars.DEVKIT_CI_RESOLVE_RUNNER` expression and need a docker CLI (no
daemon) for `docker login` / `docker manifest inspect`.
- Documented in ADR §5 (Known limit) and MIGRATION.md (Container-mode CI
runners).
- In container modes, `devkit-upgrade`'s new resolve job probes the
image of the *current* pin, as every other resolve job in that repo
does. The image cleanup deletes only untagged versions, so a pinned tag
stays resolvable.

Refs: #2045
Add five exact-scope awaiting-upstream entries to .vulnixignore under a
2026-11-18 expiry: CVE-2026-119373, -119374, -119379, -119586 (sqlite
3.53.3, fixed in 3.54.0/3.54.2) and CVE-2026-119741 (rsync 3.5.0, fixed in
3.5.2). nixpkgs carries neither fix yet, so the pin advance cannot clear
them. Each entry records its advisory, fixed version and the image's
limited exposure; the image runs no rsync daemon.

Refs: #2052
…kgs (#2053)

## Description

Unblocks the 1.19.0 release train. The `release.yml` Vulnix CVE Gate
failed for 1.19.0-rc4 (run 42140837792) on five HIGH findings published
2026-10-30 and 2026-11-03: four in sqlite 3.53.3 and one in rsync 3.5.0.
Upstream has fixed all five (sqlite 3.54.0/3.54.2, rsync 3.5.2), but
nixpkgs has not: the pinned rev, `nixos-26.05` and `nixpkgs-unstable`
all still ship the vulnerable versions with no CVE patches (checked
2026-11-06). The pin advance cannot clear them yet, so this PR adds
time-boxed `awaiting-upstream` exceptions.

## Type of Change

- [x] `fix` -- Bug fix

### Modifiers

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

## Changes Made

- `.vulnixignore`: a new block under `Expiration: 2026-11-18`, a
Wednesday on the expiry grid. The window includes two Monday pin
advances and their nightly deltas. It has five exact-scope entries:
- `CVE-2026-119373@[email protected]`, `CVE-2026-119374@[email protected]`,
`CVE-2026-119379@[email protected]` (FTS5 and session extension, fixed in
3.54.0)
  - `CVE-2026-119586@[email protected]` (CLI `.recover`, fixed in 3.54.2)
- `CVE-2026-119741@[email protected]` (delta-transfer sender DoS, fixed in
3.5.2)
- Each entry has a risk note: the GHSA id, the fixed upstream version
and the reachability.
- sqlite: CVSS 7.8 AV:L/UI:R. Exploiting it needs the user to open a
crafted database or changeset locally.
- rsync: availability only. The advisory's attack is unauthenticated
clients pulling from a public rsync daemon, and the image never runs
one.
- How the no-daemon claim was verified, from `flake.nix`: the OCI
config's `Cmd` is bash and it declares no `ExposedPorts`. `flake.nix`,
`nix/` and `assets/` contain no `rsyncd.conf` and no `rsync --daemon`.
rsync is in `imageTools`/`devtools.nix` only as the CLI the scaffold
copies with. The note also records the one remaining path: a user
pushing to a hostile receiver can stall their own rsync process.
- The new block shares 2026-11-18 with the two-entry fzf block (7
entries in total). That is not the single-Wednesday cliff the stagger
rule guards against.
- `.trivyignore` needs no change: the Trivy scans in the same run
passed, and Trivy does not report Nix-store packages. No test pins the
register's entries.

## Changelog Entry

### Security

- **Accept five SQLite and rsync CVEs until 2026-11-18 pending nixpkgs**
([#2052](#2052))
- SQLite 3.53.3: CVE-2026-119373, CVE-2026-119374 and CVE-2026-119379
(fixed in 3.54.0) and CVE-2026-119586 (fixed in 3.54.2). Each needs the
user to open a crafted database or changeset locally.
- rsync 3.5.0: CVE-2026-119741 (fixed in 3.5.2), a CPU denial of service
in a public rsync daemon's sender. The image never runs an rsync daemon.
- nixpkgs has none of these fixes yet, so `.vulnixignore` accepts the
five as exact package/version exceptions. They are removed once a
nixpkgs pin advance ships the fixed versions.

(The entry goes under `## [1.19.0] - TBD`, since this PR targets the
release branch. The `.devcontainer/CHANGELOG.md` mirror was regenerated
with `scripts/sync_manifest.py`.)

## Testing

- [x] Manual testing performed (describe below)

### Manual Testing Details

- I ran `vulnix-gate` on a findings JSON that reproduces the five
failing items (pname and version exactly as the gate printed them in run
42140837792):
  - Register before this change: exit 1, five findings blocking.
  - Register after this change: exit 0, "16 exception(s) applied".
- With a decoy `sqlite 3.53.4` finding added, it still blocks (exit 1),
which shows the exceptions are exact-scope.
- `check-expirations .vulnixignore .trivyignore`: exit 0, "Validated 16
exception(s)".
- `pytest packages/vig-utils/tests/test_vulnix_gate.py
packages/vig-utils/tests/test_check_expirations.py
tests/test_workflow_security_scan_report.py
tests/test_workflow_expiry_notice.py -n 4`: 60 passed.
- There is no new test, because this is a register (config) change. The
gate's parser and its scoped matching already have tests.

## 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

## Additional Notes

This PR targets `release/1.19.0`, not `dev`, to unblock rc5. The same
entries need to reach `dev` too; per docs/CONTAINER_SECURITY.md §6,
carry the additions over rather than mirroring the file. Exit condition:
the weekly nixpkgs pin advance that ships sqlite >= 3.54.2 and rsync >=
3.5.2. At that point, delete the entries rather than renewing them.

Refs: #2052
## Description

#2031 added a `Record checkout SHA` step (`CHECKOUT_SHA=$(git rev-parse
HEAD)`) right after `actions/checkout` and before `Set up devkit
toolchain`. In a `container:` job, git refuses the workspace as "dubious
ownership" (exit 128) until `setup-devkit-toolchain` marks it a
`safe.directory`. That broke the 1.19.0-rc4 smoke test (Prepare Release
run 42151390302). This PR takes the SHA from `actions/checkout`'s
documented `commit` output, so no git call is needed. Release blocker
for 1.19.0 (#2033).

## Type of Change

- [x] `fix` -- Bug fix
- [x] `test` -- Adding or updating tests

### Modifiers

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

## Changes Made

- **15 captures that directly follow `actions/checkout`** (devkit
`.github/workflows`: prepare-release ×2, prepare-release-extension,
prepare-hotfix, release, abandon-release, sync-issues, update-nixpkgs,
update-nixpkgs-unstable; consumer `assets/workspace/.github/workflows`:
prepare-release ×2, prepare-hotfix, release-core, abandon-release,
sync-issues):
  - The checkout step gets `id: checkout`.
- The capture reads `CHECKOUT_SHA: ${{ steps.checkout.outputs.commit }}`
through `env:`. Nothing is interpolated into `run:`.
  - It fails closed (`::error::`, exit 1) when the output is empty.
- The step id `checkout-state`, the output `sha`, every `BASE_SHA`
consumer and the `Require pinned commit base` guards are unchanged.
- `actions/checkout@3d3c42e5` (v7.0.1) declares `outputs.commit` in its
`action.yml`. `src/git-source-provider.ts` sets it from `git log -1
--format=%H` after checkout.
- **3 captures left on `git rev-parse` on purpose**: the extension's dev
fallback (`dev-checkout-state`) and sync-main-to-dev in both trees.
- Each follows a later manual `git checkout` step, so HEAD is no longer
the commit `actions/checkout` reported, and that output would be the
wrong base.
- They run after the toolchain/safe-directory setup. The new ordering
scan proves this for the container job.
- **New guard `tests/test_workflow_checkout_sha.py`** scans every
workflow in both trees:
- In every job with a `container:` key, no `run:` step may invoke git
before the step that sets `safe.directory`. That step is
`./.github/actions/setup-devkit-toolchain`, whose "Configure
in-container toolchain env" step runs `git config --global --add
safe.directory "$GITHUB_WORKSPACE"`; the test asserts that line exists.
- Every `Record checkout SHA` after `actions/checkout` must read that
step's `commit` output, use no git and fail closed when it is empty.
  - Anything else must follow a manual git checkout.
- It checks that the scan is not vacuous: at least 20 container jobs and
exactly 18 captures.
- **#2031/#2028 replay tests** (`test_commit_action_base_sha.py`,
`test_abandon_release.py`) now seed the checkout `commit` output. The
fail-closed tests check that an empty output stops the job with exit 1
(git-based captures still surface git's exit code).
- `docs/RELEASE_CYCLE.md` documents the capture rule and the reason for
the exception.

## Changelog Entry

Under `## [1.19.0] - TBD` → `### Fixed` (release branch):

- **Record checkout SHAs without git in container jobs**
([#2055](#2055))
- Take the API commit base from `actions/checkout`'s `commit` output, so
Prepare Release, Prepare Hotfix, Release and Sync Issues no longer fail
with "dubious ownership" (exit 128) in `devcontainer`/`both` mode.
- Fail closed when the checkout reports no commit; a static guard
rejects any container job that runs git before its `safe.directory`
setup.

## Testing

- [x] Tests pass locally (touched suites only; CI runs the rest)
- [ ] Manual testing performed (describe below)

### Manual Testing Details

- RED on base (commit `test(ci): ...`): `pytest
tests/test_workflow_checkout_sha.py` gave 20 failed and 23 passed, exit
1. The failures were 5 container jobs running git before safe.directory
(consumer prepare-hotfix:prepare, prepare-release:prepare and :rollback,
release-core:finalize, sync-issues:sync) and 15 captures.
- GREEN: the new guard plus `test_commit_action_base_sha.py` and
`test_abandon_release.py` gave 181 passed, exit 0.
- All 63 non-container, non-nix test files that read these workflows
(scaffold drift/pin and workflow shape suites included) gave 2365 passed
and 4 skipped, exit 0.

## 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` (release section, per release-branch
fix) 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

Targets `release/1.19.0`, not `dev`: it fixes the 1.19.0 release
candidate. After merge, the next RC smoke run is the end-to-end proof.

Refs: #2055
Set release date to 2026-11-06 and regenerate release docs.

Refs: #2033
# [Release 1.19.0](https://github.com/vig-os/devkit/releases/tag/1.19.0)
- 2026-11-06

This PR prepares release 1.19.0 for merge to main.

## [1.19.0](https://github.com/vig-os/devkit/releases/tag/1.19.0) -
2026-11-06

### Added

- **Typst plots, glossary and slides**
([#1994](#1994))
- Ship devkit-docs 0.2.0 with licensed, offline lilaq plots, required
axis labels and a 7 pt text minimum.
- Load consumer glossary YAML directly, reject duplicate IDs, and
reserve acronym expansion for body occurrences.
- Keep plot ticks at 9 pt, enforce script and explicit math text
minimums, and fit long slide footer titles.
- Show plain slide footer text with measured grapheme truncation, a
fixed line and a 2 mm counter gap, including RTL titles.
- Extract deeply nested footer content iteratively, skip hidden text,
separate cells and math leaves, and preserve term-item text and paired
smart quotes.
- Bound footer extraction and measurement to 400 graphemes, retain
apostrophes, and separate cases and vertical spacing.
- Synthesize readable script glyphs and provide bookmark-safe bound
glossary terms with actionable setup errors and non-empty register
validation.
- Add a branded 16:9 slide layout with title, section and content
slides, booktabs, captions and revision footers; retain older package
imports.

- **Opt-in Typst content guards**
([#1994](#1994))
- Check figure captions, table headers, house-style overrides and SVG
text below 7 pt at its placed size, with skip globs and source-line
suppression.
- Retain prior house-style imports and add 0.2.1 guard-only layout
measurements without changing normal PDF output.
- Preserve native image values with a validated plain-compile fallback;
resolve source-relative SVGs, Matplotlib DOCTYPEs, fit/height/viewBox
sizing, hidden text and local template overrides. Reuse one mirror per
run.
- Resolve Matplotlib font shorthand and CSS importance; warn on unknown
sizes and bounded SVG use expansion. Scale nested viewports, ignore
zero-size text, and document byte-source images as skipped.
- Scope instrumentation to document dependencies, preserve generated
assets, detect closure templates, and keep repeated-label suppression
and logo/body measurements specific to each source placement.
- Preserve prose and caption markup around inline expressions so content
checks retain layout measurements; scope logo attribution to template
parameters, warn on unsupported CSS font syntax, cap SVG traversal by
visited nodes, and cache dependency-edge tokenization.
- Track code and markup structurally across else bodies, prose quotes,
URLs and escaped hashes; inspect qualified calls once per source. Add
runtime page/font bypass checks with document suppression and bounded
CSS work.
- Keep defusedxml in the shared vig-utils runtime, including non-docs
consumers, to guarantee the same hardened XML parser in dynamically
enabled docs hooks and recipes without a second Python environment.
Guard activation remains docs-only.

- **Offline Typst house-style package**
([#1994](#1994))
- Add the versioned, neutral devkit-docs package with document layout,
booktabs tables, captions, callouts, revisions, and document references.
- Share its immutable package registry across docs shells and hooks;
vendor licensed diagram dependencies and verify real offline builds.
- Preserve spanned table layouts and explicit header settings, provide
native-table opt-out, paginate table figures, and reject blank captions.
- Preserve labelled plain-table opt-outs and table overrides, accept
visible non-text captions, lock package contents, retain old versions,
and share consumer/data-dir registries with stable dependency paths.
- Preserve dependency paths after failed or terminated compiles, forward
SIGHUP, and follow symlinked dependency outputs without replacing the
link.
- Stabilize every dependency output format and flag spelling, forward
compiler signals, verify vendored hashes and retained releases, and
scope nested table opt-outs.
- Give the package independent SemVer, preserve built-in names, add
short titles, and share font isolation and consumer registries across
document tools.

- **Advisory glossary candidate discovery**
([#1994](#1994))
- Add JSON-line candidate reports and a just recipe for terminology
review, with measured precision fixtures.
- Reject dead rules, protect registered words across simple inline
markup and partial overlaps, deduplicate overlapping hits, and clarify
source diagnostics.
- Preserve forbidden rules containing registered names; filter candidate
markup/code noise, join wrapped names, retain source context, and allow
extra stopwords.
- Cache and prefilter nearest-term comparisons; report measured
precision, recall and benchmarks.
- Preserve code and markup word boundaries; protect exact, sentence-case
and title-case names, and bound emphasis scanning.
- Give explicit casing corrections precedence over derived
sentence/title-case protection across the register.
- Retain joined conjunction names alongside split candidates, honor
allow overrides, and filter common sentence-start connectives.

- **Opt-in terminology register checks**
([#1994](#1994))
- Validate glossary YAML and reject forbidden names and unknown part
numbers in document sources.
- Preserve registered names and casing corrections, scan tracked prose
across whitespace, and reject ambiguous registers.
- Include jsonschema and its runtime dependencies in all
images/toolchains via vig-utils, sharing the editor and hook schema
validator; docs hooks remain opt-in.

- **Opt-in Typst guards and reproducible builds**
([#1994](#1994))
- Enable module-gated formatting, warning-free compilation, package
pins, and generated-PDF guards, with reversible scaffold reconciliation.
- Add stamped/canonical just recipes, dependency lists, toolchain
probing, and built-in-font deterministic builds.
- Validate reversible hook edits across YAML layouts, retain
hand-written hooks, and keep committed-config shell entry free of
generated-hook installation.
- Support explicit project branding fonts, flexible entry markers,
resolved tool identities, and case-insensitive generated-PDF guards.
- Preserve four-space indentation and file inodes; isolate managed docs
recipe imports, report preview changes, and give safe edit-recovery
advice.
- Share preserved-hook reconciliation primitives, retain consumer recipe
files and managed-block edits, and restore exclusions by repository/hook
identity.

- **Release N runner migration matrix**
([#1935](#1935))
- Gate key-only, variables-only, and gitflow adoption with dev ahead of
main; verify managed workflow runner wiring, fork isolation, and the
full migration warning through isolated pre-N workflow steps and the
installer.

- **Safe CI runner migration during devkit upgrades**
([#1929](#1929))
- Remove the legacy runner key only when visible variables cover every
required class; preserve local and older-workflow installs with
actionable migration text.
- Reconcile stock seeded release-hook runner lines and report customised
content for review.

- **Site leak-check hook**
([#1932](#1932))
- Enable private gitleaks rules for staged and working-tree scans, with
silent
success when no site patterns exist and redacted finding diagnostics.
- Prevent repository ignore/config bypasses, scan force-added site
bindings,
    and reject present pattern files without usable rules.
- Stream raw index snapshots, including type changes, through one Git
batch
    reader despite Git attributes; share S4's safe pattern validation.
- Block option-looking filename bypasses, clean private snapshots on
termination,
and report filesystem failures with paths and OS reasons without file
contents.
- Scan symlink link text without reading targets and finish snapshot
cleanup
    despite repeated termination signals.

- **Env-only endpoint lint**
([#1931](#1931))
- Enable the ADR §10 endpoint and credential assignment checks by
default in
    devkit and consumer hooks.

- **Per-lane CI runner size overrides**
([#1927](#1927))
- Add `DEVKIT_CI_LANE_SIZES` for project lanes opting into LARGE or
XLARGE;
validate entries and duplicate lanes in CI and at scaffold time, and
preserve
    overrides across forced upgrades. Every lane defaults to SMALL.

- **Actionable CI runner diagnostics**
([#1926](#1926))
- Warn about legacy runner settings, whitespace-only variables and
missing opted-in classes; report private-repository configuration gaps
and class sources without printing labels

- **GitHub App organization secrets and Nix entry point**
([#1915](#1915))
- Store App credentials as organization secrets with selected-repository
visibility using `--org-secret --repos`
- Run provisioning through `nix run .#app-provision` and document masked
App tokens appended to existing Nix configuration
- Show a terminal-state page for callbacks after a rejected or failed
provisioning attempt

- **Fork-safe CI runner classes**
([#1925](#1925))
- Resolve independent runner variables and route CI lanes through
validated class outputs.

- **Per-clone site bindings and initializer hook**
([#1930](#1930))
- Validate site configuration and initialize bindings from PATH or an
unbound template.
- Discover only external initializers, validate supported location
forms, and accept gitleaks pattern definitions separately from site
bindings.
- Anchor site operations to the git worktree, reject unsafe locations
and reserved names, inspect recursive writes, and share self-contained
pattern validation with the leak checker.

- **GitHub App provisioning CLI**
([#1909](#1909))
- Add `gh-app-provision` to create an App through GitHub’s manifest flow
and store repository secrets, with a network-free `--dry-run`,
reverse-proxy `--base-url`, exclusive private-key `--pem-out`, and
`--no-secrets`
- Add the [GitHub App provisioning
guide](docs/GITHUB_APP_PROVISIONING.md), linked from
`docs/WORKFLOW_SECURITY.md`, and the `/devkit:app-provision` agent skill

- **Release train honours `DEVKIT_CI_RUNNER`**
([#1863](#1863))
- `prepare-release`, `prepare-hotfix`, `release`, `release-core`,
`release-publish`, `promote-release`, `abandon-release` and
`sync-main-to-dev` route their jobs through resolve-toolchain's
`runner-json`, defaulting to hosted `ubuntu-26.04`
- The seeded extension hooks (`prepare-release-extension`,
`release-extension`, `publish-release-extension`) run on
`DEVKIT_CI_RESOLVE_RUNNER`; callers pass them no new input, so existing
consumer-owned copies keep working unchanged

- **Rust cold adoption: a Cargo repo gets a working Rust setup from the
scaffold**
  ([#1496](#1496))
  - The first scaffold of a repo with a `Cargo.toml` seeds a cargo
`justfile.project`: `just lint` runs `cargo fmt --check` and clippy with
warnings denied, and `just test` runs `cargo test --workspace`. It used
to
get the Python recipes, which skip without a `pyproject.toml`, so CI
went
    green without compiling anything
  - A fresh direnv scaffold of a Rust repo gets a `flake.nix` on
`vigos.lib.mkRustProject` instead of `mkProjectShell`: one call wires
the
dev shell, the `nix flake check` suite (fmt, clippy, nextest, doctests,
rustdoc, cargo-deny, the package builds) and `packages`, and forwards
the
    `.vig-os` hook settings
- Base `rustfmt.toml`, `clippy.toml` and `deny.toml` are seeded when the
scaffold adopts Rust (never on an existing Rust consumer's upgrade,
where a
new `deny.toml` would switch on a check nobody asked for), and never
beside
an equivalent such as `.rustfmt.toml` or `.cargo/deny.toml`; they are
    consumer-owned from then on and never overwritten
- New `nix flake init -t github:vig-os/devkit#rust` starter crate that
passes
    the pack's whole check suite as shipped
- The consumer matrix's `rust` cell now passes, and a new `rust-flake`
cell
runs the whole direnv path (`nix flake check`, hooks, `just lint`/`just
    test` in the flake's shell) on every PR

- **`mkRustProject` `sandboxExcludes` for tests the Nix sandbox cannot
run**
  ([#1834](#1834))
- A list of nextest filterset expressions (e.g. `[ "test(pty_)"
"binary(supervisor)" ]`)
that `checks.nextest` skips, for suites that need a PTY, process groups,
    signals or the network
- The excluded tests stay in `just test` and CI; only the sandboxed
flake
    check skips them, so a repo no longer has to choose between
    `nextest = false` and a red `nix flake check`

### Changed

- **Unstable Typst toolchain**
([#1993](#1993))
- Take typst 0.15.1, typstyle 0.15.2, and tinymist 0.15.10 from the
locked nixpkgs-unstable input via fastMovers; add tinymist diagnostics
and preview to the docs module.
- Migration affects `docs` module and `overlays.default` consumers, plus
anyone formatting with the image's typstyle (0.14.4 → 0.15.2), which can
reformat `.typ` files.
- Rendered output changes: canonical PDF hashes compared against issued
documents will drift. Regenerate `generated/` deliberately in its own
commit and re-issue documents where the process requires it.
- Documents relying on Typst 0.14 behaviour may fail to compile; review
the breaking changes in the [upstream Typst 0.15
changelog](https://typst.app/docs/changelog/0.15.0/) before migrating.
- For stability, pin a devkit release tag and set
`DEVKIT_FLAKE_PIN_ADVANCE=false` to hold it; `devkit-upgrade` opens
adoption PRs on a schedule.
- Typst tools now move with the weekly nixpkgs-unstable bump; patch
releases can change rendered output between devkit releases.

- **Rewrite the self-hosted CI runner migration guide**
([#1933](#1933))
- `docs/MIGRATION.md`'s "Run CI on self-hosted runners" section now
documents the shipped `CI_RUNNER_SMALL`/`LARGE`/`XLARGE` variables, the
per-lane `DEVKIT_CI_LANE_SIZES` override, fork safety (including the
private-fork remedy) and the full N/N+1/N+2 deprecation timeline,
replacing the stale description of the deprecated
`DEVKIT_CI_RUNNER`-only mechanism
- Add "CI never starts on a private repo" and whitespace-only
`CI_RUNNER_SMALL` symptom entries, and scrub the site-specific example
label from the section and the manifest key table

- **Fork-safe runners across scaffolded workflows**
([#1928](#1928))
- Route release, sync, upgrade and new seeded hook jobs through runner
variables
with fork protection; managed release reusables consume runner classes
and lanes.

- **Documented, tested stanza for flakes that consume a devkit project's
packages**
  ([#1832](#1832))
- New `docs/MIGRATION.md` section "Projects that ship packages to other
flakes": the consuming flake builds the package with its own nixpkgs and
drops the devkit inputs a package build never reads (`follows = ""`), so
its lock shrinks from devkit's whole input tree to `nixpkgs`, `crane`,
    `fenix` and `flake-utils`
- CI builds a Rust project's package through that exact block, and fails
if
devkit adds an input the stanza does not cover or starts reading one it
drops. The scaffolded `flake.nix` keeps following devkit's nixpkgs, and
    points at the section

- **Rust adopters are pointed at the Rust pack, not a bare compiler**
  ([#1831](#1831))
- `docs/MIGRATION.md` no longer calls `rust` an unshipped candidate
module or
recommends `extraPackages = [ pkgs.cargo pkgs.rustc ]`; a new "Rust
projects:
the Rust pack" section covers the new-repo path, porting a repo
scaffolded
before it was Rust, toolchain pinning, `sandboxExcludes` and the base
tool
    configs. `README.md` and `docs/SOLO_ADOPTION.md` link to it
- The scaffold prints a notice when a Rust repo keeps a preserved
`flake.nix`
that does not use `mkRustProject`, or a `justfile.project` that never
runs
    cargo, naming the doc section that fixes it

### Deprecated

- **Legacy CI runner settings**
([#1934](#1934))
- The `.vig-os` `DEVKIT_CI_RUNNER` key and `DEVKIT_CI_RESOLVE_RUNNER`
variable
remain supported in releases N and N+1 with per-run warnings; migrate to
    `CI_RUNNER_SMALL`/`LARGE`/`XLARGE`.
- At N+2, the key stops selecting runners and the resolver's
`runner-json` output is removed.
A key still needed by any required class produces `::error::`; an inert
key or a
foreign run only warns. The `DEVKIT_CI_RESOLVE_RUNNER` term stays
permanently
before the hosted default in resolve jobs: on non-foreign runs it
produces
`::error::` when set without `CI_RUNNER_SMALL`, and only warns when
SMALL is set.
- See the [deprecation
timeline](https://github.com/vig-os/devkit/blob/dev/docs/MIGRATION.md#deprecation-timeline)
and
[seeded hook
migration](https://github.com/vig-os/devkit/blob/dev/docs/MIGRATION.md#seeded-hook-runner-migration).

### Fixed

- **Container-mode consumers opt in to `CI_RUNNER_*` runners**
([#2045](#2045))
- New `.vig-os` key `DEVKIT_CI_CONTAINER_RUNNERS` (`true` | `false`,
default `false`). In `devcontainer`/`both` mode, every lane stays on
hosted `ubuntu-26.04`, as in 1.18.x, unless it is `true`;
organization-level `CI_RUNNER_*` variables no longer move container
lanes onto pools without a container runtime.
- `resolve-toolchain` prints a notice naming the key when it ignores a
visible variable, and rejects any other value; `direnv`/`bare` and fork
PRs are unchanged.
- `devkit-upgrade` resolves its installer runner through the same gate,
and keeps a legacy `DEVKIT_CI_RUNNER` key until a container-mode repo
opts in.

- **Realise direnv scaffold sources on Nix 2.35**
([#2039](#2039))
- Fetch installer and Scaffold Drift sources with `nix flake prefetch`
so their assets exist before copying; show the same command in the
installer dry-run plan.

- **Offline, probe-free installer dry runs**
([#2021](#2021))
- Defer remote branch checks, latest release resolution and runtime
health probes until execution.
- Keep local version pins and explicit runtime choices in the plan;
discover runtimes through PATH only.
- Label unresolved releases as placeholders and explain runtime fallback
and preview verification.

- **Record checkout SHAs without git in container jobs**
([#2055](#2055))
- Take the API commit base from `actions/checkout`'s `commit` output, so
Prepare Release, Prepare Hotfix, Release and Sync Issues no longer fail
with "dubious ownership" (exit 128) in `devcontainer`/`both` mode.
- Fail closed when the checkout reports no commit; a static guard
rejects any container job that runs git before its `safe.directory`
setup.

- **Protect workflow file commits from concurrent branch updates**
([#2028](#2028))
- Pin API commits to the checkout SHA in devkit and consumer workflows;
fail closed when capture fails or the target advances.
- Restore failed prepare freezes only when dev still matches the freeze
action’s confirmed commit; preserve concurrent changes when the freeze
was rejected.
- Export the exact consumer freeze commit and reject empty commit bases
at runtime before every API file commit.

- **Restore abandoned release changelogs**
([#2003](#2003))
- Fold pending release entries back into Unreleased when abandoning a
regular release train.
- Pin restoration commits to their checkout SHA and refuse unsupported
content without losing entries or line endings.

- **Clean consumer changelog seed**
([#2025](#2025))
- Restore the empty workspace changelog skeleton and guard it against
devkit release entries.
- Document the root changelog, generated mirror and first-deploy seed
responsibilities.

- **Upgrade hook runner migration follow-ups**
([#1955](#1955))
- Fold hosted-only and quoted stock runners, skip reusable-workflow
calls,
preserve custom runners with review advice, and restore precise
retired-hook instructions.
- Clarify runner precedence and foreign-run tombstones in migration
documentation.

- **Typst docs guard reconciliation**
([#2011](#2011))
- Namespace document recipes under `devkit-docs::`, skip conflicting
consumer names,
leave docs-OFF consumer exclusions untouched, and correct preview
ownership reports,
and retain configs with recovery advice after missing managed state or
interrupted writes.

- **Recover promotion after a manually merged release PR**
([#1990](#1990))
- Verify approval and main ancestry, skip the completed merge, and allow
recovery from main or dev after branch deletion.

- **Typst formatter documentation**
([#1993](#1993))
- Describe typstyle as the Typst formatter and document the docs module
version source and language server.

- **Harden GitHub App provisioning callbacks and inputs**
([#1919](#1919))
- Accept callbacks only once, including concurrent requests, and
preserve the original result on replay
- Validate reverse-proxy URLs and reject combining `--host` with
`--base-url`; cover exchange timeout and malformed JSON errors without
exposing secrets
- Check the chosen secret prefix before the provisioning skill creates
another App

- **Preserve runner Nix configuration in the toolchain action**
([#1907](#1907))
- With preinstalled host Nix in direnv mode, preserve valid ambient
`NIX_CONFIG`, including runner caches and CPU limits, and add devkit's
features and cache settings; `extra-experimental-features` extends the
host `nix.conf` feature list instead of replacing it
- Mask ambient access tokens and URL values containing userinfo or
queries before export so later step environment headers do not expose
credentials
- Validate with the command supported by host Nix (including
`show-config` before Nix 2.20); fail explicitly if neither command is
available. Drop malformed ambient configuration with a warning that
redacts diagnostic values; keep the exported configuration valid and the
environment delimiter collision-safe

- **Managed security and commit documentation follows the consumer
manifest** ([#1910](#1910))
- Disabling `scanning` removes CodeQL and Scorecard claims and accepted
findings from `SECURITY.md`; disabling `renovate` removes its monitoring
claim
- The commit standard describes the resolved Refs policy, including
custom exempt types; re-scaffolding remains drift-free without local
edits or disabling Scaffold Drift
- Known gaps tracked separately: `SECURITY.md` dependency-review claim
for private repos
([#1913](#1913)); approved-types
table for custom `DEVKIT_COMMIT_TYPES`
([#1914](#1914))

- **install.sh and devkit-upgrade no longer need Docker in direnv mode**
([#1871](#1871))
- With `DEVKIT_MODE=direnv` (persisted, or `--mode direnv`),
`install.sh` skips container-runtime detection and runs
`init-workspace.sh` on the host from the pinned devkit flake source
(`nix flake metadata` -> `assets/`, image bake steps replayed), so
scaffold and `--force` upgrade need only nix, jq and rsync; the version
defaults to the `.vig-os` `DEVKIT_VERSION` pin (upgrade) or the newest
`X.Y.Z` release tag (fresh install), and the scaffold runs inside the
release's own dev-shell with a clean environment so macOS hosts (BSD
sed, bash 3.2) work; `--docker`/`--podman` are ignored with a warning
- `devkit-upgrade.yml` and the direnv smoke lane (which now installs Nix
before the scaffold) drop `--docker` for direnv repos; devcontainer,
both and bare modes keep the image path unchanged
- A repo's upgrade picks this up once its target release ships the new
`install.sh` (the installer comes from the target tag)

- **Scaffold Drift no longer needs Docker in direnv mode**
([#1861](#1861))
- With `DEVKIT_MODE=direnv`, ci.yml's `scaffold-drift` job runs the
pinned scaffold from the devkit flake source via nix in a scratch clone
under `RUNNER_TEMP` (removed afterwards) instead of `docker
login/pull/run`; devcontainer, both and bare modes keep the container
path
- `rsync` joins the dev-shell tools, which the host-side scaffold needs
- Still container-dependent in direnv mode: `devkit-upgrade.yml` (runs
`install.sh --docker`; not changed here)

- **resolve-toolchain sparse checkout no longer poisons a persistent
runner's workspace**
([#1860](#1860))
- The sparse `actions/checkout` in every managed `resolve-toolchain` job
now uses `path: .devkit-resolve`, so later jobs sharing
`_work/<repo>/<repo>` get a fully materialized tree
- `resolve-toolchain` action gains a `working-directory` input (default
`.`); `ci.yml` gate steps run from the new path
- Existing root clones that already carry skip-worktree state from older
runs are not healed by this change; persistent-runner operators may need
to clear them once

- **Untracked build output no longer blocks the upgrade that ignores
it**
  ([#1826](#1826))
- The `install.sh --force` preflight refused any untracked file, so a
repo
that had just gained a language (a Rust repo with `target/`) could not
take
the very upgrade that adds its `.gitignore` fragment. Untracked paths
are
now matched against the `.gitignore` the upgrade will write; covered
ones
    are named and left in place, any other one still refuses, by name
- New `--allow-untracked` flag runs the upgrade with untracked files
present;
    tracked changes still refuse

- **`mkRustProject` forwards the `.vig-os` hook settings**
  ([#1810](#1810))
- `lib.mkRustProject` accepts `branchTypes`, `commitTypes`, `refsPolicy`
and
`refsOptionalTypes` and passes them to `mkProjectShell`, so a Rust
repo's
`DEVKIT_BRANCH_TYPES` / `DEVKIT_COMMIT_TYPES` / `DEVKIT_REFS_POLICY` /
`DEVKIT_REFS_OPTIONAL_TYPES` reach the flake-generated branch guard and
    commit-message hook instead of being silently ignored
  - A Rust flake no longer has to drop or `# deadnix: skip` the manifest
bindings it reads, which made the first commit touching `flake.nix` fail
    deadnix

### Security

- **Accept five SQLite and rsync CVEs until 2026-11-18 pending nixpkgs**
([#2052](#2052))
- SQLite 3.53.3: CVE-2026-119373, CVE-2026-119374 and CVE-2026-119379
(fixed in 3.54.0) and CVE-2026-119586 (fixed in 3.54.2). Each needs the
user to open a crafted database or changeset locally.
- rsync 3.5.0: CVE-2026-119741 (fixed in 3.5.2), a CPU denial of service
in a public rsync daemon's sender. The image never runs an rsync daemon.
- nixpkgs has none of these fixes yet, so `.vulnixignore` accepts the
five as exact package/version exceptions. They are removed once a
nixpkgs pin advance ships the fixed versions.
@vig-os-release-app
vig-os-release-app Bot requested a review from c-vigo as a code owner November 8, 2026 02:45
@vig-os-release-app
vig-os-release-app Bot merged commit 5c16ca9 into dev Nov 8, 2026
16 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the chore/sync-main-to-dev-49-1 branch November 8, 2026 02:52
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