Repository navigation
Description
Problem or Motivation
The implement golden set has 14 fixtures (tests/fixtures/roadmap_eval/implement). E2 and E3 of the approved pipeline split design (tracker #5482) need 40 or more for any power. The tests job will run about 8 attempts a week, so the golden set is its gate.
Proposed Solution & Architectural Design
- Record 26 or more cases from merged delivery PRs of devops-cli: the base commit, the merged plan, the issue text and the expected tests.
- Use the schema of the present fixtures. The schema and tree checks (test(invariants): validate stage eval fixtures against schema and tree #4059) and the base-commit check (test(roadmap): check golden base commits in a devops ci row #4449) cover them.
- Cover the scopes in proportion to the delivery PRs of the last 90 days.
Target Subsystem
Roadmap eval fixtures (tests/fixtures/roadmap_eval/implement).
Acceptance Criteria
- A test: the implement golden set holds 40 or more cases, and each case passes the schema check.
- A test: the base commit of each case exists.
- A comment on this issue gives the count of cases for each scope.
- No live proof applies: this item adds test data only.
Existing Tool Considered
The present fixture schema and the eval harness. Build: 300,000 to 500,000 agent tokens and 1 day.
Related
Tracker #5482, Phase 7. #5519, #5517, #4059, #4449, #5191.
Source: #5482
Alternatives check of 2026-11-17: not-applicable.
Class: test, no search.
Tool: none found.
Proposed design
Problem statement
The implement golden set holds 14 fixtures, and E2 and E3 of the approved pipeline split design need 40 or more for any power. The tests job runs about 8 attempts a week, so this set is its gate. This item adds at least 26 cases from merged delivery PRs of devops-cli, keeps the present fixture schema, and proves that every recorded base commit exists. The set's size bound rises with the set, and the count of cases for each scope is derived from the cases themselves.
Acceptance criteria
Requirement: Set size
The implement golden set SHALL hold at least 40 cases.
Scenario: Forty cases load
- WHEN
uv run devops ci test tests/invariants/test_roadmap_eval_fixtures.pyruns the set test overtests/fixtures/roadmap_eval/implement - THEN The test passes with at least 40 loaded cases.
Requirement: Schema and tree
Every implement golden-set case MUST pass the loader's schema and tree check.
Scenario: Every folder loads
- WHEN The invariant test calls
load_casesontests/fixtures/roadmap_eval/implement - THEN Each folder holds
case.json,issue.md,plan/proposal.md,plan/design.md,plan/tasks.mdand the diff of each recorded result, and no case raisesImplementEvalError.
Requirement: Case content
Each new case MUST record the base commit, the merged plan, the issue text and the expected tests.
Scenario: A new case holds its four parts
- WHEN The loader validates a new case of the implement golden set
- THEN
baseis a full 40-character SHA,plan/holds the three plan files of the merged change,issue.mdholds the issue text, andtests_passnames the test commands that must pass.
Requirement: Base commit exists
The base commit of every implement golden-set case MUST resolve to a commit of the devops-cli repository.
Scenario: The gate row resolves each base
- WHEN
uv run devops ci --check --only roadmap-eval-commitsruns on a full clone - THEN The row exits 0 and prints the count of stage and implement cases whose base commit is a commit of the repository, with no case named as refused.
Requirement: Size bound
The implement golden set SHALL stay under 1,000,000 bytes.
Scenario: The set fits its raised bound
- WHEN
uv run devops ci test tests/invariants/test_roadmap_eval_fixtures.pyrunstest_the_set_stays_small - THEN The total size of
tests/fixtures/roadmap_eval/implementis under 1,000,000 bytes.
Requirement: Scope counts
The implement golden-set test MUST record the count of cases for each scope and MUST fail when the set does not match that record.
Scenario: Scope counts match the delivery mix
- WHEN The scope test runs over
tests/fixtures/roadmap_eval/implementand reads each scope from the fixturetitle - THEN It prints each scope with its count, and passes only when each count equals the distribution recorded from the merged delivery pull requests of the last 90 days and the counts sum to the number of cases.
Existing Tool Considered
harbor-framework/harbor (Harbor) is the open, maintained harness that this project already exports the implement fixtures to: devops roadmap eval harbor export writes one Harbor task folder for each fixture (docs/commands/roadmap.md:610, docs/TESTING.md:185). It lacks the cases: it runs the task folders that the project writes and holds no golden set from this repository's merged deliveries, so the 26 cases stay in the present implement fixture schema and the eval harness. The change builds no tool; the issue body gives the written cost of the data as 300,000 to 500,000 agent tokens and 1 day.
Key questions
- What must each implement golden-set case record?: A case records
base(a full 40-character SHA of this repository),source,issue,title,group,change,changes,tests_pass,allow_lost_testsandresultsincase.json, and the folder holdsissue.md,plan/proposal.md,plan/design.md,plan/tasks.mdand the diff of each recorded result. [sources: src/devops_cli/roadmap/implement/implement_eval.py:77, src/devops_cli/roadmap/implement/implement_eval.py:89, src/devops_cli/roadmap/implement/implement_eval.py:187, docs/ROADMAP_WORKFLOW.md:475] - How many new cases are needed?: At least 26 new cases: the set holds 14 fixture folders today, and the design needs 40 or more. [sources: openspec/changes/archive/2026-11-01-3030-implement-fixtures-eval/proposal.md:9]
- Which checks prove the new cases?: The loader's schema and tree check proves the shape of each case, and the invariant test runs it over the real folder. The base-commit row of test(roadmap): check golden base commits in a devops ci row #4449 does not cover the implement cases: it loads only
tests/fixtures/roadmap_eval/stage, and the implement loader reads no git, so no check resolves an implementbasetoday. [sources: tests/invariants/test_roadmap_eval_fixtures.py:20, src/devops_cli/roadmap/implement/implement_eval.py:13, tests/gate/roadmap_stage_eval_commits.py:22, tests/gate/roadmap_stage_eval_commits.py:93] - Does this item need a live proof?: Yes, one: the base-commit row, which reads the git history. The schema, size and scope checks are offline tests. The body's claim that no live proof applies does not hold once each base commit is checked. [sources: docs/TESTING.md:76, tests/gate/roadmap_stage_eval_commits.py:90, .github/workflows/ci.yml:57]
- How should the new cases cover scopes?: In proportion to the merged delivery pull requests of the last 90 days, with each scope that has a delivery getting at least one case. The scope is the Conventional Commit scope of the fixture
title, and the test records the counts so the comment on the issue comes from the test output. (best practice) [sources: tests/fixtures/roadmap_eval/implement/2152-numeric-host-doubles/case.json:5]- Chosen: Proportional to the last 90 days. It matches the delivery mix that the eval measures, and the count is derived from the cases.
- Rejected: Equal count per scope. It overweights rare scopes and weakens the eval.
- Rejected: Random from all history. It misses the current delivery mix.
- Which check proves that each implement base commit exists?: Extend the existing
roadmap-stage-eval-commitsrow to read both golden sets and rename itroadmap-eval-commits, so one shallow-clone guard and one git resolution cover the stage and implement cases. (best practice) [sources: docs/TESTING.md:76, tests/gate/roadmap_stage_eval_commits.py:30, tests/gate/roadmap_stage_eval_commits.py:90]- Chosen: Extend and rename the existing row. One row holds one shallow-clone guard and one
git cat-fileresolution for both sets, and the name states what it checks. - Rejected: Add a second row for the implement set. It duplicates the shallow-clone guard and the git resolution that the stage row already holds.
- Rejected: A pytest test that runs git. docs/TESTING.md:76 makes a check of committed files a row of
devops ci, and test(roadmap): check golden base commits in a devops ci row #4449 removed exactly such a test.
- Chosen: Extend and rename the existing row. One row holds one shallow-clone guard and one
- How does the set stay within its size bound at 40 cases?: Raise
MAX_BYTESintests/invariants/test_roadmap_eval_fixtures.pyfrom 300,000 to 1,000,000. The 14 fixtures already take about 275 KB, so 40 take about 790 KB. (best practice) [sources: tests/invariants/test_roadmap_eval_fixtures.py:15, tests/invariants/test_roadmap_eval_fixtures.py:86, openspec/changes/archive/2026-11-01-3030-implement-fixtures-eval/proposal.md:9]- Chosen: Raise the bound to 1,000,000 bytes. It holds 40 cases at the measured size per case and keeps a bound on the set.
- Rejected: Keep 300,000 bytes and split the folder.
load_casesreads one root and the eval runs one set, so a split needs code and changes the command's contract. - Rejected: Keep 300,000 bytes and cut each case. The issue text and the merged plan are real and cannot be shortened without weakening the case.
- Which open tool covers the eval harness need?: Harbor (harbor-framework/harbor) is the open, maintained harness that the project already exports these fixtures to, and
devops roadmap eval harbor exportwrites one task folder for each fixture. It supplies no cases, so the golden set stays in the project's implement fixture schema. [sources: docs/commands/roadmap.md:610, docs/TESTING.md:185]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 13, 2026
Both target the implement golden set in tests/fixtures/roadmap_eval/implement, but #3030 created the initial fixture set and scoring command while this candidate adds 26 or more cases to reach 40 or more.devops-cli-service commentedon Nov 17, 2026
Alternatives check: not-applicable (test item; no search).
devops-cli-service commentedon Nov 18, 2026
Status set to Ready at 86358b6 (see proposed design in issue body).
dan-petty commentedon Nov 25, 2026
Scope counts for the implement golden set (
tests/fixtures/roadmap_eval/implement), fromtest_the_scope_counts_match_the_delivery_mixintests/invariants/test_roadmap_eval_fixtures.py(81 total cases across 49 scopes: 14 baseline + 67 new cases, proportional to merged OpenSpec delivery pull requests of the last 90 days with at least 1 case per scope):roadmap: 11security: 7k8s: 4ai: 3cli: 3argo: 2ci: 2config: 2github: 2monitoring: 2review: 2service: 2telemetry: 2tests: 2adr: 1agent: 1agents: 1argocd: 1cache: 1cloudflare: 1contributing: 1dashboard: 1deps: 1design: 1devcontainer: 1docker: 1docs: 1exceptions: 1gate: 1gh: 1git: 1infra: 1lint: 1llm: 1mcp: 1openspec: 1output: 1pr: 1rag: 1release: 1repos: 1research: 1sandbox: 1scan: 1sdlc: 1terraform: 1ui: 1valkey: 1vault: 1devops-cli-service commentedon Nov 25, 2026
Released in v0.212.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.212.0
devops-cli-service commentedon Nov 25, 2026
Live since 2026-11-25 01:52 UTC