Skip to content

chore: release 0.4.1 - #898

Merged
vig-os-release-app[bot] merged 109 commits into
mainfrom
release/0.4.1
Jul 8, 2026
Merged

vig-os-release-app[bot] merged 109 commits into
mainfrom
release/0.4.1

Conversation

@vig-os-release-app

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

Copy link
Copy Markdown
Contributor

Release 0.4.1 - 2026-07-08

This PR prepares release 0.4.1 for merge to main.

0.4.1 - 2026-07-08

Added

  • ADR: terminal home environment as devkit home-manager modules (#815)

    • Accepted docs/rfcs/ADR-home-environment-modules.md: parameterized vigos.* home-manager modules as a second product of this repo (epic #814).
  • Home-manager module release/versioning policy (#816)

    • docs/NIX.md: modules ride the existing release train (consumers pin tags), mkRenamedOptionModule deprecation shims, dogfood-canary exception, and the #### Modules changelog sub-heading convention.
    • Workspace scaffold vigos.url float is now documented as deliberate, with the pin recipe.
  • Scheduled nixpkgs-unstable lock bump (#817)

    • Weekly workflow refreshing the fast-movers pin (uv, gh, claude-code) via a chore PR to dev, gated by full CI.
  • vigos. home module set + homeConfigurations matrix* (#818, #819)

    • homeManagerModules.{default,packages,shell,multiplexer,cli,direnv,git} exported as path modules (+ homeModules alias); home-manager flake input (release-26.05, nixpkgs follows); ci-{minimal,full} homeConfigurations across 4 systems built as Tier-0 hm-* checks (x86_64-darwin eval-only).
  • Home Matrix CI workflow (#820)

    • Builds the ci homeConfigurations on aarch64-darwin (macos-latest) and aarch64-linux and pushes closures to Cachix; separate non-required workflow (fail-soft by status).
  • vigos.shell module (#821)

    • Bash + zsh, starship, atuin, zoxide under one enable flag; opt-in secretsEnv hook exporting ~/.config/vigos/secrets/ per the ADR credentials interface.
  • vigos.multiplexer, vigos.cli, vigos.direnv modules (#821)

    • tmux org defaults (vi keys, sane scrollback), modern-unix config (bat/eza/fzf/ripgrep/fd — configuration only, packages stay in vigos.packages), direnv + nix-direnv.
  • vigos.git module (#821)

    • git + delta, gh (ssh protocol), lazygit; identity and per-user-x-host SSH signing are null-default options — nothing is written unless set, so fresh hosts never fail their first commit.
  • templates.personal + homeConfigurations.demo (#827)

    • nix flake init -t github:vig-os/devcontainer#personal scaffolds a personal home-manager flake on the vigos.* modules; demo is the full-profile reference configuration.
  • Home environment docs (#825, #826)

    • docs/home/: bootstrap guide (installer, macOS trusted-users trap, first activation), override cookbook, rollback table, best-effort Intel meaning, credential-hygiene runbook.
  • CLAUDE.md hierarchy templates (#828)

    • docs/home/claude-md/: user-global, workspace-root, and workspace layer templates + the directory-layout convention that makes the cascade work. Guidelines, not enforcement.
  • vigos.claude module + container secrets path (#823, absorbs #546)

    • ~/.claude policy per the ADR: settings.json seeded copy-if-absent (org seed pre-authorizes nothing, includeCoAuthoredBy=false), managed vigos.md fragment (checksum-overwrite + .bak), @vigos.md import line seeded into the user-owned CLAUDE.md, DISABLE_AUTOUPDATER via sessionVariables, optional workspace-CLAUDE.md management (empty by default).
    • Devcontainer scaffold mounts ~/.config/vigos/secrets read-only and exports the files as env vars at shell startup — the slim token path replacing setup-claude.sh forwarding.
  • vigos.sesh, vigos.ghdash, vigos.editor modules (#824)

    • sesh project sessions with a parameterized standard tmux layout (sessions + layout.windows options, no hardcoded paths), gh-dash with scoped lean sections via repoFilters, neovim with the claudecode.nvim bridge (plain programs.neovim, no nixvim input).

Changed

  • Renovate: update numpy to v2.5.1 (#865)

  • MIGRATION.md: formalized the native-build contract (#882)

    • Tiered policy for native Python builds (wheel-only / toolchain from the project flake via mkProjectShell.extraPackages / in-container nix develop -c middle path), a worked Geant4/ROOT example, and the explicit non-goal of shipping a C/C++ toolchain in the base image. Cross-links #879 and #854.

Modules

  • homeManagerModules.default is now the umbrella importing every vigos.* module, each disabled by default (#818); existing imports keep working unchanged.

Deprecated

Modules

  • programs.vigos-devtools.enable → vigos.packages.enable (#818); a mkRenamedOptionModule shim keeps the old option working for one release (docs/NIX.md policy).

Removed

  • Documented Debian fallback retired (#642)
    • The build has been Nix-only since 0.4.0; docs and workflow comments no longer present the Debian image as a rollback path. Pinning the frozen 0.3.9 release remains possible but unsupported.

Fixed

  • Preserve a customized .typos.toml on upgrade (#913)

    • .typos.toml joins the preserved-file set so a consumer's spell-check exceptions survive a --force upgrade; the upgrade prints the template diff (like .pre-commit-config.yaml, #878). Previously the generic template overwrote it and the typos hook then "corrected" real content.
    • A consumer carrying the legacy _typos.toml no longer also receives the template .typos.toml, avoiding two active typos configs.
  • Render preserved-file diff previews with git diff (#916)

    • The preserved-file upgrade preview called diff, which the image does not ship, printing command not found into an empty box; it now uses git diff --no-index.
  • Scan preserved CI workflows for the retired pre-commit binary (#916)

    • The upgrade reference scan (#881) now also covers preserved .github/workflows/*.yml, flagging real pre-commit invocations with file:line while ignoring comments and step name: descriptions.
  • Resolve the GitHub origin before scaffolding the workspace (#916)

    • Under --no-prompts, a missing or underivable origin now aborts before any files are copied, instead of leaving a half-scaffolded workspace mid-run.
  • Namespace scaffold justfile.gh git helpers to prevent consumer recipe collisions (#915)

    • Renamed the shipped git-helper recipes log → gh-log and branch → gh-branch (matching the gh-issues convention). A consumer whose preserved justfile.project defined its own log/branch recipes previously hit a hard just parse failure (recipe log … is redefined) after upgrade, making just unusable and silently disabling the #877 base-recipe repair.
    • Migration: consumers who scripted against the shipped just log / just branch recipes must switch to just gh-log / just gh-branch; consumers who defined their own log/branch now keep them without collision.
  • Renovate changelog template no longer leaks the upstream assets/workspace mirror (#914)

    • The synced consumer renovate-changelog-build.yml/-commit.yml copied the assets/workspace/.devcontainer/CHANGELOG.md mirror plumbing verbatim; consumers have no such tree, so the steps hard-failed under set -euo pipefail on every Renovate changelog run. Manifest transforms now strip the mirror copies, leaving the template touching only the consumer's own CHANGELOG.md.
  • Scaffold upgrade strands base recipes in a preserved justfile.project (#877)

    • 0.4.0 moved lint/format/precommit/test/test-cov/sync/update into justfile.project, which is preserved on upgrade — 0.3.x consumers never received them and the shipped ci.yml failed with justfile does not contain recipe 'sync'. init-workspace --force now appends the missing base recipes from the template into the preserved file (customized recipes always win; idempotent).
    • The retired .devcontainer/justfile.base is removed on upgrade where the scaffold manages .devcontainer/ (never in direnv mode, #738), and the installer warns if the root justfile lacks the scaffold import? block.
  • Renovate changelog artifact drops the workspace mirror; metadata.env breaks on parenthesized branches (#874)

    • upload-artifact silently excluded the mirror under the hidden .devcontainer directory, so the bot commit updated only the root CHANGELOG.md and tripped the sync-manifest gate; now uploaded with include-hidden-files: true.
    • metadata.env values are %q-quoted so grouped Renovate branch names (e.g. renovate/python-(minor-and-patch)) survive being sourced by the commit workflow.
  • Renovate changelog entries land as plain ### Changed bullets, not under #### Modules (#867)

    • renovate-changelog-pr appended entries at the bottom of the ### Changed block, so with the #### Modules sub-heading convention (#816) a dependency bump was filed beneath #### Modules and read as a module change. Entries now insert at the top of ### Changed, above any #### sub-heading, with Keep-a-Changelog spacing preserved.
  • Image Python advertised the phantom Nix build toolchain (gcc/g++) in sysconfig (#879)

    • The baked CPython recorded its nixpkgs build compilers in sysconfig (CC/CXX/LINKCC/LDSHARED/BLDSHARED/LDCXXSHARED), but the image ships no compiler — PEP 517 backends inherited the phantom names verbatim: scikit-build-core exports CC/CXX, so CMake hard-failed on the missing g++ instead of discovering the project-flake toolchain on PATH, and setuptools invoked the literal gcc.
    • The image build now sanitizes the baked _sysconfigdata*.py / _sysconfig_vars*.json / config Makefile first tokens to the generic POSIX cc/c++, restoring PATH compiler discovery. Implemented as a shadow copy in the final image layer — no CPython rebuild, dev-shell toolchain untouched, and the no-compiler-baked consumer contract stands (documented via #882).
  • Scaffold upgrade replaces .pre-commit-config.yaml, silently clobbering repo-specific hook config (#878)

    • The upgrade overwrote the consumer's .pre-commit-config.yaml wholesale, dropping the repo-specific global exclude: block and per-hook exclude: keys — the hook suite then rewrote data files it must never touch and false-flagged PEM marker literals. The file is now preserved on upgrade (like justfile.project, #877).
    • Because template hook-stack evolution no longer arrives automatically, init-workspace --force prints a diff of the preserved file against the incoming template so consumers can fold changes in deliberately, and warns (non-fatally) when the preserved config does not parse under prek validate-config — a config the runner cannot load breaks every commit in the new image.
  • pre-commit binary dropped without a compat path — preserved consumer recipes and .githooks calling it break (#881)

    • The 0.4.0 image retired the Python pre-commit for prek (#778), but files preserved on upgrade still invoke it and exit 127 (field-validated on a 0.3.5 → 0.4.0 consumer: the preserved justfile.project precommit recipe and repo-managed .githooks scripts broke every commit). The image now ships a deprecated one-cycle pre-commit → prek shim (stderr notice, removed in 0.5) so consumer hook scripts keep working while they migrate.
    • init-workspace --force scans the post-scaffold justfile.project, .githooks/ scripts and .pre-commit-config.yaml for invocation-shaped pre-commit references and warns (non-fatally) with file:line, pointing at the MIGRATION.md rename checklist — which now also covers the NixOS #!/bin/bash shebang gotcha in old-scaffold .githooks.

Security

  • Accept podman CVE-2026-57231 in the vulnix register pending the nixpkgs 26.05 backport (#905)
    • podman 5.8.2 (affects 5.8.1–5.8.3) leaks matching host environment variables into a container when a malicious image manifest carries malformed Env entries (a key with no value, via the * glob) — CVSS 7.5, a supply-chain risk only when running untrusted images. The release CVE gate blocked the 0.4.1 RC on this finding.
    • Fixed upstream in 5.8.4/6.0.0, but the pinned nixpkgs release-26.05 still ships 5.8.2 (backport NixOS/nixpkgs#536367 open), so advancing the rev cannot remediate yet. Added a short-dated .vulnixignore exception (expires 2026-08-06, re-check weekly) to unblock the gate; the exception flips to a nixpkgs rev-advance once the backport lands.

c-vigo and others added 30 commits July 4, 2026 17:55
Adds the accepted ADR deciding the terminal home environment product:
parameterized home-manager modules under the vigos.* namespace shipped
from this repo as a second product, home-manager as the only new flake
input, no devcontainer-image integration, the ~/.claude management
policy, platform tiers (aarch64-darwin first-class, x86_64-darwin
best-effort), the resident-credentials convention, and the module
release/versioning policy.

Refs: #815, #814
Lands E1: the accepted ADR (design authority for epic #814).

Refs: #815
…tegory

Records the second-product contract for the vigos.* home-manager
modules: one release train (consumers pin tags), mkRenamedOptionModule
deprecation shims for one release, the dogfood-canary exception, and
the '#### Modules' changelog sub-heading convention. Documents the
workspace scaffold's deliberate vigos.url float with the pin recipe.

Refs: #816
Weekly (+ dispatchable) workflow that refreshes the nixpkgs-unstable
pin feeding the fastMovers overlay (uv, gh, claude-code) and opens a
chore PR to dev with full CI as the merge gate. Implements the ADR
decision to keep claude-code fresh from nixpkgs instead of a
third-party flake.

Refs: #817
The multiline --body string escaped the run literal block, breaking
YAML indentation; build the body with printf instead. Adds the house
truthy disable-line comment on the trigger key. Caught by the
sandbox-pure pre-commit flake check (Tier-0).

Refs: #817
Hotfix for E3 caught by the Tier-0 sandbox pre-commit check.

Refs: #817
Extends the flake schema tests ahead of implementation (TDD red):
required checks gain hm-minimal/hm-full (except x86_64-darwin,
eval-only tier); homeManagerModules must expose the full vigos.*
module set as importable path modules plus the homeModules alias;
homeConfigurations must cover the ci-{minimal,full} x 4-system matrix
and evaluate end to end.

Refs: #819, #818
Relocates the devTools SSoT list to nix/devtools.nix (unchanged
content) so path modules can share it; adds nix/home/ with
vigos.packages (the re-keyed #777 module + mkRenamedOptionModule shim
for programs.vigos-devtools.enable) and enable-option skeletons for
shell/multiplexer/cli/direnv/git behind an imports-only umbrella.
Exports the set as path modules under homeManagerModules.* with the
homeModules alias; extends the deadnix/statix check scope to nix/.

Refs: #818
…ier-0 checks

Adds home-manager (release-26.05, nixpkgs follows) as the module
product's only new input. Builds ci-{minimal,full}-<system>
homeConfigurations from the vigos umbrella with self-pkgs (the same
stable base + fast-mover overlay + allowUnfree as the dev-shell, so
claude-code resolves identically across surfaces) and exposes them as
hm-minimal/hm-full checks on every system except eval-only
x86_64-darwin. Extracts batsWithLibs to nix/bats.nix so the relocated
devTools list and flake.nix share one definition.

Refs: #819
…#835)

Lands A1 (#818) and A2 (#819) for epic #814: vigos.* path-module set
with rename shim and umbrella, devTools relocated to nix/devtools.nix
(SSoT shared with the modules), home-manager input, ci-{minimal,full}
homeConfigurations across 4 systems, hm-minimal/hm-full Tier-0 checks
(x86_64-darwin eval-only). Local evidence: full x86_64-linux Tier-0
green incl. new legs (hm builds: 7s warm); schema pytest 9/9.

Refs: #818, #819
… push

Separate non-required workflow building hm-minimal/hm-full for the
platforms the x86_64-linux Tier-0 gate cannot cover, pushing closures
to the vig-os Cachix so the darwin cache exists before first colleague
onboarding. Fail-soft by non-required status, never continue-on-error;
promotion to required is a follow-up decision.

Refs: #820
Lands A3 for epic #814. Runs on the draft PR #833 (paths: flake/nix) —
first live run arrives with the next master-branch update.

Refs: #820
Red ahead of #821: the full ci profile must enable bash+zsh, starship,
atuin, zoxide, tmux, direnv(+nix-direnv), git, gh, lazygit; git signing
must stay inactive by default; vigos.shell.secretsEnv must exist and
default off.

Refs: #821
Both shells under one switch so colleagues keep their login shell;
every scalar mkDefault. The opt-in secretsEnv hook exports each
~/.config/vigos/secrets/<NAME> file ([A-Z_][A-Z0-9_]* names, trailing
newline stripped, idempotent via guard variable) from both profile and
rc files, implementing the ADR resident-credentials interface.

Refs: #821
…direnv

tmux with vi keys and org-default ergonomics (all mkDefault,
extraConfig open); modern-unix configuration that never duplicates the
devTools package list; direnv + nix-direnv as the per-project
activation layer.

Refs: #821
git with delta pager, gh on ssh protocol, lazygit. userName/userEmail/
signingKeyPath are null-default options: signing configuration is
written only when a key path is set (per-user x host keys; minting and
forge registration are C2 runbook steps).

Refs: #821
Lands A4 (#821) for epic #814. TDD: red behavior test → shell →
multiplexer/cli/direnv → git. Local evidence: full Tier-0 green (incl.
hm legs), schema pytest 10/10, darwin full-profile eval OK.

Refs: #821
The template scaffolds a personal flake importing the vigos.* modules
(pin-placeholder per the E2 policy); demo is the full-profile
reference homeConfiguration. Template excluded from deadnix/statix
scope like the workspace scaffold.

Refs: #827
Determinate installer, the macOS trusted-users/Cachix trap, template
scaffold, first-activation dotfile-collision path (-b backup), the
one-HM-mode-per-user-per-host rule, uninstall.

Refs: #825
mkDefault/mkForce/extraConfig override patterns; per-surface rollback
table; the operational meaning of best-effort x86_64-darwin; the
resident-credentials interface, per-user x host SSH key policy,
rotation/offboarding runbook, and the honest threat model.

Refs: #826
User-global, workspace-root, and workspace-layer templates exploiting
the root-to-cwd CLAUDE.md cascade, with the directory-layout convention
documented as the assumption that makes the workspace layer work.
Org-level URLs only (rename-agnostic); the optional management option
lands with vigos.claude (#823).

Refs: #828
…option rename

The #835 flake-API changes (new outputs, renamed option) are the most
consumer-visible part of the epic and were missing from Unreleased;
adds them under Added/Changed/Deprecated using the new Modules
sub-heading convention.

Refs: #819
Changelog completeness for #835 (A1/A2).

Refs: #819
c-vigo and others added 26 commits July 7, 2026 16:00
…kport (#906)

## Summary

Unblocks the `release/0.4.1` RC, which failed the **Vulnix CVE Gate**
([run
28869306823](https://github.com/vig-os/devcontainer/actions/runs/28869306823))
on a single unexcepted HIGH finding:

```
1 unexcepted HIGH/CRITICAL or unscored vulnix finding(s):
  - CVE-2026-57231 (CVSS 7.5) in podman 5.8.2
```

[CVE-2026-57231](https://cve.threatint.eu/CVE/CVE-2026-57231) (CVSS
7.5): a malicious image manifest with malformed `Env` entries makes
podman leak matching **host** environment variables into the container —
a supply-chain risk when running untrusted images. `podman` is a direct
devTool + the docker-shim binary, so the finding is a real product
match.

## Why an exception, not a rev-advance

Fixed upstream in podman 5.8.4/6.0.0, but the pinned `nixpkgs`
`release-26.05` (and `staging-26.05`) still ships **5.8.2** — the fix is
only on `master`/`staging`/`unstable`. The 26.05 backport
[NixOS/nixpkgs#536367](NixOS/nixpkgs#536367) is
an **open draft**, so advancing the rev cannot remediate today. This
adds a short-dated `.vulnixignore` exception (expires **2026-08-06**,
re-check weekly) matching the register's established convention; it
flips to a rev-advance once the backport lands.

## Changes

- `.vulnixignore` — new 2026-07-07 triage section accepting
`CVE-2026-57231` with provenance, reachability note, upstream/nixpkgs
fix status, and expiry.
- `CHANGELOG.md` `[0.4.1]` `### Security` entry (+ auto-synced
`.devcontainer` mirror).

## Verification

- `check-expirations`: passed (36 exceptions validated).
- Gate simulation: negative control reproduces the exact CI error
against the pre-fix register; **passes** against the updated register.
- Full `just precommit` suite: green.

Closes #905
Rename the scaffold-managed git helper recipes `log` -> `gh-log` and
`branch` -> `gh-branch` so they cannot clash with a consumer's preserved
justfile.project recipes on import. A collision made `just` fail to parse
entirely (recipe redefined), cascading into disabling the base-recipe
repair. Matches the existing `gh-issues` naming convention.

Refs: #915
The image ships git but no diff(1)/cmp(1), so the #878 preview printed
'diff: command not found' and an empty box in-container. Route the
preview and its gate through git diff --no-index (long-flag --quiet
gates; --no-index exits 1 on divergence, which is expected). Factor the
preview into a shared helper for reuse by other preserved files.

Refs: #916
Add .typos.toml to PRESERVE_FILES so a consumer's curated spell-check
exceptions survive a --force upgrade, and print the template diff like
the #878 handling. Since the typos tool also reads the legacy
_typos.toml, skip shipping the template .typos.toml when a consumer
carries _typos.toml and no .typos.toml, so two active configs never
collide.

Refs: #913
Extend the #881 reference scan to preserved .github/workflows/*.yml so a
consumer CI workflow that still invokes the retired pre-commit binary is
flagged with file:line. Filter YAML name: step descriptions so a
'Run pre-commit hooks' step name is not a false positive.

Refs: #916
Move the GITHUB_REPOSITORY resolution/validation ahead of the rsync copy
so a --no-prompts run with no derivable origin aborts while the
workspace is still pristine, instead of leaving a half-scaffolded tree.
The resolved value still feeds the later placeholder substitution.

Refs: #916
…record

The image exposes no independent runtime record of its own built tag: the
only in-image version is the baked template .vig-os (repo-root pin at
build), which the scaffold already copies, so stamping from it is a no-op
and stays stale for RC images. Document that pinning the true built tag
for RCs (when VIG_OS_VERSION is unset) requires baking an authoritative
version record at build time.

Refs: #916
…onsumer template (#918)

## Summary

Fixes #914 — the manifest synced the devcontainer repo's own
`renovate-changelog-build.yml` / `-commit.yml` into the consumer
template verbatim, carrying the upstream-only
`assets/workspace/.devcontainer/CHANGELOG.md` mirror plumbing. Consumers
have no `assets/workspace/` tree, so under `set -euo pipefail` those
steps hard-failed on every Renovate changelog run.

## Change

Added manifest transforms (`scripts/manifest.toml`) that strip, **from
the consumer template only**:
- the `cp CHANGELOG.md assets/workspace/.devcontainer/CHANGELOG.md` step
and the `assets/workspace` artifact-copy block in
`renovate-changelog-build.yml` (keeping the consumer-facing `cp
CHANGELOG.md changelog-artifact/` and `metadata.env` logic);
- the extra `,assets/workspace/.devcontainer/CHANGELOG.md` path from
`FILE_PATHS` in `renovate-changelog-commit.yml`.

The devcontainer repo's own root workflows are unchanged; only the
generated `assets/workspace/…` copies drop the mirror. Regenerated via
`just sync-workspace`.

## Verification

- `uv run pytest tests/test_transforms.py -q` → 6 passed (2 new tests
RED→GREEN).
- Generated consumer workflows: `grep -c assets/workspace` = 0 on both;
valid YAML.
- Root workflows unchanged (empty diff).
- Full `prek run --all-files` green locally (incl. `sync-manifest`,
`yamllint`).

Discovered during 0.4.1-rc1 consumer-upgrade testing. Refs #874.
…ustfile-gh-recipe-namespace

# Conflicts:
#	CHANGELOG.md
#	assets/workspace/.devcontainer/CHANGELOG.md
…reserve-typos-init-hardening

# Conflicts:
#	CHANGELOG.md
#	assets/workspace/.devcontainer/CHANGELOG.md
The #916 reorder moved resolve_github_repository ahead of the rsync so a
--no-prompts run aborts before mutating the workspace. But the function also
prompts interactively when no origin is derivable, so the move pushed that
prompt ahead of the 'Copying files from' output, hanging the interactive
integration flow. Guard the early call to --no-prompts only and restore the
interactive resolution to its original post-copy call site.

Refs: #916
… recipe collisions (#919)

## Summary

Fixes #915 — the scaffold-managed `justfile.gh` shipped bare `log` /
`branch` recipes. A consumer whose preserved `justfile.project` also
defined `log`/`branch` hit a hard `just` parse failure after upgrade
(`recipe log … is redefined`), making `just` unusable and silently
disabling the #877 base-recipe repair. Reproduced on a real consumer
(mat) both from a clean 0.3.3 base and from its 0.4.0 branch during
0.4.1-rc1 testing.

## Change

Renamed the shipped git-helper recipes at the SSoT root `justfile.gh`:
- `log` → `gh-log`
- `branch` → `gh-branch`

matching the existing `gh-issues` convention, so scaffold recipes can no
longer collide with arbitrary consumer recipe names. Regenerated the
template (`assets/workspace/.devcontainer/justfile.gh`) via `just
sync-workspace` and the embedded recipe listings in `README.md` /
`CONTRIBUTE.md` via `generate-docs`. No live internal callers referenced
the old names.

## ⚠️ Migration (user-facing)

Consumers who scripted against the shipped `just log` / `just branch`
recipes must switch to `just gh-log` / `just gh-branch`. Consumers who
defined their **own** `log`/`branch` recipes now keep them without
collision — which is the bug being fixed.

## Verification

- New BATS tests (reproduce the `redefined` collision against old names;
assert no bare `log`/`branch` in `justfile.gh`); `bats
tests/bats/just.bats` → 39/39.
- `just --list` parses; `just sync-workspace` self-consistent
(`sync-manifest` gate green).
- Full `prek run --all-files` green locally.

Refs #877.
…reserve-typos-init-hardening

# Conflicts:
#	CHANGELOG.md
#	assets/workspace/.devcontainer/CHANGELOG.md
…es (#922)

## Summary

Addresses **#913** (fully) and four items of the **#916** hardening
bundle, all found during 0.4.1-rc1 consumer-upgrade testing. All changes
are in `assets/init-workspace.sh` with BATS coverage (TDD, test-then-fix
per item).

## Changes

- **Preserve `.typos.toml` (#913).** Added to `PRESERVE_FILES` so a
consumer's spell-check exceptions survive `--force`; prints the template
diff like #878. A consumer carrying the legacy `_typos.toml` no longer
also receives the template `.typos.toml` (no dual active config — the
exact corruption seen on vault, where `typos` rewrote `Nd`→`And` in the
scaffold's own `version-check.sh`).
- **`git diff --no-index` for preserved-file previews (#916).** The
image ships no `diff`/`cmp`, so the #878 preview box printed `command
not found`; now uses `git`.
- **Scan preserved CI workflows (#916).** The #881 reference scan now
also covers preserved `.github/workflows/*.yml`, flagging real
`pre-commit` invocations with `file:line` while ignoring comments and
step `name:` descriptions.
- **Resolve origin before mutation (#916).** Under `--no-prompts`, an
underivable origin now aborts before any files are copied, instead of
leaving a half-scaffolded tree.

## Not included

- **F5 (`.vig-os` pin on bare `docker run`)** cannot be fixed
runtime-only — the image has no authoritative built-tag record. Split
out to **#921** (build-side); a NOTE was added at the stamping site. The
`install.sh` path is already correct.
- **F6 (`.gitignore` clobber warning; source-stub skip)** deferred —
both are ambiguous/risky per the issue's "only if clean" guidance;
recommend a dedicated issue if wanted.

## Verification

- `bats tests/bats/init-workspace.bats` → 84/84 (+9 new);
`tests/bats/init.bats` → 29/29.
- Full `prek run --all-files` green locally (shellcheck, typos,
agent-identity, sync-manifest).

Closes #913. Refs #916, #921.
@c-vigo

c-vigo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

0.4.1 downstream deployment check — status

Deployed the 0.4.1 line into local git-worktree copies of a representative spread of downstream consumers — Python and Rust; devcontainer-only and devcontainer+direnv; the full upgrade range from fresh 0.3.x adoption (0.3.3 / 0.3.4 / 0.3.5) through idempotent re-upgrade from 0.4.0. Each was installed, verified, and re-installed to check idempotency. Below is the general state of 0.4.1 as an upgrade target, independent of any single RC.

What works well

What doesn't (rough edges to fix or document)

What to be careful about

Method note

Testing ran in git worktrees, so a couple of observations were harness artifacts, not 0.4.1 defects and are excluded from the above: a cosmetic fatal: not a git repository when rendering preserved-file diffs (a worktree's .git is a file the container can't resolve), and a setuptools-scm version-detection failure for the same reason. Neither occurs on a normal clone.

Bottom line: 0.4.1 is a solid upgrade target — the preservation and consumer-collision work all holds up in the field. The two things a rollout must account for are the explicit --mode requirement (pre-#885) and the stale-renovate-changelog.yml cleanup on pre-split consumers.

Set release date to 2026-07-08 and regenerate release docs.

Refs: #898
@vig-os-release-app
vig-os-release-app Bot merged commit 229ff2b into main Jul 8, 2026
18 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the release/0.4.1 branch July 8, 2026 11:29
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