Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
0004302
fix(release): disable github automatic release notes appending in rel…
dan-petty Sep 19, 2026
f36676a
docs(roadmap): add OCI container image packaging and GHCR metadata co…
dan-petty Sep 19, 2026
93e030e
chore(release): bootstrap v0.2.22 release cycle (#334)
dan-petty Sep 19, 2026
e0b7887
feat(k8s): implement dynamic informer and native in-process service (…
dan-petty Sep 19, 2026
bfb3382
feat(github): implement GraphQL batch consolidation, ETag caching and…
dan-petty Sep 19, 2026
df30e75
feat(mcp): implement FastMCP in-process execution, dispatching and re…
dan-petty Sep 20, 2026
9200d77
fix(release): eliminate duplicated issue text from automatic GitHub i…
dan-petty Sep 20, 2026
13dd83b
feat(ai): implement Pydantic AI structured workflows, prompt caching …
dan-petty Sep 20, 2026
e1aa570
feat(gh): add project workflows inspection & linking, decommission bo…
dan-petty Sep 20, 2026
c6f632c
fix(ai): eliminate arbitrary defaults in network slot leasing and ele…
dan-petty Sep 20, 2026
db1bb34
feat(devcontainer): add claude cli and vscode extension to devcontain…
dan-petty Sep 21, 2026
44aba71
feat(docker): route all container operations through the Engine API s…
dan-petty Sep 21, 2026
bc8190a
fix(review): correct feedback loop calibration and remediate verified…
dan-petty Sep 21, 2026
fcc16c8
feat(argo): manipulate Argo custom resources natively via the Kuberne…
dan-petty Sep 21, 2026
63b6e09
feat(tf): analyze HCL and state in-process for graphs and drift (#310…
dan-petty Sep 21, 2026
c1b303b
feat(security): unify secret resolution and manage Vault lease lifecy…
dan-petty Sep 21, 2026
4ae4435
perf(ci): parallelize the quality gate and narrow tests to changed so…
dan-petty Sep 21, 2026
137bd3e
fix(ci): drop the invalid --depth=0 from devcontainer change detectio…
dan-petty Sep 21, 2026
150de6a
feat(valkey): pool connections, batch commands, and unify caching tie…
dan-petty Sep 21, 2026
3bff4f2
feat(rag): fuse lexical and dense retrieval, and quantize stored vect…
dan-petty Sep 21, 2026
4556885
feat(prometheus): validate PromQL locally and analyse series client-s…
dan-petty Sep 21, 2026
afa5992
feat(grafana): build dashboards declaratively and lint them staticall…
dan-petty Sep 21, 2026
a51d4db
docs(roadmap): schedule AI review verification integrity work for v0.…
dan-petty Sep 21, 2026
7dc17aa
feat(tui): refresh dashboard domains on workers and virtualize log ta…
dan-petty Sep 21, 2026
ee8d42d
fix(telemetry): propagate W3C trace context into child processes (#31…
dan-petty Sep 21, 2026
8da8223
feat(security): unify scanner findings behind a SARIF engine (#321) (…
dan-petty Sep 21, 2026
c1a55b3
fix(git): verify SSH host keys before trusting them (#322) (#364)
dan-petty Sep 21, 2026
6befcc3
feat(gh): close issues linked by pull requests merged outside main (#…
dan-petty Sep 21, 2026
75c459b
fix(k8s): honour the configured cluster context when connecting (#367)
dan-petty Sep 22, 2026
4d0bba2
fix(tui): correct the Docker, telemetry, Valkey and review panels (#368)
dan-petty Sep 22, 2026
d32739f
feat(k8s): address cluster services without localhost port-forwarding…
dan-petty Sep 22, 2026
0193240
feat(k8s): resolve dashboard endpoints through cluster-native address…
dan-petty Sep 22, 2026
939043f
fix(review): address session findings and ground verification in tool…
dan-petty Sep 22, 2026
b464d64
fix(tui): quit promptly instead of hanging on an open log stream (#372)
dan-petty Sep 22, 2026
dcae110
perf(git): evaluate ignore rules in memory instead of per-file subpro…
dan-petty Sep 22, 2026
b6455c9
perf(http): share pooled connections instead of rebuilding them per r…
dan-petty Sep 22, 2026
bb8acff
fix(ci): make the CI cache fingerprint content-addressed (#375)
dan-petty Sep 22, 2026
0ea51f1
fix(k8s): validate only actual manifests, and loosen the argocd probe…
dan-petty Sep 22, 2026
b1387a3
fix(templates): encode values as JSON instead of pasting them between…
dan-petty Sep 22, 2026
0cb193b
feat(rag): reach Qdrant through the cluster API instead of a port-for…
dan-petty Sep 22, 2026
84bc41d
fix(review): act on the verified findings and close the classes that …
dan-petty Sep 22, 2026
86cfd60
fix(gh): report which project automations are off and what they shoul…
dan-petty Sep 22, 2026
5b8855d
perf(gh): sweep merged pull requests in a few calls instead of one pe…
dan-petty Sep 22, 2026
3f4446b
feat(release): republish release descriptions from the changelog (#383)
dan-petty Sep 22, 2026
6c8f841
docs(agents): hard-wrap source files, not the text the program emits …
dan-petty Sep 22, 2026
e3fd7ef
fix(ai): make prompt-eval measure something instead of reporting 1.0 …
dan-petty Sep 22, 2026
1f296c5
perf(ai): compress the two hot-path review prompts and scope their ho…
dan-petty Sep 22, 2026
d410d86
docs(roadmap): prompt benchmarking and synthetic corpora for evaluati…
dan-petty Sep 22, 2026
ba85825
fix(k8s): preview what configure-urls would write, and honour the dry…
dan-petty Sep 22, 2026
d541ac5
fix(ci): record a passing run even when the cache was not consulted (…
dan-petty Sep 22, 2026
a1b2a13
docs(agents): state the cost of a `devops ai` call and cap concurrenc…
dan-petty Sep 22, 2026
5f4232c
feat(cli): add the output format join point and restore colour negoti…
dan-petty Sep 22, 2026
26642ad
fix(security): mask credentials, not sentences that mention them (#392)
dan-petty Sep 22, 2026
88faac0
fix(release): compile the changelog from commit subjects, not commit …
dan-petty Sep 22, 2026
c4cd867
fix(release): make `changelog --update` write the entries it compiles…
dan-petty Sep 22, 2026
feffe3e
docs(changelog): write the v0.2.22 entry as release notes (#395)
dan-petty Sep 22, 2026
f889de7
fix(mcp): keep dispatched command data out of log records (#396)
dan-petty Sep 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"features": {
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
"version": "1.0.5",
"resolved": "ghcr.io/anthropics/devcontainer-features/claude-code@sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a",
"integrity": "sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a"
},
"ghcr.io/devcontainers/features/common-utils:2": {
"version": "2.5.9",
"resolved": "ghcr.io/devcontainers/features/common-utils@sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a",
Expand Down Expand Up @@ -29,6 +34,11 @@
"version": "1.3.1",
"resolved": "ghcr.io/devcontainers/features/kubectl-helm-minikube@sha256:bbe8adf6b37fff8c67412ab0a4579f4c2f30bbaba1d9a5cebd9e38bade54025b",
"integrity": "sha256:bbe8adf6b37fff8c67412ab0a4579f4c2f30bbaba1d9a5cebd9e38bade54025b"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "1.7.1",
"resolved": "ghcr.io/devcontainers/features/node@sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6",
"integrity": "sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6"
}
}
}
8 changes: 6 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"minikube": "latest"
},
"ghcr.io/devcontainers/features/copilot-cli:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {}
},
"mounts": [
"source=devops-cli-tmp,target=/tmp,type=volume",
Expand Down Expand Up @@ -122,6 +124,7 @@
"ms-azuretools.vscode-containers",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"Ollama.ollama",
"anthropic.claude-code",
"github.vscode-github-actions"
],
"settings": {
Expand Down Expand Up @@ -150,7 +153,8 @@
"ms-azuretools.vscode-docker",
"ms-azuretools.vscode-containers",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"Ollama.ollama"
"Ollama.ollama",
"anthropic.claude-code"
],
"settings": {
"editor.formatOnSave": true,
Expand Down
50 changes: 50 additions & 0 deletions .github/actions/setup-toolchain/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Set up uv toolchain
description: >-
Install the pinned uv-managed Python environment and restore incremental tooling caches.
Shared by every quality-gate job so their setup cannot drift apart.

inputs:
cache-suffix:
description: >-
Distinguishes the tooling cache between concurrent jobs, so two jobs finishing at the
same time do not race to save the same cache key.
required: false
default: shared
tooling-cache-paths:
description: Newline-separated incremental tool cache directories to restore and save.
required: false
default: |
.mypy_cache
.ruff_cache

runs:
using: composite
steps:
- name: Install uv and Python
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
cache-python: "true"
prune-cache: "true"
# Pinned rather than floating. Every `uses:` in this action is SHA-pinned, but the
# toolchain it installs was not, so a broken or tampered uv release would enter
# every job silently and reproducing a past CI run was impossible.
version: "0.12.16"
python-version: "3.14"

- name: Restore tooling caches
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ inputs.tooling-cache-paths }}
key: tooling-${{ inputs.cache-suffix }}-${{ runner.os }}-${{ hashFiles('uv.lock', 'pyproject.toml') }}
restore-keys: |
tooling-${{ inputs.cache-suffix }}-${{ runner.os }}-

- name: Synchronize dependencies
shell: bash
run: uv sync --all-groups --all-extras

- name: Initialize workspace directories
shell: bash
run: mkdir -p .data/reviews .data/analysis .data/logs
154 changes: 113 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,63 +6,43 @@ on:
pull_request:
# Deliberately excludes ready_for_review so converting draft PRs to ready does not
# re-trigger redundant test suites, coverage reports, and container builds.
# Project automation and card state transitions are handled in .github/workflows/project-automation.yml.
# Project automation and card state transitions are handled natively via GitHub Projects v2 built-in workflows.
types: [opened, synchronize, reopened]
branches: [main, "release/**"]
schedule:
# Advisory dependency freshness sweep at 05:00 UTC, kept off the pull request
# critical path so it never delays merge feedback.
- cron: "0 5 * * *"
workflow_dispatch:

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
name: Validation
# Fast-failing static gates. Split from the test suite so lint, typing, and formatting
# errors surface in roughly a minute instead of queuing behind the full suite.
static:
name: Static Analysis
if: github.event_name != 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 15
permissions:
contents: read
packages: write
pull-requests: read

steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0

- name: Install uv and Python
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
cache-python: "true"
prune-cache: "true"
version: "latest"
python-version: "3.14"

- name: Restore Tooling Caches (Mypy, Ruff, Pytest)
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- name: Set up uv toolchain
uses: ./.github/actions/setup-toolchain
with:
path: |
.mypy_cache
.ruff_cache
.pytest_cache
key: tooling-cache-${{ runner.os }}-${{ hashFiles('uv.lock', 'pyproject.toml') }}
restore-keys: |
tooling-cache-${{ runner.os }}-

- name: Synchronize dependencies
run: uv sync --all-groups --all-extras
cache-suffix: static

- name: Lockfile Freshness & Dependency Audit
run: |
uv lock --check
uv audit
uv tree --outdated --depth=1

- name: Initialize Workspace Directories
run: mkdir -p .data/reviews .data/analysis .data/logs

- name: Type Checking & Project Validation (uv check)
run: uv check
Expand All @@ -76,6 +56,9 @@ jobs:
- name: Strict Type Checking (Mypy)
run: uv run mypy --python-version 3.14 --strict src

- name: Security Scan (Bandit)
run: uv run bandit -r src/ -ll -ii

- name: Documentation Freshness Check
run: uv run devops docs check

Expand All @@ -85,28 +68,95 @@ jobs:
- name: DevContainer Manifest Smoke Test
run: uv run devops devcontainer validate --workspace .

test:
name: Tests & Coverage
if: github.event_name != 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read

steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Set up uv toolchain
uses: ./.github/actions/setup-toolchain
with:
cache-suffix: test
tooling-cache-paths: |
.pytest_cache

- name: Unit Tests & Code Coverage
run: uv run pytest -v --cov=src --cov-report=xml
run: uv run pytest --cov=src --cov-report=xml

- name: Security Scan (Bandit)
run: uv run bandit -r src/ -ll -ii
# The published image packages devops-cli itself, so it is rebuilt only for pull
# requests targeting main, and only when the change actually alters image content.
devcontainer:
name: DevContainer Image
if: github.event_name == 'pull_request' && github.base_ref == 'main'
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
pull-requests: read

steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0

# IMAGE_CONTENT_PATHS mirrors everything that determines the published image: the
# .devcontainer build definition (Dockerfile, devcontainer.json and its lockfile),
# the build context consumed by the Dockerfile's COPY directives (pyproject.toml,
# uv.lock, README.md and the devops-cli source tree), and this workflow itself,
# which fixes the image name, tags, cache source and builder action version.
# tests/test_architectural_invariants.py asserts this list stays in sync with the
# Dockerfile, so a new COPY cannot silently start publishing a stale image.
- name: Detect Image Content Changes
id: image_changes
env:
BASE_REF: ${{ github.base_ref }}
IMAGE_CONTENT_PATHS: |
.devcontainer
src
pyproject.toml
uv.lock
README.md
.github/workflows/ci.yml
run: |
# The checkout above already fetched full history; this only ensures the base
# branch ref exists locally, since a PR checkout resolves the merge ref instead.
git fetch --no-tags origin "$BASE_REF"
readarray -t WATCHED < <(printf '%s\n' "$IMAGE_CONTENT_PATHS" | sed '/^[[:space:]]*$/d')
CHANGED=$(git diff --name-only "origin/${BASE_REF}...HEAD" -- "${WATCHED[@]}")
if [ -n "$CHANGED" ]; then
echo "Image content changed; rebuilding:"
echo "$CHANGED"
echo "changed=true" >> "$GITHUB_OUTPUT"
else
echo "No image content changed; skipping rebuild."
echo "changed=false" >> "$GITHUB_OUTPUT"
fi

- name: Log in to GitHub Container Registry (GHCR)
if: github.event_name == 'pull_request'
if: steps.image_changes.outputs.changed == 'true'
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set Image Repository Name
if: github.event_name == 'pull_request'
if: steps.image_changes.outputs.changed == 'true'
id: image_repo
run: |
echo "name=ghcr.io/$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')/devcontainer" >> "$GITHUB_OUTPUT"

- name: Check PR Open Status Prior to Publishing Image
if: github.event_name == 'pull_request'
if: steps.image_changes.outputs.changed == 'true'
id: pr_status
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -124,10 +174,32 @@ jobs:
fi

- name: Build & Publish PR DevContainer Image
if: github.event_name == 'pull_request' && steps.pr_status.outputs.state == 'OPEN'
if: steps.image_changes.outputs.changed == 'true' && steps.pr_status.outputs.state == 'OPEN'
uses: devcontainers/ci@513af61f4de4f75d37e4438f184ba4358f0fc1ca # v0.3
with:
imageName: ${{ steps.image_repo.outputs.name }}
cacheFrom: ${{ steps.image_repo.outputs.name }}:latest
imageTag: pr-${{ github.event.pull_request.number }}
push: "always"

# Advisory only: reports newer upstream releases without gating any merge. Scheduled so
# the PyPI round-trip never sits on the pull request critical path.
dependency-freshness:
name: Dependency Freshness
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Set up uv toolchain
uses: ./.github/actions/setup-toolchain
with:
cache-suffix: freshness

- name: Report Outdated Dependencies
run: uv tree --outdated --depth=1
72 changes: 0 additions & 72 deletions .github/workflows/project-automation.yml

This file was deleted.

Loading
Loading