Repository navigation
fix(config): config files and their copies keep the mode of the file,... - #2801
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
October 30, 2026 22:45
dan-petty
added a commit
that referenced
this pull request
Oct 30, 2026
dan-petty
added a commit
that referenced
this pull request
Oct 31, 2026
A step of `devops roadmap implement` kept no check on the tests of a file. In #2801 the agent replaced a test file and deleted seven tests. All checks passed, because a deleted test cannot fail. This change adds an exit check. For each test file that the step changed, every test that the file held at the start must still be in that file, by qualified name (`test_x` or `Class.test_x`). The standard library `ast` lists the names. When a test is lost, the step stops. The reason names the file and the tests. A rename, a deletion and a move to another file all count as a loss. A new file and a file that does not parse do not crash the check. The agent instructions, the help text and the `roadmap-implement-step` spec state the rule. Closes #2804
This was referenced Oct 31, 2026
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
Plans #2916 Three rules mark a draft pull request ready: the stage row (`ready_to_mark`), the implement job (`mark_ready` after its watch) and `devops pr ready` (the check blockers). None reads the task groups, so a partial implement pull request can pass all three (#2801). This plan adds one function, `draft_readiness`, for four kinds: stage plan, implement, agent and person. The stage row, the implement job and `devops pr ready` ask it. `devops pr check-readiness` adds its refusal as a blocker that names the unticked group. The kind comes from the record of the item. `extra_checks` is the seam for the evaluator of #2867. The plan deletes `ready_to_mark`, `StageDraft` and `_ready_check_blockers`. Change: `openspec/changes/2916-one-function-decides-when-any-draft/` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW --------- Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
dan-petty
added a commit
that referenced
this pull request
Nov 3, 2026
…ady (#3337) Three rules mark a draft pull request ready for review (#2916). The stage row asks `ready_to_mark`, which reads the check runs. The implement job calls `mark_ready` after its watch, which reads the check runs too. `devops pr ready` stops on the failed and running checks of the merge-readiness verdict. No rule reads the task groups of the change, so a partial implement pull request (#2801) passes all three. A person must then find it in review. This change adds one function, `draft_readiness`, for four kinds of pull request: stage plan, implement, agent and person. The stage row, the implement job and `devops pr ready` ask it. `devops pr check-readiness` adds its refusal as a blocker that names the unticked group. The model evaluator of #2867 plugs in through the `extra_checks` argument. Closes #2916 Change: `openspec/changes/archive/2026-11-03-2916-one-function-decides-when-any-draft/`
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work on #2745. The job closes the issue in the body when it finishes.