Repository navigation
chore: release 1.0.0 - #975
Merged
Merged
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
Assert the .vig-os version-pin parsers read the renamed DEVKIT_VERSION key, prefer it over the legacy DEVCONTAINER_VERSION regardless of file order, and still resolve a legacy-only manifest. Covers the resolve-image composite action (pytest) and the initialize.sh / version-check.sh scaffold parsers (bats). Fails against the current DEVCONTAINER_VERSION-only parsers. Refs: #781
…(GREEN) Every .vig-os version-pin reader now prefers a DEVKIT_VERSION key and falls back to the legacy DEVCONTAINER_VERSION when absent, so un-migrated consumer pins keep resolving during the devcontainer -> devkit rename (soft cutover). Both keys are captured and preferred after the read, so DEVKIT_VERSION wins regardless of line order. Updates the resolve-image composite action (root + scaffold mirror), the scaffold initialize.sh / version-check.sh parsers, and the Nix image build tag resolution. The written .env / compose var name is unchanged in this slice. Refs: #781
Rename the root pyproject project (name + dev dependency-group) and the package.json / package-lock.json CI-deps package from devcontainer to devkit as part of the project rename. Metadata only — the root project is not published and nothing imports it, so there is no runtime or consumer impact. Lockfiles regenerated. The generic @devcontainers/cli dependency is unchanged. Refs: #781
…ck (#968) ## Summary First slice of the `devcontainer` → `devkit` rename (**#781**): make every `.vig-os` version-pin reader accept the renamed **`DEVKIT_VERSION`** key, falling back to the legacy `DEVCONTAINER_VERSION` when it is absent. This is the **load-bearing** first step — landing it makes every later rename slice (image ref, dispatch targets, pin-key writeback) **non-breaking** for consumers: a repo whose `.vig-os` still says `DEVCONTAINER_VERSION` keeps resolving, and one re-scaffolded to `DEVKIT_VERSION` resolves too. Soft cutover, per the approved plan. ## Behaviour - Reads prefer `DEVKIT_VERSION`; fall back to `DEVCONTAINER_VERSION` when the new key is absent. - Both keys are captured and preferred **after** the read, so `DEVKIT_VERSION` wins **regardless of line order** (not "first match wins"). - A legacy-only manifest resolves exactly as before (byte-identical) — no regression. ## Read sites updated (all five) | Site | Consumer | |------|----------| | `.github/actions/resolve-image/action.yml` | CI image-tag resolution | | `assets/workspace/.github/actions/resolve-image/action.yml` | scaffold mirror (sync target) | | `assets/workspace/.devcontainer/scripts/initialize.sh` | writes compose `.env` pin | | `assets/workspace/.devcontainer/scripts/version-check.sh` | in-container version report | | `flake.nix` | Nix image build tag | **Out of scope for this slice** (later PRs): the image ref `ghcr.io/vig-os/devcontainer`, the written `.env` / compose var name, and the *written* pin key (`init-workspace.sh` / `release.yml` finalize still write `DEVCONTAINER_VERSION`). `install.sh` does **not** read the version pin from `.vig-os`, so it is untouched here. ## Testing TDD (RED → GREEN): - `tests/test_resolve_image_manifest.py` — new `DEVKIT_VERSION`-only + dual-key precedence (both orders) cases. **4 passed.** - `tests/bats/manifest-parsers.bats` — new `DEVKIT_VERSION` read + precedence cases for `initialize.sh` and `version-check.sh`, with the four legacy `#885` regression tests intact. **8 passed.** - `just precommit` (full suite, incl. shellcheck/actionlint/nixfmt/sync-manifest) — **green.** Refs: #781
Pre-rename hardening for the devcontainer -> devkit repository rename: add -L to every documented `curl ... | bash` install/upgrade one-liner so the fetch follows HTTP redirects. Covers the README template, install.sh help text, MIGRATION.md, the smoke-test template, and the in-container upgrade hint printed by version-check.sh. Repository and image URLs are intentionally unchanged in this slice (they flip with the repo rename / image-ref cutover). Refs: #781
Flip the .vig-os version-pin assertions to the renamed DEVKIT_VERSION key and add a migration case asserting a legacy DEVCONTAINER_VERSION manifest is rewritten to DEVKIT_VERSION on a --force upgrade (the .vig-os overwrite drops the stale key). Fails against the current DEVCONTAINER_VERSION-writing scaffold. Refs: #781
… (GREEN) Flip the version-pin WRITE path to the renamed DEVKIT_VERSION key: the template manifest, init-workspace.sh writeback, the release.yml finalize step, the repo-root .vig-os, and the scaffolded devc-upgrade recipe (which read the pin via awk — a reader missed by the initial parser sweep, now dual-keyed). A --force upgrade migrates a legacy DEVCONTAINER_VERSION pin to DEVKIT_VERSION because .vig-os is overwritten from the template; the writeback sed also rewrites either key defensively. Readers still accept the legacy key (soft cutover). User-facing pin-key mentions in the scaffold ci.yml / prepare-release.yml are updated. The docker-compose .env interpolation variable stays DEVCONTAINER_VERSION in this slice. Integration assertions on the scaffolded .vig-os follow the rename; the .env / legacy-read assertions are unchanged. Refs: #781
## Summary Stage 1 pre-rename hardening for **#781**: add `-L` to every documented `curl … | bash` install/upgrade one-liner so the fetch **follows HTTP redirects**. This keeps the bootstrap working across the upcoming `devcontainer` → `devkit` repository rename (GitHub redirects the old repo URL, but `curl` only follows it with `-L`). ## Changes (`curl -sSf` → `curl -sSfL`) - `docs/templates/README.md.j2` (→ regenerated `README.md`) - `install.sh` help/usage text - `docs/MIGRATION.md` - `assets/smoke-test/README.md` - `assets/workspace/.devcontainer/scripts/version-check.sh` (in-container upgrade hint) ## Explicitly out of scope (deferred) - **Repository URLs** (`github.com/vig-os/devcontainer`, `raw.githubusercontent.com/…`) — flipping them to `devkit` now would 404 until the Stage 3 repo rename; GitHub redirects the old URLs, so they stay valid meanwhile. They canonicalize at Stage 3. - **Image refs** (`ghcr.io/vig-os/devcontainer`) — ride PR 2 (image-ref cutover). The `curl -fsSL https://get.docker.com` calls already follow redirects and are untouched. ## Testing `just precommit` (full suite incl. `generate-docs`, `sync-manifest`) — green. README regenerated from the template. Refs: #781
…#969) ## Summary Stage 1 slice of the `devcontainer` → `devkit` rename (**#781**): rename the **internal package identity** — the root `pyproject.toml` project name and `dev` dependency-group, and the `package.json` / `package-lock.json` CI-deps package. Metadata only: the root project is not published anywhere and nothing imports it, so there is **no runtime or consumer impact**. Both lockfiles are regenerated. ## Changes - `pyproject.toml`: `name = "devcontainer"` → `"devkit"`; dep-group `devcontainer` → `devkit` (+ its `include-group` reference). - `package.json`: `"devcontainer-ci-deps"` → `"devkit-ci-deps"`. The generic `@devcontainers/cli` dependency is **unchanged**. - `uv.lock`, `package-lock.json`: regenerated (`uv lock`, `npm install --package-lock-only`). ## Scope note The **flake attribute** rename (`devcontainerImage` / `devcontainerImageEnv` / `devcontainer-bootstrap`) was originally grouped here but is **reassigned to PR 2** — it touches the same CI workflow files as the image-ref change and needs the nix-build verification that PR 2 already runs, so it's more cohesive there. ## Testing `just precommit` (full suite) — green. No test references the old package/dep-group name. Refs: #781
Signed-off-by: Carlos Vigo <[email protected]>
## Summary Stage 1 slice of **#781**: flip the version-pin **write** path to the renamed `DEVKIT_VERSION` key. Builds on the merged dual-key reader (#968), so this is a **soft cutover** — readers still accept the legacy `DEVCONTAINER_VERSION`. ## Changes - **Template `assets/workspace/.vig-os`** — `DEVKIT_VERSION={{IMAGE_TAG}}`. - **`init-workspace.sh`** — writeback sed rewrites either key → `DEVKIT_VERSION` (migrates a stray legacy line); header comment updated. - **`release.yml` finalize** — writes `DEVKIT_VERSION` to the repo-root `.vig-os`. - **Repo-root `.vig-os`** — now `DEVKIT_VERSION=0.5.1` (dogfoods the new key). - **`justfile.devc` `devc-upgrade`** — **reader missed by the initial parser sweep** (it reads the pin via `awk`, not `sed/grep/case`); now dual-keyed, preferring `DEVKIT_VERSION` with the legacy fallback. - **`flake.nix`** — comment only (the `{{IMAGE_TAG}}` substitution is key-agnostic). - Scaffold `ci.yml` / `prepare-release.yml` — user-facing pin-key mentions updated. ## Migration behaviour `.vig-os` is **not** in `PRESERVE_FILES`, so a `--force` upgrade overwrites it from the template (now `DEVKIT_VERSION`) and the stale legacy key naturally drops. New bats test `init-workspace migrates a legacy DEVCONTAINER_VERSION pin to DEVKIT_VERSION (#781)` covers this end to end. ## Out of scope (later slices) The docker-compose **`.env` interpolation variable** stays `DEVCONTAINER_VERSION` (it's the compose var, not the pin) — its rename rides the image-ref cutover (PR 2). ## Testing - `tests/bats/init-workspace.bats` — 7 version-pin tests green (incl. migration); full file 127 green. TDD RED→GREEN. - `tests/bats/just.bats` — `devc-upgrade` reads `DEVKIT_VERSION`, still honors legacy. Green. - `tests/test_integration.py` — scaffolded-`.vig-os` assertions flipped to `DEVKIT_VERSION` (container tests run in CI). - `just precommit` (full suite) — green. Refs: #781
The cross-repo smoke-test repository was renamed devcontainer-smoke-test -> devkit-smoke-test. Point release.yml / promote-release.yml at the new name for the repository_dispatch, the scoped app token, and the downstream published-release gate — GitHub does not reliably redirect POST .../dispatches or scoped-token targets across a rename. The smoke-test template mirror (assets/smoke-test/) and the release docs (RELEASE_CYCLE, CROSS_REPO_RELEASE_GATE) are updated to match. The source repository name is unchanged (that rename is Stage 3); released CHANGELOG entries naming the old repo are left intact. Refs: #781
## Summary Stage 1 slice of **#781**. The cross-repo smoke-test validation repository has been renamed **`vig-os/devcontainer-smoke-test` → `vig-os/devkit-smoke-test`** (done), so the release orchestration must target the new name. GitHub does **not** reliably redirect `POST …/dispatches` or scoped app-token targets across a repo rename, so these must be updated in code rather than relying on the redirect. ## Changes - **`release.yml`** — smoke-test `repository_dispatch`, scoped app token (`repositories:`), and operator messages → `devkit-smoke-test`. - **`promote-release.yml`** — scoped app token + the downstream published-release gate (`repos/vig-os/devkit-smoke-test/releases/tags/…`). - **Template mirror `assets/smoke-test/`** — README example, dispatch-listener comment, and the `renovate.json` preset (`github>vig-os/devkit-smoke-test//…`). - **Docs** — `RELEASE_CYCLE.md`, `CROSS_REPO_RELEASE_GATE.md`, `justfile` runbook comment. ## Scope - The **source** repo name (`vig-os/devcontainer`) is unchanged — that rename + the smoke-test repo's own back-references ride **Stage 3**. - **Released** `CHANGELOG` entries naming the old repo are left intact (immutable history). ## Testing `just precommit` (full suite incl. actionlint / sync-manifest) — green. No functional dispatch runs on PR CI; the new targets exercise at the next release. Refs: #781
Rename the flake output attributes devcontainerImage -> devkitImage, devcontainerImageEnv -> devkitImageEnv, and the devcontainer-bootstrap runCommand -> devkit-bootstrap, plus every call site (justfile, build-image / security-scan / nix-image / release workflows) and the flake-services / workflow-cachix test anchors. Pure attribute identity; the image build and its published ref are unchanged in this commit (the ref flip is the next commit). Refs: #781
Move the container image reference from ghcr.io/vig-os/devcontainer to the new
GHCR package ghcr.io/vig-os/devkit across the flake image name, CI/release
workflows, install.sh, the scaffold template (compose + workflows + actions), and
documentation (regenerated README/TESTING from templates). Pairs with the flake
attribute rename in the previous commit.
The old ghcr.io/vig-os/devcontainer package is frozen at 0.5.1 and stays pullable;
consumers move on their next `install.sh --force`. Intentionally unchanged in this
slice: released CHANGELOG entries, the MIGRATION note that the old package remains
pullable, the historical ADR, the image's OCI source label, and the cosign
identity-regexp (the last two are github.com repo paths that follow the Stage 3
repository rename). The docker-compose ${DEVCONTAINER_VERSION} interpolation var is
also left for a later slice.
Refs: #781
…973) ## Summary The final Stage-1 slice of **#781**: move the container image to the **new GHCR package `ghcr.io/vig-os/devkit`** and rename the flake output attributes to match. The new package is already seeded (`0.5.1` + `latest`, multi-arch, public), so CI resolves against it. Two commits: 1. `refactor(flake)` — attribute rename `devcontainerImage` → `devkitImage`, `devcontainerImageEnv` → `devkitImageEnv`, `devcontainer-bootstrap` → `devkit-bootstrap` (+ all call sites and the flake-services / workflow-cachix test anchors). 2. `feat(image)!` — image **ref** `ghcr.io/vig-os/devcontainer` → `ghcr.io/vig-os/devkit` across the flake, CI/release workflows, `install.sh`, the scaffold template (compose + workflows + actions), and docs (README/TESTING regenerated from templates). ## Breaking change Consumers pulling `ghcr.io/vig-os/devcontainer` must move to `ghcr.io/vig-os/devkit`. The old package is **frozen at `0.5.1` and stays pullable**; the soft-cutover pin parser (#968) + `install.sh --force` re-scaffold migrate consumers without a hard break. ## Intentionally NOT changed (verified) - **Released `CHANGELOG` entries**, the **`MIGRATION.md` note** that the old package stays pullable, and the **historical ADR** — all still cite `ghcr.io/vig-os/devcontainer` on purpose. - **OCI `source` label** and **cosign `--certificate-identity-regexp`** — these are `github.com` *repo* paths and follow the **Stage 3** repository rename, not the image ref. - **docker-compose `${DEVCONTAINER_VERSION}`** interpolation var — deferred (it's the compose var, not the image ref or pin key). ## Verification - `nix eval .#devkitImage.imageName` → `ghcr.io/vig-os/devkit` ✅ - `test_flake_services` (evaluates the flake) + `test_workflow_cachix` — green (attr rename). - `install.bats` / `clean.bats` / `just.bats` / `test_install_script` (unit) — green; caught + fixed a regex-escaped ref (`ghcr\.io/…`) the bulk sed missed. - `just precommit` full suite — green (README/TESTING regenerated, actionlint, sync-manifest). - Container/integration image tests run in CI against the seeded `devkit` package. Refs: #781
Course-correct the rename: the project/repository becomes devkit, but the published container image stays ghcr.io/vig-os/devcontainer. The artifact is a dev container; devkit is the project that builds and ships it, so the image keeps its descriptive name and consumers need no image-ref change (no new package, no re-scaffold to move registries). Reverts the image-ref flip from #973 while keeping the internal devkitImage / devkitImageEnv flake attributes (the devkit project's build outputs) and the DEVKIT_VERSION pin key. Rewrites the CHANGELOG Unreleased entry and the MIGRATION rename section accordingly. The docker-compose ${DEVCONTAINER_VERSION} interpolation var is now consistent by default. The seeded ghcr.io/vig-os/devkit package is now unused and will be deleted separately. Refs: #781
…974) ## Summary **Course-correction on the rename's scope.** The **project/repository** becomes `devkit`, but the **published container image stays `ghcr.io/vig-os/devcontainer`**. Rationale: the artifact *is* a dev container; `devkit` is the project/repo that builds and ships it (image + installer + scaffold + flake templates). Repo-name ≠ artifact-name is normal, and keeping the image name descriptive means **consumers never change their image ref** — no new GHCR package, no `--force` re-scaffold to move registries, no two-package/"frozen old package" story. This reverts the image-ref flip from **#973** while **keeping** the internal `devkitImage` / `devkitImageEnv` flake attributes (the devkit project's build outputs) and the `DEVKIT_VERSION` pin key. ## What changed back to `devcontainer` Image ref across the flake image name, CI/release workflows, `install.sh`, the scaffold template (compose + workflows + actions), tests, and regenerated README/TESTING. `nix eval .#devkitImage.imageName` → `ghcr.io/vig-os/devcontainer`. ## What stays `devkit` (unchanged here) Repo/project (`pyproject`/`package.json`), the `DEVKIT_*` manifest keys incl. `DEVKIT_VERSION`, installer branding, `devkit-smoke-test` dispatch targets, and the `devkitImage*` flake attrs. ## Docs Rewrote the Unreleased CHANGELOG entry (flake-attr rename, image name unchanged) and the `MIGRATION.md` rename section (repo-only rename; image + pins keep working). Immutable released CHANGELOG entries that mention the old plan are left as history. ## Follow-ups (not in this PR) - The seeded `ghcr.io/vig-os/devkit` package is now unused → delete it (needs `delete:packages` / UI). - The docker-compose `${DEVCONTAINER_VERSION}` var is now consistent by default (no rename needed). ## Testing `install`/`clean`/`just` bats, `test_flake_services` + `test_workflow_cachix` (attrs kept), and `just precommit` full suite — all green. Refs: #781
Move Unreleased content to [1.0.0] - TBD and create fresh empty Unreleased section for continued development.
c-vigo
approved these changes
Jul 10, 2026
Set release date to 2026-07-10 and regenerate release docs. Refs: #975
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.0.0 - 2026-07-10
This PR prepares release 1.0.0 for merge to main.
1.0.0 - 2026-07-10
Added
DEVKIT_VERSIONkey (#781)devcontainer→devkitrename, every.vig-osversion-pin reader now prefers a
DEVKIT_VERSIONkey and falls back to thelegacy
DEVCONTAINER_VERSIONwhen it is absent, so un-migrated consumer pinskeep resolving (soft cutover). When both keys are present,
DEVKIT_VERSIONwins regardless of line order. Covers the
resolve-imagecomposite action(root + scaffold), the scaffold
initialize.sh/version-check.shscripts,and the Nix image build.
Changed
Nix flake image attributes renamed to
devkitImage/devkitImageEnv(#781)devcontainer→devkitproject rename, the Nix flake outputattributes are renamed (
devcontainerImage→devkitImage,devcontainerImageEnv→devkitImageEnv). The published image name isunchanged — it remains
ghcr.io/vig-os/devcontainer: the artifact is a devcontainer, while
devkitnames the project/repository that builds and shipsit. Consumers need no image-ref change and keep pulling the same image.
Scaffolded
.vig-ospins underDEVKIT_VERSION(#781)DEVKIT_VERSIONkey:the template manifest,
init-workspace.sh, therelease.ymlfinalize step,the repo-root
.vig-os, and the scaffoldeddevc-upgraderecipe. A--forceupgrade migrates a legacy
DEVCONTAINER_VERSIONpin toDEVKIT_VERSION(the
.vig-osoverwrite drops the stale key). Readers still accept the legacykey (soft cutover). The docker-compose
.envinterpolation variable isunchanged in this slice.
Release dispatch targets the renamed
devkit-smoke-testrepo (#781)devcontainer-smoke-test→devkit-smoke-test.release.yml/promote-release.ymlnow target the new name for therepository_dispatch,the scoped app token, and the downstream published-release gate — GitHub's API
does not reliably redirect
POST …/dispatchesacross a rename. The smoke-testtemplate mirror (
assets/smoke-test/) and the release docs are updated tomatch. The source repository name is unchanged in this slice.
Documented
install.shone-liners follow redirects (curl -sSfL) (#781)curl … | bashinstall/upgradeone-liner (README,
install.shhelp text,MIGRATION.md, the smoke-testtemplate, and the in-container upgrade hint) now passes
-Lso the fetchfollows HTTP redirects, keeping the bootstrap working across the upcoming
devcontainer→devkitrepository rename. Repository and image URLs areunchanged in this slice.