Repository navigation
Description
Problem Statement
GitHub CI and the local gate (uv run devops ci) define their checks separately, and the copies have drifted. Check argv lives in three places at HEAD (9c879ae):
- the aggregate gate,
_run_all_checks_async(src/devops_cli/commands/ci.py:312-485); - the per-check subcommands (
ci.py:798-1074), which run through_run→run_subprocess(ci.py:172-185, synchronous, output streamed by default) while the gate runs throughrun_subprocess_asyncwith output captured (ci.py:275-280); both insertuv --preview-features malware-check,check-command(ci.py:180-181,:271-272); - the
staticandtestjobs in.github/workflows/ci.yml:25-97.
Drift at HEAD:
- Bandit. CI runs
bandit -r src/ -ll -ii(ci.yml:60). The gate runs-ll -s B608(ci.py:431), and so doesdevops ci security(ci.py:984). The scanner adapters also skip B608 (security/bandit.py:69,75,85,ai/tools/builtin_tools.py:321).build_bandit_cmd(config/commands.py:126-128) passesB608to-x, which excludes paths, not tests. Only its own test calls it (tests/test_command_builders.py:77). - This drift has already failed a PR. Run 35455994333 (2026-09-19) failed CI's Bandit step on three B608 MEDIUM/MEDIUM findings in
ai/spend/ledger.py. The local gate's-s B608had skipped them. - devcontainer.
devops devcontainer validateruns only in CI (ci.yml:69). Run 35944910698 (2026-09-24) failed on that step. - pytest.
- The gate runs
-n auto --maxprocesses=<min(cpus, 8)> --durations=10 --cov=src --cov-report=term-missing(ci.py:376-389). - CI runs
pytest --cov=src --cov-report=xml(ci.yml:97) withaddopts = "-n logical"(pyproject.toml:105). That writes.data/coverage.xml(pyproject.toml:124-125).
- The gate runs
- docs fix. In fix mode the gate runs
devops docs generate --sync-readmeon its own, before the concurrent phase (ci.py:357-364, since 15bf983), and thendevops docs checkinside it (ci.py:442-448).devops ci docs --fixruns generate and then check in sequence (ci.py:1021-1025). So the fixer sits on the gate's critical path, and the two paths order the work differently.
Measured with bandit 1.9.4 (uv.lock:260-261) at HEAD: uv run bandit -r src -ll -f json -q reports 2 findings. Both are B608, MEDIUM severity, LOW confidence. CI's -ii and the gate's -s B608 both hide them.
ai/instruction_generator.py:221is an f-string of Markdown. The string ends at:409.commands/k8s/stack_lifecycle.py:296is a Python script that runs in the Open WebUI pod (finding range:296-318). Its SQL is parameterised, but it embedsrepr()of the admin credentials (:309-312).
Two hand-written roadmap entries ask for this. Neither has an issue, and docs/ROADMAP.md is now rendered from GitHub at each cut (#739, shipped in v0.2.25 as 6948e1c; docs/ROADMAP.md:3-4), so they are not edited here:
- "Single-Source CI Gate Definitions" (
docs/ROADMAP.md:1055, P2). This item delivers its steps 1, 3 and 4: aci.ymlparity test, one argv source for the gate and the subcommands with CI calling it, and-lleverywhere with a reasoned# nosec B608per finding.[tool.bandit]cannot hold level or confidence (:1058). - "Gate Calibration Drill" (
docs/ROADMAP.md:935, P1). This item delivers the part of its registry that is the one argv source fordevops ciand CI, and itsci.ymlparity case. It does not deliver the rest of that entry: the registry's claim, asserting-line, fixture and corpus columns; its entries for the structural hook,scan complexityand the--fail-onscans; its later steps. Its proposal to move B608 into[tool.bandit] skipsis superseded by the per-findingnosec.
The owner moved this item into v0.2.26 in place of #408 (2026-10-01). v0.2.26 ships the unattended roadmap service (#741, #752, #753, #1083, #981), which should merge behind GitHub CI that runs the same checks as the local gate.
Proposed Solution
One ordered table of check specs in commands/ci.py. Each row has a name, a check argv and an optional fix argv.
- Rows, in today's order (
ci.py:374-470): test, lint, format, typecheck, audit, security, actionlint, docs, uv-check, lockfile, outdated. - A new
devcontainerrow runsuv run devops devcontainer validate --workspace .. It is an offline JSON parse plus file-existence checks (commands/devcontainer.py:220-345). - The test row adds
--cov-report=xml, so local and CI runs both write.data/coverage.xml._clean_coverage_artifacts(ci.py:222-243) removes.coverage*and a rootcoverage.xml, not.data/coverage.xml, so the report survives the run. - The name
uv_checkbecomesuv-checkeverywhere (row, summary, metric step), so each check has one spelling. Today onlyci.py:450-454,lang/en/messages.py:720,lang/en/help.py:521andtests/test_ci.py:168-178,207-214,257read the old name.
The table feeds:
- the aggregate gate:
all_checks(ci.py:677-731) andrun(ci.py:1127-1145).runkeeps its--fix/--no-fixand--dry-run, gains no--onlyor--skip, and stays uncached as today (it never calls_handle_ci_results); - each subcommand that runs one row: lint, format, typecheck, audit, security, actionlint, docs, uv-check, lockfile, outdated, and coverage, which runs the test row.
- In check mode, each one runs exactly its row's check argv.
- In fix mode (the default for lint and format,
--fixfor docs), each one runs its row's fix argv. Docs then runs its check argv.
- new
--onlyand--skipoptions on the aggregate callback:- Both take row names, comma-separated or repeated.
- An unknown name exits 2 and lists the valid names. So does passing both options.
python_versionalways runs. Thecoverageresult appears only whentestruns.
Hangs and timeouts:
- A run that selects exactly one row streams that row's output instead of capturing it (
capture_output=Falseonrun_subprocess_async,core/process.py:405-406; today alwaysTrueatci.py:275-280). Tests & Coverage then shows pytest's progress live, as it does today. With streaming, the captured stdout is empty, so_warn_when_over_budget(ci.py:633-649) prints the warning without a slowest-tests list; the live--durations=10output already holds it. _execute_check_async(ci.py:259-298) turnsTimeoutExpired(raised without output byrun_subprocess_async,core/process.py:419-423) into a failed result that names the check and its limit. The other rows and the summary still print. Every row keepsDEFAULT_SUBPROCESS_TIMEOUT_SECONDS(1800 s,config/defaults.py:299); both CI jobs'timeout-minutes(15 and 30,ci.yml:29,75) end at or before that, so this path serves local runs. In CI, streaming covers Tests & Coverage and a hung Static Analysis row is the one without a pass or fail line.
Remove devops ci coverage --xml (ci.py:843, HELP.ci.xml_report at lang/en/help.py:507, the dry-run case at tests/test_ci_dry_run.py:83, docs/commands/ci.md:52), since the row always writes the XML report.
One bandit rule set:
- The security row is
uv run bandit -r src -ll. - The scanner adapters (
security/bandit.py:69,75,85,ai/tools/builtin_tools.py:321) keep their target, severity and output flags, and drop-s B608. - Each of the two findings gets
# nosec B608 # <reason>on a line inside the finding's range. Bandit 1.9.4 ignores anosecon the line above the statement and honours one on the closing"""line or on a middle line of parenthesised adjacent literals (verified offline with scratch files). Atinstruction_generator.py, the only such place is after the closing"""(:409); atstack_lifecycle.pyit goes on one of the credential lines (:309-312). - The stack_lifecycle reason names the embedded credentials, not "not SQL".
- Delete
build_bandit_cmd(config/commands.py:126-128), its re-export (config/__init__.py:32,858), its test (tests/test_command_builders.py:77) andDEFAULT_BANDIT_EXCLUDE(config/defaults.py:425). docs/ROUTINE_TASKS.md:298names onlyuv run devops ci security.docs/cheatsheets/security_and_ssh.md:12drops-ii.
ci.yml, with job ids and names unchanged:
- Static Analysis: after toolchain setup, one step runs
uv run devops ci --check --no-cache --skip test,outdated. - Tests & Coverage: one step runs
uv run devops ci --check --no-cache --only test. Itssetup-toolchainstep keepstooling-cache-paths: .pytest_cache(tests/test_ci.py:596-598asserts it). - Dependency Freshness (scheduled):
uv run devops ci outdated. static,testanddevcontainerkeep noneedsbetween them (tests/test_ci.py:600-613).- The
workflow_dispatchtrigger (ci.yml:16) and theif: github.event_name != 'schedule'condition on both gate jobs (ci.yml:27,73) stay as they are: feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 pins them and dispatches this workflow.
A parity test in tests/test_ci.py, beside the existing ci.yml tests (:538-630). It:
- parses
ci.ymloffline with PyYAML; - requires every job outside a reasoned exclusion list (today only
devcontainer, which publishes the image) to have onlyrun:steps that are a singleuv run devops ci ...command, or that appear on a reasoned allowlist keyed by (job, step name); - resolves the rows each
devops cistep reaches with the same selection function the CLI uses, and requires their union to equal the table. A step that calls a subcommand outside the table, such astest, reaches no row; - pins the job names
Static AnalysisandTests & Coverage(devops pralready expects the latter,tests/test_pr_cmd.py:1716,1721; feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 and chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842 require both).
Regenerate the CLI docs. They drop --xml. The generator does not render group-callback options yet: docs/commands/ci.md lists no devops ci --check or --no-cache. --only and --skip appear once #854 lands. Do not fix the generator here.
Existing tests to carry over. tests/test_ci.py:28-220 patch subprocess.run per subcommand; :227-305 and :489-516 patch _execute_check_async with its current 6-parameter signature (ci.py:259-266). They are rewritten against the table, not kept beside it.
Scope
One pull request. It edits src/devops_cli/commands/ci.py, src/devops_cli/lang/en/{help,messages}.py, src/devops_cli/security/bandit.py, src/devops_cli/ai/tools/builtin_tools.py, src/devops_cli/ai/instruction_generator.py, src/devops_cli/commands/k8s/stack_lifecycle.py, src/devops_cli/config/{commands,__init__,defaults}.py, .github/workflows/ci.yml, tests/test_ci.py, tests/test_ci_dry_run.py, tests/test_command_builders.py, docs/commands/ci.md, docs/ROUTINE_TASKS.md, docs/cheatsheets/security_and_ssh.md, a task file and changelog.d/843.md.
Constraints:
- Land after refactor(ci): ci installs nothing on the runner, and live bubblewrap tests skip where bwrap is missing #832, which removes the bubblewrap install and sysctl step from the Tests & Coverage job (
ci.yml:90-94, still present at HEAD). - Gate speed is P0. The new tests run in-process with the runner patched, each in at most 1 s. No test spawns a real tool, touches the network or reads a cluster.
- Tests use structural tuple assertions until test(cli): retire the tuple-assert mandate and detect opaque tuple asserts and presence-only tests #851 settles that.
commands/ci.pyhas nonoqa: C901today (git grep -c "noqa: C901" -- src/devops_cli/commands/ci.pyprints nothing). This refactor adds none.- If test(cli): suppression comments may not grow unnoticed #849's suppression ceiling has landed, this PR raises the
nosecceiling by 2, with the reason in the task file. - No shims: no alias for
uv_check, and no hidden--xml. - The parity test covers
ci.ymlonly. fix(github): supply-chain claims made true — live Dependabot, zizmor and workflow invocation contracts #861 owns resolving everydevopsinvocation in workflows and hooks, includingrelease.yml:142; thepip-auditcall inmaintain(ci.py:1119); and a future zizmor row. - Coordinate the
ci.ymledits with feat(ci): changed-line coverage on pull requests (diff-cover) #850. Whichever lands second puts diff-cover's steps on the allowlist with a reason, and keeps the test row writing.data/coverage.xml. - The
commands/ci.pychain is fixed: refactor(ci): ci installs nothing on the runner, and live bubblewrap tests skip where bwrap is missing #832 → refactor(ci): github ci runs the gate throughdevops cifrom one check table #843 → feat(cli):devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406 in v0.2.26, then fix(ci):devops cichecks run for real under their own--dry-run#885 → fix(ci): the gate cache certifies only the tree it checked #838 → fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858 in v0.2.27. Each later item rebases on the table; this item does not wait for any of them. - fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858 (v0.2.27) picks one pytest worker setting and drops the copied coverage duration; it lands after this item and keeps that setting in the test row, so the row stays the only copy.
- feat(cli):
devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406 lands after this item. It addsdevops ci coverage --build-indexto the table's test row and changes howdevops ci test PATHSpicks tests; it does not change the gate. Both items editdevops ci coverageand regeneratedocs/commands/ci.md, so feat(cli):devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406 rebases. CI's--only testmust still run the full suite, as feat(cli):devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406's own constraint requires. - fix(ci):
devops cichecks run for real under their own--dry-run#885 (v0.2.27) adds the dry-run guards to_runand_execute_check_async, the two runners this item restructures around the table; it lands after this item and rebases on the table. Its 40-command survey is chore(cli): every argument-taking--dry-runcommand path is recorded as read-only or mutating, one candidate per offender #986 (backlog) and touches nothing here. - feat(ci):
devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 (v0.2.27) lands after this item: its allowlist invariant readsci.ymlas this item leaves it (job names,workflow_dispatch, the gate jobs'if:), so this item does not touchtests/test_architectural_invariants.py. - Do not edit the gate list in AGENTS.md:60 or the "all 10 checks" text in
models/ci.py:21; docs(agents): instruction surfaces state only what is true, anddevops ai agentsnever overwrites AGENTS.md #840 owns them. - No edit to
CHANGELOG.mdordocs/ROADMAP.md; the changelog entry ischangelog.d/843.md.
Key Questions
- Does the gate's isolated environment, which drops
UV_*(core/process.py:27-84, applied at:121-146), still runuv runinside Actions? Answered: expected yes. setup-uv setsUV_PYTHON=3.14,UV_CACHE_DIRandUV_PYTHON_INSTALL_DIR.setup-toolchainrunsuv sync --all-groups --all-extras(.github/actions/setup-toolchain/action.yml:46) with uv 0.12.16 and Python 3.14 (:33-34), creating.venvwith CPython 3.14.7, which matches.python-version. Souv runshould find an in-sync.venvwithout those variables. If it does not,uv runrebuilds the environment rather than failing, and the CI timing criterion catches that. The fix is then for the gate to pass theUV_*keys it finds throughextra_allowed_env(core/process.py:230,356,535), where the deny patterns still apply. Isolation is never turned off. - Which names do
--onlyand--skiptake? Answered: the row names, spelled like the subcommands.uv_checkbecomesuv-checkin the summary too.devcontainergets nodevops cisubcommand, becausedevops devcontainer validatealready exists. - How do narrowed runs use the cache? Answered: they never read or write it.
ci_optionsholds onlyfixandcheck(ci.py:714), and every passing run is saved (_handle_ci_results,ci.py:652-674). Otherwise a narrowed pass could certify the full gate. CI also passes--no-cache. - Which fixers run in a narrowed fix-mode run? Answered: only the selected rows' fix argvs.
devops ci --only typecheckrewrites nothing. - Does
devops ci testrun the test row? Answered: no. It is the narrowed runner that the pre-commit hook calls with staged files (.pre-commit-config.yaml:62-68), and it takes-k,-xand-n(_build_test_cmd,ci.py:778-795). It runs without coverage, becausefail_under = 90(pyproject.toml:113) would fail any narrowed run.devops ci coverageand--only testrun the test row. - Where do fix argvs run? Answered: the ruff fixers rewrite Python files that every other check reads, so they run one at a time before the concurrent phase, as today (
ci.py:341-356, format then lint). The docs fixer writes only Markdown, so it moves from the serial pre-phase (ci.py:357-364) into the docs task, followed bydocs check. That matchesdevops ci docs --fixand takes the fixer off the critical path. - Do the scanner adapters drop
-s B608too? Answered: yes. They scan reviewed code, where a blanket skip hides SQL injection. A false positive gets anosec, as it does here. If the owner keeps their skip, the bandit criterion covers only the gate andci.yml. - Does the test row write coverage XML on every local run? Answered: yes. Local and CI then run one argv, and feat(ci): changed-line coverage on pull requests (diff-cover) #850 can read the coverage.xml that CI already writes, as owner decision D4 requires. The before/after timing includes its cost.
- Does
devops ci security --severitystay? Answered: yes, as an explicit override for ad-hoc runs. With its default (medium,config/defaults.py:424), the subcommand runs the row. - Does this item edit
docs/ROADMAP.md? Answered: no. feat(github): github-sourced roadmap, migration and generated roadmap view (devops roadmap migrate,render) #739 shipped in v0.2.25 (6948e1c); the file is rendered from GitHub at the cut and item PRs never edit it. The remainders of the two hand-written entries (:1055steps 2 and 5, and the rest of:935) are named in the PR description as candidates for intake. - What is on the allowlist at landing? Answered: nothing, once refactor(ci): ci installs nothing on the runner, and live bubblewrap tests skip where bwrap is missing #832 has landed. Toolchain setup lives in the composite action (
uses:), so every gate-jobrun:step isuv run devops ci .... The allowlist exists for later steps such as feat(ci): changed-line coverage on pull requests (diff-cover) #850's diff-cover and feat(release): production service image for scheduled jobs and webhook handlers #753'sservice-imagejob, each added with a reason. - What does CI show when a check fails or hangs? Answered: at least what it shows today. Today the test step streams pytest output, so a hang shows the last test that ran. Through the gate, output is captured (
ci.py:275-280). On a timeout,run_subprocess_asynckills the process and raisesTimeoutExpiredwithout its output (core/process.py:419-423), and_execute_check_asyncdoes not catch it (ci.py:259-298). Both jobs'timeout-minutes(15 and 30,ci.yml:29,75) end at or before the 1800 s check limit (config/defaults.py:299), so the runner would kill the job before anything prints. Hence: a single-row run streams, which covers Tests & Coverage, and a timeout becomes a failed result, which covers local runs. In Static Analysis each check prints its pass or fail line as it finishes (ci.py:288-289); a hung check is the one without a line. A failing check prints its full stdout and stderr; passing checks' output (_print_failures,ci.py:499-508) is not shown, which is acceptable. A per-row timeout column is not part of this item; if a shorter test-row limit is wanted later, it is a separate candidate. - What does
devops ci runbecome? Answered: it is fed by the table likeall_checks, keeps--fix/--no-fixand--dry-run, gains no--onlyor--skip(the issue places those on the aggregate callback), and stays uncached (ci.py:1127-1145never calls_handle_ci_results). Folding it into the callback or deleting it is a separate candidate. - Which
ci.ymlproperties must the rewrite preserve for the items that land after it? Answered: the job namesStatic AnalysisandTests & Coverage(ci.yml:26,72; required checks in chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842, pinned by feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984's invariant), theworkflow_dispatchtrigger (ci.yml:16; feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 dispatches it) and theif: github.event_name != 'schedule'condition on both gate jobs (ci.yml:27,73; feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 requires a dispatched run to produce both checks). The parity test pins the names; the trigger and the conditions are not edited.
Acceptance Criteria
- One bandit policy.
uv run bandit -r src -llexits 0.git grep -c "nosec B608" -- srctotals 2.git grep -n -e '"B608"' -e '-ii' -- src .github ':!src/devops_cli/ai/knowledge_base'prints nothing (at HEAD it prints 8 lines). The PR description quotes all three outputs. - Parity. The parity test in
tests/test_ci.pypasses on the realci.yml. Test cases that mutate the parsed workflow make it fail in each of these cases: a rawuv run ruff check .step is added tostatic;securityis added to the static job's--skip, so no job reaches it; either pinned job is renamed. It runs in at most 1 s, checked withuv run pytest tests/test_ci.py --durations=0. - Selection, checked with CliRunner and
run_subprocess_asyncpatched (ci.py:276) intests/test_ci.py:devops ci --only testruns onlypython_version,testandcoverage, and invokes the aggregate rather than thetestsubcommand;--skip test,outdatedruns every other row,devcontainerincluded;--only tset, and--only test --skip lint, exit 2 and list the valid names. - Subcommands match their rows. A test in
tests/test_ci.pyruns withrun_subprocesspatched (ci.py:182) and is parametrised over the rows. In check mode it checks each subcommand's argv against its row's check argv; in fix mode, against its row's fix argv, for rows that have one.coveragemust equal the test row. The comparison is made on the same side of the--preview-featuresinsertion (ci.py:180-181,:271-272) for both paths. - Fix order. With the runner patched, fix mode runs
ruff format .and thenruff check --fix .before any check starts, and the docs task runsdocs generate --sync-readmeand thendocs check. A test intests/test_ci.pyasserts the call order. - Hangs. With
run_subprocess_asyncpatched:--only testcalls it withcapture_output=False, and a full run calls it withcapture_output=True; a runner that raisesTimeoutExpiredfortypecheckmakes the run exit 1, the summary markstypecheckfailed with its limit, and every other row still reports. Tests intests/test_ci.py. - Cache. A narrowed run neither reads nor saves the cache. A unit test in
tests/test_ci.pywith a tmp cache root checks both directions: after a passing--only lintrun, a plaindevops ciis not a cache hit; after a cached full pass,--only lintstill calls the runner for lint. -
--xmlis gone.uv run devops ci coverage --xmlexits 2,docs/commands/ci.mdno longer lists it, andtests/test_ci_dry_run.py:83no longer passes it. -
ci.ymlkeeps what feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 reads.uv run pytest tests/test_ci.pypasses with the existingci.ymltests (tests/test_ci.py:538-630) kept, and the new file still hasworkflow_dispatchunderon:andif: github.event_name != 'schedule'onstaticandtest, checked bygrep -n "workflow_dispatch\|github.event_name != 'schedule'" .github/workflows/ci.ymlprinting those three lines. - CI. The PR's own CI passes Static Analysis and Tests & Coverage. The PR description lists the Static Analysis job time and the Tests & Coverage test-step time, for its own run and for the last 5 successful runs. Each is no higher than the slowest of those 5. At ef21785, 6 successful runs took 42-64 s for the job and 123-177 s for the test step.
- Local timing. The task file records
uv run devops ci --no-cachewall-clock time, 3 runs before and 3 after, on the same machine and filesystem (ext4 if available). The median after the change is no higher than the slowest run before it. - Coverage XML. Pending a person:
rm -f .data/coverage.xml && uv run devops ci --check --no-cache --only test && test -s .data/coverage.xmlexits 0. -
uv run devops cipasses, includingdocs, within its 5-minute budget;uv run actionlintpasses on the newci.yml.
Out of Scope
- The rest of the "Gate Calibration Drill" entry (
docs/ROADMAP.md:935): registry claim, asserting-line, fixture and corpus columns; the structural hook,scan complexityand--fail-onentries; its later steps. - Steps 2 and 5 of "Single-Source CI Gate Definitions" (
docs/ROADMAP.md:1055): test reachability and the lockfile-pinned ruff pre-commit hooks. - Workflow invocation contracts outside
ci.yml(release.yml:76,142), thepip-auditcall inmaintain(ci.py:1119) and a zizmor row (fix(github): supply-chain claims made true — live Dependabot, zizmor and workflow invocation contracts #861, v0.2.28). - A per-row timeout column or a shorter test-row limit.
- diff-cover steps (feat(ci): changed-line coverage on pull requests (diff-cover) #850), the
service-imagejob (feat(release): production service image for scheduled jobs and webhook handlers #753), test selection and--build-index(feat(cli):devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406), the gate cache's file scoping (fix(ci): the gate cache certifies only the tree it checked #838), the pytest worker setting (fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858), the dry-run guards in the two runners (fix(ci):devops cichecks run for real under their own--dry-run#885) and the dry-run survey (chore(cli): every argument-taking--dry-runcommand path is recorded as read-only or mutating, one candidate per offender #986), gate counts in AGENTS.md andmodels/ci.py(docs(agents): instruction surfaces state only what is true, anddevops ai agentsnever overwrites AGENTS.md #840), thenosecceiling (test(cli): suppression comments may not grow unnoticed #849), the docs generator's group-callback options (fix(docs): generated reference docs fail closed and describe the real surface #854). - Dispatching
ci.ymlfromdevops pr updateand theactions: writeallowlist invariant intests/test_architectural_invariants.py(feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984); requiring the two checks on the rulesets (chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842). - A
devops ci devcontainersubcommand (devops devcontainer validateexists), new options on or deletion ofdevops ci run, and any alias foruv_checkor hidden--xml. - Editing
CHANGELOG.mdordocs/ROADMAP.md.
Dependencies
Order in v0.2.26: #832 → #843 → #406; #753 on either side of #843. After v0.2.26: #885 → #838 → #858 and #984 → #842 in v0.2.27, each after #843.
- refactor(ci): ci installs nothing on the runner, and live bubblewrap tests skip where bwrap is missing #832 (v0.2.26, depends on, lands first): removes the bubblewrap step (
ci.yml:90-94); the parity test's empty allowlist assumes it is gone (docs/ROADMAP.md:1131). - feat(cli):
devops ci testselects tests from a coverage index built on demand bydevops ci coverage --build-index#406 (v0.2.26, lands after): addsdevops ci coverage --build-indexto the table's test row and regeneratesdocs/commands/ci.md; it rebases on this item and CI's--only testkeeps the full suite. - feat(release): production service image for scheduled jobs and webhook handlers #753 (v0.2.26, either side): adds a
service-imagejob toci.ymlwith rawrun:steps; whichever lands second puts them on the allowlist with a reason. - fix(ci):
devops cichecks run for real under their own--dry-run#885 (v0.2.27, lands after): puts the dry-run guards into_runand_execute_check_async, which this item restructures and whose timeout handling it changes. - fix(ci): the gate cache certifies only the tree it checked #838 (v0.2.27, lands after fix(ci):
devops cichecks run for real under their own--dry-run#885): the gate cache; editsall_checksand the cache-save path around the narrowed-run cache rule set here. - fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858 (v0.2.27, lands after fix(ci): the gate cache certifies only the tree it checked #838): its one-row change picks the pytest worker setting and drops the copied coverage duration from the test row.
- feat(ci):
devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 (v0.2.27, lands after): its allowlist invariant reads the job names,workflow_dispatchand the gate jobs'if:as this item leavesci.yml. - chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842 (v0.2.27, lands after feat(ci):
devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984): requires the checksStatic AnalysisandTests & Coveragethat the parity test pins. - docs(agents): instruction surfaces state only what is true, and
devops ai agentsnever overwrites AGENTS.md #840 (v0.2.27, overlaps): owns the AGENTS.md gate list andmodels/ci.py:21, which this item's 14th row (devcontainer) makes staler. - feat(ci): changed-line coverage on pull requests (diff-cover) #850 (related, unplanned): diff-cover steps go on the allowlist and read the
.data/coverage.xmlthe test row writes. - fix(github): supply-chain claims made true — live Dependabot, zizmor and workflow invocation contracts #861 (v0.2.28, lands after): invocation contracts for every workflow and hook beyond
ci.yml, and the zizmor row (docs/ROADMAP.md:1206). - feat(ci): shuffled repeat runs of a pull request's changed test files #852 (related, unplanned): a
ci.ymljob the parity test will cover when it lands. - fix(docs): generated reference docs fail closed and describe the real surface #854 (related, unplanned): renders group-callback options so
--onlyand--skipreachdocs/commands/ci.md. - test(cli): suppression comments may not grow unnoticed #849 (related, unplanned): the
nosecceiling this item raises by 2 if it has landed. - test(cli): retire the tuple-assert mandate and detect opaque tuple asserts and presence-only tests #851 (v0.2.25, open, P2): the assertion style the new tests follow until it settles (
docs/ROADMAP.md:989); not a dependency. - chore(cli): every argument-taking
--dry-runcommand path is recorded as read-only or mutating, one candidate per offender #986 (backlog): the dry-run survey split from fix(ci):devops cichecks run for real under their own--dry-run#885; excludescommands/ci.py, so nothing here waits on it. - feat(github): github-sourced roadmap, migration and generated roadmap view (
devops roadmap migrate,render) #739 (delivered, 6948e1c): the rendered roadmap, which is whydocs/ROADMAP.mdis not edited. - feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586 (v0.2.25, open, unstarted:
docs/ROADMAP.md:798, task file status Backlog): the C901 ceiling. Thenoqa: C901constraint above is measured at HEAD and holds whether or not feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586 has landed; not a dependency. - feat(k8s): devops-cli runs in the homelab cluster as Jobs, and every cluster Secret is pushed from the keyring, also by deploy-stack (devops k8s push-secrets, devops k8s run-job) #741, feat(cli): service mode for
devops servewith github webhooks, a polling tick and per-repo job queues #752, feat(release): production service image for scheduled jobs and webhook handlers #753, feat(k8s): the roadmap service runs in the cluster's devops namespace, reachable from outside only on /webhooks/github #1083, feat(roadmap): run the roadmap jobs when they are due (devops roadmap run) #981 (v0.2.26): the in-cluster runtime, the service and its scheduler that this CI protects; feat(roadmap): run the roadmap jobs when they are due (devops roadmap run) #981 lands last in the release.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 1, 2026
Moved into v0.2.26 in place of #408, by the owner's decision (2026-10-01). v0.2.26 ships the unattended roadmap service (#741, #752, #753), which should merge behind GitHub CI that runs the same checks as the local gate. Depends on #832.
dan-petty commentedon Oct 3, 2026
#753 now merges first in v0.2.26, so this item, landing second, allowlists the
service-imagerawrun:steps. #1083 joins the service this CI protects.refactor(ci): github ci runs the gate through devops ci (#843)
test(fastmcp): relax in-process latency ceiling to prevent runner fla…
refactor(ci): github ci runs the gate through devops ci (#843) (#1157)
dan-petty commentedon Oct 4, 2026
Closed by #1157, merged into
release/v0.2.26.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.26 (#1178)