Repository navigation
chore: release 1.19.0 - #2033
Merged
Merged
Conversation
## Description Add the ADR §10 default-on site leak-check hook. A clone without private patterns exits silently; configured clones scan staged changes or selected working-tree files through gitleaks and publish only file, line and rule ID. ## Type of Change - [x] `feat` -- New feature - [x] `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 - Resolve `DEVKIT_LEAK_PATTERNS` before `.site/leak-patterns.toml`. Use merged S4's public `vig_utils.site_config.validate_patterns` and preserve its safe error messages with exit 2. The S4 ADR amendment defines the single pattern-file contract; a missing selected file is a silent no-check without fallback. - Materialize raw blobs from the index for added, copied, modified, renamed and type-changed paths. Use Git's NUL-delimited metadata only for path selection, with no external diff or textconv; stream raw blobs through one `git cat-file --batch` process, avoiding checkout filters and per-blob process creation. Staged, filename and all-files modes then share one gitleaks directory scanner. - Cover full index content at changed paths, including pure renames; skip deleted and untouched paths. Filename mode skips NUL-containing inputs to enforce the text-hook contract, while direct staged and all-files scans include those bytes. - Scan selected site bindings and repository ignore files as data. Isolate gitleaks 8.30.1's automatic source-ignore loading by scanning a root `.gitleaksignore` separately; the private config remains explicit. - Define the default-on text/symlink hook once in `nix/hooks.nix` and mirror both portable configs. Pin gitleaks in Nix-generated hooks, and publish only file, line and rule ID. Document scan boundaries, printed paths, linked worktrees and intentional exceptions. - Pass `--` in every hook definition before filenames; reject help-looking CLI options and disable option abbreviation. Real installed-hook commits cover `-h`, `--help`, `--he` and `--all-files` filenames. - Own private snapshots in one cleanup routine on success, findings, errors and signals. Block SIGINT/SIGTERM/SIGHUP before deleting, restore the previous mask/handlers, and honour pending signals only after deletion with a conventional exit code and no traceback. Identify unreadable pattern files and report input read/materialization errors using only safe path metadata. - Scan symlink link text as regular snapshot content in staged, filename and all-files modes, without following targets. Select links through `types: []` plus `types_or: [text, symlink]`, clearing the hook runner's default file-only filter. Preserve raw link text, including repeated separators, and apply path rules to link names. ## Changelog Entry ### Added - **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. ## Testing - [x] Targeted tests pass locally; the brief reserves full-suite execution for CI. - [x] Manual testing performed (describe below) ### Manual Testing Details - Round-six RED: `pytest tests/test_site_leak_check.py -n 4 --basetemp=$HOME/.cache/devkit-pytest/1932-r6 -q` inside the Nix environment with worktree `PYTHONPATH` first exited 1: 9 failed / 112 passed. Tests were committed before implementation. - GREEN inside `nix develop`: `PYTHONPATH="$PWD/packages/vig-utils/src" uv run --with pytest-xdist pytest tests/test_site_leak_check.py tests/test_hardcoded_endpoints.py packages/vig-utils/tests/test_site_config.py -n 4 --basetemp=$HOME/.cache/devkit-pytest/1932-r6 -q` exited 0: 379 passed. - Both regular-file ↔ symlink type changes are staged as Git status T and must flag the new raw index blob. A 256-file test verifies exact binary content and exactly one batch reader, preventing per-blob process regressions. - Cleanup tests pause deterministically after the scanner has exited and before deletion. They deliver SIGTERM followed 10 ms later by SIGHUP in staged and all-files modes, across clean, findings and scanner-error exits. Deletion must complete before a conventional signal exit; no private tree or traceback remains. - Cleanup mask mutation: querying the mask instead of blocking termination signals makes the strengthened test fail (exit 1). After restoring production code, all 6 cleanup cases passed (exit 0), explicitly asserting SIGINT/SIGTERM/SIGHUP are blocked inside deletion. - Earlier validator, symlink target-isolation, installed-hook option filename, attributes/textconv/smudge, redaction, ignore/config bypass, gitlink/stage/path guard, rename and NUL-boundary regressions remain covered. - Commits run inside `nix develop` with hooks enabled. Container and Nix evaluation suites are reserved for CI. ## 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 (tool README and migration guidance) - [x] I have updated `CHANGELOG.md` in the `Unreleased` section - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my feature works - [x] New and existing targeted unit tests pass locally with my changes - [x] Any dependent changes have been merged and published (S4 #1938) ## Additional Notes Rebased onto S3 (#1949) and S4 (#1938). Conflict resolution preserved both S3 and S6 changelog entries in `CHANGELOG.md` and `assets/workspace/.devcontainer/CHANGELOG.md`, and preserved all S3/S4/S6 amendments in `docs/rfcs/ADR-site-agnostic-projects.md`. S6 consumes S4's public pattern validator; the S4 ADR amendment remains the single rule definition. Rule IDs and matching file paths must be safe for public logs. The snapshot scanner never follows symlink targets; independently selected regular files are scanned normally. Refs: #1932
## Description Project shells currently shadow a machine's `claude` wrapper, bypassing its release channel and per-profile credentials. Leave the agent CLI to the machine by default and provide an explicit opt-in. ## Type of Change - [x] `fix` -- Bug fix ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - Split the agent package into one shared list; default, scaffolded, capability, and Rust shells use the agent-free toolchain. Machine modules and the image retain the CLI. - Add `withAgentCli = false` to `mkProjectShell` and `mkRustProject`. The fixed `devShells.<system>.with-agent-cli` output serves consumers who select a shell output rather than call the builder. - Document migration and the system-wrapper shadowing effect. Keep the fast-mover overlay and package pin unchanged. - Add an evaluation-only flake policy check covering default, consumer and scaffolded shells, opt-in package identity, and legacy home-manager/NixOS installs. Update the existing tool-list guard. ## Changelog Entry ### Changed - **Project shells leave the agent CLI to the machine** ([#1967](#1967)) - Repositories relying on the dev-shell's `claude` must install it machine-wide (or via the home module), or set `withAgentCli = true`; consumers of devkit's own `devShells` output can select `#with-agent-cli`. - Opting in shadows any system `claude` wrapper. Home modules and the container image retain the CLI. ## Testing - Current-head CI: all 18 checks passed on `39c17c51433765c0e607180a92bbabba8b750fbd`, including Test Summary, Project Flake Gates, Consumer Matrix, and both home matrices. `gh pr checks 1968 --watch` exited 0. - Rust-path regression: `nix eval .#checks.x86_64-linux.agentCliPolicy.drvPath` exited 1 for each temporary mutant (removed `withAgentCli` forwarding; changed its Rust default to `true`). Restoring each original implementation makes the evaluation pass (exit 0). Both mutants were restored before the guard was committed. - The guard now evaluates `mkRustProject` against `templates/rust` with default and opted-in CLI settings. Builder documentation and the Rust scaffold show the option and warn that it shadows a system wrapper. - [x] Touched tests pass locally - [x] Manual evaluation performed ### Manual Testing Details - RED: `nix eval --impure --json --file tests/agent-cli-policy.nix` exited 1 on the default-shell assertion before implementation; committed first as `d4566beb`. - Previous-head CI: all 18 checks passed on `e4e7f56bf396872e547f6847f6c8ac48535cfeff`, including Project Flake Gates, Consumer Matrix, both home matrices, and Test Summary. `gh pr checks 1968` exited 0. - GREEN: `nix eval .#checks.x86_64-linux.agentCliPolicy.drvPath` exited 0. This evaluates package lists without building Claude Code. - `uv run --with pytest-xdist pytest tests/test_flake_devshell.py::test_devshell_tools_is_superset_of_agent_toolkit -n 4 --basetemp=$HOME/.cache/devkit-pytest/1967` exited 0 (1 passed); isolated directory removed. - `just docs` and commit hooks run inside `nix develop`; full suites/builds are left to CI on the shared host. ## 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 needed - [x] I have updated the documentation accordingly - [x] I have updated both devkit changelog copies under Unreleased - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective - [x] Touched tests pass locally - [x] No dependent changes are required ## Additional Notes The opt-in devkit shell output is necessary for consumers using an exported shell directly: such consumers cannot pass a builder argument. No full builds were run locally. The container CLI remains available as before. Refs: #1967
…1971) ## Description Finish S7b's site-agnostic runner documentation and remove the site label and adjacent private names from the scoped test fixtures/comments. ## Type of Change - [x] `docs` -- Documentation - [x] `test` -- Fixture text and comment scrub only ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - Explain the extension lane in both downstream guides; document the fork predicate, forbidden triggers, and runner-side security controls. - Add the going-public checklist and per-worktree site-init adoption instructions. - Deprecate both legacy runner knobs in both changelog copies, including the permanent resolve-variable tombstone and N+2 errors. - Record the owner-confirmed runner security model in the ADR amendment and link its security/checklist sections to it. - Add the going-public link to the self-hosted migration section; preserve all other MIGRATION.md text and released changelog entries. - Clarify the `.vig-os` lane override key and distinguish the resolver output from the retained extension input. ## Changelog Entry ### 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). ## Testing - [x] CI on `6add07e93be865e5dfd3c5dca0ff28109064054e`: all 16 checks green, including the repository's `Test Summary` gate (called CI Summary in the brief). `gh pr checks 1971 --watch` exited 0. - [x] Targeted Python tests: `uv run --with pytest-xdist pytest tests/test_setup_toolchain_env.py -n 4 --basetemp="$HOME/.cache/devkit-pytest/1934"` — exit 0, 61 passed. - [x] Round-two Bats: `bats -j 2 tests/bats/init-workspace.bats` inside `nix develop` — exit 0, 346 passed. - [x] Round-two Markdown: `git diff --name-only -- "*.md" | xargs pymarkdown -c .pymarkdown fix` before committing, inside `nix develop` — exit 0 on all six touched Markdown files. All commit hooks passed. - [x] Added links and anchors checked against repository files and the owner comment. Verified MIGRATION.md adds only the requested checklist link and released changelog sections remain byte-identical. - [x] Six round-two consistency assertions failed before edits (exit 1), then passed afterward (exit 0). ### Manual Testing Details The scrub assertion failed before the edit and passes afterward. Exact grep command (the pattern file contains the site label recovered from `git log -p -S DEVKIT_CI_RUNNER -- docs/MIGRATION.md`): ```bash git grep -l -F -f /tmp/1934-site-label -- ':(exclude)docs/issues/**' ':(exclude)docs/pull-requests/**' ``` Output: ```text CHANGELOG.md assets/workspace/.devcontainer/CHANGELOG.md ``` All four remaining occurrences are in permitted released sections; filtering those sections produces no output. No other scoped private names remain in the touched test files. ## Checklist - [x] Follow project style and perform self-review - [x] Update documentation and both Unreleased changelogs - [x] Check links against the repository and factual claims against merged resolver/site code - [x] Dependent implementation changes are merged - [ ] Owner private-pattern tree scan (pending after this PR is up) ## Additional Notes The owner's `site-leak-check --all-files` run with the private site pattern file is **pending**, as required by #1934. No private pattern file was sought or requested. The ADR now records the owner-confirmed correction: runner-side job-start checks and org approval for all external contributors are primary; runner-group visibility is optional. The amendment preserves the accepted runner-selection decisions. N+2 removal is future behavior, not claimed as implemented now. TDD is inapplicable under CLAUDE.md's docs exception: production behavior is unchanged; fixture values and prose are scrubbed. The repo deliberately uses Markdown `fix` mode (nix/hooks.nix). Refs: #1934
## 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
13 of 15 tasks
… 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
This was referenced Nov 6, 2026
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
11 of 14 tasks
## 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
gerchowl
marked this pull request as ready for review
November 6, 2026 10:23
Set release date to 2026-11-06 and regenerate release docs. Refs: #2033
gerchowl
approved these changes
Nov 8, 2026
gerchowl
left a comment
Contributor
There was a problem hiding this comment.
Approved for release by the owner.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.19.0 - 2026-11-06
This PR prepares release 1.19.0 for merge to main.
1.19.0 - 2026-11-06
Added
Typst plots, glossary and slides (#1994)
Opt-in Typst content guards (#1994)
Offline Typst house-style package (#1994)
Advisory glossary candidate discovery (#1994)
Opt-in terminology register checks (#1994)
Opt-in Typst guards and reproducible builds (#1994)
Release N runner migration matrix (#1935)
Safe CI runner migration during devkit upgrades (#1929)
Site leak-check hook (#1932)
success when no site patterns exist and redacted finding diagnostics.
and reject present pattern files without usable rules.
reader despite Git attributes; share S4's safe pattern validation.
and report filesystem failures with paths and OS reasons without file contents.
despite repeated termination signals.
Env-only endpoint lint (#1931)
devkit and consumer hooks.
Per-lane CI runner size overrides (#1927)
DEVKIT_CI_LANE_SIZESfor 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)
GitHub App organization secrets and Nix entry point (#1915)
--org-secret --reposnix run .#app-provisionand document masked App tokens appended to existing Nix configurationFork-safe CI runner classes (#1925)
Per-clone site bindings and initializer hook (#1930)
GitHub App provisioning CLI (#1909)
gh-app-provisionto 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-secretsdocs/WORKFLOW_SECURITY.md, and the/devkit:app-provisionagent skillRelease train honours
DEVKIT_CI_RUNNER(#1863)prepare-release,prepare-hotfix,release,release-core,release-publish,promote-release,abandon-releaseandsync-main-to-devroute their jobs through resolve-toolchain'srunner-json, defaulting to hostedubuntu-26.04prepare-release-extension,release-extension,publish-release-extension) run onDEVKIT_CI_RESOLVE_RUNNER; callers pass them no new input, so existing consumer-owned copies keep working unchangedRust cold adoption: a Cargo repo gets a working Rust setup from the scaffold
(#1496)
Cargo.tomlseeds a cargojustfile.project:just lintrunscargo fmt --checkand clippy withwarnings denied, and
just testrunscargo test --workspace. It used toget the Python recipes, which skip without a
pyproject.toml, so CI wentgreen without compiling anything
flake.nixonvigos.lib.mkRustProjectinstead ofmkProjectShell: one call wires thedev shell, the
nix flake checksuite (fmt, clippy, nextest, doctests,rustdoc, cargo-deny, the package builds) and
packages, and forwards the.vig-oshook settingsrustfmt.toml,clippy.tomlanddeny.tomlare seeded when thescaffold adopts Rust (never on an existing Rust consumer's upgrade, where a
new
deny.tomlwould switch on a check nobody asked for), and never besidean equivalent such as
.rustfmt.tomlor.cargo/deny.toml; they areconsumer-owned from then on and never overwritten
nix flake init -t github:vig-os/devkit#ruststarter crate that passesthe pack's whole check suite as shipped
rustcell now passes, and a newrust-flakecellruns the whole direnv path (
nix flake check, hooks,just lint/just testin the flake's shell) on every PRmkRustProjectsandboxExcludesfor tests the Nix sandbox cannot run(#1834)
[ "test(pty_)" "binary(supervisor)" ])that
checks.nextestskips, for suites that need a PTY, process groups,signals or the network
just testand CI; only the sandboxed flakecheck skips them, so a repo no longer has to choose between
nextest = falseand a rednix flake checkChanged
Unstable Typst toolchain (#1993)
docsmodule andoverlays.defaultconsumers, plus anyone formatting with the image's typstyle (0.14.4 → 0.15.2), which can reformat.typfiles.generated/deliberately in its own commit and re-issue documents where the process requires it.DEVKIT_FLAKE_PIN_ADVANCE=falseto hold it;devkit-upgradeopens adoption PRs on a schedule.Rewrite the self-hosted CI runner migration guide (#1933)
docs/MIGRATION.md's "Run CI on self-hosted runners" section now documents the shippedCI_RUNNER_SMALL/LARGE/XLARGEvariables, the per-laneDEVKIT_CI_LANE_SIZESoverride, fork safety (including the private-fork remedy) and the full N/N+1/N+2 deprecation timeline, replacing the stale description of the deprecatedDEVKIT_CI_RUNNER-only mechanismCI_RUNNER_SMALLsymptom entries, and scrub the site-specific example label from the section and the manifest key tableFork-safe runners across scaffolded workflows (#1928)
with fork protection; managed release reusables consume runner classes and lanes.
Documented, tested stanza for flakes that consume a devkit project's packages
(#1832)
docs/MIGRATION.mdsection "Projects that ship packages to otherflakes": the consuming flake builds the package with its own nixpkgs and
drops the devkit inputs a package build never reads (
follows = ""), soits lock shrinks from devkit's whole input tree to
nixpkgs,crane,fenixandflake-utilsdevkit adds an input the stanza does not cover or starts reading one it
drops. The scaffolded
flake.nixkeeps following devkit's nixpkgs, andpoints at the section
Rust adopters are pointed at the Rust pack, not a bare compiler
(#1831)
docs/MIGRATION.mdno longer callsrustan unshipped candidate module orrecommends
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,
sandboxExcludesand the base toolconfigs.
README.mdanddocs/SOLO_ADOPTION.mdlink to itflake.nixthat does not use
mkRustProject, or ajustfile.projectthat never runscargo, naming the doc section that fixes it
Deprecated
.vig-osDEVKIT_CI_RUNNERkey andDEVKIT_CI_RESOLVE_RUNNERvariableremain supported in releases N and N+1 with per-run warnings; migrate to
CI_RUNNER_SMALL/LARGE/XLARGE.runner-jsonoutput is removed.A key still needed by any required class produces
::error::; an inert key or aforeign run only warns. The
DEVKIT_CI_RESOLVE_RUNNERterm stays permanentlybefore the hosted default in resolve jobs: on non-foreign runs it produces
::error::when set withoutCI_RUNNER_SMALL, and only warns when SMALL is set.seeded hook migration.
Fixed
Container-mode consumers opt in to
CI_RUNNER_*runners (#2045).vig-oskeyDEVKIT_CI_CONTAINER_RUNNERS(true|false, defaultfalse). Indevcontainer/bothmode, every lane stays on hostedubuntu-26.04, as in 1.18.x, unless it istrue; organization-levelCI_RUNNER_*variables no longer move container lanes onto pools without a container runtime.resolve-toolchainprints a notice naming the key when it ignores a visible variable, and rejects any other value;direnv/bareand fork PRs are unchanged.devkit-upgraderesolves its installer runner through the same gate, and keeps a legacyDEVKIT_CI_RUNNERkey until a container-mode repo opts in.Realise direnv scaffold sources on Nix 2.35 (#2039)
nix flake prefetchso their assets exist before copying; show the same command in the installer dry-run plan.Offline, probe-free installer dry runs (#2021)
Record checkout SHAs without git in container jobs (#2055)
actions/checkout'scommitoutput, so Prepare Release, Prepare Hotfix, Release and Sync Issues no longer fail with "dubious ownership" (exit 128) indevcontainer/bothmode.safe.directorysetup.Protect workflow file commits from concurrent branch updates (#2028)
Restore abandoned release changelogs (#2003)
Clean consumer changelog seed (#2025)
Upgrade hook runner migration follow-ups (#1955)
preserve custom runners with review advice, and restore precise retired-hook instructions.
Typst docs guard reconciliation (#2011)
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)
Typst formatter documentation (#1993)
Harden GitHub App provisioning callbacks and inputs (#1919)
--hostwith--base-url; cover exchange timeout and malformed JSON errors without exposing secretsPreserve runner Nix configuration in the toolchain action (#1907)
NIX_CONFIG, including runner caches and CPU limits, and add devkit's features and cache settings;extra-experimental-featuresextends the hostnix.conffeature list instead of replacing itshow-configbefore 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-safeManaged security and commit documentation follows the consumer manifest (#1910)
scanningremoves CodeQL and Scorecard claims and accepted findings fromSECURITY.md; disablingrenovateremoves its monitoring claimSECURITY.mddependency-review claim for private repos (#1913); approved-types table for customDEVKIT_COMMIT_TYPES(#1914)install.sh and devkit-upgrade no longer need Docker in direnv mode (#1871)
DEVKIT_MODE=direnv(persisted, or--mode direnv),install.shskips container-runtime detection and runsinit-workspace.shon the host from the pinned devkit flake source (nix flake metadata->assets/, image bake steps replayed), so scaffold and--forceupgrade need only nix, jq and rsync; the version defaults to the.vig-osDEVKIT_VERSIONpin (upgrade) or the newestX.Y.Zrelease 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/--podmanare ignored with a warningdevkit-upgrade.ymland the direnv smoke lane (which now installs Nix before the scaffold) drop--dockerfor direnv repos; devcontainer, both and bare modes keep the image path unchangedinstall.sh(the installer comes from the target tag)Scaffold Drift no longer needs Docker in direnv mode (#1861)
DEVKIT_MODE=direnv, ci.yml'sscaffold-driftjob runs the pinned scaffold from the devkit flake source via nix in a scratch clone underRUNNER_TEMP(removed afterwards) instead ofdocker login/pull/run; devcontainer, both and bare modes keep the container pathrsyncjoins the dev-shell tools, which the host-side scaffold needsdevkit-upgrade.yml(runsinstall.sh --docker; not changed here)resolve-toolchain sparse checkout no longer poisons a persistent runner's workspace (#1860)
actions/checkoutin every managedresolve-toolchainjob now usespath: .devkit-resolve, so later jobs sharing_work/<repo>/<repo>get a fully materialized treeresolve-toolchainaction gains aworking-directoryinput (default.);ci.ymlgate steps run from the new pathUntracked build output no longer blocks the upgrade that ignores it
(#1826)
install.sh --forcepreflight refused any untracked file, so a repothat had just gained a language (a Rust repo with
target/) could not takethe very upgrade that adds its
.gitignorefragment. Untracked paths arenow matched against the
.gitignorethe upgrade will write; covered onesare named and left in place, any other one still refuses, by name
--allow-untrackedflag runs the upgrade with untracked files present;tracked changes still refuse
mkRustProjectforwards the.vig-oshook settings(#1810)
lib.mkRustProjectacceptsbranchTypes,commitTypes,refsPolicyandrefsOptionalTypesand passes them tomkProjectShell, so a Rust repo'sDEVKIT_BRANCH_TYPES/DEVKIT_COMMIT_TYPES/DEVKIT_REFS_POLICY/DEVKIT_REFS_OPTIONAL_TYPESreach the flake-generated branch guard andcommit-message hook instead of being silently ignored
# deadnix: skipthe manifestbindings it reads, which made the first commit touching
flake.nixfaildeadnix
Security
.vulnixignoreaccepts the five as exact package/version exceptions. They are removed once a nixpkgs pin advance ships the fixed versions.