Skip to content

test(roadmap): verify a neutral implement run on a dotfiles item #4785

Open

Description

@devops-cli-service

Split from #4635.

Problem: #4635 changes the implement checks to a toolchain preset. The live end-to-end check needs an item in dan-petty/dotfiles and a runner Job that holds the new preset. Why deferred: the check waits on a live run in another repository, which is outside this repository and cannot run offline. Acceptance criteria: a runner Job runs the implement job on a dotfiles item with the neutral preset. The run ends with no static failure. The stop comment and the pull request show only the target's pre-push hook check and its pull request CI. No scoped check argv names uv or devops ci.

Proposed design

Problem statement

The neutral toolchain preset has no live end-to-end check on a dan-petty/dotfiles item. A regression in the implement checks can reach a managed repository without notice. This item runs the implement job on one dotfiles item that declares the neutral preset and records the result. The live runner Job and #6521 are the remaining gates.

Acceptance criteria

Requirement: Neutral preset run starts

The implement job MUST run on a dan-petty/dotfiles item whose default branch declares the neutral toolchain preset.

Scenario: Runner Job of the neutral run

  • WHEN The default branch of dan-petty/dotfiles declares [project] toolchain = "neutral" in .devops/roadmap.toml, and uv run devops k8s run-job --template runner --repo dan-petty/dotfiles -- roadmap implement --repo dan-petty/dotfiles --item <n> --confirm runs, where <n> is the dotfiles item number under test.
  • THEN The command prints the name of the runner Job and follows the log of its pod.

Requirement: No static or tests check

The live run MUST record no static scoped check and no tests scoped check.

Scenario: Trace of the neutral run

  • WHEN uv run devops roadmap explain <n> --repo dan-petty/dotfiles --trace runs after the Job ends, where <n> is the same item number.
  • THEN The trace holds no check event whose step is static or tests.

Requirement: No devops-ci scoped command

No scoped check command of the live run SHALL name devops ci.

Scenario: Check command scan

  • WHEN uv run devops roadmap explain <n> --repo dan-petty/dotfiles --trace prints the check events of the run.
  • THEN No check event holds a command that names devops ci.

Requirement: Target checks only

The pull request of the live run MUST show no Static Analysis check and no Tests & Coverage check of the devops-cli preset.

Scenario: Check list of the pull request

  • WHEN uv run devops gh pr checks <pr> --repo dan-petty/dotfiles lists the checks of the pull request that the run opens, where <pr> is that pull request number.
  • THEN The list holds the target's pre-push hook check and its pull request CI, and it holds no Static Analysis or Tests & Coverage check of the devops-cli preset.

Requirement: Stop comment names only target checks

The stop comment of the live run MUST name only the target's pre-push hook check and its pull request CI.

Scenario: Stop comment of the run

  • WHEN The live run stops and writes a stop comment on the item, and uv run devops gh api repos/dan-petty/dotfiles/issues/<n>/comments --jq '.[].body' prints the comments of the item.
  • THEN The stop comment of the run names the target's pre-push hook check and its pull request CI, and it names no static scoped check and no tests scoped check.

Requirement: Live check is recorded

The change folder MUST record the commands and the output of the live check.

Scenario: OpenSpec validation of the change folder

  • WHEN uv run devops ci --check --only openspec runs.
  • THEN The check passes and the change folder holds the live check commands and their output.

Existing Tool Considered

No alternatives check has run; the repository's existing devops k8s run-job, devops roadmap explain, devops gh pr checks and devops gh api cover the live check. No new code is built, so the build cost is zero tokens and zero elapsed time. The commands do not give an offline proof of another repository's run; the change folder records the live result. act runs GitHub Actions on a workstation, not a Kubernetes runner Job, so it does not cover the live run.

