Repository navigation
fix(ci): Ask for a fail-to-pass proof only for source code - #6210
Merged
Merged
Conversation
dan-petty
force-pushed
the
fix/6207-fail-to-pass-only-for-source-code
branch
from
November 17, 2026 18:42
c76684a to
dfcdef8
Compare
A test that fails on base proves a change of code. The fail-to-pass workflow, devops ci fail-to-pass and the stage behavior rule took any path under src/ as code, so a fix of a prompt, a tool pin or other data had to bring a test of a value. is_source_code (a .py file under src/ outside the knowledge base) is now the one rule: the workflow filter, the command (which passes with no replay when a fix changes no source code and no gate check) and the stage kind rule read it.
…he stage test plans (#6207)
…tes the source rule (#6207)
dan-petty
force-pushed
the
fix/6207-fail-to-pass-only-for-source-code
branch
from
November 17, 2026 18:56
dfcdef8 to
a01838d
Compare
dan-petty
marked this pull request as ready for review
November 17, 2026 19:04
This was referenced Nov 17, 2026
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.
A test that fails on base proves a change of code. The Fail-to-Pass workflow, devops ci fail-to-pass and the stage behavior rule took any path under src/ as code, so a fix of a prompt, a tool pin, a lockfile or other data under src/ had to bring a test of a value.
is_source_code (a .py file under src/ outside the knowledge base) is now the one rule. The workflow starts only for src/**/*.py or a gate check. The command passes with no replay, and says why, when a fix changes neither. A stage behavior group must change source code; the plan reader reads the same rule, and the validator message tells the planner what counts as code. The dry-run plan names the new condition, and docs/TESTING.md states the rule.
Closes #6207
Change:
openspec/changes/archive/2026-11-17-6207-fail-to-pass-only-for-source-code/