Repository navigation
docs(openspec): plan #5272 Require cuts for shadow and time each decision - #5390
Conversation
|
The stage_ready row leaves pull request #5390 a draft. It holds the label |
The step fix-plan failed at the trace gate on #5390 (3 gate returns, 2.4M tokens). Two defects caused it: - The repair had no trace of the run that wrote the head, so the gate judged each kept Feasibility sentence with the reads of the repair only. The gate now gets the sentences of the head as judged and does not judge them again. A sentence that a reply adds or changes is judged with the reads of the repair, so a citation of a file that no run read stays refused. - The gate took `read_file <path> <start> <end>` as one path, so it refused the claim also when the run read the file. The gate now removes the line numbers after the path of a toolbox tool span. Refs #5391.
The Job log of #5390 holds no tool arguments, so the tests do not say that the run read no file. The docstring of _citation names the forms in the order that the code reads them.
…ead (#5400) The fix-plan Job on #5390 failed at the trace gate after 3 gate returns and 2.4M tokens, before the review of the head. Two defects caused it. The trace gate of a repair judged each Feasibility sentence of each reply with the reads of the repair only, because no trace of the run that wrote the head is in the process. Now `revise` gives the sentences of the head to the gate as `judged`. The gate of the run that wrote the head passed them, so the gate does not judge them again. A sentence that the repair adds or changes is judged with the reads of the repair, so a citation of a file that no run read stays refused. The gate took the path of a span `read_file <path> <start> <end>` as all the text after the tool name, so it refused the claim also when the run read the file. Now `_citation` removes the start and end line after the path of a toolbox tool span. Closes #5391 Change: `openspec/changes/archive/2026-11-13-5391-fix-plan-stage-reads/`
A person can now start one named fix-plan attempt within the 6-hour wait. `devops roadmap step fix-plan --skip-wait` needs `--confirm` and one of `--item` or `--pull`. The cap of 2 attempts on a head and the cap of 3 revisions stay. The Service never passes the flag, so its row and its Jobs keep the wait. Each attempt records its release in `fix_plan.version`. With `--skip-wait`, a head with 2 counted attempts from an older release, or with no release, gets one more attempt, and the run logs why. A new release can fix the cause of those attempts, as #5409 did for the head of #5390. A killed attempt now has a class. SIGTERM after the time budget is `deadline`: the attempt counts and logs `result=timeout` with `kill=deadline`. SIGTERM before the budget, and a stop of the Service, is `evicted`: the first 3 on a head do not count. The command exits 75 after an eviction and 143 after a deadline kill. Closes #5413 Change: `openspec/changes/archive/2026-11-13-5413-fix-plan-skip-wait/`
8d08977 to
23fb722
Compare
|
The revision at 922e6cd resolves the 3 open findings of the review of 8d08977. The label The branch holds the latest origin/main. Two new commits change only the change folder
Other changes of the revision:
Checks on the pushed head 922e6cd:
|
Add group 8: a cuts file of another model gives the fallback and counts the class model_mismatch, as the acceptance criteria of #5272 ask. The failed counter holds seven classes. Remove the four merged pull requests from Dependencies. Map each sub-criterion to its group.
…name the short model names
922e6cd to
dc2c397
Compare
|
Bottom line: every review finding is resolved at dc2c397. All checks pass. I remove Revision dc2c397 (rebased onto
The 3 findings of the stage review (criterion_dropped at groups, false_premise at rejected, false_premise at dependencies) stay resolved, as the comment #5390 (comment) lists. Checks on dc2c397:
|
Plans #5272
The decision point framework of ADR 0020 has four gaps. A point in shadow loads with no cuts file, so each decision becomes a fallback that looks like a failed request.
decideraisesRuntimeErrorinside a running event loop. A decision holds no time and no failure class. The registry refuses a catalogue above 60 series while ADR 0020 section 7 allows 92. This change makes shadow need a cuts file, sends the request on the anyio blocking portal ofdecide_with_jev, addsadecide, the duration histogram and the failed counter with six classes, and sets the bound to 92. It records the dated model that answered. It updates the telemetry, configuration and environment-variable documents, the roadmap limits table, and the Status History of ADR 0020, whose body stays as it is.Change:
openspec/changes/5272-decision-points-need-cuts-for-shadow/