Key questions

  • Which scoped checks does the neutral preset add to an implement run?: The neutral preset sets static_check = None and test_command = None. It adds no static check and no tests check. It adds the pre-push hook check when the target declares a hooks config. The pull request CI of the target runs outside the Job. [sources: docs/ROADMAP_WORKFLOW.md, src/devops_cli/roadmap/toolchains.py, src/devops_cli/roadmap/implement/implement_scoped_ci.py, src/devops_cli/roadmap/implement/implement_hooks.py]
  • What is the static check, and is it the same as _static_failure?: The static check is a scoped check. It runs uv run devops ci --check --only constructs,docs,openspec. It records implement.check = static when it fails. _static_failure is the exit check of ruff and mypy on the changed Python files. The neutral preset sets static_check = None, so the static scoped check never runs. [sources: src/devops_cli/roadmap/implement/implement_scoped_ci.py, src/devops_cli/roadmap/implement/implement_step.py, src/devops_cli/roadmap/toolchains.py]
  • How does a person read the scoped check commands of the last run?: uv run devops roadmap explain <n> --repo <owner/name> --trace prints the trace of the last implement run, oldest event first, and no verdict. Each check event holds its step, its command and its status. The command reads the one issue, and no clone, and it writes nothing. [sources: docs/commands/roadmap.md, src/devops_cli/roadmap/explain.py, src/devops_cli/roadmap/implement/implement_trace.py]
  • Does the run record the toolchain preset?: No. ImplementRecordKey has no key for a toolchain, and no caller of it reads one. The job reads .devops/roadmap.toml from the default branch of the target at run time and keeps no copy. The live check reads the default branch of the target for the preset and the trace of the run for the checks. [sources: src/devops_cli/roadmap/stores/store.py, src/devops_cli/roadmap/project_profile.py, .devops/roadmap.toml]
  • Should the proposal forbid uv in a scoped check command?: No. The pre-push hook check command is uv run pre-commit ... --config <file>, so a neutral target with a hooks config has one scoped check whose command names uv. The proposal forbids devops ci in a scoped command and does not forbid uv. (best practice) [sources: src/devops_cli/roadmap/implement/implement_hooks.py, src/devops_cli/roadmap/implement/implement_scoped_ci.py]
    • Chosen: Forbid only devops ci. This keeps the target's pre-push hook check and removes the devops-cli scoped CI command.
    • Rejected: Forbid uv. The pre-push hook check command names uv, and the target needs that check.
  • Which commands start the runner Job and read the check list and comments of the target?: uv run devops k8s run-job --template runner --repo <owner/name> -- roadmap implement --repo <owner/name> --item <n> --confirm starts the runner Job and follows its log. uv run devops roadmap explain <n> --repo <owner/name> --trace reads the check events of the run. uv run devops gh pr checks <pr> --repo <owner/name> reads the pull request check list. uv run devops gh api repos/<owner>/<name>/issues/<n>/comments reads the comments of the item, including the stop comment. The project has no devops gh issue comments command. [sources: docs/CLUSTER.md, docs/commands/roadmap.md, docs/commands/gh.md]
  • How should the live run be verified?: Record the live check commands and their output in the change folder, and name the live commands in the acceptance criteria. Do not add an offline test that reads the saved evidence. (best practice) [sources: docs/ROADMAP_WORKFLOW.md, CONTEXT.md]
    • Chosen: Live check with a recorded result. The project accepts a check as the gate of a merge. The run spans another repository and a cluster Job, which the default suite keeps out, and the change folder is the in-repo record.
    • Rejected: Offline test that reads the saved evidence. A test asserts the source code of the project, not the values of recorded data.
    • Rejected: Unit test of the neutral preset only. It does not run the job on a dotfiles item, which is the need of the item.
  • Does the item proceed while chore(roadmap): hold incremental stage and implement work #6521 is open?: The item waits on chore(roadmap): hold incremental stage and implement work #6521. The issue body records the hold on the incremental work on the stage, implement and fix-checks jobs. Waiting on another item is a dependency, not a block, so the proposal records chore(roadmap): hold incremental stage and implement work #6521 as a dependency. (best practice) [sources: CONTEXT.md]

Fit

Fits in one pull request.

Suspected block

A live runner Job on a dan-petty/dotfiles item whose default branch declares the neutral preset; the Job runs on the cluster and outside this repository.

Dependencies

#6521

Activity

  1. added
    source/agent
    type/test
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 11, 2026
  2. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/test. The test prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The check gives confidence for the new preset, but it waits on an external live run and does not block offline delivery.
    • Value: Medium. The check confirms the neutral preset in a real target and prevents a broken implement run.
    • Effort: Medium. The check needs a dotfiles item, a runner Job and a live run in another repository.
    • Related: feat(roadmap): a toolchain preset sets the implement checks #4635, which asks for a different change. Both cover the toolchain preset, but #4635 changes the implement checks and the candidate verifies a live dotfiles run.
  3. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: A live runner Job on a dan-petty/dotfiles item with the neutral preset, run outside this repository.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  4. dan-petty commented on Nov 20, 2026

    @dan-petty
    Owner

    Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.

  5. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See the first point of Open questions and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  6. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.

  7. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.

  8. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/testvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions