You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Promote Three Develop Fixes for the Dispatch Guard, File-Table Coverage Rows, and Directive Comment Wrap to Main - #2894
## Summary
The publish plan reports every `schedule` as a publish. A dispatch-only
publisher that keeps a schedule only to retest therefore has to gate its
release jobs itself, and nothing documented that shape.
- `WORKFLOW.md` D4.1 names it: each job calling `build-release-task.yml`
carries `github.event_name == 'workflow_dispatch'` as an `&&` term of a
single-line `if:` holding no `||` or negated group. That is the shape
`_schedule_never_publishes` in `spec/audit.py` accepts. D7.1's
"publisher whose schedule never publishes" now points at D4.1.
- `docs/reusable-workflows.md` "Adopting the Release Chain" states the
same guard beside the existing D7.1 concurrency sentence.
- The catalog `publish-release.yml` snippet (and its byte-identical copy
in the guide) gains two note lines: the dispatch guard, and the per-run
concurrency group a schedule run then takes.
- `publish-plan-task.yml`'s header gains one line saying a retest-only
schedule still yields `publish=true`, which the "simply inert" line
above it did not cover.
- The generated `workflow-ci-contract` skill copies are regenerated with
`build_dist.py`.
This adds comment lines, so it carries the `comments` label.
Fixes#2849
## Verification
- `python3 scripts/prose_lint.py . --allow-comments --diff
origin/develop`: clean.
- `--check sentence-length`: every new sentence is under the cap. The
five reports are two sentences that already existed on the touched
lines.
- `python3 scripts/build_dist.py --check`, `python3 spec/validate.py`,
`python3 spec/audit.py --selftest`, `python3 scripts/repo_gate.py`,
`python3 scripts/docker_lint.py`: all pass.
- Unit tests `test_publish_plan.py`, `test_release_guards.py`,
`test_spec_validate.py`: pass.
- Two local strict review passes, recorded. Pass one raised two findings
on new text, both fixed (the single-line `if:` requirement and the
concurrency note). It also raised one pre-existing finding, filed as
#2888. Pass two raised none on new text and one pre-existing finding,
filed as #2889.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fixes#2886.
`partial_shaped` now drops file-summary table rows (first cell a
backticked path, no HTML comment opener on the line) before scanning a
Copilot round for drifted fleet-review markers, so a summary cell that
names the review skill no longer reads as partial coverage.
Tests: a body built from the issue's constructed shape (odd and even
table parity), plus guards that a plain-cell row, a non-path code-span
row, and a row carrying a marker comment still read as partial. The
first assertion fails with the strip reverted.
Local review findings left undisposed by design (narrow scope, listed
for the orchestrator):
- introduced, declined: a marker written entity-encoded on the same line
as a path row is stripped with the row.
- introduced, declined: a row quoting the comment opener in prose is
kept, so it can still block.
- Known: grouped-path rows and bare-path rows are not stripped.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
…ap Rule (#2893)
Fixes#2885. `comment_wrap_findings` no longer keeps a line
`is_tool_directive` matches as the previous body, so the comment line
after `# nosec B404` is not reported as that line's wrapped continuation
(sibling of #2828 / #2878).
Behavior: a lowercase line after a directive is now judged by
`comment-case` (capitalizing passes), a directive followed by a
directive draws nothing, a plain two-line wrap and a sentence wrapping
into a directive still draw `comment-wrap`. Four of the five new tests
fail with the fix reverted. One existing comment edit (the note above
`TOOL_DIRECTIVE`), hence the `comments` label.
Local review findings (7 raised, two rounds): fixed the over-claiming
`TOOL_DIRECTIVE` note, the missing case/reverse-wrap/trailing-directive
tests. Accepted `pre-existing`/by issue shape: a directive whose written
reason wraps onto a lowercase line now draws `comment-case` instead of
`comment-wrap`, and capitalizing it clears the gate; `RUN_ON` still
reads directive bodies; "exempt" in the note elides the
`is_tool_directive` no-full-stop condition (wording predates this
change).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.63%. Comparing base (088afab) to head (c978e6e). ⚠️ Report is 369 commits behind head on main.
…the Snippet Schedule Comment (#2895)
Fixes two review findings Copilot raised on the develop to main
promotion PR.
- partial_shaped dropped whole file-summary rows, which also hid a real
partial stated inside one. A row is now removed only from the bare
marker-name mention reading. A well-formed marker (raw or
entity-escaped) and the count patterns are still read inside a row.
- The publish-release snippet comment, and its byte-identical copy in
docs/reusable-workflows.md, now names WORKFLOW.md D7.1's schedule term.
New subtests fail on develop's code and pass here.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Recognize extensionless file paths in summary rows
scripts/pr_review.py:542
[P1] Recognize extensionless file paths in summary rows. A valid row can name a root file such as Dockerfile or LICENSE, but the [./] requirement leaves | Dockerfile | Updates fleet review guidance. | in rowless; a nearby footer digit then makes partial_in report a false partial and blocks coverage. Use the repository's path/table semantics while retaining the guard for non-path code spans.
Answering the previously-missed finding on scripts/pr_review.py:542:
[P1] Recognize extensionless file paths in summary rows. A valid row can name a root file such as Dockerfile or LICENSE, but the [./] requirement leaves | Dockerfile | Updates fleet review guidance. | in rowless; a nearby footer digit then makes partial_in report a false partial and blocks coverage.
Declined, by design. The [./] requirement is what keeps a non-path code span, such as a fleet-review cell, from being dropped, so a row naming a real partial in that form still blocks. The case named here fails closed. It reads as unstated coverage, which is exactly the behavior before #2886, and it never passes a partial as full. Reaching it takes an extensionless root file whose summary cell itself names the review marker. The case #2886 was filed for is the fleet-code-review skill file, whose path always carries both / and ..
The Comments rule in the comment-and-doc-style Skill said a comment
carries no rule citations. Copilot relied on that line when it flagged a
contract-section citation on #2894, #2895, and #2901, and the tree
already carries such citations. The rule now forbids restating a rule
inline and permits a comment to name the contract section holding its
why, such as D5.2, without echoing that section's text.
The earlier Disproved Claims entry on this branch is reverted, so the
Copilot instructions file is unchanged: the finding was grounded in a
real line, which is amended here rather than declined.
Local review: one recorded pass, six findings. Wording ambiguities in
the maintainer-specified text and pre-existing comments that echo a
section are deferred to #2907, which also notes the pre-existing
design-notes conflict in the Python codestyle reference.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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
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.
Closes #2849
Closes #2886
Closes #2885
🤖 Generated with Claude Code