Repository navigation
Description
Split from #5494.
Problem: devops roadmap eval funnel reports each cohort by step from live label events and result lines, but no run gives the Phase 0 base. The base needs the command in a released image, a runner Job in the cluster as the App, and 28 days of data. No comment on #5494 gives n, the shares, the intervals, the tokens and the cost_usd_micros for each staged plan, or the cohorts that have token data (from the release of #5168). #5494 delivers the command, the tests and the docs page only. This issue holds the live proof, so #5494 can merge with no cluster run. Why deferred: the proof runs only after the release that carries the command. A pull request check cannot run a Job as the App. Acceptance criteria: (1) After the release, a runner Job runs uv run devops roadmap eval funnel --since <date> --repo dan-petty/devops-cli --json as the App for the last 28 days and exits 0. (2) A comment on #5494 gives n, each share with its interval, and the tokens and cost_usd_micros for each staged plan. (3) The comment names the cohorts that have token data.
Proposed design
Problem statement
The Phase 0 funnel base is missing. No run gives n, the share of each step with its interval, or the tokens and cost_usd_micros of each staged plan. The command devops roadmap eval funnel comes with #5494. This issue runs that command as the App in a cluster Job over the last 28 days after the release and reports the result in a comment on #5494.
Acceptance criteria
Requirement: Pending a person after the merge
A person SHALL run uv run devops roadmap eval funnel --since <date> --repo dan-petty/devops-cli --json as the App in a cluster Job after the release that carries the command.
Scenario: Live funnel run after the release
- WHEN the release that carries
devops roadmap eval funnelis published, and a person starts the Job as the App with a--sincedate 28 days back - THEN the command exits 0 and prints its JSON report with one cohort for each ISO week of the window
Requirement: Funnel base comment on #5494
A comment on #5494 MUST give n, each share with its Wilson 95% interval, and the tokens and cost_usd_micros of each staged plan.
Scenario: Comment matches the report
- WHEN the live run exits 0 and prints its JSON report
- THEN the comment on feat(roadmap): eval funnel reports each item cohort by step #5494 gives n, each share with its Wilson 95% interval, and the
tokensandcost_usd_microsof each staged plan, as the report holds them
Requirement: Cohorts with token data
The comment MUST name each cohort that has token data and each cohort that has none.
Scenario: Token cohorts named
- WHEN the comment on feat(roadmap): eval funnel reports each item cohort by step #5494 gives the funnel base
- THEN the comment names the cohorts that have token data and the cohorts that have none
Requirement: Run window named
The comment MUST name the --since date of the run.
Scenario: Window is repeatable
- WHEN the comment on feat(roadmap): eval funnel reports each item cohort by step #5494 gives the funnel base
- THEN the comment names the
--sincedate, the Monday 28 days before the run date in UTC
Existing Tool Considered
No alternatives check has run. No open, maintained tool reports a funnel over this repository's own GitHub label events and Loki result lines. The project's own command devops roadmap eval funnel covers the need, and #5494 delivers it. This issue writes no code, so it adds no build cost.
Key questions
- Where does the live funnel run execute?: In a one-off Job in the cluster, from the released runner image, as the App. The App private key is in the cluster Secret, and the Job runs next to it. (best practice) [sources: docs/adr/0004-ci-is-the-authoritative-gate.md, SECURITY.md, CONTEXT.md]
- Chosen: One-off cluster Job as the App. The issue names a runner Job, and the App private key lives in the cluster Secret.
- Rejected: Workstation run as the App. The workstation must reach
loki.url, and the issue names a Job in the cluster. - Rejected: GitHub Actions workflow. ADR 0004 keeps the App private key out of GitHub Actions secrets.
- Which date does
--sincetake?: The Monday 28 days before the run date, in UTC, with the run started on a Monday. The window then holds four whole ISO-week cohorts, which are the funnel's unit. (best practice) [sources: docs/guidelines/agentic-jobs.md, docs/commands/roadmap.md:601, docs/roadmap/job-success.md:143]- Chosen: Monday 28 days back. The window holds four whole ISO-week cohorts, so each share compares with a later run.
- Rejected: 28 days back from any weekday. The first and last ISO-week cohorts are partial, so their shares do not compare.
- Rejected: Fixed date at plan time. The date goes stale before the release, and the window stops covering the last 28 days.
- Where do n, the intervals,
tokensandcost_usd_microscome from?: From the JSON report that the command prints. The comment copies n, each share with its Wilson 95% interval, and thetokensandcost_usd_microsof each staged plan. (best practice) [sources: docs/roadmap/job-success.md:143, openspec/specs/roadmap-eval-funnel/spec.md:47, src/devops_cli/roadmap/job_funnel.py, src/devops_cli/roadmap/job_result.py:217]- Chosen: Copy the command report. The command holds the queries, and its tests check them, so the comment adds no second implementation.
- Rejected: Recompute in a script. A second implementation has no test and can disagree with the command.
- Which cohorts have token data?: The cohorts whose attempts recorded
tokensandcost_usd_microsin the attempt context, from the release of feat(roadmap): result lines state first-pass, model calls and cost #5168 onward. The comment names those cohorts and the cohorts with none. [sources: docs/roadmap/job-success.md:20, openspec/specs/roadmap-service-logs/spec.md, src/devops_cli/roadmap/job_result.py:217] - Which release carries the
devops roadmap eval funnelcommand?: The first release that release-please publishes after the command merges tomain. release-please opens or updates one release pull request on each push tomain. [sources: .github/workflows/release.yml, ARCHITECTURE.md, docs/adr/0013-releases-use-release-please-as-it-ships-and-agents-stay-out.md]
Fit
Fits in one pull request.
Suspected block
The release that publishes devops roadmap eval funnel in the devops-cli image; the run starts after that release.
Dependencies
Watched files
A commit on the default branch that changes one of these files starts the next refine round.
src/devops_cli/roadmap/job_funnel.py
Activity
devops-cli-service commentedon Nov 18, 2026
Both work on the eval funnel command; #5494 delivers the code and this issue delivers the live cluster proof after release.devops-cli-service commentedon Nov 19, 2026
Refine cannot set this item to Ready at 5e6822d while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
devops-cli-service commentedon Nov 25, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 27, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence