Repository navigation
Description
Problem or Motivation
The owner wrote on 2026-11-12, word for word:
I'd like to see these kind of optimizations and improvements showing up in the routine project report
"These" is the self-improvement loop:
- the job grade of each agentic workflow (feat(roadmap): track job grades for each agentic workflow #5164);
- CLI usage errors (feat(telemetry): rank CLI usage errors and propose fixes #4840);
- tool call errors (feat(roadmap): count tool call errors by class for each workflow #5179) and refused tool calls (feat(roadmap): rank refused tool calls and propose safe tool changes #5180);
- model tier candidates (feat(roadmap): eval grades shows success and context size per model #5176);
- configuration changes and ADR changes;
- the items that fix each signal, and the effect of each fix.
The routine report is devops roadmap review run (#4679). The owner says "band". This item uses the project term "job grade" (#5164).
Facts on 2026-11-12 at about 19:40Z to 19:50Z, for 7 days:
- Loki holds 160
cli_usage_errorrecords. All 160 come from agents on one host. The first record is at 12:39:13Z.--jsonis in 127 records. 58 records (36%) are in the 15 minutes from 18:35Z to 18:50Z. The owner mapped the errors to feat(gh): gh issue view, list and status run gh #4848 and feat(pr): pr view, list, checks, diff and status run gh #4842 by hand. - Loki holds the result lines of 4 workflows: intake 78, refine 39, stage 8 and implement 2. The first line is at 12:58:03Z. The 39 refine lines are for 32 items, and 6 items have 2 or 3 attempts.
- A grade needs 30 attempts (
MIN_ATTEMPTS,roadmap/job_grade.py), so only intake and refine get one. devops_cli_roadmap_tool_calls_totalcounted 129 errors, from the stage planner and the verifier only. The implement runner logged 176 refused calls.- The live ConfigMap
devops-cli-configchanged 21 times (kube-state-metrics). 20 commits changedk8s/devops/configmap.example.yaml. 29 commits changeddocs/adr/. No record gives the expected effect of a change. - The
ghgroup ran from 937 to 15,935 commands a day.devops_cli_command_totalhas only the labelscommandandstatus: no version and no subcommand. - In the same 7 days,
maingot 104 release tags, 19 commits to the agent briefs (AGENTS.md, CLAUDE.md,.agents/skills,.claude) and 19 commits to intake code. - The bodies of feat(roadmap): track the project review analysis #4679, feat(roadmap): report SLOs and incidents in the project review #4714 and feat(roadmap): render the project review as an HTML page #4720 name no fact for job grades, usage errors, tool errors, refusals or the effect of a fix.
- A feat(roadmap): read project review facts through a catalog #4692 scope comment (2026-11-11) adds a PromQL row on
devops_cli_usage_error_total. That counter has 0 series in Prometheus. - No issue names the signal that it fixes in a form that a program can read. So no command can show the effect of a merged fix on its own signal.
- Loki and Prometheus keep about 30 days. After that, a before-and-after value is lost unless
data.jsonkeeps it.
Proposed Solution & Architectural Design
Add the section "Workflow grades and improvements" (id self_improvement) to the project review. It comes after Service job performance (#4714) and before Cost. The section uses the data of the existing producers.
The work has two owners:
- feat(roadmap): find a success or efficiency change after a release #5175 owns the release compare. A scope comment adds the signal-link format (
roadmap/signal_link.py) and the statistics (roadmap/effect.py) to it. One module then serves the version compare of feat(roadmap): find a success or efficiency change after a release #5175 and the item compare of this section. - This item adds the item ranges, the flags, the stored compares, the readers and the page. The section reads the compares of feat(roadmap): find a success or efficiency change after a release #5175, as it reads the grades of feat(roadmap): eval grades prints the grade of each workflow #5189.
1. Evidence link. An improvement item names each signal that it changes. It uses one marker line in its body for each signal:
<!-- devops-signal: {"v":1,"source":"usage_error","path":"gh issue view","name":"--json"} -->
source |
Key fields | Measure | Series |
|---|---|---|---|
job_grade |
job, optional class |
success ratio with infra=false and for all attempts, or the share of attempts with the class |
job and repo |
job_efficiency |
job, measure (tokens, seconds; after #5168 also cost, model_calls, gh_requests) |
value of all attempts ÷ successes | job and repo |
usage_error |
path, name, optional kind |
records of the item paths for each 1,000 commands of the group, and a key check for each line | command group |
tool_error |
row, tool, optional error_class |
errors ÷ calls (#5179) | row and tool |
tool_refusal |
tool, program, reason |
refusals ÷ calls (#5180), and a key check | tool |
config |
setting, fact, expect (up, down, equal), optional value |
the catalog fact that fact names |
that fact |
roleis one of these values:fix(the default): the signal must get better.guard: the signal must not get worse.measure: the item changes the measure, as fix(roadmap): leave out changed intake candidates and count plan calls #5166 does.
repois optional. The default is the repository of the issue.- The schema allows names only: no argument value, text, path, host name or user name.
valueis a number or a boolean, because the repository is public and some settings hold URLs. An item holds 20 lines or fewer. - markdown-it-py reads only the
html_blocktokens. So a line in a fenced code block, such as the example above, is not a link. - The
devops-job-grademarker of feat(roadmap): a daily grade-check step keeps one issue per workflow #5173 counts as ajob_gradelink for its job and repository. feat(roadmap): a daily grade-check step keeps one issue per workflow #5173 writes no second marker. - A line that the schema refuses becomes the row "invalid signal line" with the issue number. The reader does not drop it.
- The reader parses the bodies in the feat(roadmap): read project review facts through a catalog #4692 listing snapshot. The snapshot holds the body, state, state reason, labels, created time and closed time of every issue (
stores/store.pyIssueRecord,FULL_LISTING = "state=all"). So the reader sends 0 GitHub requests and no issue search. - The reader selects an item by its ranges, back to the retention, not by its close date. Example: an
implementitem closes on 2026-11-15, and its after side ends on 2026-11-25. A search for items closed after the week-48 start minus 7 days does not find it. - These writers make the line:
- The issue templates
feature_request.ymlandbug_report.ymlget an optional field "Signal" (idsignal).devops roadmap intakechecks each line with the schema and refuses an invalid line with its text. AGENTS.md sends "file an issue" to intake and these templates, and agents filed 870 of 878 issues in 7 days. - feat(roadmap): rank refused tool calls and propose safe tool changes #5180 writes a line in each proposal issue.
- feat(telemetry): rank CLI usage errors and propose fixes #4840 prints the line for each proposal row.
- A person or an agent copies a line into an item that they file by hand.
docs/SELF_IMPROVEMENT.mdgets the section "Link an item to its signal".
- The issue templates
- feat(roadmap): file, update and close finding issues by fingerprint #5153 is not a writer. It files docs findings, which have no runtime signal.
- The fact
loop.coveragemeasures the convention. It is the share offixandperfitems closed in the window that hold a line or adevops-job-grademarker.
2. Ranges. The ranges use one rule for #5175 and for this item.
- M. The git reader finds the closing commit of an item from the closing keyword in the squash message (
Closes #4848). M is its merge time. This step sends 0 GitHub requests. - R. The release is the first
v*tag that holds the commit (git tag --contains). Code sorts versions withpackaging.version, because"0.99.0"sorts after"0.122.0"as a string. - Before side. It is the 7 days that end at M.
- After side. It is 7 days from A, the first record of version R or later in the source.
- A source with no version starts at the first Service result line of R (a Service metric) or at the tag time of R (a CLI metric).
- The after side stops early at the release of a later linked item on the same series.
- Gap. The records from M to A stay out. In that time, builds of
mainrun the fix with the old version string. - Bins. Code cuts each side into 24-hour bins from its boundary. A bin that starts before the
sincetime of the source, or before the oldest kept sample, stays out. A side needs 3 or more full bins. - Versions.
job_gradeandjob_efficiencycount only lines of R or later on the after side. Their numerator and denominator come from the same lines.usage_errorrates count records of all versions on both sides, because the command counter has no version label. The flagold builds x%shows the after-side share older than R.
- For a version compare, feat(roadmap): find a success or efficiency change after a release #5175 ends the before side at the merge of the first commit after the previous tag.
3. Effect measure. roadmap/effect.py (#5175) uses statsmodels 0.15.0 (a current dependency) and SciPy. It uses fixed seeds, so a rebuild gives the same p.
| Source | Unit | Test and interval | Margin | Minimum on each side |
|---|---|---|---|---|
job_grade |
item (item=none is its own unit) |
difference of ratios; p from scipy.stats.permutation_test (independent, items as units); 95% and 90% intervals from scipy.stats.bootstrap by item; on the infra=false ratio and on the all-attempts ratio |
0.10 | MIN_ATTEMPTS (30) attempts, 3 bins |
job_efficiency |
item | ratio of (tokens or seconds of all attempts ÷ successes), same permutation and bootstrap; the median of successful attempts is descriptive only | 1.20 | 10 successes, 3 bins |
usage_error rate |
24-hour bin | difference in differences: Poisson GLM with scale='X2', count ~ side * target, offset log(group commands); estimate exp(interaction) |
1.25 | 1,000 group commands, 10 target records before, 3 bins |
| key check | record | no test | none | 10 key records before; after: 3 bins and 1,000 group commands |
tool_error, tool_refusal |
24-hour bin | Binomial GLM with scale='X2', side factor; odds ratio |
1.25 | 50 calls, 5 bad events before, 3 bins |
config |
as the fact | the test of the unit of the fact; a gauge with expect: equal compares with value |
from the fact | the minimum of that unit |
- The target of a usage compare is the paths of the item lines. The control is the other paths of the same group that no linked item released between the sides covers. The control shares the denominator, so a change of workload or of agent habits moves both. A group with no control path gives
too few. - The margins are in the catalog.
MIN_ATTEMPTScomes fromjob_grade.py, not from a second constant. - Each row shows the half-width of its 95% interval, so a reader sees why a row has no verdict.
- Benjamini-Hochberg (
multipletests,fdr_bh) runs only on the compares that complete in the window and have a p. A verdict word needs q < 0.05.
Code writes the state of each row:
- role
fix:betterorworse(job and tool rows),fellorrose(usage rate rows).no changeneeds the 90% interval inside plus or minus the margin (the TOST rule). Any other result isnot shown, with both values and the interval. - role
guard:heldneeds the 90% interval to exclude a loss larger than the margin (a non-inferiority test). Elseworseornot shown. - A
job_gradeverdict needs the same direction on theinfra=falseratio and on the all-attempts ratio. - Key check:
removedwhen the after side has 0 records of the key from version R or later. Elsestill seen (n), with the versions. Each new kind or name on the same path or tool after the release shows as a displaced key. check the measure: an after side with 0 bad events at the minimum n on a whole measure (a job at 100% success, a path total with 0 records, a tool row with no class and 0 errors). This is the grade-100 rule ofdocs/roadmap/job-success.md. The row gives the values and no verdict, and it goes to N.8.too few: the row gives both n (attempts and distinct items, or records and bins), both values and the reason. It gives no interval, no q and no verdict. The figure shows no dot for the row.pending until <UTC date>: the item has no release yet, or the after side is not complete. The row gives the values so far and no p.expired: the before side is older than the oldest kept sample, and no storeddata.jsonholds its bins. The row never shows 0. The oldest sample comes fromprometheus_tsdb_lowest_timestamp_secondsand from a Loki probe at the side start, not from a fixed 30 days.measure changed: one of these occurs between the sides:- an item with role
measureon the same series has its release; - a commit changes the result-line writer (
roadmap/job_result.py) or the failure classes (roadmap/failure.py); - the infra share changes by more than the margin.
- an item with role
Each row also shows its flags:
joint: another linked item on the same series has its release in the gap. One row names both items.other changes (n): commits from the gap start to the after-side end that touch the code paths of the series and close no linked item.config changed (n): changes of the live ConfigMap in that time (kube-state-metrics).briefs changed (n): commits in that time to AGENTS.md, CLAUDE.md,.agents/skills,.claudeordocs/SELF_IMPROVEMENT.md.workload shift: the median bin denominator of one side is more than 3 times that of the other side.old builds x%.one burst: one hour holds more than 25% of the bad events of a side. The state isnot shown.spike: the verdict changes when code drops the before bin with the most bad events. The state isnot shown.- With 2 or more of
other changes,config changed,briefs changedandworkload shift, the verdict word gets the prefix "associated", for exampleassociated better.
One test for each compare:
- In the window of the release, the review stores the before-side bins in
data.json(feat(roadmap): publish the project review and link it on GitHub #4733). - It tests a compare one time, in the window where the after side completes. It stores the counts, p, q and state.
- Each later window shows the stored row with no new query and no new test.
The Method appendix names the confounders and the flag that shows each: other changes and the same release; configuration; briefs and agent habits; workload and command mix; older versions; infrastructure cuts; measure changes; regression to the mean after a spike; repeated errors in one session; the source start and the retention.
4. Subsections and facts.
- Job grades:
grades.workflows,grades.previous,grades.versions. Later:grades.held(feat(roadmap): a daily grade-check step keeps one issue per workflow #5173). - Leading failure modes and their items:
grades.failure_classes,loop.links,loop.candidates. - Improvements and their effect:
loop.improvements,loop.effects,loop.invalid_links,loop.coverage, and the ADR rows ofchanges.paths. - Tool friction:
usage_errors.rate(Figure N-3). Later:usage_errors.rankedandusage_errors.proposals(feat(telemetry): rank CLI usage errors and propose fixes #4840),tool_calls.errors(feat(roadmap): count tool call errors by class for each workflow #5179),tool_refusals.ranked(feat(roadmap): rank refused tool calls and propose safe tool changes #5180). - Efficiency at job grade 80 or better:
grades.efficiency. feat(roadmap): result lines state first-pass, model calls and cost #5168 adds model calls, cost and GitHub requests. - Model tier candidates:
grades.tier_candidates(feat(roadmap): eval grades shows success and context size per model #5176). - Configuration changes: the ConfigMap rows of
changes.paths,changes.config_live, andloop.effectsof sourceconfig. - Open owner decisions:
loop.owner_decisions. The rows come from:- open loop items with
owner/human; - open pull requests that close a loop item;
- alias candidates (feat(telemetry): rank CLI usage errors and propose fixes #4840) and allowlist candidates (feat(roadmap): rank refused tool calls and propose safe tool changes #5180);
- frontier candidates held by the owner (feat(roadmap): eval grades shows success and context size per model #5176);
worseandassociated worserows;check the measurerows.
- open loop items with
Design studies get no row. They are gitignored files under .data/, and the label scope/design marks design-spec work (#5186, #4906). A study record must exist first.
5. Code in this item.
- A reader kind
job_gradescallsplan_grade_queriesandbuild_grade_reportof feat(roadmap): eval grades prints the grade of each workflow #5189. It evaluates at the window end over the window range.plan_grade_queriestakes a range, not only theGradeWindowvalues.- If feat(roadmap): read project review facts through a catalog #4692 does not add it, add a
timeargument toquery_loki_metrics. - The catalog holds no copy of the LogQL of the result line.
- A reader kind
signal_linksreads the listing snapshot and parses withsignal_link.pyof feat(roadmap): find a success or efficiency change after a release #5175. facts.pygets one git fact: the commits that touch the path globs that the catalog lists. The globs are the ConfigMap template, the values files,docs/adr/, the briefs, the result-line writer and the code paths of each workflow source. The fact gives the closing item of each commit.project_review/item_ranges.pycomputes M, R, A, the sides, the bins, the gap, the flags,pending,expired,measure changedand the stored compares. A reader kindeffectsplans the reads and callseffect.pyof feat(roadmap): find a success or efficiency change after a release #5175.- The usage rows of Table N-4 come from a reader kind that calls the feat(telemetry): rank CLI usage errors and propose fixes #4840 grouping and threshold. The catalog holds no copy of them. The catalog has no row on
devops_cli_usage_error_total. - The catalog schema gets the optional field
sincefor each source, if feat(roadmap): read project review facts through a catalog #4692 does not have it. - Intake checks signal lines, and the two issue templates get the optional field "Signal".
- Each open producer adds its own rows in its own pull request, as the feat(roadmap): read project review facts through a catalog #4692 scope comments do. A subsection with no fact does not show.
6. Page.
- One figure spec,
dot_interval, shows a dot with 95% error bars (docs/DESIGN.mdC1 and C10). - Figure N-1 shows the grades, with the previous window as a neutral dot.
- Figure N-2 shows the before and after values of each row with a verdict word.
- Figure N-3 is a time series of daily usage errors for each 1,000 commands, and of the daily tool error ratio.
- Each figure has a
<details>table. A state shows a word and a shape. - Code writes every number, state word and grade label. The narrative (feat(roadmap): write the project review narrative with a model #4726) cites fact ids and issue numbers only. The section makes no model call.
7. No issue. The review files no issue (#4679 decision 7). These rows go to the data.json candidates for the brain intake path (#4624):
- a failure class with 5 or more failures and no item;
- a usage error row at the feat(telemetry): rank CLI usage errors and propose fixes #4840 proposal threshold with no item;
- a
worserow.
8. Budget.
- GitHub: 0 extra requests. The section uses the listing snapshot and git.
- Loki and Prometheus:
- about 13 grade queries, and 13 more when no stored
data.jsonholds the previous window; - for each job with a compare, one paged read of result lines over the span (1 request for each 5,000 lines);
- for each command group with a usage compare, 2 shared queries (Loki hourly counts by path, Prometheus hourly commands), and 1 query for each item and group (hourly counts by path, kind, name and version);
- 1 Prometheus range query for each tool row group;
- 1 ConfigMap change query and 2 retention probes;
- 0 queries for a stored compare.
- about 13 grade queries, and 13 more when no stored
- The feat(roadmap): track the project review analysis #4679 targets stay: 45 or fewer GitHub requests, and a collection of 3 min or less.
9. Review points that this design does not take.
- A build check with
vcs.revision_idfor the key check.telemetry/tracer.py_detect_vcs_metadatareads the HEAD of the git directory above the working directory, not the build of devops-cli. A run from another repository gives the commit of that repository. So the key check uses the version (packaging.version, R or later). - A before side that ends when the item is filed. The data that selects an item comes before the item is filed, so this end keeps that data. Also, feat(gh): gh issue view, list and status run gh #4848 was filed at 2026-11-11T22:19:26Z, before the first usage record at 2026-11-12T12:39:13Z, so its before side would be empty. The design uses the
spikeandone burstrules and the control paths in its place.
Target Subsystem
SDLC, Git & PR Governance (src/devops_cli/roadmap/project_review/, src/devops_cli/roadmap/intake/), with .github/ISSUE_TEMPLATE/ and docs/SELF_IMPROVEMENT.md.
Existing Tool Considered
Used:
- statsmodels 0.15.0 (a current dependency): GLM with
scale='X2'(Poisson and Binomial) andmultipletests; - SciPy
permutation_testandbootstrap(feat(roadmap): find a success or efficiency change after a release #5175 adds SciPy as a direct dependency); - markdown-it-py and jsonschema (current dependencies) for the line;
packaging.version(a current dependency) for version order;- the feat(roadmap): read project review facts through a catalog #4692 listing snapshot, git closing keywords and
git tag --contains; - the Loki and Prometheus HTTP APIs through the feat(roadmap): read project review facts through a catalog #4692 readers;
- the Vega-Lite
errorbarmark through vl-convert (feat(roadmap): render the project review as an HTML page #4720); - the grade code of feat(roadmap): eval grades prints the grade of each workflow #5189 and the usage-error grouping of feat(telemetry): rank CLI usage errors and propose fixes #4840.
Rejected:
- A label family such as
signal/*: a label cannot hold a key such as a command path. The workflow labels are code (roadmap/workflow_labels.py), and every repository must sync them. - A trailer in the pull request body: an open item must name its signal before its pull request exists, and the link must be in one place only.
- GitHub issue searches for the marker: the listing snapshot already holds every body, and a search by close date loses items whose after side ends later.
- Fields on the GitHub Projects board: the roadmap state is in labels, and the jobs do not use the board.
- GrowthBook and Eppo: they test random assignment, but a release changes all traffic. They also add a second store.
- CausalImpact (tfcausalimpact): it needs TensorFlow, and a week gives too few daily points.
- ruptures: feat(roadmap): find a success or efficiency change after a release #5175 holds it for a later item.
- Grafana annotations alone: they give no test, and the data goes after 30 days.
Cost (AGENTS.md rule 3): about 450 lines of custom code with tests in this item:
- the link reader, the selection and the coverage: about 60 lines;
- the git facts: about 70 lines;
- the item ranges, the flags and the stored compares: about 160 lines;
- the grade and effect reader kinds: about 60 lines;
- the owner decision rows: about 40 lines;
- the intake check and the template field: about 30 lines;
- the template part and one figure spec: about 60 lines.
The build costs about 350,000 tokens, about 0.45 USD on the DeepSeek implement path, and about 9 hours elapsed. The scope comment adds about 300 lines, 200,000 tokens and 5 hours to #5175. Each weekly review run costs 0 extra GitHub requests and about 40-60 Loki and Prometheus queries, with no model call.
Acceptance Criteria
-
uv run pytest tests/roadmap/project_review/test_signal_links.pypasses:- A recorded listing snapshot with the recorded body of feat(gh): gh issue view, list and status run gh #4848 gives its 6 lines with 0 requests.
- A
devops-job-grademarker gives ajob_gradelink for its job and repository. - A refused line gives one row "invalid signal line" with the issue number.
- An item closed on 2026-11-15 whose after side ends on 2026-11-25 shows in the window of ISO week 48.
-
loop.coverageon 4 closedfixitems, 3 with a line, gives 0.75.
-
uv run pytest tests/roadmap/project_review/test_closing_commit.pypasses. The squash messageCloses #4848gives the item, its commit and the firstv*tag that holds the commit inpackaging.versionorder, with 0 GitHub requests. -
uv run pytest tests/roadmap/project_review/test_item_ranges.pypasses:- The before side ends at M, the after side starts at the first record of R or later, and the gap stays out.
- A before side with 2 full bins after the
sincetime givestoo few, and the reason names thesincetime. - An after side of 2 bins gives
pending until <UTC date>with no p. - A later linked item on the same series stops the after side at its release. A linked item released in the gap gives
joint. - A commit to
roadmap/job_result.pybetween the sides givesmeasure changed. - Recorded git and Prometheus answers give
other changes (n),config changed (n)andbriefs changed (n). 2 of these flags changebettertoassociated better. - Bin denominators with medians of 1,000 and 4,000 give
workload shift. - A Loki probe of 0 at a side start after the source
sincegivesexpired, never 0. - A usage rate compare counts records of all versions and shows
old builds x%. A job compare counts only lines of R or later on the after side.
-
uv run pytest tests/roadmap/project_review/test_effect_rows.pypasses with recorded answers and the effect module of feat(roadmap): find a success or efficiency change after a release #5175:- The recorded feat(gh): gh issue view, list and status run gh #4848 lines give
removedforgh issue view --jsonwhen the after side has 0 records of R or later on 3 bins with 1,000 or moreghcommands. - A new name on
gh issue viewafter the release shows as a displaced key. - A key with 1 before record gives
too few. - A compare stored in an earlier
data.jsonshows its p, q and state, and the run sends no query for it. - Benjamini-Hochberg runs only on the compares that complete in the window.
- The recorded feat(gh): gh issue view, list and status run gh #4848 lines give
-
uv run pytest tests/roadmap/intake/test_intake_signal_lines.pypasses:- Intake refuses a body with a
configline whosevalueis a string, and names the line. - A valid line passes.
-
feature_request.ymlandbug_report.ymleach hold an optional field with idsignal.
- Intake refuses a body with a
-
uv run devops roadmap review run --last 7d --dry-runlists the grade queries at the window end, the result-line reads, the usage group and item queries, the ConfigMap change query and the 2 retention probes. It lists no issue search and sends 0 requests. - A run on recorded answers with 20 signal lines sends 0 GitHub requests beyond the feat(roadmap): read project review facts through a catalog #4692 listing snapshot, and 60 or fewer Loki and Prometheus queries for the section.
-
uv run devops roadmap review rebuild <data.json>renders the section with 0 requests. A snapshot test shows:- the section after
service_jobsand beforecost; - a
<details>table for each figure; - no dot for a
too few,pending,removedorcheck the measurerow; - a
check the measurerow and aworserow in N.8.
- the section after
- A window that ended 40 days ago shows the Loki facts of the section as
expired, never 0. It takes the stored compares from the earlierdata.json. -
grep -c devops_cli_usage_error_total src/devops_cli/roadmap/project_review/catalog.yamlgives 0. -
uv run devops ci --check --only docspasses with the new section ofdocs/SELF_IMPROVEMENT.md.
Dependencies
- Merge first:
- feat(roadmap): read project review facts through a catalog #4692: the catalog with the
sectionfield, the listing-snapshot reader, and readers that evaluate at the window end; - feat(roadmap): render the project review as an HTML page #4720: the page, the figure specs and the table views (it waits for feat(design): add the shared report stylesheet and layout #4754 and feat(design): render report charts from the design tokens #4758);
- feat(roadmap): publish the project review and link it on GitHub #4733 with the content-store client of feat(k8s): track the cluster content store #4742: the stored
data.jsonkeeps the before bins and the completed compares after the retention; - feat(roadmap): find a success or efficiency change after a release #5175, with a scope comment:
roadmap/signal_link.pyand its schema,roadmap/effect.py, the paged read of result lines,MIN_ATTEMPTSin place of 20, and the shared window rule.
- feat(roadmap): read project review facts through a catalog #4692: the catalog with the
- Merged: feat(roadmap): eval grades prints the grade of each workflow #5189, which closes feat(roadmap): eval grades prints the grade of each workflow #5165 and gives the grade report.
- feat(roadmap): read project review facts through a catalog #4692 also removes its PromQL usage row (scope comment).
The stage job waits for each issue that this section names. The items that add rows to the section and the optional items are under Related, because this item does not wait for them.
Related
- feat(roadmap): track the project review analysis #4679 is the tracker. feat(roadmap): track job grades for each agentic workflow #5164 tracks the job grades.
- feat(roadmap): find a success or efficiency change after a release #5175 owns the compare module that this section reads.
- fix(roadmap): leave out changed intake candidates and count plan calls #5166 is a
measureitem for intake and stage. - feat(gh): gh issue view, list and status run gh #4848 and feat(pr): pr view, list, checks, diff and status run gh #4842 are the first items with signal lines. A pass-through design does their scope again now, so each one gets its signal lines when it is re-scoped. Until then, the tests use a recorded body that holds the lines.
- These items each add their own rows to the section in their own pull request, and this item does not wait for them: feat(roadmap): result lines state first-pass, model calls and cost #5168, fix(roadmap): a Job pod and a local run log the job result line #5169, feat(roadmap): a daily grade-check step keeps one issue per workflow #5173, feat(roadmap): eval grades shows success and context size per model #5176, feat(roadmap): count tool call errors by class for each workflow #5179, feat(roadmap): rank refused tool calls and propose safe tool changes #5180 and feat(telemetry): rank CLI usage errors and propose fixes #4840.
- feat(telemetry): rank CLI usage errors and propose fixes #4840 adds the reader kind for Table N-4 and prints the signal line for each proposal row (scope comment).
- feat(roadmap): count tool call errors by class for each workflow #5179 must also add the
repolabel to the tool call counter, because the feat(roadmap): read project review facts through a catalog #4692 schema refuses a Service metric query with no{repo}(scope comment). - feat(roadmap): rank refused tool calls and propose safe tool changes #5180 writes a signal line in each proposal issue (scope comment).
- Optional:
- feat(roadmap): write the project review narrative with a model #4726: the prose. The check that its validators refuse a statement of this section that holds a digit is a criterion of feat(roadmap): write the project review narrative with a model #4726 (scope comment).
- feat(roadmap): choose the review facts by project profile #4730: a trait for rows with no repository, which is the repository that builds devops-cli.
- feat(roadmap): track the project brain #4624 is the brain intake path for the candidates.
- Three problems that this design found (AGENTS.md rule 11):
- fix(telemetry): send the CLI usage error counter to Prometheus #5220:
devops_cli_usage_error_totalhas 0 series while Loki holds 160cli_usage_errorrecords. - feat(k8s): record each live ConfigMap change of the Service #5221: a live ConfigMap change has no record of what changed.
- feat(roadmap): record design studies so the review can read them #5222: design studies have no record that a program can read.
- fix(telemetry): send the CLI usage error counter to Prometheus #5220:
- Owner direction 2026-11-12: show these optimizations and improvements in the routine project report.
Source: #4679
Alternatives check of 2026-11-22: partly.
Tool: pymc-labs/CausalPy (https://github.com/pymc-labs/CausalPy), Apache-2.0, last activity 2026-11-21, maintained.
Reason: Searches found CausalPy, an Apache-2.0 quasi-experimental package that already estimates a before/after effect with intervals and a control series, which is the issue's effect test; the signal-line schema, Loki/Prometheus ranges, stored compares and report rows stay custom, so it covers only that part.
Covers:
- Before/after (interrupted time series) effect estimate with credible intervals
- Difference-in-differences against a control series in the same metric
- Accepts pandas frames of binned metric time series
Lacks:
- No reader or schema for signal markers in issue bodies
- No Loki/Prometheus readers, item ranges or retention handling
- Needs PyMC sampling; no Benjamini-Hochberg q-value verdict words
- No review rows, flags or owner-decision list
Activity
dan-petty commentedon Nov 12, 2026
Both work on job grades of agentic workflows, but #5165 adds a command that prints grades while the candidate adds a review-report section that reads those grades and also tracks the effect of each fix.dan-petty commentedon Nov 13, 2026
Scope from the spec split (2026-11-13)
The agentic workflow spec (PR #5489) loses its baseline tables (owner directions of 2026-11-13). This section of the project review must give the values that Table 4-4 and the job tables held:
docs/CONFIGURATION.mdfrom the settings models, so read them from the same models, not from the page.devops-cli-service commentedon Nov 16, 2026
Alternatives check: in-use
Reason: The searches found no tool that reports job grades and the effect of fixes inside a project review; the closest generic candidate, CausalPy, covers quasi-experimental before/after estimation (difference-in-differences, interrupted time series, synthetic control) but adds a Bayesian/PyMC stack and needs more data points than a week gives, which is the same objection the issue raises against CausalImpact. The statistical part of the need is already covered by statsmodels, which the issue itself names as a current dependency used for the Poisson/Binomial GLM with scale='X2' and the Benjamini-Hochberg step; everything else (signal lines, item ranges, readers, page) is project-specific code.
The repository already uses this tool.
Tool: statsmodels (https://pypi.org/project/statsmodels)
Covers:
Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-16. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 22, 2026
The result in the alternatives block of the issue body changed. Before this check:
in-use, tool https://pypi.org/project/statsmodels. A person decides what the new result means for the item.Searches (10)
Tools considered:
Searches run:
Sources: