Skip to content

fix(config): config files and their copies keep the mode of the file,... - #2801

Merged
dan-petty merged 1 commit into
mainfrom
fix/2745-config-files-and-their-copies-keep
Oct 30, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2745-config-files-and-their-copies-keep

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Work on #2745. The job closes the issue in the body when it finishes.

@dan-petty
dan-petty marked this pull request as ready for review October 30, 2026 22:45
@dan-petty
dan-petty self-requested a review as a code owner October 30, 2026 22:45
@dan-petty
dan-petty merged commit 72b82e3 into main Oct 30, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/2745-config-files-and-their-copies-keep branch October 30, 2026 22:45
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
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/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant