Repository navigation
Description
Split from #4817.
Problem: the owner decision of 2026-11-13 asks for a live proof of the split thresholds. After the merge and the release of #4817, each threshold must come from the job history of the cluster. A comment must give each threshold, its job and the attempt count that it came from. This part is deferred from #4817, because it waits on the merge of #4817, its release, and at least 30 attempts on each side of each cut in the cluster. No offline test can show it, so the rest of #4817 can reach Ready. Acceptance criteria: - After the release of #4817, devops roadmap split calibrate runs on the cluster. Each signal with 30 or more attempts on each side gives source fitted. - A comment gives each threshold, its job and the attempt count that it came from. - A signal with fewer than 30 attempts on one side gives source default, and the comment says so.
Dependencies
- chore(roadmap): hold incremental stage and implement work #6521 (hold: incremental work on the stage, implement and fix-checks jobs waits for the re-architecture)
Proposed design
Problem statement
The owner decision of 2026-11-13 asks for a live proof of the split thresholds. After #4817 merges and releases, each split threshold must come from the job history of the cluster, with at least 30 attempts on each side of the cut. A comment must give each threshold, its job and the attempt count that it came from. No offline test can show it, so the proof is a run of devops roadmap split calibrate on the cluster and its record. The item waits on #6521.
Acceptance criteria
Requirement: Pending a person after the merge
After the release of #4817, a person SHALL run devops roadmap split calibrate on the cluster and record its result in a comment on this issue.
Scenario: The post-release live proof
- WHEN the release of feat(roadmap): split thresholds come from measured job history #4817 is complete
- THEN a person runs
devops roadmap split calibrateon the cluster and adds a comment that gives each threshold, its job and the attempt count that gave it
Requirement: Fitted source from the live history
After the release of #4817, devops roadmap split calibrate SHALL report source fitted for each split signal with 30 or more attempts on each side of its cut.
Scenario: Live calibration on the cluster
- WHEN a person runs
devops roadmap split calibrateon the cluster after the release of feat(roadmap): split thresholds come from measured job history #4817, and a signal has 30 or more attempts on each side of its cut - THEN the command reports source
fittedfor that signal
Requirement: Default source below the attempt floor
A split signal with fewer than 30 attempts on one side of its cut SHALL keep source default.
Scenario: A signal below the floor
- WHEN
devops roadmap split calibrateruns on the cluster, and a signal has fewer than 30 attempts on one side of its cut - THEN the command reports source
defaultfor that signal, and the comment names the signal and its attempt count
Existing Tool Considered
No alternatives check has run on this issue. The open, maintained library is statsmodels 0.15.0, a locked dependency (pyproject.toml:73) that ADR 0021:161 names for the fit of the split thresholds. It gives the regression and interval primitives, but no split signal, no 30-sample-per-side floor, no fitted/default source, no Valkey cache and no comment. The split row and its calibrate step, which #4817 delivers, hold the project's own fit code. This issue builds no code: it runs devops roadmap split calibrate on the cluster and records the result in a comment, so it adds no written cost of its own.
Key questions
- Where do the attempt counts of each split signal come from?: From the job records and the OpenSpec change folders that ADR 0021 names. The job grade also reads the result line of each attempt in Loki, and a job under 30 attempts gets the grade
too few. [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:161, docs/roadmap/job-success.md:60, CONTEXT.md:142] - Which command fits the split thresholds from the job history?:
devops roadmap split calibrate, the calibrate step of thesplitrow that feat(roadmap): split thresholds come from measured job history #4817 delivers. It fits the thresholds from the job records and the OpenSpec change folders with statsmodels. The fit insrc/devops_cli/roadmap/decision_fit.pyis not this fit; it fits the cuts of a Jev decision point under ADR 0019. (best practice) [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:161, src/devops_cli/roadmap/decision_fit.py:1]- Chosen: The calibrate step of the split row. ADR 0021 makes it a step of the
splitrun and names statsmodels for the fit; feat(roadmap): split thresholds come from measured job history #4817 delivers it, so this issue adds no code. - Rejected: A new calibration command in this issue. It repeats the command that feat(roadmap): split thresholds come from measured job history #4817 delivers and adds code that the project must keep and fix.
- Rejected: A hand fit by a person. It is not repeatable, gives no source
fittedordefault, and records none of the numbers that gave each threshold.
- Chosen: The calibrate step of the split row. ADR 0021 makes it a step of the
- What does a split signal with fewer than 30 attempts on one side give?: Its threshold keeps the default, and the result says so; the comment names the signal and its attempt count. ADR 0021 uses the 30-sample floor for the split calibrate, and the project uses 30 attempts as the floor of the job grade
too few. (best practice) [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:161, CONTEXT.md:142]- Chosen: Keep the default threshold and report it. ADR 0021 says a side with fewer than 30 samples uses the default and the result says so, and the issue asks for 30 attempts on each side.
- Rejected: Fit the threshold from the attempts that exist. A fit from fewer than 30 attempts on one side is a guess, and ADR 0021 refuses it.
- Rejected: Lower the floor to the attempts that exist. It changes the owner decision's floor of 30 attempts on each side and the project's 30-attempt floor for
too few.
Fit
Fits in one pull request.
Suspected block
the release of #4817 and at least 30 attempts on each side of each split cut in the cluster job history
Activity
devops-cli-service commentedon Nov 15, 2026
Both concern the split thresholds, but #4817 computes them and the candidate proves them from live job history after the release.devops-cli-service commentedon Nov 18, 2026
Refine cannot set this item to Ready at 86358b6 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.
dan-petty commentedon Nov 20, 2026
Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.
devops-cli-service commentedon Nov 21, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.
dan-petty commentedon Nov 30, 2026
Premise check after the release of the hold #6521 (2026-11-30): its parent #4817 is closed as not planned, and
devops roadmap split calibratedoes not exist. Closed as not planned (AGENTS.md rule 2); a person may reopen it, or file a new item from fresh evidence.