Skip to content

Remove the code-agent image and the dev partition - #38

Merged
andrewthomaslee merged 1 commit into
mainfrom
remove-code-agent-image
Nov 15, 2026
Merged

andrewthomaslee merged 1 commit into
mainfrom
remove-code-agent-image

Conversation

@andrewthomaslee

Copy link
Copy Markdown
Member

Summary

-images/code-agent/            # OpenShell sandbox image (no consumer)
-dev/flake.nix, dev/flake.lock # dev partition: only existed for the image's modules input
-dev/flake-module.nix
+flake-parts/org-standard.nix  # same content, applied from the root flake
 flake.nix                     # - partitions import, partitionedAttrs, partitions.dev

pkgs now follows its own standard: no dev partition, one flake.lock (plus devenv.lock). README, documentation/docs/flake-standard.md and comments are updated to match.

Evidence

  • devenv shell -- bash -c 'fmt && check' → all checks passed!
  • Before: checks.k8s-version-parity-* (root flake-parts/checks.nix) were shadowed by partitionedAttrs.checks = "dev" and never ran.
    After: they run in nix flake check and pass.

Merge Danger

Door: two-way. The image is in git history; a revert restores it.

Blast Radius: none for consumers

packages, overlays, lib and flakeModules are unchanged. The removed outputs (legacyPackages.code-agent-image, apps.{load,push}-code-agent-image, packages.code-agent-env) have no consumers. Pairs with external-systems/skills#24, which drops the sandbox preset. Either can merge first.

🤖 Generated with Claude Code

Nothing consumes the code-agent sandbox image, and it was the only
reason pkgs kept a dev partition: it needed external-systems/modules,
which depends on pkgs. With it gone, pkgs applies its own org standard
from the root flake (flake-parts/org-standard.nix) like every other
repo, and dev/flake.lock goes away.

The root-level checks the partition used to hide from `nix flake
check` (k8s-version-parity-*, from flake-parts/checks.nix) now run, and
pass. The image stays in git history if it comes back as its own repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewthomaslee
andrewthomaslee enabled auto-merge (squash) November 15, 2026 02:42
@andrewthomaslee
andrewthomaslee merged commit 0bbbe99 into main Nov 15, 2026
3 checks passed
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