Repository navigation
feat(roadmap): a decision-point registry with a resolver chain - #4453
Conversation
Test evidenceFail-to-pass,
The evals give the numbers of the base. I ran each one with the source of
I did not run the full local |
The ConfigMap change and its orderThe image of this change reads the mode of the screen from
Do these steps in the live ConfigMap
roadmap:
decisions:
stage.verify_screen: shadow
ai:
decision_model: typesafe/jev-1.14and remove this line under jev_screen: shadow
Between the roll of the image and step 2, the screen sends no request, and the review runs for every plan, as it does in A run of |
ADR 0020 makes a decision point the unit of a decision model in a workflow. This change adds the registry and moves the verify screen onto it. - decision_point.py holds the type of a point, the resolver chain (a proven rule, then the model of ai.decision_model, then the current behavior), the decision and outcome records, the join that gives the labelled cases of the next fit, and the registry. decision_registry.py lists the points. The registry is built on Band, Thresholds, band_of and decide_all of decision_step.py and on FitCase of decision_fit.py. - ai.decision_model names the decision model. Empty is the default and means that no point sends a request. A name that is not a System One model stops the load. - roadmap.decisions maps a point to off, shadow or on. A key that names no registered point stops the load. The registry refuses on for any point that has no fitted cuts file in the repository. - One counter, devops_cli_decision_point_total (point, resolver, band, mode), replaces devops_cli_roadmap_decision_step_total and devops_cli_roadmap_decision_step_review_total. The registry refuses a catalogue above 60 series. stage.verify_screen has 8. - The verify screen is the point stage.verify_screen. The setting roadmap.stage.jev_screen goes. RoadmapStageConfig ignores an unknown key, so a ConfigMap that still holds it loads.
The specs decision-workflows and roadmap-stage get the requirements of the change. The requirement of the verify screen is shorter, so that the strict check accepts it.
1eea8f9 to
7a4a507
Compare
Two check failures on
|
Review findings after the mergeThis PR merged before the fix round of its review. I pushed nothing to its branch. I checked each finding against 1. Major: the gate for
|
| Config | Modules | pydantic_ai | Wall time (3 runs) |
|---|---|---|---|
no roadmap.decisions |
816 | no | 4.0 s, 4.8 s, 5.3 s |
roadmap.decisions set |
1403 | yes | 8.5 s, 9.1 s, 12.3 s |
-X importtime gives 4.33 s cumulative for devops_cli.roadmap.decision_registry, and 4.12 s of that for pydantic_ai.models.decision. The startup-imports gate runs with no roadmap.decisions, so it does not find the cost.
What I did: filed #4501.
Note for step 1: while ai.decision_model is empty, the point sends no request and writes no record. Thus step 1 gives no records before step 2, but every devops command that reads the ConfigMap pays the import cost. Step 1 can wait until step 2.
Minor findings
The review gave no minor findings for this round.
Checks
I changed no code, so no fail-to-pass run applies.
🤖 I have created a release *beep* *boop* --- ## [0.111.0](v0.110.0...v0.111.0) (2026-11-11) ### Features * **roadmap:** a decision-point registry with a resolver chain ([#4453](#4453)) ([b73e97a](b73e97a)) * **roadmap:** eval verify stores each case and resumes ([#4451](#4451)) ([7c59565](7c59565)) * **roadmap:** extend a step budget when the run makes progress ([#4464](#4464)) ([c8ed108](c8ed108)) ### Bug Fixes * **ai:** a failed model transport names its phase and its error ([#4460](#4460)) ([54743c4](54743c4)) * **ai:** price the DeepSeek group and its cached input ([#4454](#4454)) ([3b1f6bd](3b1f6bd)) * **roadmap:** stage and refine send no answer count or row ([#4484](#4484)) ([d9c8ee8](d9c8ee8)) * **roadmap:** tool docstrings garble the answer format ([#4486](#4486)) ([2f6114f](2f6114f)) ### Performance Improvements * **roadmap:** parse only the bodies that hold a job record ([#4455](#4455)) ([c653bde](c653bde)) * **tests:** evaluate hour-scale promtool tests every hour ([#4462](#4462)) ([0ac2f76](0ac2f76)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The Jev pilots each had their own setting, metric and log. ADR 0020 makes a decision point the unit. This change adds the registry of decision points on the cuts, bands and fit of
decision_step.pyanddecision_fit.py. A point resolves with a proven rule, then the model ofai.decision_modelwhen its mode inroadmap.decisionsisshadoworon, then the current behavior. Withai.decision_modelempty, no point sends a request. The registry refuses a key that names no point, and the modeonfor any point that has no fitted cuts file. One counter,devops_cli_decision_point_total, replaces the two counters of the decision step. Each decision writes a decision record, the workflow writes an outcome record, andjoingives the labelled cases of the next fit. The verify screen is now the pointstage.verify_screen, and the settingroadmap.stage.jev_screengoes.Closes #4397
Change:
openspec/changes/archive/2026-11-11-4397-a-decision-point-registry-with-a/