Skip to content

ci(actions): update github-actions (minor and patch) - #1368

Merged
c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)
Aug 7, 2026
Merged

c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)

Conversation

@renovate

@renovate renovate Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/attest action patch v4.2.1 → v4.2.2
actions/attest-build-provenance action minor v4.1.1 → v4.2.2
vig-os/commit-action action patch v0.3.1 → v0.3.2
vig-os/sync-issues-action action minor v0.4.0 → v0.5.0

Release Notes

actions/attest (actions/attest)

v4.2.2

Compare Source

What's Changed

Full Changelog: actions/attest@v4.2.1...v4.2.2

actions/attest-build-provenance (actions/attest-build-provenance)

v4.2.2

Compare Source

[!NOTE]
As of version 4, actions/attest-build-provenance is simply a wrapper on top of actions/attest.

Existing applications may continue to use the attest-build-provenance action, but new implementations should use actions/attest instead.

What's Changed

Full Changelog: actions/attest-build-provenance@v4.1.1...v4.2.2

vig-os/commit-action (vig-os/commit-action)

v0.3.2

Compare Source

Changed
  • Renovate dependency update (#​128)
    • Update globals from 17.8.0 to 17.9.0
    • Update tsx from 4.23.1 to 4.23.7
    • Update typescript-eslint from 8.65.0 to 8.66.0
  • Renovate: update globals from 17.7.0 to 17.8.0 (#​119)
  • Renovate: lock file maintenance (#​109, #​116, #​120, #​129) — four scheduled refreshes of package-lock.json to the latest resolvable versions. package.json is untouched by all four and every direct dependency range is unchanged, but the movement is not dev-dependency-only: undici (6.27.0 → 6.28.0) and @octokit/request / @octokit/core are transitive runtime dependencies of @actions/core and @actions/github, so they ship inside the bundled dist/index.js. See the bundle rebuild under Fixed below.
  • Renovate dependency update (#​114)
    • Update eslint from 10.7.0 to 10.8.0
    • Update prettier from 3.9.5 to 3.9.6
    • Update ts-jest from 29.4.11 to 29.4.12
    • Update typescript-eslint from 8.64.0 to 8.65.0
  • Renovate: update astral-sh/setup-uv from v8.3.2 to v9.0.0 (#​115)
  • Renovate dependency update (#​113)
    • Update actions/checkout from v7.0.0 to v7.0.1
    • Update ossf/scorecard-action from v2.4.3 to v2.4.4
  • Renovate: update github/codeql-action from 7188fc3 to e4fba86 (#​112)
  • Adopt vigOS devkit 1.6.0 (#​121, #​124)
    • This lane jumps 1.4.2 → 1.6.0 directly. devkit 1.5.0 was never finalized on consumers, so the in-flight 1.5.0-rc2 adoption (#​122) was closed as stale and superseded rather than merged; the features it carried arrive here instead. .vig-os DEVKIT_VERSION=1.6.0 with flake.lock re-locked to suit. The vigos flake input stays on the scaffold's floating default (no ?ref, as of 1.4.0 final), so the dev-shell toolchain tracks devkit's default branch rather than the pinned scaffold version.
    • The flake pin was advanced to match (#​126). The adoption above was a pin-only edit, which left the floating vigos input locked at 26e291d (the 1.5.1 release): the dev shell ran the 1.5.1 toolchain under the 1.6.0 scaffold, and the shell-entry version-skew warning (vig-os/devkit#1263) fired on every entry. nix flake update vigos advanced the lock to ffa7a5f, the 1.6.0 release commit. The 1.6.0 shell builds, the full hook suite is green, and the warning is gone — so this release ships with pin and scaffold in lockstep.
    • New devkit-upgrade.yml, a self-polling upgrade workflow on App-only auth (vig-os/devkit#1296): it watches devkit's latest release and opens the adoption PR when this repo's DEVKIT_VERSION falls behind.
    • New scaffold-drift CI gate (vig-os/devkit#1295) — CI fails when a managed file is hand-edited or DEVKIT_VERSION is bumped without a matching re-scaffold.
    • New .vig-os keys, all left empty (defaults), so no behavior change here: DEVKIT_FEATURES_DISABLED and DEVKIT_REFS_POLICY (vig-os/devkit#1282, #​1284), plus DEVKIT_AUTO_UPGRADE, DEVKIT_UPGRADE_EXCLUDE, DEVKIT_DRIFT_CHECK.
    • The managed Renovate preset now excludes devkit-managed workflows and actions (vig-os/devkit#1332), so scaffold-pinned action SHAs move by re-scaffold instead of by Renovate PR.
    • release-publish.yml gains tombstone (GH013) detection (vig-os/devkit#1319).
    • The scaffold re-seeds a .github/CODEOWNERS template. It contains no active rule (every line is a comment), so it does not reinstate the code-owner review requirement deliberately removed in #​83.
  • Adopt vigOS devkit 1.4.2 (#​117)
    • Security-register patch train: unbound CVE exceptions and openssl block re-verification.
    • First consumer to exercise the pin-lockstep fix (vig-os/devkit#1263) — the upgrade advanced the vigos flake.lock input d16541f5 (1.4.0) → b884b22b (1.4.2) alongside the .vig-os pin, clearing the skew in which the dev-shell toolchain lagged the scaffold it was supposed to match.
  • Adopt vigOS devkit 1.4.1 (#​110)
    • Re-scaffold from 1.4.0, validated through the full RC train (rc2 → rc3 → rc4 → final), each bump re-scaffolded with the RC image and CI-green in this lane.
    • The final scaffold diff vs 1.4.0 is pin-only plus two narrow additions: a .github/label-taxonomy.toml header (vig-os/devkit#1254) and the DEVKIT_SYNC_TARGET / DEVKIT_SYNC_SCHEDULE knobs (vig-os/devkit#1228, both left empty). All other managed files render unchanged.
  • Adopt vigOS devkit 1.4.0 (#​107)
    • Re-scaffold from devkit 1.3.1 to 1.4.0 in direnv mode; .vig-os DEVKIT_VERSION and flake.lock move in lockstep. Delivery mode, tag prefix (v), and floating tags (major,minor) are preserved from .vig-os.
    • The vigos flake input was pinned to each candidate during RC validation (?ref=1.4.0-rc2 → … → ?ref=1.4.0-rc6) and deliberately returned to the scaffold's floating default at 1.4.0 final (86a14d6), those RC pins having been validation-only.
    • The devkit-managed workflows are zizmor-audited (vig-os/devkit#1182): persist-credentials: false is set on the read-only checkouts (CI, codeql.yml, renovate-changelog-build.yml, sync-issues.yml), the sync-main-to-dev cleanup step moves its release-app token into env:, and a devkit-owned zizmor.yml baseline ships so this repo maintains no baseline of its own.
    • New optional .vig-os key DEVKIT_CI_RUNNER (vig-os/devkit#1173): resolve-toolchain emits a runner-json output and the managed ci.yml toolchain jobs route runs-on through it; absent (default) keeps the hosted ubuntu-24.04 runner.
    • The direnv CI preamble now forwards the flake shellHook environment to CI (vig-os/devkit#1180), and the base justfile ships a with-native-libs helper for uvx tools with native wheels (vig-os/devkit#1181).
    • pymarkdown is packaged in the flake and promoted to a language: system hook (vig-os/devkit#1170); opt-in-only additions (typst docs module #​1178, gitleaks hook #​1172, nix-language support #​1171) have no effect here unless enabled.
  • Adopt vigOS devkit 1.3.1 (#​105)
    • Re-scaffold from devkit 1.2.1 to 1.3.1 in direnv mode; pins move in lockstep (.vig-os DEVKIT_VERSION=1.3.1, flake.nix ?ref=1.3.1, flake.lock re-locked to the 1.3.1 revision).
    • CodeQL push-path filter is now per-language (vig-os/devkit#1142): the managed codeql.yml triggers on **.ts/**.js/**.mjs/**.cjs (plus .github/workflows/**) instead of the stale **.py.
    • The release orchestrator's extension caller job now declares the consumer-seam token ceiling (vig-os/devkit#1144): contents: read, packages: write, id-token: write, attestations: write.
    • First upgrade across the 1.3.0 gitignore migration (vig-os/devkit#1145): the consumer-owned .gitignore.project no longer accretes scaffold-committed filenames or cross-language junk, and scaffold-committed files stay tracked.
    • Managed CI gains a dependency-review gate and the release/promote workflows pick up mergeability and floating-tag-creation hardening; the TypeScript-major Renovate hold (Refs #​101) moves from the managed renovate-default.json into the consumer-owned renovate.json so it survives future re-scaffolds.
Fixed
  • The committed action bundle is rebuilt and back in sync with its lock file (#​130). dist/index.js — the artifact action.yml actually runs, and therefore the only thing consumers of a released tag execute — still inlined dependency versions the lock file had moved past. Nothing rebundled after the lock-file maintenance PRs, and dist-check.yml triggers only on pull requests to release/** and main while every dependency PR targets dev, so the drift accumulated unseen. The refreshed bundle carries undici 6.28.0 (header-value validation before coercion, rejecting values produced by a crafted toString/Symbol.toPrimitive and an invalid content-type derived from a blob body, plus Content-Length-mismatch detection on partial responses) and @octokit/request 10.0.13 / @octokit/core 7.0.7.
  • dist/ tracks only the shipped artifact again (#​134). The TypeScript declaration byproducts under dist/src/ have been gitignored since #​70, but the v0.3.0 finalize commit re-added them — the vig-os/devkit#1159 bug, in which the release step walked a bare dist directory path and force-added every file it found without consulting .gitignore. devkit fixed that upstream, but the tracked residue survived here. Each .d.ts.map embeds an absolute sourceRoot pointing at the CI runner's checkout path, so a rebuild anywhere else reported six modified files and the "deterministic across checkout locations" property that dist-check.yml and release-extension.yml both rely on held only by coincidence of build location. git rm -r --cached dist/src clears it: dist/index.js and dist/package.json are once again the only tracked paths, just bundle leaves a clean tree on any machine, and the finalize commit no longer writes runner paths into each release tag.
vig-os/sync-issues-action (vig-os/sync-issues-action)

v0.5.0

Compare Source

Added
  • client-id input as the preferred GitHub App credential (#​168)
    • Forwarded to createAppAuth exactly as app-id is; setting both inputs fails with an explicit error
Changed
  • Renovate: update tsx from 4.23.7 to 4.23.11 (#​169)
Deprecated
  • app-id input (#​168)
    • Still works unchanged, but emits a runtime deprecation warning; use client-id instead

v0.4.1

Compare Source

Changed
  • Renovate dependency update (#​162)
    • Update @typescript-eslint/eslint-plugin from 8.65.0 to 8.66.0
    • Update @typescript-eslint/parser from 8.65.0 to 8.66.0
    • Update globals from 17.8.0 to 17.9.0
    • Update tsx from 4.23.1 to 4.23.7
    • Update typescript-eslint from 8.65.0 to 8.66.0
  • Renovate: update @octokit/auth-app from 8.2.0 to 8.3.0 (#​159)
  • Renovate: update actions/attest from v4.2.0 to v4.2.2 (#​158)
  • Renovate: update globals from 17.7.0 to 17.8.0 (#​155)
  • Renovate: update typescript from ^5.3.2 to ^6.0.0 (#​150)
  • Renovate dependency update (#​148)
    • Update @typescript-eslint/eslint-plugin from 8.64.0 to 8.65.0
    • Update @typescript-eslint/parser from 8.64.0 to 8.65.0
    • Update eslint from 10.7.0 to 10.8.0
    • Update prettier from 3.9.5 to 3.9.6
    • Update ts-jest from 29.4.11 to 29.4.12
    • Update typescript-eslint from 8.64.0 to 8.65.0
  • Renovate: update astral-sh/setup-uv from v8.3.2 to v9.0.0 (#​151)
  • Renovate dependency update (#​149)
    • Update actions/attest from v4.1.1 to v4.2.0
    • Update actions/checkout from v7.0.0 to v7.0.1
    • Update ossf/scorecard-action from v2.4.3 to v2.4.4
  • Renovate: update github/codeql-action from 7188fc3 to e4fba86 (#​147)
  • Adopt vigOS devkit 1.4.0 (#​142)
    • Re-scaffold from devkit 1.3.1 to 1.4.0 (direnv mode); pin the vigos flake input to ?ref=1.4.0 and re-lock flake.lock
    • Managed workflows adopt the devkit-owned zizmor security baseline (new zizmor.yml) and its upstream fixes: persist-credentials: false on the read-only checkouts (ci.yml resolve/lint/test/dependency-review, codeql.yml, renovate-changelog-build.yml, sync-issues.yml) and the sync-main-to-dev.yml template-injection fix (release-app token moved to step env:) (vig-os/devkit#1182)
    • Managed ci.yml toolchain jobs (lint, test, commit-checks, summary) route runs-on through the new resolve-toolchain runner-json output driven by the optional .vig-os DEVKIT_CI_RUNNER key; absent here, so the jobs keep ubuntu-24.04 (vig-os/devkit#1173)
    • direnv CI toolchain now forwards the flake shellHook environment to GITHUB_ENV (vig-os/devkit#1180) and the base justfile ships a with-native-libs recipe for uvx native wheels (vig-os/devkit#1181)
  • Adopt vigOS devkit 1.3.1 (#​138)
    • Re-scaffold from devkit 1.3.0 to 1.3.1 (direnv mode); pin the vigos flake input to ?ref=1.3.1 and re-lock flake.lock (previously floated on the devkit default branch)
    • CodeQL push-to-main paths: filter now renders the Node globs natively (**.ts, **.js, **.mjs, **.cjs, .github/workflows/**), retiring the hand patch (vig-os/devkit#1142)
  • Move build-provenance attestation into the release-extension seam (#​138)
    • The SLSA build-provenance attestation of dist/index.js now runs as a final-release job in the consumer-owned release-extension.yml, using the token ceiling devkit 1.3.1 grants the seam (vig-os/devkit#1144); the standalone attest-release.yml tag-push workflow is removed (resolves the deviation tracked in #​106)
Fixed
  • Refresh the committed dist/ bundle and untrack stray tsc emit (#​164)
    • Rebuild dist/index.js so the shipped bundle picks up the runtime/toolchain bumps that landed on dev without a rebundle (@octokit/auth-app 8.3.0, TypeScript 6)
    • git rm --cached the gitignored-but-tracked dist/src/** and dist/tsconfig.tsbuildinfo re-added by the v0.4.0 finalize; the devkit 1.6.0 finalize (vig-os/devkit#1159) no longer force-adds them, so the untrack now persists
    • Align the stale package.json version (0.2.2) with the release train

Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • "before 9am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from c-vigo as a code owner August 7, 2026 14:20
@c-vigo
c-vigo enabled auto-merge August 7, 2026 14:21
@c-vigo
c-vigo merged commit 732aba3 into dev Aug 7, 2026
13 checks passed
@c-vigo
c-vigo deleted the renovate/github-actions-(minor-and-patch) branch August 7, 2026 14:30
@renovate

renovate Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

c-vigo added a commit that referenced this pull request Aug 7, 2026
…back (#1373)

## Description

Switches the last two numeric-App-ID holdouts to Client-ID credentials,
per the
2026-08-07 credential audit (#1365). Nothing in the auth path is
numerically
load-bearing — GitHub accepts either the App ID or the Client ID as the
App JWT
issuer — so the numeric `*_APP_ID` org secrets can be retired (#1366)
once
every consumer is on this release.

## Type of Change

- [x] `feat` -- New feature
- [x] `test` -- Adding or updating tests
- [x] `docs` -- Documentation only

### Modifiers

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

Deliberately **not** breaking: the rename rides a minor via a
one-release
fallback (see below), per the triage decision on #1365.

## Changes Made

- **`sync-issues.yml` (both copies — devkit's own and the stamped
scaffold):**
  `app-id: COMMIT_APP_ID` → `client-id: COMMIT_APP_CLIENT_ID`, using the
  `client-id` input added in `vig-os/sync-issues-action` v0.5.0
(vig-os/sync-issues-action#168; the pin was already bumped to v0.5.0 by
#1368). Devkit's own copy is included beyond the issue's stated scope
because
it was the last live `COMMIT_APP_ID` reference in vig-os — without it
the
secret cannot be retired and the ADR row would be wrong. Note: exo-pet
never
had a `COMMIT_APP_ID` org secret, so the stamped `app-id` line was
passing an
  **empty value** there — this also closes that live gap.
- **`devkit-upgrade.yml` scaffold:** preflight gates on
`DEVKIT_UPGRADE_APP_CLIENT_ID` **or** the legacy `DEVKIT_UPGRADE_APP_ID`
(fail-fast only when both are absent), emits a deprecation `::warning::`
on
  the legacy path pointing at #1366, and mints via
`client-id: ${{ secrets.DEVKIT_UPGRADE_APP_CLIENT_ID ||
secrets.DEVKIT_UPGRADE_APP_ID }}`.
A consumer that upgrades before its org grew the new secret keeps
working —
the bricking hazard called out in #1365's sequencing section is gone.
The
pinned `create-github-app-token@bcd2ba49…` (v3) already supports
`client-id`
(it is used with `client-id` elsewhere in the same scaffold) — no bump
needed.
- **Tests:** new `tests/test_workflow_client_id_credentials.py` pins the
credential contract for both sync-issues copies (client-id input, no
app-id,
  SHA pin ≥ v0.5.0, no numeric secret reference);
`tests/test_workflow_devkit_upgrade.py` asserts the new secret name, the
`client-id` mint with the exact fallback expression, and the deprecation
warning. TDD: failing tests committed first (78508ca), implementation
second
  (49be474).
- **Docs:** `RELEASE_CYCLE.md` COMMIT_APP row, `DOWNSTREAM_RELEASE.md`
required-secrets list (repo + stamped copy), and the ADR secrets table
no
longer state a numeric App ID is required. The "rename the
DEVKIT_UPGRADE
entry" step from the issue was a no-op — no such entry exists in those
docs.

Acceptance note: "no numeric `*_APP_ID` reference remains in
`assets/workspace/`" holds for `COMMIT_APP_ID`; the two remaining
`DEVKIT_UPGRADE_APP_ID` references are the deliberate one-release
fallback,
removed by #1366. Hits in the stamped `.devcontainer/CHANGELOG.md` are
immutable released-entry history and exempt.

## Changelog Entry

### Changed

- **Stamped workflows authenticate with App Client IDs — new org secret
required** ([#1365](#1365))
- **Action required before upgrading:** create a
`DEVKIT_UPGRADE_APP_CLIENT_ID`
secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`).
**Create the secret first, then upgrade** — config-first, always. For
this
    release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a
fallback (with a deprecation warning), so an upgrade that races the
secret
    is not bricked; the fallback is removed in a future release
    ([#1366](#1366)).
- `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the
`client-id`
    input added in `vig-os/sync-issues-action` v0.5.0 — the numeric
`COMMIT_APP_ID` secret is no longer read anywhere and can be retired
once
    every consumer is on this release.
  - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its
    preflight gate and `create-github-app-token` mint.
- Nothing in the auth path is numerically load-bearing: GitHub accepts
either
    the App ID or the Client ID as the App JWT issuer.

## Testing

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

### Manual Testing Details

- RED → GREEN: the 6 new/changed assertions failed before the workflow
edits,
  24/24 pass after.
- Full pytest: 1253 passed; the 4 failures
(`test_uv_installed`, `test_manifest_files`,
`test_smoke_test_flag_deploys_assets`,
`test_github_cli_authentication`) reproduce identically on clean
`origin/dev`
in a separate worktree — stale local image / environment, not this
change.
- `just precommit` (full suite, all files): green.
- `just test-bats`: 575 ok; the 9 `IN_CONTAINER` hook-guard failures
reproduce
identically on clean `origin/dev`. All five rendered-workflow actionlint
  tests (#995) pass over the changed templates.
- Both org secret sets verified live: `DEVKIT_UPGRADE_APP_CLIENT_ID` and
  `COMMIT_APP_CLIENT_ID` exist in `vig-os` and `exo-pet`.

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

Release-note reminder for the train: the ordering rule (create
`DEVKIT_UPGRADE_APP_CLIENT_ID` before upgrading) must appear prominently
in the
release notes per the acceptance criteria — the changelog entry above is
written to be lifted verbatim. Old-scaffold repos vig-os/h5v#6 and
vig-os/scitadel#209 need their bumps before they benefit;
vig-os/tessera#364
migrates independently.

Refs: #1365
vig-os-release-app Bot added a commit to vig-os/devkit-smoke-test that referenced this pull request Aug 8, 2026
# Release 1.7.0

This PR prepares release 1.7.0 for merge to main.

## [1.7.0] - TBD

### Added

- **`CODE_OF_CONDUCT.md`**
([#1372](vig-os/devkit#1372))
- Contributor Covenant 2.1 at the repository root. Enforcement reports
go
through the same [GitHub Private Vulnerability
Reporting](https://github.com/vig-os/devkit/security/advisories/new)
channel `SECURITY.md` already designates, so there is one private route
to
    the maintainers rather than two.

### Changed

- **Smoke-test deploy of 1.7.0** -- automated devcontainer
release-pipeline validation; no functional changes
- **Stamped workflows authenticate with App Client IDs — new org secret
required** ([#1365](vig-os/devkit#1365))
- **Action required before upgrading:** create a
`DEVKIT_UPGRADE_APP_CLIENT_ID`
secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`).
**Create the secret first, then upgrade** — config-first, always. For
this
    release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a
fallback (with a deprecation warning), so an upgrade that races the
secret
    is not bricked; the fallback is removed in a future release
    ([#1366](vig-os/devkit#1366)).
- `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the
`client-id`
    input added in `vig-os/sync-issues-action` v0.5.0 — the numeric
`COMMIT_APP_ID` secret is no longer read anywhere and can be retired
once
    every consumer is on this release.
  - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its
    preflight gate and `create-github-app-token` mint.
- Nothing in the auth path is numerically load-bearing: GitHub accepts
either
    the App ID or the Client ID as the App JWT issuer.
- **`CONTRIBUTE.md` renamed to `CONTRIBUTING.md`**
([#1372](vig-os/devkit#1372))
- GitHub's community profile only recognises `CONTRIBUTING.md`, so the
guide
was invisible to it and no "Contributing guidelines" link appeared on
new
    issues and pull requests.
  - The file is generated, so the rename covers the whole chain:
`docs/templates/CONTRIBUTE.md.j2` ->
`docs/templates/CONTRIBUTING.md.j2`,
`docs/generate.py`, the pymarkdown exclude in `.pre-commit-config.yaml`,
the
    `expected_doc` guard in `release.yml`, the `README.md` link (and its
template), `docs/NIX.md`, and the `docs.yml` issue template. Historical
records — released changelog entries, `docs/issues/`,
`docs/pull-requests/`
    — keep the old name.
- **Renovate: update `github/codeql-action` from `d1ba80a` to
`5595cca`** ([#1367](vig-os/devkit#1367))
- **Renovate dependency update**
([#1368](vig-os/devkit#1368))
  - Update `actions/attest` from `v4.2.1` to `v4.2.2`
  - Update `actions/attest-build-provenance` from `v4.1.1` to `v4.2.2`
  - Update `vig-os/commit-action` from `v0.3.1` to `v0.3.2`
  - Update `vig-os/sync-issues-action` from `v0.4.0` to `v0.5.0`

### Fixed

- **Floating tags move via `git push` — first release of a new level no
longer fails** ([#1377](vig-os/devkit#1377))
- The scaffolded `promote-release.yml` created brand-new floating levels
via
`POST /git/refs`, the one ref-mutation path where GitHub does not honor
the
Release App's Integration ruleset bypass for the `creation` rule — so
the
first release of every new `<prefix>X` / `<prefix>X.Y` level died with
the
opaque `Reference does not exist` (HTTP 422) despite the App holding an
`always` bypass on the whole Tag ruleset (hit on `commit-action` 0.3.1
and
    `sync-issues-action` 0.5.0).
- `move_tag()` now force-pushes `TARGET_SHA:refs/tags/<name>` over git
with
the App installation token plumbed explicitly into the push URL
(checkout's
persisted credentials are the default `github.token`, which has no
bypass)
— the exact path `release-publish.yml` already uses to create release
tags,
empirically bypassed fine. Create and move collapse into one branch-free
    path; the idempotence read-and-skip guard and the loud `::error` +
MIGRATION.md fallback from #1158 stay, with the moot "grant a creation
bypass" remediation rewritten (the bypass already exists — the REST
create
    path simply ignores it).
- **Flake pymarkdown excludes follow the `CONTRIBUTING.md` rename**
([#1380](vig-os/devkit#1380))
- `nix/hooks.nix` (runner, check, and consumer profiles) and the
scaffold
template `assets/workspace/.pre-commit-config.yaml` still excluded the
removed `CONTRIBUTE.md`, drifting from the root
`.pre-commit-config.yaml`
updated in [#1372](vig-os/devkit#1372); the
    renamed contributing guide was no longer excluded from pymarkdown.
- **A no-diff devkit upgrade no longer strands its adoption issue**
([#1347](vig-os/devkit#1347))
- The scaffolded `devkit-upgrade.yml` opens the adoption issue *before*
    `install.sh --force` runs (the branch name embeds its number and the
in-shell commit needs the `Refs:` line), so a `workflow_dispatch`
against an
already-current consumer created an issue, found zero diff, skipped
publish
and PR, and exited green — leaving an issue open with no PR ever
attached.
Every credential probe or repair run against a current consumer left one
    behind.
- The find-or-create step now reports which branch it took, and a final
cleanup step on the no-diff path **closes an issue this run created**
(with
a "no diff at `<version>`" comment) while **leaving a reused one open**
— a
mid-train `rc1 → rc2 → final` issue can legitimately see a no-op bump,
and
    auto-closing it would be wrong. Comment only in that case.
- **Upgrades prune scaffold paths retired since the consumer's pin**
([#1348](vig-os/devkit#1348))
- `install.sh --force` regenerated what the *current* scaffold manages
and
pruned what the current mode / workflow model / feature set excludes —
but a
path an **old** devkit shipped and a later one **retired** was claimed
by
neither and rode along through every upgrade. Going 0.3.4 → 1.6.0
preserved
    `.cursor/`, `.github/actions/resolve-image/`,
    `.github/workflows/renovate-changelog.yml` and `.hadolint.yaml`. The
workflow file is the sharp one: left in place it is live, duplicates the
`renovate-changelog-build`/`-commit` pair that replaced it, and calls
the
pruned `resolve-image` action — so it breaks at its next trigger rather
    than at upgrade time.
- A cumulative retired-paths manifest (version → paths that version
stopped
shipping) is now consulted against the pin `.vig-os` carried **before**
the
run — the legacy `DEVCONTAINER_VERSION` key included, since repos still
on
it are precisely the oldest. Each prune is announced on stdout and
listed
    under `DELETED` in the `--force --preview` report.
- The prune is gated on that pin: a repo pinned at or past the retiring
version was never shipped the path, so an identically named `.cursor/`
or
`.hadolint.yaml` there is the consumer's own and is left untouched. A
repo
    that already upgraded past a retirement before this fix keeps its
leftovers — a one-time manual cleanup, documented in
`docs/MIGRATION.md`.
- **Preserved-file diffs show template content, not a symlink
typechange** ([#1349](vig-os/devkit#1349))
- A `--force` upgrade prints the divergence between each preserved
consumer
    file and the incoming template so the consumer can fold in template
    evolution deliberately. In the shipped image the devkit assets are
`/nix/store` symlinks, so `git diff --no-index` compared the *link*
against
the consumer's regular file and rendered a typechange — "symlink deleted
/
file added", with the store path as its only line — instead of the
content
    diff. Seen on the `vig-os/scitadel` 0.3.3 → 1.6.0 migration.
- The template side is now dereferenced before the comparison, so the
hunk
shows the actual template changes. A template symlink whose target does
not
resolve is still treated as a missing template (no diff, no error), and
the
    diff header keeps naming the file rather than an opaque store path.
- **CI dev-shell PATH keeps its priority order**
([#1351](vig-os/devkit#1351))
- The direnv-mode `setup-devkit-toolchain` wrote the dev-shell's
`/nix/store`
bin dirs to `GITHUB_PATH` highest-priority-first, but the runner
*prepends*
every line in file order — so the following steps ran with the dev-shell
PATH exactly reversed. The dirs are now written reversed, and the
per-line
    prepend rebuilds the dev-shell order verbatim.
- Only multi-store-path toolchains were affected: with one tool per
store
path the order is unobservable. A stdenv toolchain is not — the raw
`gcc`
shadowed `gcc-wrapper` (likewise `binutils`) and C builds failed with
the
    unwrapped-compiler signature `ld.bfd: cannot find Scrt1.o` /
    `cannot find -lc`, while the same build stayed green locally under
    `nix develop` (first hit: `vig-os/h5v`'s vendored HDF5 build).
- **shellHook env forward no longer ships `UV_PYTHON` to CI**
([#1353](vig-os/devkit#1353))
- Two correct mechanisms in the direnv-mode `setup-devkit-toolchain`
cancelled
out. The step drops the bare Nix CPython from the exported `PATH` and
forwards `UV_PYTHON_DOWNLOADS_JSON_URL` so `uv sync` builds the runner
venv
from a downloaded manylinux CPython (#698/#703/#729) — but the shellHook
env
forward (#1180) diffs the dev-shell env against the ambient one and
shipped
every added var, `mkProjectShell`'s `UV_PYTHON` store-path pin included.
    `UV_PYTHON` beats PATH resolution, so the venv was built on the Nix
interpreter regardless and any C-extension wheel then failed under the
Nix
loader on Ubuntu with `ImportError: libstdc++.so.6: cannot open shared
object file`. Existing direnv Python consumers were green only because
their
    test dependencies are pure-Python; first live hit
    `exo-pet/playground-carlos#9` (numpy 2.4.4).
  - `UV_PYTHON` and `UV_PYTHON_DOWNLOADS` are now denied by name in that
forward's denylist. Both are Nix-host-only by construction, and the
second
    is required for the first: on its own, a forwarded
`UV_PYTHON_DOWNLOADS=never` would forbid the very managed-CPython
download
the `_JSON_URL` forward exists to enable, turning the wheel
`ImportError`
into "no interpreter found". The patterns are exact, so the deliberate
`UV_PYTHON_DOWNLOADS_JSON_URL` forward is untouched — now pinned by a
test.
- Audit of the other vars `mkProjectShell` puts in the dev-shell env:
kept
`BATS_LIB_PATH` (a store path, but the store is realized on the runner
and
`bats` runs from the dev-shell `PATH` there), `NVIM_APPNAME` (portable
config) and `UV_PYTHON_DOWNLOADS_JSON_URL`. `LD_LIBRARY_PATH` is
exported
only behind the shellHook's own `/etc/NIXOS` guard, so it never reaches
a
hosted runner and is the correct value on a NixOS self-hosted one — left
    forwardable. Nothing else the builder sets is host-specific.
- **shellHook env forward stops leaking Nix-host state**
([#1358](vig-os/devkit#1358))
- `PYTHONPATH` is now forwarded **component-wise**: the direnv-mode
preamble
splits it on `:`, drops every `/nix/store` entry and forwards what
remains,
skipping the var when nothing is left. With `python` in the dev-shell
    `packages` the nixpkgs setup hook fills `PYTHONPATH` with store
site-packages dirs; forwarded whole, those Nix-built `cp3xx` packages
joined
    the `sys.path` of the *downloaded* manylinux CPython — same ABI tag,
    importable, the same mixed-loader shape as #1353's
    `ImportError: libstdc++.so.6`. A blanket deny was not an option: a
`shellHook` exporting `PYTHONPATH=$PWD/src` is a legitimate #1180 use
case
    and still arrives on CI intact.
  - The denylist gained the stdenv machinery it was still missing —
`_PYTHON_HOST_PLATFORM`, `_PYTHON_SYSCONFIGDATA_NAME`,
`DETERMINISTIC_BUILD`,
`CONFIG_SHELL`, the `do[A-Z]*` build flags (`doCheck`, `doInstallCheck`,
`doDist`; the symmetric partner of the already-denied `dont*`) — and the
stdenv cc/binutils hook names `AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB
READELF SIZE STRINGS STRIP`. stdenv sets those toolchain names in
**every**
dev shell as bare commands (`CC=gcc`), so every direnv consumer was
shipping
them to its whole CI job. Inside dev-shell context the wrapped toolchain
    already wins via `PATH` after #1351; for a step that runs outside it
    (`setup-python` plus `pip` building a C extension) a forwarded `CC`
resolving to the Nix wrapper recreates the #1353 mixed-toolchain hazard.
    This deliberately supersedes the `shellHook` `CC`/`CXX` forward that
vig-os/h5v used pre-#1351 — #1351 removed the need for it. The `native`
module's generic `CC=cc`/`CXX=c++` exports likewise no longer reach CI;
they
exist so build backends fall back to `PATH` discovery (#879/#893), which
the
forwarded dev-shell `PATH` still provides. A CI step that needs a
specific
compiler should set it in the workflow. Patterns are case-sensitive, so
    `DOCKER_*`/`DO_SOMETHING` are unaffected.
- `IN_NIX_SHELL` is denied too: forwarding `IN_NIX_SHELL=impure` made
every
    subsequent CI step claim to be running inside a nix shell.
- The related NixOS-self-hosted-runner gap in the CPython `PATH` filter
is
    tracked separately in
    [#1360](vig-os/devkit#1360).
- **Python consumers work on NixOS self-hosted runners**
([#1360](vig-os/devkit#1360))
- The direnv-mode preamble dropped the bare Nix CPython from the
exported
`PATH` whenever `pyproject.toml` was present — unconditionally. That is
right on a hosted FHS runner, where `uv` downloads a managed manylinux
    CPython (#698/#703/#729), and wrong by construction on a **NixOS**
self-hosted runner, where such a download cannot execute at all. #1353
made
the gap reachable: the `UV_PYTHON` pin it stopped forwarding was what
had
accidentally masked it. No consumer matched the combination yet (the one
    NixOS-runner consumer has no `pyproject.toml`), so this was a latent
    landmine rather than a live break.
- The step now probes the runner's own OS via `/etc/NIXOS` — the same
marker
`mkProjectShell`'s `shellHook` uses to gate `LD_LIBRARY_PATH` — and
takes
the matching branch. On a NixOS runner the `pyproject.toml`-gated
CPython
exclusion is skipped, so the store interpreter stays on `PATH`, **and**
`mkProjectShell`'s `UV_PYTHON` / `UV_PYTHON_DOWNLOADS=never` pins are
forwarded instead of denied. Both halves are needed: `PATH` alone leaves
`uv`'s python-preference free to prefer a managed download, and the pins
are what make it use the Nix interpreter deterministically. The podman
exclusion stays unconditional, and `UV_PYTHON_DOWNLOADS_JSON_URL` is
still
    forwarded (harmless once the pin wins).
  - On every non-NixOS runner the behavior is byte-identical to before,
    #1353's denial of the same two pins included.
- **Prefixed-tag releases publish their changelog notes**
([#1355](vig-os/devkit#1355))
- In a consumer that sets `DEVKIT_TAG_PREFIX`, the release pipeline
wrote one
changelog heading and read back another. `release-core.yml` finalizes
with
`prepare-changelog finalize … --tag-prefix "$TAG_PREFIX"`, which
composes the
prefix into the heading (`## [v1.0.0](…/releases/tag/v1.0.0) - …`),
while
`release-publish.yml` extracted the notes by matching `## [$VERSION]` on
the
    *bare* semver — a match that can never land on a prefixed heading.
- It failed soft: the empty extraction hit the fallback path, so the
release
was published with the literal body `No changelog notes found for
X.Y.Z`.
The tag and the release object were both correct and nothing went red,
which
is why it survived (observed releasing `vig-os/org-config` `v1.0.0`).
- The extraction step now takes `tag_prefix` and accepts the composed
tag
`## [${TAG_PREFIX}${VERSION}]` alongside the bare one. Both are needed:
a
candidate publishes *before* the finalize step (which is gated on a
final
`release_kind`), so its heading is still the unprefixed `## [X.Y.Z] -
TBD` that
`prepare` wrote — matching only the composed tag would have moved the
empty
notes onto the candidate path. Only prefixed repos were affected; an
empty
    prefix makes the two forms the same string.
- **MIGRATION.md env-forward denylist prose replaced by an SSoT
pointer** ([#1362](vig-os/devkit#1362))
- The "direnv mode: `shellHook` environment forwarding" section
enumerated the
denylist by hand and had fallen behind the shipped action: it predated
the
`UV_PYTHON`/`UV_PYTHON_DOWNLOADS` denial (#1353), the stdenv additions
and
the cc/binutils hook names (#1358), and the NixOS-runner exception that
forwards those uv pins after all (#1360) — and its two-bullet shape
could
not express the `PYTHONPATH` store-component strip, which is a transform
    rather than a deny.
- The enumeration is replaced by a description of the denied
*categories* with
representative examples, the `PYTHONPATH` transform, and a pointer to
the
    `devkit_env_denied` function in the consumer's own
`.github/actions/setup-devkit-toolchain/action.yml` as the single source
of
    truth. The surrounding narrative is unchanged.
- **A cancelled CI job no longer leaves `Test Summary` green**
([#1371](vig-os/devkit#1371))
- `Test Summary` is the only required status check on `dev`, and it
flagged a
needed job only on `result == "failure"`. A job that was **cancelled** —
job
timeout, concurrency cancel, runner eviction, a manual "Cancel workflow"
—
produced no verdict at all, yet the aggregate printed "All executed test
suites passed" and exited 0, so a pull request whose CI never finished
was
    mergeable.
- All eight needed jobs now trip the gate on `cancelled` as well as
`failure`.
    `skipped` stays tolerated by design: `workflow_dispatch` takes a
    `test-suite` subset input that every job is gated on, and
    `commit-checks`/`dependency-review` are pull-request only.

### Security

- **Release tags are lightweight refs, so no unsigned object remains in
the release chain**
([#1370](vig-os/devkit#1370))
  - `release.yml` created the tag with `git tag -a` under
`vigOS Release Bot <[email protected]>`, producing an **annotated tag
object** whose tagger was permanently unverifiable — live tag `1.6.0`
reports `verification.reason: "unsigned"`. Signing it was never
reachable:
the tag is written under the Release **App** installation token and a
GitHub
App has no registrable GPG/SSH key, while the server-side `POST
/git/tags`
    route stores the payload verbatim without signing it either.
- The publish job now creates the tag as a plain `refs/tags/<version>`
ref at
the release commit (`POST /git/refs`). A lightweight tag has no tagger
and
no payload, so there is nothing left that can report `unsigned`, and the
commit the ref resolves to is the GitHub-verified release commit. The
candidate-collision guard and the "already tagged at the finalize SHA"
skip are unchanged; the now-unused `git-user-name` / `git-user-email`
dispatch inputs are removed from `release.yml` (`prepare-release.yml`,
which
    actually writes commits, keeps its own).
- **Consumer release tags are lightweight refs too — the scaffold stops
publishing unsigned tag objects**
([#1378](vig-os/devkit#1378))
  - The scaffold's `release-publish.yml` still created every consumer's
`X.Y.Z` tag with `git tag -a` under a GitHub App identity — an
**annotated
tag object** reporting `verification.reason: "unsigned"` forever, for
the
same unreachable-signature reasons as
[#1370](vig-os/devkit#1370).
The scaffold was internally inconsistent: `promote-release.yml` already
creates the *floating* tags (`vX`, `vX.Y`) as lightweight refs, while
the
    version tag — the one users pin and audit — was an unsigned object.
- The publish step now POSTs `refs/tags/<prefix><version>` straight at
the
    release commit (`POST /git/refs`). Preserved behaviours: the
`tag_already_exists` skip, the create-race verification (a lost race is
    accepted only when the existing ref already resolves to the release
commit), `TAG_PREFIX` composition
([#1044](vig-os/devkit#1044)),
and the tombstone diagnosis
([#1319](vig-os/devkit#1319))
— its signature match re-derived against the `POST /git/refs` HTTP 422
    rule-violation error shape.
- The dead `git_user_name` / `git_user_email` `workflow_call` inputs are
    removed from `release-publish.yml` and their pass-throughs from the
scaffold `release.yml` publish call; the scaffold's `git-user-name` /
`git-user-email` **dispatch** inputs stay — the rollback job still
writes
    commits with that identity.
- `promote-release.yml` and `docs/MIGRATION.md` keep the annotated-tag
peel
as backward compatibility for tags published by older scaffolds, with
    corrected wording. Existing annotated tags are left as they are
(forward-fix policy); the change reaches consumers on their next devkit
    upgrade.
- **Smoke-test orchestration gates the final release on a human approval
instead of self-approving**
([#1391](vig-os/devkit#1391))
- The dispatch listener approved its own release PR with the workflow
token,
    which the org now forbids (vig-os/org-config#122 sets
`can_approve_pull_request_reviews: false` org-wide) — the 1.7.0-rc3
smoke
    chain died at that step.
- The approve step is replaced by a kind-aware gate: candidate
dispatches
leave the PR unapproved (approval gates the final release only, matching
the deferred-approval model of
[#902](vig-os/devkit#902)),
while the final dispatch polls up to 30 minutes for a human to approve
the
freshly created release PR before triggering the final release workflow,
    and fails with re-run guidance if nobody does. Every dispatch still
    recreates the smoke release branch and PR from scratch, by design.
- **vulnix register: except CVE-2026-66032, completing the libssh2
malicious-server batch**
([#1386](vig-os/devkit#1386))
  - The 1.7.0-rc1 Vulnix CVE Gate blocked on CVE-2026-66032 (CVSS 8.8, a
double-free in libssh2's `sftp_open()`), the fourth member of the
upstream
batch whose siblings CVE-2026-66033/66034/66035 were already excepted in
the 2026-09-02 block
([#1327](vig-os/devkit#1327)) —
it was absent from the findings when that block was triaged on
2026-08-04
    and surfaced in the feed later.
- Same closure provenance and reachability as its siblings: libssh2
enters
    the image only as curl's scp/sftp backend, and the flaw requires an
authenticated SFTP session against a malicious SSH server. Excepted in
the
same 2026-09-02 block; the whole block drops on a nixpkgs rev-advance
once
    the merged upstream patches (NixOS/nixpkgs#547491) reach the pinned
    nixos-26.05 channel via the still-open staging-26.05 backport.
vig-os-release-app Bot added a commit that referenced this pull request Aug 8, 2026
# [Release 1.7.0](https://github.com/vig-os/devkit/releases/tag/1.7.0) -
2026-08-07

This PR prepares release 1.7.0 for merge to main.

## [1.7.0](https://github.com/vig-os/devkit/releases/tag/1.7.0) -
2026-08-07

### Added

- **`CODE_OF_CONDUCT.md`**
([#1372](#1372))
- Contributor Covenant 2.1 at the repository root. Enforcement reports
go
through the same [GitHub Private Vulnerability
Reporting](https://github.com/vig-os/devkit/security/advisories/new)
channel `SECURITY.md` already designates, so there is one private route
to
    the maintainers rather than two.

### Changed

- **Stamped workflows authenticate with App Client IDs — new org secret
required** ([#1365](#1365))
- **Action required before upgrading:** create a
`DEVKIT_UPGRADE_APP_CLIENT_ID`
secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`).
**Create the secret first, then upgrade** — config-first, always. For
this
    release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a
fallback (with a deprecation warning), so an upgrade that races the
secret
    is not bricked; the fallback is removed in a future release
    ([#1366](#1366)).
- `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the
`client-id`
    input added in `vig-os/sync-issues-action` v0.5.0 — the numeric
`COMMIT_APP_ID` secret is no longer read anywhere and can be retired
once
    every consumer is on this release.
  - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its
    preflight gate and `create-github-app-token` mint.
- Nothing in the auth path is numerically load-bearing: GitHub accepts
either
    the App ID or the Client ID as the App JWT issuer.
- **`CONTRIBUTE.md` renamed to `CONTRIBUTING.md`**
([#1372](#1372))
- GitHub's community profile only recognises `CONTRIBUTING.md`, so the
guide
was invisible to it and no "Contributing guidelines" link appeared on
new
    issues and pull requests.
  - The file is generated, so the rename covers the whole chain:
`docs/templates/CONTRIBUTE.md.j2` ->
`docs/templates/CONTRIBUTING.md.j2`,
`docs/generate.py`, the pymarkdown exclude in `.pre-commit-config.yaml`,
the
    `expected_doc` guard in `release.yml`, the `README.md` link (and its
template), `docs/NIX.md`, and the `docs.yml` issue template. Historical
records — released changelog entries, `docs/issues/`,
`docs/pull-requests/`
    — keep the old name.
- **Renovate: update `github/codeql-action` from `d1ba80a` to
`5595cca`** ([#1367](#1367))
- **Renovate dependency update**
([#1368](#1368))
  - Update `actions/attest` from `v4.2.1` to `v4.2.2`
  - Update `actions/attest-build-provenance` from `v4.1.1` to `v4.2.2`
  - Update `vig-os/commit-action` from `v0.3.1` to `v0.3.2`
  - Update `vig-os/sync-issues-action` from `v0.4.0` to `v0.5.0`

### Fixed

- **Floating tags move via `git push` — first release of a new level no
longer fails** ([#1377](#1377))
- The scaffolded `promote-release.yml` created brand-new floating levels
via
`POST /git/refs`, the one ref-mutation path where GitHub does not honor
the
Release App's Integration ruleset bypass for the `creation` rule — so
the
first release of every new `<prefix>X` / `<prefix>X.Y` level died with
the
opaque `Reference does not exist` (HTTP 422) despite the App holding an
`always` bypass on the whole Tag ruleset (hit on `commit-action` 0.3.1
and
    `sync-issues-action` 0.5.0).
- `move_tag()` now force-pushes `TARGET_SHA:refs/tags/<name>` over git
with
the App installation token plumbed explicitly into the push URL
(checkout's
persisted credentials are the default `github.token`, which has no
bypass)
— the exact path `release-publish.yml` already uses to create release
tags,
empirically bypassed fine. Create and move collapse into one branch-free
    path; the idempotence read-and-skip guard and the loud `::error` +
MIGRATION.md fallback from #1158 stay, with the moot "grant a creation
bypass" remediation rewritten (the bypass already exists — the REST
create
    path simply ignores it).
- **Flake pymarkdown excludes follow the `CONTRIBUTING.md` rename**
([#1380](#1380))
- `nix/hooks.nix` (runner, check, and consumer profiles) and the
scaffold
template `assets/workspace/.pre-commit-config.yaml` still excluded the
removed `CONTRIBUTE.md`, drifting from the root
`.pre-commit-config.yaml`
updated in [#1372](#1372); the
    renamed contributing guide was no longer excluded from pymarkdown.
- **A no-diff devkit upgrade no longer strands its adoption issue**
([#1347](#1347))
- The scaffolded `devkit-upgrade.yml` opens the adoption issue *before*
    `install.sh --force` runs (the branch name embeds its number and the
in-shell commit needs the `Refs:` line), so a `workflow_dispatch`
against an
already-current consumer created an issue, found zero diff, skipped
publish
and PR, and exited green — leaving an issue open with no PR ever
attached.
Every credential probe or repair run against a current consumer left one
    behind.
- The find-or-create step now reports which branch it took, and a final
cleanup step on the no-diff path **closes an issue this run created**
(with
a "no diff at `<version>`" comment) while **leaving a reused one open**
— a
mid-train `rc1 → rc2 → final` issue can legitimately see a no-op bump,
and
    auto-closing it would be wrong. Comment only in that case.
- **Upgrades prune scaffold paths retired since the consumer's pin**
([#1348](#1348))
- `install.sh --force` regenerated what the *current* scaffold manages
and
pruned what the current mode / workflow model / feature set excludes —
but a
path an **old** devkit shipped and a later one **retired** was claimed
by
neither and rode along through every upgrade. Going 0.3.4 → 1.6.0
preserved
    `.cursor/`, `.github/actions/resolve-image/`,
    `.github/workflows/renovate-changelog.yml` and `.hadolint.yaml`. The
workflow file is the sharp one: left in place it is live, duplicates the
`renovate-changelog-build`/`-commit` pair that replaced it, and calls
the
pruned `resolve-image` action — so it breaks at its next trigger rather
    than at upgrade time.
- A cumulative retired-paths manifest (version → paths that version
stopped
shipping) is now consulted against the pin `.vig-os` carried **before**
the
run — the legacy `DEVCONTAINER_VERSION` key included, since repos still
on
it are precisely the oldest. Each prune is announced on stdout and
listed
    under `DELETED` in the `--force --preview` report.
- The prune is gated on that pin: a repo pinned at or past the retiring
version was never shipped the path, so an identically named `.cursor/`
or
`.hadolint.yaml` there is the consumer's own and is left untouched. A
repo
    that already upgraded past a retirement before this fix keeps its
leftovers — a one-time manual cleanup, documented in
`docs/MIGRATION.md`.
- **Preserved-file diffs show template content, not a symlink
typechange** ([#1349](#1349))
- A `--force` upgrade prints the divergence between each preserved
consumer
    file and the incoming template so the consumer can fold in template
    evolution deliberately. In the shipped image the devkit assets are
`/nix/store` symlinks, so `git diff --no-index` compared the *link*
against
the consumer's regular file and rendered a typechange — "symlink deleted
/
file added", with the store path as its only line — instead of the
content
    diff. Seen on the `vig-os/scitadel` 0.3.3 → 1.6.0 migration.
- The template side is now dereferenced before the comparison, so the
hunk
shows the actual template changes. A template symlink whose target does
not
resolve is still treated as a missing template (no diff, no error), and
the
    diff header keeps naming the file rather than an opaque store path.
- **CI dev-shell PATH keeps its priority order**
([#1351](#1351))
- The direnv-mode `setup-devkit-toolchain` wrote the dev-shell's
`/nix/store`
bin dirs to `GITHUB_PATH` highest-priority-first, but the runner
*prepends*
every line in file order — so the following steps ran with the dev-shell
PATH exactly reversed. The dirs are now written reversed, and the
per-line
    prepend rebuilds the dev-shell order verbatim.
- Only multi-store-path toolchains were affected: with one tool per
store
path the order is unobservable. A stdenv toolchain is not — the raw
`gcc`
shadowed `gcc-wrapper` (likewise `binutils`) and C builds failed with
the
    unwrapped-compiler signature `ld.bfd: cannot find Scrt1.o` /
    `cannot find -lc`, while the same build stayed green locally under
    `nix develop` (first hit: `vig-os/h5v`'s vendored HDF5 build).
- **shellHook env forward no longer ships `UV_PYTHON` to CI**
([#1353](#1353))
- Two correct mechanisms in the direnv-mode `setup-devkit-toolchain`
cancelled
out. The step drops the bare Nix CPython from the exported `PATH` and
forwards `UV_PYTHON_DOWNLOADS_JSON_URL` so `uv sync` builds the runner
venv
from a downloaded manylinux CPython (#698/#703/#729) — but the shellHook
env
forward (#1180) diffs the dev-shell env against the ambient one and
shipped
every added var, `mkProjectShell`'s `UV_PYTHON` store-path pin included.
    `UV_PYTHON` beats PATH resolution, so the venv was built on the Nix
interpreter regardless and any C-extension wheel then failed under the
Nix
loader on Ubuntu with `ImportError: libstdc++.so.6: cannot open shared
object file`. Existing direnv Python consumers were green only because
their
    test dependencies are pure-Python; first live hit
    `exo-pet/playground-carlos#9` (numpy 2.4.4).
  - `UV_PYTHON` and `UV_PYTHON_DOWNLOADS` are now denied by name in that
forward's denylist. Both are Nix-host-only by construction, and the
second
    is required for the first: on its own, a forwarded
`UV_PYTHON_DOWNLOADS=never` would forbid the very managed-CPython
download
the `_JSON_URL` forward exists to enable, turning the wheel
`ImportError`
into "no interpreter found". The patterns are exact, so the deliberate
`UV_PYTHON_DOWNLOADS_JSON_URL` forward is untouched — now pinned by a
test.
- Audit of the other vars `mkProjectShell` puts in the dev-shell env:
kept
`BATS_LIB_PATH` (a store path, but the store is realized on the runner
and
`bats` runs from the dev-shell `PATH` there), `NVIM_APPNAME` (portable
config) and `UV_PYTHON_DOWNLOADS_JSON_URL`. `LD_LIBRARY_PATH` is
exported
only behind the shellHook's own `/etc/NIXOS` guard, so it never reaches
a
hosted runner and is the correct value on a NixOS self-hosted one — left
    forwardable. Nothing else the builder sets is host-specific.
- **shellHook env forward stops leaking Nix-host state**
([#1358](#1358))
- `PYTHONPATH` is now forwarded **component-wise**: the direnv-mode
preamble
splits it on `:`, drops every `/nix/store` entry and forwards what
remains,
skipping the var when nothing is left. With `python` in the dev-shell
    `packages` the nixpkgs setup hook fills `PYTHONPATH` with store
site-packages dirs; forwarded whole, those Nix-built `cp3xx` packages
joined
    the `sys.path` of the *downloaded* manylinux CPython — same ABI tag,
    importable, the same mixed-loader shape as #1353's
    `ImportError: libstdc++.so.6`. A blanket deny was not an option: a
`shellHook` exporting `PYTHONPATH=$PWD/src` is a legitimate #1180 use
case
    and still arrives on CI intact.
  - The denylist gained the stdenv machinery it was still missing —
`_PYTHON_HOST_PLATFORM`, `_PYTHON_SYSCONFIGDATA_NAME`,
`DETERMINISTIC_BUILD`,
`CONFIG_SHELL`, the `do[A-Z]*` build flags (`doCheck`, `doInstallCheck`,
`doDist`; the symmetric partner of the already-denied `dont*`) — and the
stdenv cc/binutils hook names `AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB
READELF SIZE STRINGS STRIP`. stdenv sets those toolchain names in
**every**
dev shell as bare commands (`CC=gcc`), so every direnv consumer was
shipping
them to its whole CI job. Inside dev-shell context the wrapped toolchain
    already wins via `PATH` after #1351; for a step that runs outside it
    (`setup-python` plus `pip` building a C extension) a forwarded `CC`
resolving to the Nix wrapper recreates the #1353 mixed-toolchain hazard.
    This deliberately supersedes the `shellHook` `CC`/`CXX` forward that
vig-os/h5v used pre-#1351 — #1351 removed the need for it. The `native`
module's generic `CC=cc`/`CXX=c++` exports likewise no longer reach CI;
they
exist so build backends fall back to `PATH` discovery (#879/#893), which
the
forwarded dev-shell `PATH` still provides. A CI step that needs a
specific
compiler should set it in the workflow. Patterns are case-sensitive, so
    `DOCKER_*`/`DO_SOMETHING` are unaffected.
- `IN_NIX_SHELL` is denied too: forwarding `IN_NIX_SHELL=impure` made
every
    subsequent CI step claim to be running inside a nix shell.
- The related NixOS-self-hosted-runner gap in the CPython `PATH` filter
is
    tracked separately in
    [#1360](#1360).
- **Python consumers work on NixOS self-hosted runners**
([#1360](#1360))
- The direnv-mode preamble dropped the bare Nix CPython from the
exported
`PATH` whenever `pyproject.toml` was present — unconditionally. That is
right on a hosted FHS runner, where `uv` downloads a managed manylinux
    CPython (#698/#703/#729), and wrong by construction on a **NixOS**
self-hosted runner, where such a download cannot execute at all. #1353
made
the gap reachable: the `UV_PYTHON` pin it stopped forwarding was what
had
accidentally masked it. No consumer matched the combination yet (the one
    NixOS-runner consumer has no `pyproject.toml`), so this was a latent
    landmine rather than a live break.
- The step now probes the runner's own OS via `/etc/NIXOS` — the same
marker
`mkProjectShell`'s `shellHook` uses to gate `LD_LIBRARY_PATH` — and
takes
the matching branch. On a NixOS runner the `pyproject.toml`-gated
CPython
exclusion is skipped, so the store interpreter stays on `PATH`, **and**
`mkProjectShell`'s `UV_PYTHON` / `UV_PYTHON_DOWNLOADS=never` pins are
forwarded instead of denied. Both halves are needed: `PATH` alone leaves
`uv`'s python-preference free to prefer a managed download, and the pins
are what make it use the Nix interpreter deterministically. The podman
exclusion stays unconditional, and `UV_PYTHON_DOWNLOADS_JSON_URL` is
still
    forwarded (harmless once the pin wins).
  - On every non-NixOS runner the behavior is byte-identical to before,
    #1353's denial of the same two pins included.
- **Prefixed-tag releases publish their changelog notes**
([#1355](#1355))
- In a consumer that sets `DEVKIT_TAG_PREFIX`, the release pipeline
wrote one
changelog heading and read back another. `release-core.yml` finalizes
with
`prepare-changelog finalize … --tag-prefix "$TAG_PREFIX"`, which
composes the
prefix into the heading (`## [v1.0.0](…/releases/tag/v1.0.0) - …`),
while
`release-publish.yml` extracted the notes by matching `## [$VERSION]` on
the
    *bare* semver — a match that can never land on a prefixed heading.
- It failed soft: the empty extraction hit the fallback path, so the
release
was published with the literal body `No changelog notes found for
X.Y.Z`.
The tag and the release object were both correct and nothing went red,
which
is why it survived (observed releasing `vig-os/org-config` `v1.0.0`).
- The extraction step now takes `tag_prefix` and accepts the composed
tag
`## [${TAG_PREFIX}${VERSION}]` alongside the bare one. Both are needed:
a
candidate publishes *before* the finalize step (which is gated on a
final
`release_kind`), so its heading is still the unprefixed `## [X.Y.Z] -
TBD` that
`prepare` wrote — matching only the composed tag would have moved the
empty
notes onto the candidate path. Only prefixed repos were affected; an
empty
    prefix makes the two forms the same string.
- **MIGRATION.md env-forward denylist prose replaced by an SSoT
pointer** ([#1362](#1362))
- The "direnv mode: `shellHook` environment forwarding" section
enumerated the
denylist by hand and had fallen behind the shipped action: it predated
the
`UV_PYTHON`/`UV_PYTHON_DOWNLOADS` denial (#1353), the stdenv additions
and
the cc/binutils hook names (#1358), and the NixOS-runner exception that
forwards those uv pins after all (#1360) — and its two-bullet shape
could
not express the `PYTHONPATH` store-component strip, which is a transform
    rather than a deny.
- The enumeration is replaced by a description of the denied
*categories* with
representative examples, the `PYTHONPATH` transform, and a pointer to
the
    `devkit_env_denied` function in the consumer's own
`.github/actions/setup-devkit-toolchain/action.yml` as the single source
of
    truth. The surrounding narrative is unchanged.
- **A cancelled CI job no longer leaves `Test Summary` green**
([#1371](#1371))
- `Test Summary` is the only required status check on `dev`, and it
flagged a
needed job only on `result == "failure"`. A job that was **cancelled** —
job
timeout, concurrency cancel, runner eviction, a manual "Cancel workflow"
—
produced no verdict at all, yet the aggregate printed "All executed test
suites passed" and exited 0, so a pull request whose CI never finished
was
    mergeable.
- All eight needed jobs now trip the gate on `cancelled` as well as
`failure`.
    `skipped` stays tolerated by design: `workflow_dispatch` takes a
    `test-suite` subset input that every job is gated on, and
    `commit-checks`/`dependency-review` are pull-request only.

### Security

- **Release tags are lightweight refs, so no unsigned object remains in
the release chain**
([#1370](#1370))
  - `release.yml` created the tag with `git tag -a` under
`vigOS Release Bot <[email protected]>`, producing an **annotated tag
object** whose tagger was permanently unverifiable — live tag `1.6.0`
reports `verification.reason: "unsigned"`. Signing it was never
reachable:
the tag is written under the Release **App** installation token and a
GitHub
App has no registrable GPG/SSH key, while the server-side `POST
/git/tags`
    route stores the payload verbatim without signing it either.
- The publish job now creates the tag as a plain `refs/tags/<version>`
ref at
the release commit (`POST /git/refs`). A lightweight tag has no tagger
and
no payload, so there is nothing left that can report `unsigned`, and the
commit the ref resolves to is the GitHub-verified release commit. The
candidate-collision guard and the "already tagged at the finalize SHA"
skip are unchanged; the now-unused `git-user-name` / `git-user-email`
dispatch inputs are removed from `release.yml` (`prepare-release.yml`,
which
    actually writes commits, keeps its own).
- **Consumer release tags are lightweight refs too — the scaffold stops
publishing unsigned tag objects**
([#1378](#1378))
  - The scaffold's `release-publish.yml` still created every consumer's
`X.Y.Z` tag with `git tag -a` under a GitHub App identity — an
**annotated
tag object** reporting `verification.reason: "unsigned"` forever, for
the
same unreachable-signature reasons as
[#1370](#1370).
The scaffold was internally inconsistent: `promote-release.yml` already
creates the *floating* tags (`vX`, `vX.Y`) as lightweight refs, while
the
    version tag — the one users pin and audit — was an unsigned object.
- The publish step now POSTs `refs/tags/<prefix><version>` straight at
the
    release commit (`POST /git/refs`). Preserved behaviours: the
`tag_already_exists` skip, the create-race verification (a lost race is
    accepted only when the existing ref already resolves to the release
commit), `TAG_PREFIX` composition
([#1044](#1044)),
and the tombstone diagnosis
([#1319](#1319))
— its signature match re-derived against the `POST /git/refs` HTTP 422
    rule-violation error shape.
- The dead `git_user_name` / `git_user_email` `workflow_call` inputs are
    removed from `release-publish.yml` and their pass-throughs from the
scaffold `release.yml` publish call; the scaffold's `git-user-name` /
`git-user-email` **dispatch** inputs stay — the rollback job still
writes
    commits with that identity.
- `promote-release.yml` and `docs/MIGRATION.md` keep the annotated-tag
peel
as backward compatibility for tags published by older scaffolds, with
    corrected wording. Existing annotated tags are left as they are
(forward-fix policy); the change reaches consumers on their next devkit
    upgrade.
- **Smoke-test orchestration gates the final release on a human approval
instead of self-approving**
([#1391](#1391))
- The dispatch listener approved its own release PR with the workflow
token,
    which the org now forbids (vig-os/org-config#122 sets
`can_approve_pull_request_reviews: false` org-wide) — the 1.7.0-rc3
smoke
    chain died at that step.
- The approve step is replaced by a kind-aware gate: candidate
dispatches
leave the PR unapproved (approval gates the final release only, matching
the deferred-approval model of
[#902](#902)),
while the final dispatch polls up to 30 minutes for a human to approve
the
freshly created release PR before triggering the final release workflow,
    and fails with re-run guidance if nobody does. Every dispatch still
    recreates the smoke release branch and PR from scratch, by design.
- **vulnix register: except CVE-2026-66032, completing the libssh2
malicious-server batch**
([#1386](#1386))
  - The 1.7.0-rc1 Vulnix CVE Gate blocked on CVE-2026-66032 (CVSS 8.8, a
double-free in libssh2's `sftp_open()`), the fourth member of the
upstream
batch whose siblings CVE-2026-66033/66034/66035 were already excepted in
the 2026-09-02 block
([#1327](#1327)) —
it was absent from the findings when that block was triaged on
2026-08-04
    and surfaced in the feed later.
- Same closure provenance and reachability as its siblings: libssh2
enters
    the image only as curl's scp/sftp backend, and the flaw requires an
authenticated SFTP session against a malicious SSH server. Excepted in
the
same 2026-09-02 block; the whole block drops on a nixpkgs rev-advance
once
    the merged upstream patches (NixOS/nixpkgs#547491) reach the pinned
    nixos-26.05 channel via the still-open staging-26.05 backport.
c-vigo added a commit that referenced this pull request Aug 11, 2026
## Summary

Replaces the per-PR Renovate/adoption changelog pipeline with
release-time synthesis (Closes #1423).

- **New `synthesize-bot-changelog`** (vig-utils): enumerates merged bot
PRs since the last stable tag from git history, fetches metadata via `gh
api`, and regenerates a `#### Dependencies` block under `### Changed` —
**net delta per dependency** (earliest `from`, latest `to`, all PRs
cited; zero-delta disappears), **lock-file-maintenance rollups per
ecosystem** (previously skipped entirely — verified gap in devkit
#1315/#1369 and consumers), and **adoption entries coalesced to the
shipped devkit version**. The block is the tool's only owned region,
rebuilt wholesale each run — idempotent by construction; hand-written
entries are never touched.
- **Wired at the two dispatch points that own changelog mutation**:
`prepare-release.yml` (before the content gate and the freeze, so the
entries ride the freeze commit) and the finalize pass (`release.yml`
root / `release-core.yml` scaffold, final kind only, before the date
stamp). A bot PR merged into the release branch mid-train is reachable
from HEAD at finalize, so it cannot ship unchronicled; candidates stay
changelog-neutral.
- **Deleted** `renovate-changelog-build.yml` +
`renovate-changelog-commit.yml` (root + scaffold), their sync-manifest
entry, zizmor baselines, and preset exclusions; retired via the #1348
retired-paths manifest (1.8.0). Bot PR branches no longer receive
changelog commits → concurrent Renovate PRs stop conflicting on `##
Unreleased`, Renovate's `rebaseWhen: conflicted` self-rebase works again
(the bot author was never in `gitIgnoredAuthors`, so it was dead
wiring), and the double CI run per bot PR disappears. The latent
release-branch bug (bot PR based on `release/**` inserting into the
empty post-freeze Unreleased) dies with the pipeline.
- **Scaffold cut contract**: the Unreleased content gate moves from the
host-only validate job into the toolchain-capable prepare job (still
ahead of the freeze) so a train whose only content is bot PRs passes;
`tag-prefix` threads through for prefixed consumer tag schemes.
- **`just changelog-preview`**: read-only preview of the pending block
(root + scaffold).

## Evidence

- TDD: contract pinned first (`e71d005`), implementation (`d609947`),
wiring (`9d9b778`), docs (`8e0e190`).
- vig-utils suite 512 passed; root pytest sweep 604 passed (2
pre-existing env-dependent exclusions: devcontainer gh-auth);
`tests/bats/init-workspace.bats` 238/238 incl. rendered-template
actionlint (#995); flake dev-shell parity green
(`synthesize-bot-changelog` on PATH); `pre-commit run --all-files`
green.
- **Live proof** against real GitHub data (detached worktree at
`12e4b38`, window `1.6.0..HEAD`): grouped PR #1368 flattens to four real
`old → new` rows, digest PR #1367 renders `d1ba80a → 5595cca`, lockfile
PR #1369 rolls up as `Lock file maintenance (pip)` — the entry the old
pipeline silently dropped. On current dev the window is correctly empty.

## Notes for review

- `#1404`'s adoption-entry *transport* is superseded (never live-proven
at a train); the entry format and title parser survive and are reused.
- Reverted-bump edge: PR-metadata coalescing can overstate if a Renovate
bump is later reverted by a non-bot commit — recorded as out of scope in
#1423 (convention: reverts carry their own hand-written entry).
- Consumers still on ≤1.7.x briefly lose the preset exclusion for the
(now retired) pair; the devkit-upgrade cron (Mon 06:00) runs before
Renovate's schedule (Mon <09:00), so the exposure window is minimal.
- First live end-to-end exercise lands at the next train's cut/finalize.

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