Repository navigation
Description
Problem
No metric shows what happens to an item after the job kept its work. So a reader cannot see whether keeping work saves runs.
Evidence on origin/main at cfcbd3d:
devops_cli_service_implement_failures_totalcounts each runner Job that left a stop, byclassonly (implement_submit.py,k8s/README.md). It has no outcome.- The design of feat(roadmap): metrics for the pipeline outcomes #3069 plans
devops_cli_roadmap_pipeline_implement_totalwhen an item reaches a terminal outcome. It separatesitem_classandfailure_class. It does not name kept work and has nocontinuedoutcome, because a continued run is not terminal.
Expected
A counter gives the number of items with kept work, by failure class and by outcome: continued, finished and blocked. The labels are bounded and hold no issue number. The Service emits the counter, because the runner series do not join the series of the Service (design of #3069). The plan must first read #3069: if that item has merged, use its counter with one more label value, and add no second counter.
Acceptance criteria
- A test: a next Job that starts from kept work counts
continuedwith the class of the stop. - A test: an item with kept work that gets the ready mark counts
finished. - A test: an item with kept work that stops again counts
blocked. - A test: an item with no kept work does not count.
-
k8s/README.mdlists the metric and its label values.
Existing tool considered
GLOBAL_METRICS.increment_counter covers the counter, as in implement_submit.py. implement.wip and kept_commits (#3054) tell whether the item has kept work. The change adds no tool.
Related
Moved from #3098, acceptance criterion 7. Related: #3069, #3054, #3065.
Proposed design
Problem statement
No metric shows what happens to an item after the implement job keeps its work. A reader cannot see whether keeping work saves runs. The change adds a Service counter of items with kept work by failure class and outcome.
Acceptance criteria
Requirement: Continued run counts
The Service SHALL count an item whose next Job starts from kept work with the continued outcome and the failure class of the stop.
Scenario: Next Job starts from kept work
- WHEN A runner Job starts for an item with kept work and the item record holds the failure class of the stop.
- THEN The counter increments once with
outcome="continued"and that failure class.
Requirement: Finished item counts
The Service SHALL count an item with kept work that gets the ready mark with the finished outcome.
Scenario: Kept work reaches the ready mark
- WHEN An item with kept work gets the ready mark and no new stop.
- THEN The counter increments once with
outcome="finished"and the failure class of the stop.
Requirement: Repeated stop counts
The Service SHALL count an item with kept work that stops again with the blocked outcome.
Scenario: Kept work stops again
- WHEN An item with kept work gets a new stop.
- THEN The counter increments once with
outcome="blocked"and the failure class of the new stop.
Requirement: No kept work does not count
The Service MUST NOT count an item that has no kept work.
Scenario: Item has no kept work
- WHEN An item with no kept work reaches a terminal outcome or a stop.
- THEN The counter does not increment for that item.
Requirement: Labels are bounded
The counter SHALL use bounded labels and MUST NOT carry an issue number.
Scenario: Counter labels are bounded
- WHEN The Service emits the counter for any item.
- THEN Each label value is from a fixed set and no label holds an issue number.
Requirement: Counter selection
The Service SHALL reuse the counter of #3069 when it exists and MUST NOT add a second counter.
Scenario: Counter selection follows #3069
- WHEN The change checks whether
devops_cli_roadmap_pipeline_implement_totalexists. - THEN It adds the
continuedoutcome to that counter when it exists, or emitsdevops_cli_service_kept_work_totalwhen it does not.
Requirement: Metric is documented
k8s/README.md SHALL list the metric and its label values.
Scenario: README lists the metric
- WHEN A reader opens
k8s/README.md. - THEN The metric name and the label values
continued,finishedandblockedare present.
Existing Tool Considered
No alternatives check has run. No external tool covers the need. GLOBAL_METRICS.increment_counter covers the counter, as src/devops_cli/roadmap/implement_submit.py uses it. implement.wip and kept_commits (#3054) tell whether the item has kept work. The change adds no tool.
Key questions
- Which counter and labels should the Service use for kept work?: Use
devops_cli_roadmap_pipeline_implement_totalwith afailure_classlabel and anoutcomelabel when feat(roadmap): metrics for the pipeline outcomes #3069 provides it. Otherwise adddevops_cli_service_kept_work_totalwith the same labels. Both have bounded labels and no issue number. (best practice) [sources: k8s/README.md, src/devops_cli/roadmap/implement_submit.py]- Chosen: Reuse the feat(roadmap): metrics for the pipeline outcomes #3069 counter when it exists, else add one fallback counter. It follows the design of feat(roadmap): metrics for the pipeline outcomes #3069 and keeps one counter for each case.
- Rejected: Add a separate counter always. It would add a second counter when feat(roadmap): metrics for the pipeline outcomes #3069 merges.
- Rejected: Wait for feat(roadmap): metrics for the pipeline outcomes #3069 before any counter. It delays the metric although a fallback counter works.
- Which outcomes should the kept-work counter use?: Use
continuedwhen the next Job starts from kept work,finishedwhen the item gets the ready mark, andblockedwhen the item stops again. (proposed)- Chosen: Three outcomes: continued, finished and blocked. They match the three events in the issue.
- Rejected: Terminal outcomes only: finished and blocked. It cannot show that keeping work saved a run.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-07: none.
Tool: none found.
Activity
dan-petty commentedon Nov 5, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.Observability metric that helps validate the keep-work feature; useful but not blocking.Gives operators a clear signal that keeping work reduces wasted runs.Counter, four tests, and a README line; the increment tool already exists.#3098 delivers the keep-and-continue behaviour; this candidate adds a counter metric that measures whether that behaviour saves runs.devops-cli-service commentedon Nov 6, 2026
Status set to Ready at ffaea53 (see proposed design in issue body).
devops-cli-service commentedon Nov 7, 2026
Alternatives check: none
Reason: The searches returned no answers from the provider, so no external tool was found for the need. The need is a project-specific counter of roadmap items with kept work, labelled by failure class and outcome (
continued,finished,blocked), and the issue states it adds no tool because the Service's ownGLOBAL_METRICS.increment_counterand theimplement.wip/kept_commitsrecord already supply the counter and the kept-work signal.Tool: none found
Lacks:
continued,finishedandblocked.implement.wiporkept_commits.devops_cli_roadmap_pipeline_implement_totalfrom feat(roadmap): metrics for the pipeline outcomes #3069 or emit a fallback Service counter.k8s/README.mdwith the metric and its label values.Searches run:
Checked on 2026-11-07. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 15, 2026
Staged: branch
feat/3650-count-kept-work-by-failure-class, draft pull request #5876. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these open findings. The stage keeps this pull request a draft with the label
plan/needs-fixuntil a later round clears them:spec_delta_wrongat spec roadmap-implement-job/record (Kept work counts its outcome): The added requirement increments the counter a second time in the report of a Job with kept work, while the modified requirement in the same delta counts a reported runner Job once and letsresulthold onlyfailedor the state of the Job. The two requirements of the delta contradict each other, and a reported Job with kept work is counted twice, which breaks the once-per-reported-Job invariant of the base requirement and the SLI of fix(roadmap): count each implement outcome once with its repo #4703. Evidence: "It SHALL increment it withfinishedwhen that Job reaches the ready mark, and withblockedand the class of the new stop when it stops again."A model review of the plan found these points. They stop no draft, and a person judges them:
task_orderat tasks (1): Group 1 addsimplement.continuedtoImplementRecordKey, but the workflow-document invariant refuses a record key thatdocs/ROADMAP_WORKFLOW.mddoes not name. Group 5 adds the row only later, so group 1 leaves that check failing. Evidence: "AddCONTINUED = "implement.continued"toImplementRecordKeyinsrc/devops_cli/roadmap/stores/store.py"verify_format tasks (5): Group 5 changesk8s/README.md,docs/CLUSTER.mdanddocs/ROADMAP_WORKFLOW.md, but its verify runs only the docs check, which compares the generated CLI and configuration pages and does not run the workflow-document invariant or check the metric list. Evidence: "uv run devops ci docscompares the generated CLI and configuration pages only."verify_format tasks (1): Group 1 changestests/roadmap/implement/test_roadmap_implement_record_readers.pyand adds a new record key, but its verify runs onlytest_roadmap_implement_submit.py, so the reader test that fails when the key has no reader is never run. Evidence: "uv run devops ci test tests/roadmap/implement/test_roadmap_implement_submit.py"false_premiseat proposal (security): The plan saysuv run devops ci docsfails when a document or a link breaks, but the docs row compares only the generated CLI and configuration pages. The hand-written documents that group 5 changes are not checked by it. Evidence: "uv run devops ci docsfails when a document or a link breaks"spec_delta_wrongat spec roadmap-service-counters (The Service starts the implement pipeline counters at zero): The modified requirement says the jobs counter's label sets cover every repository, item class, result and class, but group 2 primesnoneforsucceeded,failedandgoneand each failure class only forcontinued,finishedandblocked. Afailedseries with a failure class is therefore not at zero. Evidence: "The label sets ofdevops_cli_service_implement_jobs_totalSHALL cover each repository, item class, result and class"verify_format tasks (3): Group 3 changes only the module docstring ofsrc/devops_cli/telemetry/instruments.py, but the test module it runs checks the instrument table and dashboards, not the docstring, so the verify proves nothing about the change. Evidence: "uv run devops ci test tests/telemetry/test_telemetry_instruments.py"otherat spec roadmap-implement-job/record (Implement job outcome counter): The modified requirement says the counter increments once for each reported runner Job, but group 1 also increments it withfinishedorblockedfor the same kept-work Job, so that Job counts twice; the text should separate the base increment from the kept-work outcome. Evidence: "A round SHALL increment it once for each runner Job that it reports"false_premiseat tasks (1):_createreads the class of the stop fromimplement.failure, but a stopped item becomes eligible again only afterclear_stops, and_marksinsrc/devops_cli/roadmap/stop_clear.pywritesImplementRecordKey.FAILURE: Nonewith that clear. So at_createthe record holdsimplement.wipand no class, and thecontinuedincrement cannot carry the class of the stop that acceptance criterion 1 asks for. Evidence: "_createputs the class ofImplementRecordKey.FAILUREinCONTINUEDwhen the record holdsImplementRecordKey.WIP"spec_delta_wrongat spec roadmap-implement-job/record (Implement job outcome counter): The modified requirement says the round increments the counter once for each runner Job it reports, but the added requirement makes the report addfinishedorblockedas well, so a kept-work Job is counted twice on the same counter and theoncerule no longer holds. Evidence: "A round SHALL increment it once for each runner Job that it reports"spec_delta_wrongat spec roadmap-implement-job/record (Kept work counts its outcome): The added requirement forbids any increment of the counter for an item with no kept work, yet the modified requirement in the same delta (and the base requirement it modifies) increments that counter once for every reported runner Job, kept work or not. The two requirements of the delta contradict each other, and group 2 cannot satisfy both. Evidence: "It MUST NOT increment it for an item with no kept work, and each label value SHALL come from a fixed set with no issue number."otherat tasks (5): The new section ofk8s/README.mdlinksdocs/CLUSTER.md#roadmap-service, which from insidek8s/resolves tok8s/docs/CLUSTER.mdand is a broken link; every existing link of that file uses../docs/CLUSTER.md. Evidence: "and linksdocs/CLUSTER.md#roadmap-service"false_premiseat proposal (feasibility): The answer says the bounded values of the newclasslabel stay in the base spec, but the base requirement it quotes bounds only theclassmatchers ofdevops_cli_service_implement_failures_totalink8s/; it says nothing about theclasslabel this change adds todevops_cli_service_implement_jobs_total. Evidence: "The bounded label values ofclasstherefore stay in the base spec, and the added requirement keeps its text under the length limit by leaving the fixed-set sentence to that requirement."otherat tasks (2): The group's implementation adds thefinishedcount whenever the reported Job's result isready, with no condition that the record heldimplement.continued, so an item with no kept work that reaches ready would also countfinishedand the group's owntest_a_job_with_no_kept_work_adds_no_outcomewould fail. Evidence: "adds 1 with the resultfinishedwhen_attempt_result(item)isready, or with the resultblockedand the class of the new stop when_failure_ofgives one"The runs of the planner and the review made 272 model request(s), and used 22650509 input tokens and 446917 output tokens. The tool calls, in order:
read_issue({"number":3069})read_issue({"number":3054})read_issue({"number":3065})file_symbols({"path":"src/devops_cli/roadmap/implement/implement_submit.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":470})search_code({"text":"devops_cli_service_implement_failures_total"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":1,"end_line":300})search_code({"text":"KEPT_COMMITS"})search_code({"text":"class ImplementRecordKey"})search_code({"text":"implement.wip"})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT"})read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":340,"end_line":420})read_file({"path":"src/devops_cli/server/counter_series.py","start_line":60,"end_line":125})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_submit.py","start_line":540,"end_line":640})read_file({"end_line":720,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":470})read_spec({"capability":"roadmap-service-counters"})read_spec({"capability":"roadmap-implement-job/stops"})read_spec({"capability":"roadmap-implement-job/stops","requirement":"The Service counts the failures by class"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})search_code({"text":"devops_cli_service_implement_jobs_total"})read_file({"path":"k8s/README.md","start_line":1,"end_line":60})read_spec({"capability":"roadmap-implement-job/record","requirement":"The Service counts the outcome of each Job"})search_code({"text":"TELEMETRY.md"})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"path":"docs/TELEMETRY.md","start_line":45,"end_line":80})search_code({"text":"implement_failures_total"})search_code({"text":"roadmap-service"})search_code({"text":"devops_cli_service_"})search_code({"text":"Roadmap service"})search_code({"text":"## Alerting"})search_code({"text":"### Roadmap"})search_code({"text":"roadmap"})search_code({"text":"roadmap-service metrics"})search_code({"text":"implement job"})search_code({"text":"### Metrics"})search_code({"text":"devops-cli-runner"})search_code({"text":"roadmap-service/"})read_file({"path":"k8s/README.md","start_line":520,"end_line":575})read_spec({"capability":"roadmap-implement-job/record"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_record_readers.py","start_line":1,"end_line":80})file_symbols({"path":"src/devops_cli/telemetry/instruments.py"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":50,"end_line":110})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})search_code({"text":"SERVICE_METRIC_LABELS"})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":930,"end_line":1010})read_file({"path":"src/devops_cli/server/counter_series.py","start_line":60,"end_line":130})read_issue({"number":3069})list_files({"directory":"tests/roadmap/implement"})list_files({"directory":"docs"})file_symbols({"path":"src/devops_cli/roadmap/implement/implement_submit.py"})search_code({"text":"class ImplementRecordKey"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":316,"end_line":460})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474,"end_line":525})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-service-counters"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})search_code({"text":"class FailureClass"})search_code({"text":"IMPLEMENT_JOBS"})find_issues({"terms":"kept work counter metric"})search_code({"text":"The labels of"})read_file({"path":"src/devops_cli/roadmap/failure.py","start_line":50,"end_line":90})search_code({"text":"item_class' and 'result"})search_code({"text":"The labels of {name}"})list_files({"directory":"src/devops_cli/commands/ci"})read_file({"path":"tests/telemetry/test_service_counter_series.py","start_line":80,"end_line":110})search_code({"text":"ci docs"})search_code({"text":"def kept_commits"})read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":380,"end_line":400})read_spec({"capability":"roadmap-implement-job/record"})read_spec({"capability":"roadmap-implement-job/record","requirement":"The metric labels are classes of the taxonomy"})read_file({"path":"src/devops_cli/telemetry/instruments.py"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":40,"end_line":120})search_code({"text":"REGISTRY_COUNTS"})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":190,"end_line":420})search_code({"text":"SERVICE_SERIES"})search_code({"text":"registry_table"})read_file({"path":"src/devops_cli/roadmap/stage/stage_registry.py"})read_file({"path":"src/devops_cli/server/counter_series.py","start_line":1,"end_line":140})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":540})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":540,"end_line":700})search_code({"text":"class ImplementRecordKey"})search_code({"text":"def _create("})read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":350,"end_line":410})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474,"end_line":540})read_file({"path":"tests/telemetry/test_service_counter_series.py","start_line":60,"end_line":120})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_file({"path":"tests/test_telemetry_instruments.py","start_line":1,"end_line":3})read_file({"path":"src/devops_cli/roadmap/implement/implement_wip.py","start_line":55,"end_line":70})read_spec({"capability":"roadmap-implement-job/record"})search_code({"text":"The labels of"})read_file({"path":"src/devops_cli/roadmap/failure.py","start_line":50,"end_line":85})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_record_readers.py","start_line":1,"end_line":45})read_file({"path":"src/devops_cli/docs/generator.py","start_line":1005,"end_line":1040})read_issue({"number":3069})find_issues({"terms":"devops_cli_service_implement_jobs_total"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":560})read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":340,"end_line":430})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"path":"src/devops_cli/docs/generator.py","start_line":1000,"end_line":1035})read_file({"end_line":700,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474})read_file({"path":"openspec/specs/roadmap-implement-job/record/spec.md","start_line":1,"end_line":90})read_spec({"capability":"roadmap-service-counters"})read_file({"end_line":200,"path":"openspec/specs/roadmap-implement-job/record/spec.md","start_line":90})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_file({"end_line":640,"path":"tests/roadmap/implement/test_roadmap_implement_submit.py","start_line":540})search_code({"text":"_emit_implement_metrics"})search_code({"text":"ImplementRecordKey.CONTINUED"})search_code({"text":"implement.continued"})search_code({"text":"_implement_jobs("})search_code({"text":"_implement_jobs("})search_code({"text":"devops ci test"})search_code({"text":"def test_implement_jobs_counter_exists_at_zero"})list_files({"directory":"tests"})search_code({"text":"tests/test_telemetry_instruments.py"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":70,"end_line":125})search_code({"text":"docstring"})search_code({"text":"instruments.py"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":200,"end_line":320})search_code({"text":"devops_cli_service_implement_jobs_total"})search_code({"text":"devops_cli_service_implement_failures_total"})read_file({"path":"docs/TELEMETRY.md","start_line":55,"end_line":75})search_code({"text":"implement"})search_code({"text":"kept"})search_code({"text":"roadmap-service-telemetry"})references({"name":"devops_cli_service_implement_failures_total"})references({"name":"devops_cli_service_implement_jobs_total"})search_code({"text":"def docs"})search_code({"text":"ci docs"})search_code({"text":"\"docs\""})find_issues({"terms":"devops_cli_service_implement_jobs_total"})read_issue({"number":3069})read_issue({"number":3655})search_code({"text":"kept_work"})search_code({"text":"continued"})search_code({"text":"CONTINUED"})search_code({"text":"test_roadmap_workflow_doc"})read_file({"path":"src/devops_cli/commands/ci.py","start_line":920,"end_line":950})search_code({"text":"ImplementRecordKey"})read_file({"path":"openspec/changes/5118-a-claim-release-leaves-the-item/design.md","start_line":1,"end_line":40})read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":30,"end_line":170})search_code({"text":"ImplementRecordKey.WIP"})search_code({"text":"WIP"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":1,"end_line":120})search_code({"text":"Kept work counts its outcome"})search_code({"text":"The Service starts the implement pipeline counters at zero"})search_code({"text":"Implement job outcome counter"})search_code({"text":"def check"})search_code({"text":"docs check"})search_code({"text":"@docs.command"})search_code({"text":"def _check_links"})search_code({"text":"broken link"})search_code({"text":"link"})read_issue({"number":3054})read_issue({"number":3065})read_issue({"number":3650})read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_record_readers.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":540})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474,"end_line":580})search_code({"text":"ImplementRecordKey.WIP"})search_code({"text":"ImplementRecordKey.CONTINUED"})read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":700,"end_line":740})search_code({"text":"ImplementRecordKey.FAILURE"})search_code({"text":"workflow_problems"})search_code({"text":"def test("})read_file({"path":"src/devops_cli/commands/ci.py","start_line":2150,"end_line":2210})read_file({"end_line":2050,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":2000})read_file({"end_line":810,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":770})list_files({"directory":"tests/roadmap/implement"})list_files({"directory":"tests/invariants"})search_code({"text":"def docs("})search_code({"text":"ci docs"})read_file({"path":"src/devops_cli/commands/ci.py","start_line":2420,"end_line":2480})search_code({"text":"k8s/README.md"})search_code({"text":"devops_cli_service_implement_jobs_total"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})search_code({"text":"| Implement |"})read_file({"path":"src/devops_cli/server/counter_series.py","start_line":60,"end_line":120})read_file({"path":"tests/telemetry/test_service_counter_series.py","start_line":75,"end_line":115})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":1,"end_line":20})read_issue({"number":3069})read_issue({"number":3054})read_spec({"capability":"roadmap-service-counters"})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS: Final"})search_code({"text":"WIP = \"implement.wip\""})search_code({"text":"FAILURE = \"implement.failure\""})search_code({"text":"def _record("})search_code({"text":"devops_cli_roadmap_pipeline_implement_total"})read_file({"end_line":1026,"path":"src/devops_cli/docs/generator.py","start_line":1014})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_spec({"capability":"roadmap-implement-job/record"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":""})search_code({"text":"implement.continued"})search_code({"text":"CONTINUED"})read_issue({"number":3069})read_spec({"capability":"false"})read_spec({"capability":"roadmap-implement-job/record"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-service-counters"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})search_code({"text":"ImplementRecordKey"})search_code({"text":"class ImplementRecordKey"})file_symbols({"path":"src/devops_cli/roadmap/implement/implement_submit.py"})read_file({"path":"src/devops_cli/roadmap/stores/store.py","start_line":350,"end_line":410})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":530})read_file({"end_line":560,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474})read_file({"end_line":175,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":150})read_file({"end_line":2460,"path":"src/devops_cli/commands/ci.py","start_line":2390})references({"name":"k8s/README.md"})search_code({"text":"\"docs\":"})read_file({"path":"tests/docs/test_docs_inventory.py","start_line":150,"end_line":210})search_code({"text":"get_check_spec"})search_code({"text":"CHECK_SPECS"})search_code({"text":"def get_check_specs"})list_files({"directory":"src/devops_cli/ci"})read_file({"end_line":960,"path":"src/devops_cli/commands/ci.py","start_line":850})search_code({"text":"def check"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"def check_docs"})file_symbols({"path":"src/devops_cli/commands/docs.py"})read_file({"path":"src/devops_cli/docs/generator.py","start_line":1370,"end_line":1470})read_file({"path":"src/devops_cli/commands/docs.py","start_line":130,"end_line":170})search_code({"text":"implement.wip"})file_symbols({"path":"src/devops_cli/roadmap/stop_clear.py"})read_file({"end_line":345,"path":"src/devops_cli/roadmap/stop_clear.py","start_line":180})read_file({"end_line":700,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":560})read_file({"end_line":265,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":195})read_file({"end_line":805,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":770})search_code({"text":"retry: bool"})read_file({"end_line":2035,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1990})read_file({"end_line":400,"path":"src/devops_cli/roadmap/stop_clear.py","start_line":332})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"end_line":640,"path":"tests/roadmap/implement/test_roadmap_implement_submit.py","start_line":560})search_code({"text":"_implement_jobs("})read_file({"end_line":180,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":110})read_file({"end_line":180,"path":"docs/ROADMAP_WORKFLOW.md","start_line":150})read_file({"end_line":1030,"path":"src/devops_cli/docs/generator.py","start_line":1005})search_code({"text":"test_telemetry_instruments"})search_code({"text":"tests/test_telemetry_instruments.py"})search_code({"text":"fails on a metric that a module"})search_code({"text":"test_telemetry_instruments"})search_code({"text":"devops_cli_service_implement_jobs_total"})search_code({"text":"devops_cli_service_implement_failures_total"})read_file({"end_line":1040,"path":"tests/grafana/test_grafana_dashboards.py","start_line":960})read_file({"end_line":130,"path":"src/devops_cli/roadmap/stop_clear.py","start_line":108})read_file({"end_line":200,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":160})read_file({"end_line":80,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1})read_file({"end_line":2165,"path":"src/devops_cli/commands/ci.py","start_line":2140})read_file({"end_line":100,"path":"src/devops_cli/server/counter_series.py","start_line":80})read_file({"end_line":100,"path":"tests/telemetry/test_service_counter_series.py","start_line":84})read_file({"end_line":78,"path":"tests/roadmap/implement/test_roadmap_implement_record_readers.py","start_line":64})read_file({"path":"src/devops_cli/roadmap/stop_clear.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":150,"end_line":560})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":380,"end_line":560})search_code({"text":"ImplementRecordKey.FAILURE: None"})read_file({"end_line":340,"path":"src/devops_cli/roadmap/stop_clear.py","start_line":295})search_code({"text":"ImplementRecordKey.WIP"})search_code({"text":"def _wip_record"})read_file({"end_line":2060,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1990})read_file({"end_line":740,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":700})read_file({"end_line":2145,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":2125})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_record_readers.py"})read_file({"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":120,"end_line":175})read_file({"end_line":385,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":327})read_file({"end_line":130,"path":"src/devops_cli/server/counter_series.py","start_line":50})search_code({"text":"class FailureClass(StrEnum)"})read_file({"end_line":160,"path":"src/devops_cli/roadmap/failure.py","start_line":58})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})search_code({"text":"devops_cli_service_implement_jobs_total"})read_file({"end_line":400,"path":"src/devops_cli/roadmap/stop_clear.py","start_line":332})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})callers({"symbol":"clear_stops"})search_code({"text":"clear_stops("})read_file({"end_line":625,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":555})read_file({"end_line":180,"path":"docs/ROADMAP_WORKFLOW.md","start_line":158})search_code({"text":"implement_failures_total"})references({"name":"devops_cli_service_implement_failures_total"})search_code({"text":"devops_cli_service_implement_jobs_total"})read_file({"path":"k8s/README.md","start_line":1,"end_line":1})references({"name":"devops/roadmap-service"})read_file({"end_line":730,"path":"k8s/README.md","start_line":690})search_code({"text":"## Roadmap"})search_code({"text":"Roadmap service ("})search_code({"text":"roadmap-service-telemetry"})read_file({"end_line":132,"path":"k8s/README.md","start_line":118})search_code({"text":"## Alerting"})read_file({"end_line":310,"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":268})search_code({"text":"## Monitoring"})search_code({"text":"## Grafana Dashboards"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Kept work is recorded"})read_spec({"capability":"roadmap-implement-job/pull-request","requirement":"The job records the work in progress of a stopped run"})read_file({"path":"src/devops_cli/telemetry/instruments.py"})search_code({"text":"devops_cli_service_implement_jobs_total"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":50,"end_line":120})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":120,"end_line":260})search_code({"text":"REGISTRY_COUNTS"})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":190,"end_line":420})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":420,"end_line":700})search_code({"text":"/metrics route"})search_code({"text":"GLOBAL_METRICS"})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":255,"end_line":420})search_code({"text":"The labels of"})read_file({"path":"src/devops_cli/server/counter_series.py","start_line":60,"end_line":135})search_code({"text":"implement_jobs"})search_code({"text":"SERVICE_METRIC_LABELS"})search_code({"text":"The labels of '"})file_symbols({"path":"src/devops_cli/roadmap/stop_clear.py"})read_file({"path":"src/devops_cli/roadmap/stop_clear.py","start_line":300,"end_line":365})file_symbols({"path":"src/devops_cli/roadmap/implement/implement_submit.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":474,"end_line":524})read_file({"end_line":447,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":316})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-implement-job/record"})read_file({"path":"src/devops_cli/telemetry/instruments.py","start_line":1,"end_line":14})file_symbols({"path":"src/devops_cli/telemetry/instruments.py"})search_code({"text":"devops_cli_service_implement_jobs_total"})search_code({"text":"class Instrument"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":300,"end_line":620})read_file({"path":"src/devops_cli/roadmap/stop_clear.py","start_line":290,"end_line":380})read_file({"end_line":640,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":473})read_file({"end_line":700,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":640})read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":200,"end_line":400})search_code({"text":"REGISTRY_COUNTS"})search_code({"text":"def test_the_registry"})search_code({"text":"\"prefix\""})search_code({"text":"k8s/README.md"})read_file({"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":1,"end_line":80})search_code({"text":"K8S_README"})read_file({"end_line":520,"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":440})search_code({"text":"K8S_README.read_text"})search_code({"text":"README.md"})search_code({"text":"def docs"})search_code({"text":"\"docs\":"})read_file({"end_line":2520,"path":"src/devops_cli/commands/ci.py","start_line":2410})search_code({"text":"\"docs\": CheckSpec"})search_code({"text":"docs-check"})search_code({"text":"get_check_spec"})search_code({"text":"CheckSpec("})read_file({"end_line":1075,"path":"src/devops_cli/commands/ci.py","start_line":960})read_file({"end_line":960,"path":"src/devops_cli/commands/ci.py","start_line":900})search_code({"text":"def check"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"link"})search_code({"text":"def set_marks"})search_code({"text":"def write_status"})read_file({"end_line":200,"path":"src/devops_cli/roadmap/status_sync.py","start_line":126})read_file({"end_line":1180,"path":"src/devops_cli/roadmap/stores/store.py","start_line":1090})read_file({"end_line":760,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":690})read_file({"end_line":2040,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1980})search_code({"text":"_marks("})search_code({"text":"def service_release"})read_file({"end_line":180,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":100})read_file({"end_line":185,"path":"docs/ROADMAP_WORKFLOW.md","start_line":140})references({"name":"devops_cli_service_implement_jobs_total"})read_file({"end_line":380,"path":"tests/server/routes/test_k8s_roadmap_service.py","start_line":330})read_file({"end_line":140,"path":"openspec/specs/roadmap-implement-job/record/spec.md","start_line":90})read_file({"end_line":50,"path":"openspec/specs/roadmap-service-counters/spec.md","start_line":1})read_file({"end_line":230,"path":"src/devops_cli/roadmap/claim.py","start_line":150})read_file({"end_line":70,"path":"docs/CLUSTER.md","start_line":36})read_file({"end_line":68,"path":"docs/TELEMETRY.md","start_line":58})read_file({"end_line":48,"path":"docs/CLUSTER.md","start_line":41})read_file({"end_line":1030,"path":"src/devops_cli/docs/generator.py","start_line":1010})read_file({"end_line":590,"path":"k8s/README.md","start_line":555})search_code({"text":"docs check"})search_code({"text":"broken link"})read_file({"path":".nav.yml"})search_code({"text":"CONST_DOCS_INVENTORY"})search_code({"text":"site-src"})read_file({"end_line":120,"path":"tests/roadmap/implement/test_roadmap_implement_records.py","start_line":40})search_code({"text":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"end_line":620,"path":"tests/roadmap/implement/test_roadmap_implement_submit.py","start_line":560})read_file({"end_line":1030,"path":"tests/grafana/test_grafana_dashboards.py","start_line":975})search_code({"text":"def check("})read_file({"end_line":60,"path":"src/devops_cli/commands/docs.py","start_line":1})read_file({"end_line":240,"path":"src/devops_cli/commands/docs.py","start_line":130})search_code({"text":"ImplementRecordKey.CONTINUED"})read_file({"end_line":1950,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1900})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-service-counters"})read_spec({"capability":"roadmap-implement-job/record"})read_spec({"capability":"roadmap-implement-job/record","requirement":"The metric labels are classes of the taxonomy"})read_file({"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":280,"end_line":470})read_file({"path":"src/devops_cli/roadmap/stop_clear.py","start_line":280,"end_line":380})read_file({"end_line":660,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":470})search_code({"text":"_marks("})read_spec({"capability":"roadmap-implement-job/record","requirement":"Implement job outcome counter"})read_spec({"capability":"roadmap-implement-job/record"})read_file({"path":"src/devops_cli/roadmap/claim.py","start_line":160,"end_line":225})read_file({"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":690,"end_line":745})read_file({"end_line":2075,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1975})read_file({"end_line":1270,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1230})search_code({"text":"\"docs\""})search_code({"text":"The labels of"})search_code({"text":"class ImplementRecordKey"})search_code({"text":"ImplementRecordKey"})read_file({"end_line":440,"path":"src/devops_cli/roadmap/stores/store.py","start_line":340})search_code({"text":"_JOB_RECORD_KEYS"})read_file({"end_line":790,"path":"src/devops_cli/roadmap/stores/store.py","start_line":745})read_file({"end_line":180,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":100})read_file({"end_line":1035,"path":"src/devops_cli/docs/generator.py","start_line":1005})read_file({"end_line":60,"path":"docs/CLUSTER.md","start_line":30})read_file({"end_line":50,"path":"docs/CLUSTER.md","start_line":41})references({"name":"devops_cli_service_implement_jobs_total"})read_spec({"capability":"roadmap-service-counters","requirement":"The Service starts the implement pipeline counters at zero"})read_spec({"capability":"roadmap-service-counters"})search_code({"text":"## Alerting"})search_code({"text":"def check"})read_file({"end_line":1760,"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":1725})read_file({"end_line":1520,"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":1425})read_file({"end_line":1850,"path":"tests/prometheus/test_k8s_monitoring_alerting.py","start_line":1756})search_code({"text":"docs\", \"check"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"name=\"check\""})file_symbols({"path":"src/devops_cli/commands/docs.py"})read_file({"end_line":170,"path":"src/devops_cli/commands/docs.py","start_line":125})read_spec({"capability":"roadmap-implement-job/record","requirement":"The metric labels are classes of the taxonomy"})read_file({"end_line":100,"path":"tests/invariants/test_roadmap_workflow_doc.py","start_line":1})read_file({"end_line":175,"path":"src/devops_cli/commands/ci.py","start_line":100})search_code({"text":"def test_cmd"})search_code({"text":"REGISTRY_COUNTS"})search_code({"text":"def _counted_names"})search_code({"text":"GLOBAL_METRICS"})references({"name":"CONST_SERVICE_METRIC_IMPLEMENT_JOBS"})read_file({"end_line":1020,"path":"tests/grafana/test_grafana_dashboards.py","start_line":985})read_file({"end_line":620,"path":"tests/roadmap/implement/test_roadmap_implement_submit.py","start_line":560})search_code({"text":"def get_counter"})read_file({"end_line":200,"path":"src/devops_cli/telemetry/metrics.py","start_line":90})search_code({"text":"def _read_sample_value"})read_file({"end_line":85,"path":"src/devops_cli/telemetry/metrics.py","start_line":20})read_file({"end_line":110,"path":"tests/roadmap/implement/test_roadmap_implement_records.py","start_line":60})read_file({"end_line":92,"path":"src/devops_cli/telemetry/metrics.py","start_line":73})read_file({"end_line":60,"path":"openspec/changes/archive/2026-11-12-4703-count-each-implement-outcome-once-with/proposal.md","start_line":1})read_file({"end_line":275,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":185})search_code({"text":"prime_service_counters"})search_code({"text":"GLOBAL_METRICS.reset"})read_file({"end_line":46,"path":"docs/CLUSTER.md","start_line":43})search_code({"text":"docs/CLUSTER.md"})Tool calls: callers=1 (empty=0), file_symbols=10 (empty=0), find_issues=3 (empty=0), list_files=10 (empty=0), read_file=177 (empty=1), read_issue=13 (empty=0), read_spec=45 (empty=0), references=8 (empty=0), search_code=177 (empty=18)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
20 remaining items
feat(roadmap): Keep the class of a stop whose kept work a next Job co…
feat(roadmap): Count the kept-work outcome of each implement Job (#3650)
feat(roadmap): Start the kept-work label sets at zero (#3650)
feat(roadmap): Regenerate the telemetry reference for the new counter (…
feat(roadmap): List the counter and its label values in the cluster R…
feat(roadmap): Name the Service kept-work counter in the instruments …
docs(openspec): archive the change (#3650)
devops-cli-service commentedon Nov 16, 2026
Released in v0.167.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.167.0
devops-cli-service commentedon Nov 16, 2026
Live since 2026-11-16 18:27 UTC