Skip to content

feat(cli): oci container image packaging, standardized metadata, multi-arch compilation, and slsa provenance - #1570

Merged
dan-petty merged 1 commit into
release/v0.2.35from
feat/438-oci-container-packaging
Oct 12, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.35from
feat/438-oci-container-packaging

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #438

Summary of Changes

  • Standardized OCI Image Annotations: Aligned OCI Image Spec labels across Dockerfile, .devcontainer/Dockerfile, and .github/workflows/release.yml (org.opencontainers.image.source=https://github.com/dan-petty/devops-cli, title, description, licenses=MIT, revision, version, created, documentation).
  • Multi-Architecture Compilation & Provenance: Added QEMU and Buildx multi-arch compilation (linux/amd64, linux/arm64), SLSA provenance attestations, and SPDX SBOM generation for both devcontainer and CLI service image packaging.
  • Pre-Publish Automated Validation Gate: Extended devops devcontainer validate with --oci-labels and --expected-source options to enforce OCI label presence, non-empty values, and canonical source repository matching.
  • Dependency & Tool Alignment: Pinned uv:0.12.23 in .devcontainer/Dockerfile matching root Dockerfile and verified base image digest pins.
  • Verification: Complete unit and integration test coverage across tests/test_devcontainer.py, tests/test_ci.py, and tests/test_workflow_contracts.py. 100% passing across Gated CI validation suite (uv run devops ci).

@dan-petty dan-petty added this to the v0.2.35 milestone Oct 11, 2026
@dan-petty
dan-petty merged commit 9212c46 into release/v0.2.35 Oct 12, 2026
11 checks passed
@dan-petty
dan-petty deleted the feat/438-oci-container-packaging branch October 12, 2026 00:00
dan-petty added a commit that referenced this pull request Oct 13, 2026
* feat(ai): active marginalia & epistemic scratchpad (devops ai research annotate) (#275) (#1567)

* feat(ai): socratic inquiry & knowledge gap formulator (devops ai research socratic) (#1568)

- Add metacognitive knowledge gap and ambiguity analysis for task self-assessment (#276).
- Implement structured models KnowledgeGap, ClarifyingQuestion, and CodeLookupInstruction.
- Implement SocraticFormulator with task prompt and bounded diagnostic probes via --max-probes.
- Register devops ai research socratic subcommand supporting table, JSON, YAML, and Markdown formats.
- Add unit and integration tests in tests/test_ai_research_socratic.py.
- Synchronize CLI documentation and add changelog fragment.

* feat(ai): living mental model synthesizer & causal graph distiller (devops ai research model) (#1569)

* feat(cli): oci container image packaging, standardized metadata, multi-arch compilation, and slsa provenance (#1570)

* feat(k8s): safe persistent volume orphan reclamation (devops k8s volume reclaim) (#1571)

* fix(review): location parsing keeps placeholder, preserving review finding (#788) (#1572)

* feat(ai): cross-domain analogical pattern retriever (devops ai research analogies) (#277) (#1573)

* fix(review): review pr --post --no-reporting posts zero findings and metrics lose the persona (#791) (#1574)

* fix(github): the release-start trim and the cap descope pass over dependencies (#1123) (#1575)

* feat(roadmap): the roadmap job tallies each release's joins, descopes and trims by reason, and reports them in its plan and as gauges (#1126) (#1576)

* feat(ai): llm gateway tuning render and apply configuration with rollback (#478) (#1577)

* feat(cli): structured fuzzing of parsers and schema boundaries (#416) (#1578)

* feat(cli): output format adoption across the command surface (#411) (#1579)

* feat(telemetry): store traces in Tempo on a PVC and link to logs and profiles (#1135) (#1580)

* feat(release): v0.2.35
dan-petty added a commit that referenced this pull request Oct 23, 2026
…QEMU

Since #1570 the devcontainer image also built linux/arm64 under QEMU emulation. With the Dev Container Features that #1895 restored, every feature layer ran emulated, and each pull request check took about 25 minutes (#1951). Up to v0.2.34 the image was linux/amd64 only and the check took 1 to 3.6 minutes.

The build action and the smoke action now build and start linux/amd64 only, and set up no QEMU. The smoke test still starts the image as vscode and finds a command from each feature, and the release still attests and tags only the digest that the smoke test started. The release publishes no linux/arm64 devcontainer image.
dan-petty added a commit that referenced this pull request Oct 23, 2026
## Summary

release-please makes every release from `main` ([ADR
0013](docs/adr/0013-releases-use-release-please-as-it-ships-and-agents-stay-out.md)).
On each push to `main`, `release.yml` runs release-please with the
release App token, and release-please opens or updates one release pull
request. Its merge creates the release and the `v<version>` tag
(`include-component-in-tag` is false, so release-please finds the
existing `v` tags). The same run then uploads the wheel, the sdist and
`SHA256SUMS.txt`, and publishes both images, each from the commit that
the release tags. No code, test or document predicts a version, and
nothing is marked as a breaking change before `1.0.0`.

The bespoke release path and the roadmap planner are deleted:

- `devops release` and all its commands, the cut, changelog fragments
(`changelog.d/`), release branches, `devops docs compact` and
`docs/RELEASE_NOTES.md`.
- `devops roadmap reprioritize`, `close`, `render` and `migrate`, and
`docs/ROADMAP.md`. Intake puts each new item in the backlog.
- `devops pr copilot-pass`, `devops gh pr copilot-pass` and `devops pr
threads file-issues`.
- `devops devcontainer validate --oci-labels` and `--expected-source`.

Pull requests target `main`. The `Semantic PR title` check
(`pr-title.yml`) enforces a Conventional Commit title, which becomes the
changelog line. `devops pr create` always opens a draft. Readiness
requires one closed issue, open and on the board, and a change to its
task file. `devops ci build` runs `uv build`.

AGENTS.md, RELEASE_CYCLE.md, CONTRIBUTING.md, SECURITY.md,
ARCHITECTURE.md, the SDLC and routine task pages, the knowledge base,
the instruction generator, the labels and the board template now
describe trunk releases only. ADR 0013 supersedes ADR 0012.

### DevContainer build time

The devcontainer image builds for `linux/amd64` only, with no QEMU, as
it did up to v0.2.34. Since #1570 the image also built `linux/arm64`
under emulation. With the features that #1895 restored, every pull
request check took about 25 minutes (#1951). With trunk, every pull
request runs this check, so the slow build would hit every change. The
smoke test still starts the image as `vscode`, and the release still
attests and tags only the smoked digest. The release no longer publishes
a `linux/arm64` devcontainer image. On this pull request the
DevContainer check took 5.3 minutes.

### Changes from the issue body

The body of #1861 describes the design of ADR 0012. On 2026-10-23 you
decided otherwise, so this pull request does not do these things:

- No draft release, no `softprops/action-gh-release` and no publish
order. release-please creates the release, and the publish jobs follow
it.
- No Argo CD tag tracking. Argo CD keeps tracking `main`, and #1862 is
not done.
- The planner is deleted. It does not get date-titled buckets.
- No `Release-As` path and no version estimate.

### Before you merge (#1864)

The merge pushes to `main`, and that push runs the `Release Please` job.
The job fails until these settings exist:

1. Create a GitHub App with contents, issues and pull requests read and
write, and install it on this repository only.
2. Create the `release` environment, limited to `main`. Set the variable
`RELEASE_APP_CLIENT_ID` and the secret `RELEASE_APP_PRIVATE_KEY` in it.
3. Set the squash commit title to `PR_TITLE` and the message to
`PR_BODY`. Disable merge commits and rebase merges.

After the merge, add `Static Analysis`, `Tests & Coverage` and `Semantic
PR title` as required checks of the `main` ruleset, and delete the
`release` ruleset.

### Checks

`uv run devops ci` passed in the pre-push hook. Ruff, strict mypy,
`devops docs check`, `devops openspec check`, actionlint, zizmor,
deptry, Bandit and `uv build` are rows of that gate.

Fail-to-pass: not applicable: this pull request moves `mdit-py-plugins`
to the dev dependency group and changes the test harness
(`tests/conftest.py`, `tests/support/`), so its tests cannot replay on
the base.

## Item

Closes #1861

Task file: `docs/agent/tasks/task-1861-release-please.md`
dan-petty added a commit that referenced this pull request Oct 23, 2026
…with no QEMU (#1956)

## Summary

The release service image job built `linux/arm64` under QEMU since
#1570. In the v0.3.0 release run it took 9.5 minutes, over the 5-minute
build budget. Every cluster node is `amd64`, so no node pulls the arm64
image. The job now builds `linux/amd64` only and sets up no QEMU, as
#1952 did for the devcontainer image.

`test_no_image_build_emulates_a_platform` fails when any workflow or
composite action sets up QEMU, or when an image build names a platform
other than `linux/amd64`. It failed before the change and passes after
it.

Fail-to-pass: not applicable: the change is to a workflow that only a
release run executes, and the new test reads that workflow file.

## Item

Closes #1954

Task file: `docs/agent/tasks/task-1954-service-image-amd64.md`
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