Skip to content

chore: release 1.13.0 - #1597

Merged
vig-os-release-app[bot] merged 34 commits into
mainfrom
release/1.13.0
Sep 1, 2026
Merged

vig-os-release-app[bot] merged 34 commits into
mainfrom
release/1.13.0

Conversation

@vig-os-release-app

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

Copy link
Copy Markdown
Contributor

Release 1.13.0 - 2026-09-01

This PR prepares release 1.13.0 for merge to main.

1.13.0 - 2026-09-01

Added

  • A vigos.sesh project can now open with its own window layout
    (#1583)
    • layout.windows chose which windows a session got, but the choice was
      global: every seed in sessions opened identically, so a repo with no
      pull-request workflow still started a dashboard window on a permanently
      empty view, and a docs repo still got a git TUI it had no use for. The only
      escape was disabling the module and hand-writing sesh.toml, discarding the
      whole layout mechanism to change one window
    • vigos.sesh.layout.profiles takes named window sets and a session's new
      layout field selects one; default remains layout.windows and cannot be
      redefined, so there is one home for the default set rather than two that can
      disagree
    • Delivery is sesh's own config rather than a new mechanism: a session with a
      profile emits startup_command = "sesh-layout <profile>", which sesh
      resolves ahead of [default_session], so a session naming no profile stays
      bare and inherits the default. sesh-layout takes the profile as an
      argument and stays a single binary — consumers probe for it by name to
      detect a provisioned host
    • A session naming an undefined profile fails at eval, listing the valid
      names, rather than producing a sesh.toml whose sessions die at connect
      time far from the definition that caused it
    • Backward compatible: with profiles empty and no session setting layout,
      the generated sesh.toml and layout script are unchanged
  • vigos.sesh can now open projects on remote hosts
    (#1585)
    • vigos.sesh.remotes declares a project × host × path inventory (host is
      an ~/.ssh/config alias — no connection details in the module); it renders
      to remotes.tsv beside sesh.toml only when populated, so the empty
      default is a bit-for-bit no-op
    • The picker gains a runner stage that appears only when a project has more
      than one location; the last-used runner is remembered and pre-selected, so
      Enter Enter reconnects wherever the session was left running
    • New sesh-remote-connect attach-or-creates over SSH (tmux new -A),
      probing capability in the same round trip: sesh-layout on the remote
      PATH gives the full standard layout, bare tmux a persistent blank session,
      and neither a plain login shell after an explicit warning — no per-host
      capability flags to go stale
    • vigos.sesh.remoteTerminal opens the ssh client in its own terminal
      window when picking a remote from inside tmux (a remote tmux must not nest
      in the local popup); the null default uses a local tmux window instead, so
      no personal terminal is baked into the module
  • vigos.ghdash now follows the project you are in and takes per-project
    section profiles
    (#1586)
    • New gh-dash-repo [profile] launches the dashboard scoped to the repo of
      the launch directory (derived from origin — nothing is declared per
      project and no file lands in project repos); outside a GitHub repo it
      falls back to the repoFilters scope, so it is always valid
    • vigos.ghdash.profiles names alternative section sets (a team repo wants
      review queues a solo repo has no use for); filters are written scope-free
      and the module appends the launch-time scope, so a profile cannot silently
      ship unscoped. A vigos.sesh layout profile can point its dashboard
      window at gh-dash-repo <name>, so selection rides the session entry that
      already identifies the project
    • Backward compatible: programs.gh-dash.settings is unchanged, bare
      gh-dash keeps the repoFilters scope, and a per-repo scope is cheaper
      than the widened filter it replaces
  • A vigos.ghdash profile can now filter its issues view separately
    (#1595)
    • A profile named one section list and the wrapper wrote it to both views,
      but PR and issue queues are not filtered alike: the qualifiers that make a
      PR profile useful (review-requested:@me, draft:false) either do not
      apply to issues or mean something else, so a profile written for pull
      requests landed a permanently empty section under Issues — the only escape
      was writing the profile down to what both views understand
    • A profile may now be { prSections; issuesSections; } instead of a bare
      list, with issuesSections = [ ] leaving the issues view empty rather
      than wrong; issue filters are scope-free and get the launch-time scope
      exactly as PR ones do
    • The default profile keeps a consumer-set
      programs.gh-dash.settings.issuesSections instead of overwriting it —
      those sections carry the scope their author chose, and one that wants to
      follow the launch repo writes the __GH_DASH_SCOPE__ placeholder itself.
      Since the prs window of a vigos.sesh layout runs gh-dash-repo, that
      was the launch path where the setting silently disappeared
    • Backward compatible: a bare list still means both views, so every profile
      written against [FEATURE] vigos.ghdash: per-project scope and section profiles #1586 renders byte-identically
  • CI now guards homeManagerModules on home-manager master + nixos-unstable
    (#1589)
    • The vigos.* home modules are exported as paths and evaluated against
      whatever nixpkgs and home-manager the consumer supplies, but devkit only
      tested the stable side of that contract — an option rename on home-manager
      master, or an unstable nixpkgs change under a module default, surfaced as
      a consumer eval break after a lock bump, downstream
    • A new eval-only nixosConfigurations.ci-hm-unstable wires the full module
      set (every enable on) through the NixOS-module tier —
      home-manager.users.<name>, the wiring the production consumer runs — on
      home-manager master + nixpkgs-unstable, and a blocking Tier-0 test
      forces its toplevel drvPath; nothing is built
    • The weekly update-nixpkgs-unstable cron now bumps the new
      home-manager-unstable input alongside nixpkgs-unstable, so a
      master-side break surfaces on that PR's CI, inside devkit's release gate,
      before any consumer lock bump

Changed

Dependencies

  • Update @devcontainers/cli from 0.88.0 to 0.89.0 (#1582)

Security

  • Except the rsync 3.5.0 advisory batch in the vulnix register
    (#1592,
    #1593)
    • The NVD feed published 17 new CVEs against rsync-3.4.4 overnight, taking
      both nightly scan lanes and the release train's vulnix-gate red; 8 score

      = 7.0 and are now excepted, the other 9 fall below the gate's threshold

    • A feed event, not a closure change: the previous night's scan was green on
      the same pin and the findings diff is 17 added / 0 removed / no other
      package touched, so no exception had expired and nothing in this repo
      caused it
    • Advancing the pin cannot clear them today — all 17 are fixed in rsync
      3.5.0, whose 26.05 backport reached staging-next-26.05 on 2026-08-29 but
      not yet release-26.05 or the pinned nixos-26.05
    • Expires 2026-09-23, its own early slot on the staggered grid because this
      block's lever moves soonest: it should die on the pin advance that ships
      3.5.0 rather than be renewed. Six of the eight defects are rsyncd
      daemon-only and this image never starts a daemon; the remaining two need
      the user to point rsync at a hostile peer

renovate Bot and others added 30 commits August 31, 2026 08:07
Syncs `dev` with `main` (sync-main-to-dev workflow).
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@devcontainers/cli](https://redirect.github.com/devcontainers/cli) |
[`0.88.0` →
`0.89.0`](https://renovatebot.com/diffs/npm/@devcontainers%2fcli/0.88.0/0.89.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@devcontainers%2fcli/0.89.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@devcontainers%2fcli/0.88.0/0.89.0?slim=true)
|

---

### Release Notes

<details>
<summary>devcontainers/cli (@&#8203;devcontainers/cli)</summary>

###
[`v0.89.0`](https://redirect.github.com/devcontainers/cli/blob/HEAD/CHANGELOG.md#0890)

[Compare
Source](https://redirect.github.com/devcontainers/cli/compare/v0.88.0...v0.89.0)

- Add opt-in OCI authentication hardening with `--oci-auth-hardening`,
trusted cross-origin authentication host mappings, and diagnostics for
measuring compatibility impact.
([#&#8203;1278](https://redirect.github.com/devcontainers/cli/pull/1278))

</details>

---

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/vig-os/devkit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC40OS4wIiwidXBkYXRlZEluVmVyIjoiNDQuNDkuMCIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
RED for the per-session layout work. Two cases, both failing now:

- a session naming a layout profile emits its own startup_command while a
  session that names none stays bare and inherits [default_session]
- a session naming a profile that does not exist fails at eval, with a
  message carrying the offending name and the valid ones

The ci profiles declare no sessions, so `_ci_full_config` cannot express
per-session behaviour; these render sesh.toml from a synthetic home
config instead. That needs expression eval rather than an installable, so
nix_helpers grows `nix_eval_expr` — returning the completed process
rather than asserting, so the guard's failure path is testable at all. It
also gives the previously unused `flake_expr` its first caller.

Current failures are the intended ones: the first reports that
`vigos.sesh.layout.profiles` does not exist, the second gets an
option-does-not-exist error naming neither the bad profile nor the valid
set.

Refs: #1583
GREEN for the tests committed in 349f058.

`layout.windows` chose which windows a session got, but globally: every
seed opened identically, so a repo with no pull-request workflow still
started a dashboard window on a permanently empty view. Disabling the
module and hand-writing sesh.toml was the only way out — discarding the
layout mechanism entirely to change one window.

Add `layout.profiles` (named window sets) and a `layout` field on a
session that selects one. `default` stays `layout.windows` and wins over
a same-named profile key, so the default set has one home rather than two
that can disagree.

Delivery is sesh's own config, not a new mechanism: SessionConfig embeds
DefaultSessionConfig, so a `[[session]]` already accepts startup_command,
and startup.Exec resolves per-session ahead of [default_session]. A
session with a profile emits `startup_command = "sesh-layout <profile>"`;
one without stays bare and inherits. sesh-layout gains the profile as an
argument and stays a single binary, because consumers probe for it by
name to detect a provisioned host.

The layout body is factored into renderProfile so one code path serves
every profile including the default. An undefined profile throws while
rendering rather than via `assertions`, which never fire when only the
sesh.toml option is evaluated; the message names the session, the bad
profile and the valid set.

Backward compatible: with profiles empty and no session setting layout,
the generated sesh.toml and script are unchanged.

Verified beyond the unit tests, against a built script from a synthetic
config: `default` yields edit/git/shell/claude and `docs` yields
edit/shell, re-running inside a live session leaves windows untouched and
exits 0, and an unknown profile prints to stderr and exits 1.

Refs: #1583
## Description

`vigos.sesh` applied one window set to every project. `layout.windows`
parameterizes *which* windows a session gets, but the choice is global —
every seed in `sessions` opened identically, so a repo with no
pull-request workflow still started a dashboard window on a permanently
empty view, and a docs repo still got a git TUI it had no use for. The
only escape was disabling the module and hand-writing `sesh.toml`,
discarding the whole layout mechanism to change one window.

This adds named layout profiles and a per-session selector. Opt-in and
backward compatible.

## Type of Change

- [x] `feat` -- New feature
- [ ] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task (deps, config, etc.)
- [ ] `refactor` -- Code restructuring (no behavior change)
- [x] `test` -- Adding or updating tests
- [ ] `ci` -- CI/CD pipeline changes
- [ ] `build` -- Build system or dependency changes
- [ ] `revert` -- Reverts a previous commit
- [ ] `style` -- Code style (formatting, whitespace)

### Modifiers

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

## Changes Made

**`nix/home/sesh.nix`**

- `vigos.sesh.layout.profiles` — attrset of named window sets, reusing
the existing `windowModule`. Empty by default.
- `sessions[].layout` — `nullOr str` naming a profile. Null (default)
inherits.
- `default` is `layout.windows` and wins over a same-named key in
`profiles`, so the default set has **one** home rather than two that can
disagree.
- The layout body is factored into `renderProfile` so one code path
serves every profile including the default; `sesh-layout` dispatches on
an optional argument and stays a **single binary**, because consumers
probe for it by name to detect a provisioned host.
- An undefined profile throws while rendering, naming the session, the
bad profile and the valid set.

**Why the guard throws rather than using `assertions`:** assertions only
fire when the activation package is evaluated. A consumer (or a test)
that evaluates just `home.file.".config/sesh/sesh.toml".text` would sail
past them and emit a `sesh.toml` whose sessions all die at `sesh
connect` — far from the definition that caused it.

**Delivery uses sesh's own config, not a new mechanism.**
`SessionConfig` embeds `DefaultSessionConfig` in sesh's
`model/config.go`, so a `[[session]]` block already accepts
`startup_command`, and `startup.Exec` resolves per-session → wildcard →
default. A session with a profile emits `startup_command = "sesh-layout
<profile>"`; one without stays bare and inherits `[default_session]`.

**Rejected alternatives** (detail in #1583): sesh's native `[[window]]`
+ per-session `windows` — it sends startup keys to the session rather
than a captured `#{window_id}` (this module captures ids precisely
because names collide or auto-rename), errors if a name has no
`[[window]]` block, and cannot run a command *in* window 1 with a shell
fallback, which is how the first entry works. `[[wildcard]]` patterns
never fire for curated seeds, because `configWildcardStrategy` needs the
connect name to resolve to a directory. Inline `sessions[].windows`
duplicates a window list across every session sharing a layout.

## Changelog Entry

```markdown
### Added

- **A `vigos.sesh` project can now open with its own window layout**
  ([#1583](#1583))
  - `layout.windows` chose *which* windows a session got, but the choice was
    global: every seed in `sessions` opened identically, so a repo with no
    pull-request workflow still started a dashboard window on a permanently
    empty view, and a docs repo still got a git TUI it had no use for. The only
    escape was disabling the module and hand-writing `sesh.toml`, discarding the
    whole layout mechanism to change one window
  - `vigos.sesh.layout.profiles` takes named window sets and a session's new
    `layout` field selects one; `default` remains `layout.windows` and cannot be
    redefined, so there is one home for the default set rather than two that can
    disagree
  - Delivery is sesh's own config rather than a new mechanism: a session with a
    profile emits `startup_command = "sesh-layout <profile>"`, which sesh
    resolves ahead of `[default_session]`, so a session naming no profile stays
    bare and inherits the default. `sesh-layout` takes the profile as an
    argument and stays a single binary — consumers probe for it by name to
    detect a provisioned host
  - A session naming an undefined profile fails at eval, listing the valid
    names, rather than producing a `sesh.toml` whose sessions die at connect
    time far from the definition that caused it
  - Backward compatible: with `profiles` empty and no session setting `layout`,
    the generated `sesh.toml` and layout script are unchanged
```

## Testing

- [ ] Tests pass locally (`just test`) — **see the note below; not run
as-is**
- [x] Manual testing performed (describe below)

TDD, commits in order: `349f0581` adds the RED tests, `5e4714ad` makes
them GREEN.

`_ci_full_config` cannot express per-session behaviour (the ci profiles
declare no sessions), so the new tests render `sesh.toml` from a
synthetic home config. That needs expression eval rather than an
installable, so `tests/nix_helpers.py` grows `nix_eval_expr` — returning
the completed process rather than asserting, which is what makes the
guard's *failure* path testable at all. It also gives the previously
unused `flake_expr` its first caller.

**What I actually ran, and what I did not.** `just test` was not run as
written: it chains `test-image` / `test-integration`, which build and
run the dev container image — unrelated to a Nix-module change and
expensive. Instead:

- `uv run pytest tests/ --ignore=tests/test_image.py
--ignore=tests/test_integration.py --deselect
…::test_flake_check_succeeds` → **935 passed, 1 skipped** (192s).
`test_flake_check_succeeds` is deselected in CI too, where
nix-fast-build builds the same checks.
- `prek run --all-files` → fully green, and the tree was still clean
afterwards (no hook rewrote anything).

The container lanes are left to CI.

### Manual Testing Details

Built the generated `sesh-layout` from a synthetic config declaring a
`docs` profile, and exercised the real artifact in scratch tmux sessions
rather than reading the source:

| Check | Result |
|---|---|
| `default` profile | `edit git shell claude` — unchanged from module
defaults |
| `docs` profile | `edit shell` |
| Idempotency guard (re-run inside a live session) | window set
untouched, exit 0 |
| Unknown profile | `sesh-layout: unknown profile nope` on stderr, exit
1 |
| Per-session emission | selecting session gets `startup_command =
"sesh-layout docs"`; silent session stays bare |

Scratch sessions were killed afterwards.

The mechanism was also field-proven in a consumer config before being
upstreamed here — the same path `vigos.sesh` itself took ("parameterized
port of the maintainer's proven setup") — including a check that the
generated `sesh.toml` parses under sesh 2.26.2 with every seed still
listed.

## 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`) — no template change needed;
the option descriptions carry it, and `generate-docs` is green
- [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

The `assets/workspace/.devcontainer/CHANGELOG.md` hunk is the
`sync-manifest` hook mirroring the root changelog into the scaffold
template — generated, not hand-edited.

Reviewer's shortest path to the risk: the default profile must be
byte-for-byte the old behaviour. `renderProfile` is the old body with
`cfg.layout.windows` replaced by its parameter, and `layoutProfiles`
binds `default` to `cfg.layout.windows`, so an unconfigured consumer
gets the same script modulo the `case` wrapper.

Refs: #1583
Scheduled advance of the pinned stable nixpkgs rev - the primary
CVE-remediation lever (docs/CONTAINER_SECURITY.md). Full CI on this PR,
including the closure rebuild, is the merge gate.

After merge, the first nightly security scan produces the findings delta
against the new closure; reconcile the exception registers against that
delta (delete cleared entries) rather than re-dating them.

Refs: #1565
Scheduled refresh of the nixpkgs-unstable pin (uv, gh, claude-code via
the fastMovers overlay). Full CI on this PR is the merge gate.

Refs: #817
…ixos-unstable (#1590)

## Summary

Adds the eval-only CI leg from #1589: the exported `vigos.*` home
modules are now release-gated against **home-manager `master` +
`nixos-unstable`**, the branch pair a production consumer runs,
alongside the existing stable coverage.

## What changed

- **New flake input `home-manager-unstable`** (home-manager `master`,
`follows nixpkgs-unstable`). One leaf lock node; fetched only when the
guard is evaluated. One correction to the issue text: a new input *is*
needed — devkit's `home-manager` input is pinned to `release-26.05`, so
master has no existing source.
- **`nixosConfigurations.ci-hm-unstable`** — a throwaway eval-only NixOS
system on `nixpkgs-unstable` wiring the full module set (the existing
`hmProfiles.full`, so it stays in lockstep with the stable matrix)
through the NixOS-module tier (`home-manager.users.<name>`), matching
how the server consumer wires it. Carries the `vig-utils` overlay +
`allowUnfree`, the same combination `mkHomePkgs` gives the stable
matrix; the fast-mover overlay is deliberately absent (the base *is* the
fast branch). Never built.
- **Blocking gate:** `test_hm_unstable_nixos_tier_evaluates` in
`tests/test_flake_checks.py` forces the configuration's toplevel drvPath
and asserts the full `vigos.*` surface is enabled. That file runs in the
required Tier-0 job, so the leg is blocking with no workflow changes.
- **Freshness:** the weekly `update-nixpkgs-unstable` cron now bumps
`home-manager-unstable` alongside `nixpkgs-unstable` — a master-side
break surfaces as red CI on that bump PR, inside devkit's release gate,
before any consumer lock bump. Without this the guard would test a
frozen master snapshot.

## Verification

- New test RED before the flake change (missing attribute), GREEN after
(73 s first eval, cached thereafter).
- Full `tests/test_flake_checks.py`: 18/18 passed, including
`test_flake_check_succeeds` (`nix flake check` — which caught and forced
the statix dotted-key cleanup in the last commit).
- `prek run --all-files` green.

Closes #1589
…es (#1591)

## Summary

One PR for the coupled pair #1585 + #1586: `vigos.sesh` learns remote
project seeds with a runner-aware picker, and `vigos.ghdash` gains
per-project scope plus named section profiles. They land together
deliberately — both introduce a binary that collides with a downstream
config's own copy (`sesh-picker`, `gh-dash-repo`), so shipping them in
the same release makes the consumer migration atomic, and the ghdash
wrapper is what a sesh layout profile points its dashboard window at.

## vigos.sesh: remote seeds + runner stage (#1585)

- **`vigos.sesh.remotes`** — `{ project, host, path }` list (`host` is
an `~/.ssh/config` alias; no connection details in the module). Rendered
to `remotes.tsv` beside `sesh.toml` **only when populated**, so the
empty default is a bit-for-bit no-op, asserted as such.
- **Runner stage in `sesh-picker`** — appears only when a project has
more than one location; last-used runner remembered and pre-selected
(`Enter Enter` reconnects). One script for both shapes: an
empty-inventory guard at the top preserves today's one-stage flow
verbatim, rather than a second generated picker that could drift.
Remote-only entries get a portable `⇄` marker (no Nerd-Font dependency).
- **`sesh-remote-connect`** — attach-or-create over SSH (`tmux new -A`),
tiered capability probe in a single round trip (`sesh-layout` → full
layout; tmux → persistent blank session; neither → warned plain shell),
forced `TERM=xterm-256color`, Nix profile bins prepended for
non-interactive shells. Ships unconditionally (useful standalone).
- **`vigos.sesh.remoteTerminal`** (design call) — the nested-tmux escape
hatch's terminal is an option, not a baked-in binary. **Null default
opens a local tmux window** running the ssh client: functional
everywhere at the cost of nested prefix keys; set e.g. `"ghostty -e"`
for an own-window experience.

## vigos.ghdash: per-project scope + profiles (#1586)

- **`gh-dash-repo [profile]`** — resolves the repo from `origin` at the
launch CWD, substitutes it into a rendered template, and `exec`s
`gh-dash --config`. Outside a GitHub repo it falls back to the
`repoFilters` scope (or `involves:@me`), so it is always valid. Unknown
profile → error listing the valid names.
- **`vigos.ghdash.profiles`** (design call) — named section sets with
**scope-free filters; the module appends the launch-time scope** (same
composition as the generated sections), so a profile cannot silently
ship unscoped. `default` mirrors the generated sections and cannot be
redefined (same rule as sesh layout profiles). Templates are full merged
settings with only the section keys swapped, so consumer tuning carries
into every per-repo config; rendered as JSON (a YAML subset) so the text
is eval-pure and testable.
- **Backward compatible** — `programs.gh-dash.settings` unchanged
(asserted byte-level on the section filters); the placeholder never
reaches the global config.

## Verification

- TDD: each side committed RED first, then GREEN (`test(sesh)` →
`feat(sesh)`, `test(ghdash)` → `feat(ghdash)`); 5 new eval-level tests.
Interactive picker/wrapper paths are shell and not unit-testable here,
per the issues.
- `nix build .#checks.x86_64-linux.hm-full` green (shellcheck on all
three generated scripts).
- Full `tests/test_flake_checks.py`: 23/23 after merging dev (including
the new #1589 master+unstable guard, which now covers these options
too).
- `prek run --all-files` green.

Closes #1585
Closes #1586
…gister

The nightly scan of 2026-09-01 (run 33493764209) went red on BOTH refs
with a single package: rsync 3.4.4, a direct member of the image env.
The NVD feed published 17 new rsync CVEs overnight; 8 score >= 7.0 and
are excepted here, the other 9 fall under the gate's 7.0 threshold.

Diagnosed as a FEED event, not a closure change, before writing any
entry: the previous night's scan (run 33386509290, 2026-08-31) was green
on the same pin, and the findings diff across the two runs is 17 added,
0 removed, no other package touched. No exception had expired either --
the next grid date is 2026-09-30 -- so nothing in this repo caused it.

The "advance the rev" lever has nowhere to land today. All 17 are fixed
in rsync 3.5.0, whose 26.05 backport (NixOS/nixpkgs#557467) merged into
staging-next-26.05 on 2026-08-29, one hop short of release-26.05. As of
this triage staging-26.05 and staging-next-26.05 ship 3.5.0 while
release-26.05 and the pinned nixos-26.05 still ship 3.4.4, so rebuilding
on any rev reachable today reproduces these findings unchanged.

The reachability rationale is unusually strong for this register, which
is why a three-week window is defensible rather than merely convenient:
six of the eight are rsyncd DAEMON-mode defects, and CVE-2026-53803
scopes its own impact to setuid or privileged-daemon installs. This
image ships rsync as an interactive CLI for a single user and never
starts a daemon. Only CVE-2026-70455 (receiver DoS driven by a malicious
sender) and CVE-2026-53795 (--temp-dir/--link-dest escaping the
destination tree) touch the real usage model, and each still requires
the user to point rsync at a hostile peer.

Expiration 2026-09-23 takes its own Wednesday per the #1553 stagger,
placed early in the grid because this block's remediation lever moves
soonest of any entry: one staging-next -> release-26.05 -> nixos-26.05
hop that the weekly update-nixpkgs.yml advance then picks up by itself.
This block should die on remediation rather than be renewed; if 3.5.0
has not reached the pinned channel by the expiry, the gate goes red and
forces a re-review with fresh evidence.

Verified against both refs' findings artifacts from the failing run:
unexcepted HIGH/CRITICAL drops from 8 to 0 on main and on dev.

Refs: #1592, #1593
…gister (#1594)

## Description

The nightly scan of 2026-09-01 ([run
33493764209](https://github.com/vig-os/devkit/actions/runs/33493764209))
went red on **both** refs, opening #1592 (main) and #1593 (dev). They
are the same incident: one package, `rsync-3.4.4`, a direct member of
the image env (`flake.nix`).

The NVD feed published **17 new rsync CVEs** overnight. Eight score >=
7.0 and are excepted by this PR; the other nine fall under the gate's
7.0 threshold and need no entry.

Full diagnosis: [#1592
comment](#1592 (comment)).

## Type of Change

- [x] `fix` -- Bug fix

### Modifiers

- [ ] Breaking change (`!`)

## Changes Made

A single time-boxed block appended to `.vulnixignore`, expiring
**2026-09-23**, plus the mirrored changelog entries.

**This is a feed event, not a closure change** — established before
writing any entry. The previous night's scan ([run
33386509290](https://github.com/vig-os/devkit/actions/runs/33386509290),
2026-08-31) was green on the same pin, and the findings diff across the
two runs is 17 added / 0 removed / no other package touched. No
exception had expired either (next grid date is 2026-09-30), so nothing
in this repo caused it.

**The rev-advance lever has nowhere to land today.** All 17 are fixed in
rsync 3.5.0:

| Branch | rsync |
|---|---|
| `staging-26.05` | **3.5.0** (2026-08-28) |
| `staging-next-26.05` | **3.5.0** (backport
[NixOS/nixpkgs#557467](NixOS/nixpkgs#557467),
merged 2026-08-29) |
| `release-26.05` | 3.4.4 |
| **`nixos-26.05`** (pinned) | **3.4.4** |

Rebuilding on any rev reachable today reproduces these findings
unchanged.

**Reachability** — unusually strong for this register, and the reason a
three-week window is defensible rather than merely convenient. Six of
the eight are `rsyncd` **daemon-mode** defects (53791, 70461, 70463,
53802, 53784), and CVE-2026-53803 scopes its own impact to setuid or
privileged-daemon installs. This image ships rsync as an interactive CLI
for a single user and never starts a daemon. Only CVE-2026-70455
(receiver-side thread exhaustion driven by a malicious *sender*) and
CVE-2026-53795 (`--temp-dir`/`--link-dest` escaping the destination
tree, both caller-supplied) touch the real usage model, and each still
requires the user to point rsync at a hostile peer.

**Expiry placement** — `2026-09-23` takes its own Wednesday per the
#1553 stagger, placed *early* in the grid (ahead of lower-reachability
09-30) because this block's lever moves soonest of any entry: one
`staging-next` → `release-26.05` → `nixos-26.05` hop that the weekly
`update-nixpkgs.yml` advance then picks up by itself. This block is
expected to **die on remediation rather than be renewed**; if 3.5.0 has
not reached the pinned channel by the expiry, the gate goes red and
forces a re-review with fresh evidence.

## Changelog Entry

```
### Security

- **Except the rsync 3.5.0 advisory batch in the vulnix register**
  ([#1592](#1592),
  [#1593](#1593))
  - The NVD feed published 17 new CVEs against `rsync-3.4.4` overnight, taking
    both nightly scan lanes and the release train's `vulnix-gate` red; 8 score
    >= 7.0 and are now excepted, the other 9 fall below the gate's threshold
  - A feed event, not a closure change: the previous night's scan was green on
    the same pin and the findings diff is 17 added / 0 removed / no other
    package touched, so no exception had expired and nothing in this repo
    caused it
  - Advancing the pin cannot clear them today — all 17 are fixed in rsync
    3.5.0, whose 26.05 backport reached `staging-next-26.05` on 2026-08-29 but
    not yet `release-26.05` or the pinned `nixos-26.05`
  - Expires `2026-09-23`, its own early slot on the staggered grid because this
    block's lever moves soonest: it should die on the pin advance that ships
    3.5.0 rather than be renewed. Six of the eight defects are `rsyncd`
    daemon-only and this image never starts a daemon; the remaining two need
    the user to point rsync at a hostile peer
```

## Testing

- [x] Tests pass locally (`just precommit` — full suite, all green)
- [x] Manual testing performed (described below)

### Manual Testing Details

Replayed the gate's own logic against **both refs' findings artifacts
from the failing run**, before and after the change:

| Ref | Unexcepted HIGH/CRITICAL before | After |
|---|---|---|
| `main` | 8 | **0** |
| `dev` | 8 | **0** |

`uv run check-expirations .vulnixignore` → `Validated 22 exception(s)
across 1 file(s)`, exit 0.

`just precommit` run in full locally and read green (including
`pymarkdown`, `check-unreleased-typos`, `check-expirations`) before
pushing.

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly — n/a, no
doc-template change; the register block carries its own rationale per
`docs/CONTAINER_SECURITY.md`
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [ ] I have added tests that prove my fix is effective — n/a, an
exception-register data change; verification is the artifact replay
above
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published

## Additional Notes

Blast radius while this is open: PR CI is **not** blocked
(`ci.yml:425-441` runs only `check-expirations`, not the gate), but
`release.yml:884` carries a blocking `vulnix-gate` job, so the release
train stays red until this merges. Both nightly lanes will keep
re-opening these issues each morning.

Close #1592 and #1593 on the first green nightly after merge, per the
scan issue's own instruction — not on merge of this PR.

Refs: #1592, #1593
## Description

`vigos.ghdash.profiles` named one section list per profile and the
wrapper wrote
it to **both** `prSections` and `issuesSections`. PR and issue queues
are not
filtered alike — `review-requested:@me`, `draft:false`,
`reviewed-by:@me` either
do not apply to issues or mean something else — so a profile written for
pull
requests landed a permanently empty section under Issues, and the only
escape
was writing the profile down to the intersection of what both views
understand.

The quieter half: `templateText` set both keys unconditionally, so a
consumer
who tuned `programs.gh-dash.settings.issuesSections` kept it for bare
`gh-dash`
and lost it in **every** `gh-dash-repo` launch, `default` included —
which is
the launch path a `vigos.sesh` layout's `prs` window actually uses.

## Type of Change

- [x] `feat` -- New feature

### Modifiers

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

## Changes Made

- **`profiles` takes either shape.** A profile is still one entry — one
dashboard — but may now be `{ prSections; issuesSections; }` instead of
a
  bare list. `issuesSections = null` (the default) mirrors `prSections`;
`[ ]` leaves the issues view empty rather than wrong. A bare list
coerces to
  today's meaning, so nothing written against #1586 changes.
- Implementation note: the issue's sketch used `coercedTo sectionList
…`, but
nixpkgs asserts `coercedType.getSubModules == null`, so the source type
is
    shape-only (`listOf anything`) and the entries are type-checked by
`prSections` after coercion — a malformed section still fails at eval
(verified: `profiles.bad = [ { title = "X"; typo = true; } ]` errors
with
``The option `vigos.ghdash.profiles.bad.prSections."[definition 1-entry
1]".typo` does not exist``).
- **`templateText` takes the pair** and stops folding one list into
both; issue
filters are scope-free and get the `__GH_DASH_SCOPE__` placeholder
exactly as
  PR ones do.
- **`default` stops overwriting the consumer's issues view.** The module
only
`mkDefault`s `programs.gh-dash.settings.issuesSections`, so anything
else is
the consumer's own dashboard and passes through verbatim — those
sections
carry the scope their author chose; one that wants to follow the launch
repo
  writes the placeholder itself (documented on the option).

Scope note: the same "respect the consumer's value" rule is deliberately
*not*
applied to `prSections`, per the issue — the generated sections are
PR-shaped
and scoping them to the launch repo is the wrapper's whole purpose.

## Changelog Entry

```markdown
### Added

- **A `vigos.ghdash` profile can now filter its issues view separately**
  ([#1595](#1595))
  - A profile named one section list and the wrapper wrote it to both views,
    but PR and issue queues are not filtered alike: the qualifiers that make a
    PR profile useful (`review-requested:@me`, `draft:false`) either do not
    apply to issues or mean something else, so a profile written for pull
    requests landed a permanently empty section under Issues — the only escape
    was writing the profile down to what both views understand
  - A profile may now be `{ prSections; issuesSections; }` instead of a bare
    list, with `issuesSections = [ ]` leaving the issues view empty rather
    than wrong; issue filters are scope-free and get the launch-time scope
    exactly as PR ones do
  - The `default` profile keeps a consumer-set
    `programs.gh-dash.settings.issuesSections` instead of overwriting it —
    those sections carry the scope their author chose, and one that wants to
    follow the launch repo writes the `__GH_DASH_SCOPE__` placeholder itself.
    Since the `prs` window of a `vigos.sesh` layout runs `gh-dash-repo`, that
    was the launch path where the setting silently disappeared
  - Backward compatible: a bare list still means both views, so every profile
    written against #1586 renders byte-identically
```

## Testing

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

`uv run pytest tests/test_flake_checks.py` — **25 passed** (includes
`nix flake check` and the `ci-hm-unstable` eval). `prek run --all-files`
green,
no file modified.

Three tests, TDD (RED commit `7a9aaa16`, GREEN `12a64b9a`):

- `test_ghdash_profiles_render_templates` — extended with bare-list
parity:
`default` and a list-shaped profile must render `prSections ==
issuesSections`.
- `test_ghdash_profile_splits_pr_and_issue_sections` — a split profile
keeps the
two lists apart and scopes the issues list; `issuesSections = [ ]` stays
empty.
- `test_ghdash_default_profile_keeps_consumer_issue_sections` — a
consumer-set
`issuesSections` survives into `default.yml` verbatim while the
generated PR
sections still carry the placeholder. This needed `_home_module_eval` to
grow
  an `extra` argument for module attributes outside `vigos.<module>`.

### Manual Testing Details

Backward compatibility checked byte-for-byte, not just by shape:
rendered
`default.yml`, `shared.yml` (a bare-list profile with a `limit`) and
`programs.gh-dash.settings` from a `git worktree` at `origin/dev` and
from this
branch, with the same `repoFilters` — `diff` is empty.

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

Option documentation lives in the module's `description`/`example`
(there is no
`docs/` page for `vigos.ghdash`), both updated. The scaffold's changelog
mirror
(`assets/workspace/.devcontainer/CHANGELOG.md`) is the `sync-manifest`
hook's
output, not a hand edit.

Refs: #1595
Move Unreleased content to [1.13.0] - TBD
and create fresh empty Unreleased section for continued development.
Regenerate the synced workspace mirror so
assets/workspace/.devcontainer/CHANGELOG.md matches the frozen root
CHANGELOG.md on the release branch.
@c-vigo
c-vigo marked this pull request as ready for review September 1, 2026 15:08
@c-vigo
c-vigo self-requested a review as a code owner September 1, 2026 15:08
c-vigo
c-vigo previously approved these changes Sep 1, 2026
@c-vigo

c-vigo commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

RC1 validation — home-module tier

1.13.0-rc1 (7da731ef) is green on every automated lane: all release jobs
including Vulnix CVE Gate, and the cross-repo gate (smoke-test ran Prepare
Release → CI → Direnv Smoke → Release, all success, 1.13.0-rc1 pre-release
created).

Those lanes do not cover this train's headline content. vigos.sesh and
vigos.ghdash ship as homeManagerModules; the devcontainer image is built
from devTools via dockerTools.buildLayeredImage, so neither the RC image nor
the smoke test touches #1583/#1585/#1586/#1595. From the image's side this is a
dependencies-only train. The checks below cover the rest.

Method: checks.x86_64-linux.hm-full (= homeConfigurations.ci-full-x86_64-linux.activationPackage)
built from the release branch, plus a fixture layered on it with extendModules
— ci-full only flips enable flags, so it never reaches the new option
surface. Binaries were run from their store paths; no home profile was activated.

Backward compatibility

Built hm-full from 1.12.0 and from release/1.13.0 and diffed the rendered
files:

Artifact Result
.config/sesh/sesh.toml bit-for-bit identical
.config/gh-dash/config.yml identical
.config/sesh/remotes.tsv absent when remotes is empty
.config/gh-dash/profiles/ new directory, purely additive

The "empty inventory is a bit-for-bit no-op" claim is now tested rather than
asserted.

Rendering (#1585, #1586, #1595)

  • remotes.tsv renders tab-separated project<TAB>host<TAB>path, one line per
    project × host.
  • Bare-list profile mirrors its sections to both views; the
    { prSections; issuesSections; } form keeps them apart; issuesSections = [ ]
    renders a genuinely empty issues view.
  • Every profile filter is emitted scope-free carrying __GH_DASH_SCOPE__.
  • A consumer-set programs.gh-dash.settings.issuesSections passes through the
    default template verbatim, with no placeholder appended, while
    prSections keeps the generated set — the deliberate asymmetry in [FEATURE] vigos.ghdash: let a section profile set its own issuesSections #1595.

Runtime

  • gh-dash-repo <profile> inside this repo substitutes repo:vig-os/devkit
    into both views, per-view filters preserved.
  • Outside a GitHub repo it falls back to the rendered repoFilters
    (involves:@me with the option at its default), empty issues view preserved.
  • Unknown profile exits 1 and lists the valid profiles.
  • sesh-layout builds the default 4 windows (edit/git/shell/claude);
    sesh-layout docs builds the 2-window profile (edit/shell).
  • A session naming a profile emits startup_command = "sesh-layout docs";
    a session naming none stays bare.
  • A session selecting an undefined layout profile fails at eval:
    session "oops" selects layout profile "typo", which is not defined. Valid profiles: default, docs.
  • Picker with remoteTerminal = null dispatches
    tmux new-window -n "$name" sesh-remote-connect … inside tmux, direct exec
    outside — no nested remote tmux.

sesh-remote-connect tiered probe

Exercised against a provisioned host on the internal network:

  1. sesh-layout on the remote PATH — verified end to end: a live 4-window
    standard layout session was created on the remote and then torn down.
  2. tmux only — dispatches new-session -A -s <name> -c <path>, correctly
    without the sesh-layout argument.
  3. neither — emits the warning and drops to a login shell.

Tiers 2 and 3 were forced by running the dispatch snippet verbatim from the
installed script with the probe targets masked.

Incidental: the remote tmux would not start until TERM was set, which is
exactly what the script's export TERM=xterm-256color exists to guarantee.

One observation — follow-up, not a blocker

Redefining the reserved default profile is silently ignored: setting
vigos.ghdash.profiles.default produced a byte-identical build to the untouched
one. Both modules use cfg.profiles // { default = …; }, so the generated set
always wins, and both option descriptions document it. The asymmetry is that
selecting an undefined sesh layout profile throws a clear eval error, while
redefining a reserved name says nothing at all. Safe direction; worth a
follow-up issue for a later train.

Set release date to 2026-09-01 and regenerate release docs.

Refs: #1597

@c-vigo c-vigo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release acceptance for 1.13.0.

Re-approval after the finalize pushes dismissed the earlier one. Delta since that approval is the version stamp, the CHANGELOG date stamp in both copies, the README latest-version line, and the generated issue/PR mirror docs — no source, module, or workflow changes.

Verified before approving: PR CI green on the finalized head, release-lane vulnix-gate green, 1.13.0-rc1 validated (including the home-module tier, which the image and smoke test do not cover — see the validation comment above), and devkit-smoke-test published its final 1.13.0 release.

@vig-os-release-app
vig-os-release-app Bot merged commit e340e81 into main Sep 1, 2026
17 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the release/1.13.0 branch September 1, 2026 16:15
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