Repository navigation
Conversation
) Fixes #2845 Answers the finding on tracker #1370 (comment 6114489697). - Splits the over-cap comments in `.gitattributes` (lines 1 and 2) and `.markdownlint-cli2.jsonc` (the three over-cap sentences at lines 19, 24 and 25) into sentences of 25 words or fewer, meaning unchanged. - Runs the sentence-length check over every config canonical `spec/files.json` lists and its `catalog/snippets/configs` references. Only `catalog/snippets/configs/vscode-tasks-python.json` (three comments) was over the cap besides the two above, and is split the same way. No other copy or content hash pins these files' bytes. - `.github/copilot-instructions.md` is prose rather than a config comment, carries 12 over-cap sentences, and is left alone as not a plain split. - `WORKFLOW.md` section 6 files S14 under the publisher row, and the sentence now reads "each scenario in section 5B's table" with no count. Section 5B's two publisher ranges ("S5 to S10") now include S14. Generated skill copies are regenerated with `build_dist.py`. - Known and left: two sentences on WORKFLOW.md line 230 were already over the cap before this change. The `comments` label applies since comment lines are edited. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…ectory (#2860) ## Summary `TestDiffScopeFloor.test_a_deliberately_narrowed_scan_is_not_told_the_narrowing_is_a_defect` narrowed the scan with the bare path `catalog`, which `prose_lint.main` resolves against the working directory. It passed only from the hub root, where a tracked `catalog/` exists. The test now creates `self.tmp / "catalog"` and passes its absolute path, so it resolves against the mocked root. Every other `main` call in the class passes `.` or no path, so no sibling needed the same fix. ## Verification - Before: `cd tests && python3 -m unittest test_prose_lint.TestDiffScopeFloor` failed with `0 != 2`. - After: 10/10 pass from the worktree root, from `tests/`, from `scripts/`, and from a scratch directory. - Full `python3 -m unittest discover -s tests`: 2626 tests OK. Fixes #2830 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 5.5 <[email protected]>
## Summary - The `vscode-tasks.json` and `vscode-tasks-python.json` catalog snippets now pull `ghcr.io/editorconfig-checker/editorconfig-checker:latest`, the image `validate-task.yml` and `scripts/docker_lint.py` pull, in place of the Docker Hub `mstruebing/editorconfig-checker:latest`. - Removed the now-unused `mstruebing` word from `cspell.json`. - `RESYNC.md` step 6 gains one sentence: `.vscode/tasks.json` is a presence unit the audit only asserts exists (`spec/files.json` declares it with no fidelity), so its task groups, lint-task images included, are brought in line with the catalog snippet for each of the repository's types by hand. A resync would otherwise never carry this fix. ## Left unchanged on purpose - `rhysd/actionlint:latest` and `davidanson/markdownlint-cli2:latest` stay on Docker Hub in the snippets. CI runs those two through actions rather than images, and `scripts/docker_lint.py` itself still names these Docker Hub images, so no non-Docker-Hub image is in use for them to match. The cspell task already uses `ghcr.io/streetsidesoftware/cspell:latest`. - The hub's own `.vscode/tasks.json` names no Docker image, so it needs no change. No hash or manifest pins the snippet bytes. ## Verification Unit suite: one timing-sensitive test in `test_pr_review.py` failed once under machine load and passes alone, and the change touches nothing it reads. `spec/validate.py`, `prose_lint.py` and the `eol` and `eol-coverage` gates are clean. ## Local review Three passes. Round one found the RESYNC sentence wrong (the audit does not check the clean-compile group at all) and fixed it. Round two found "the snippet" ambiguous for a repository of several types and fixed it. Final pass: no findings. Declined as pre-existing or style: the step 6 and section 5 placement of a presence unit, and `spec/audit.py` calling the task group an intent marker judged per AUDIT.md, which has no such guidance. Fixes #2844. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…FLOW.md (#2859) The audit now reads the workflow-level `concurrency:` of the carried publisher and merge-bot and reports a drift from the groups WORKFLOW.md D7.1 and D8.1 pin. - The publisher group must be `${{ github.workflow }}-${{ github.ref }}`, optionally followed by the push-only `run_id` suffix in the shape the reference snippet uses. - The merge-bot group must be `${{ github.workflow }}-${{ github.event.pull_request.number }}`. - `cancel-in-progress` must be false or unset. - A shape the check cannot read (flow mapping, folded scalar, continuation line) is reported rather than skipped. - A repo with neither workflow gets nothing, since the interface unit already reports an absent file. The selftest runs both reference snippets (pass), drift cases (global group, literal group, ref-keyed bot, cancelling, wrong suffix), and asserts the refusal messages. With the function stubbed to return nothing, 9 cases fail. Local review: two rounds. The last round's fix (suffix shape, message assertions) was not re-reviewed since the two-round budget was spent. Declined: reusing `workflow_input_text` (hard-wired to `with:`), and an `audit_repo`-level test (the sibling python check has none either). Fixes #2856 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Fixes #2843. Fixes the layouts the sentence-length check still misread: a docstring body deeper than its quotes, a non-prose line inside an indented comment run, `/* */` continuation indents, Google free-text sections (Note, Warning, See Also, Todo and the rest), the NumPy head versus prose test, and a bare comment marker gap outside Python. Item 6 (the bare marker gap) needed a code change: non-Python files did not treat a bare marker line after a colon line as a gap. Leftovers accepted and to be filed as one follow-up issue after merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical concurrency-audit issues and moderate prose-parser correctness issues remain.
2 open findings
What changed in this PR
Promotes five fixes covering workflow guidance, prose linting, concurrency auditing, task images, and documentation synchronization.
Changes:
- Adds S14 workflow coverage and concurrency checks.
- Extends prose-lint parsing and regression tests.
- Updates EditorConfig images and splits overlong comments.
- Refreshes generated workflow guidance and digests.
| File | Summary |
|---|---|
WORKFLOW.md |
Adds S14 scenario coverage. |
tests/test_prose_lint.py |
Adds parser and path-isolation tests. |
spec/audit.py |
Adds concurrency contract auditing. |
RESYNC.md |
Documents task-file synchronization. |
cspell.json |
Removes an obsolete entry. |
catalog/snippets/configs/vscode-tasks.json |
Updates the EditorConfig image. |
catalog/snippets/configs/vscode-tasks-python.json |
Updates the image and comments. |
.markdownlint-cli2.jsonc |
Splits overlong comments. |
.github/skills/workflow-ci-contract/references/test-methodology.md |
Updates generated guidance. |
.github/actions/prose-gate/prose_lint.py |
Expands sentence and comment parsing. |
.gitattributes |
Splits overlong comments. |
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/test-methodology.md |
Updates generated guidance. |
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract |
Refreshes the generated digest. |
.agents/skills/workflow-ci-contract/references/test-methodology.md |
Updates canonical guidance. |
🧠 Review effort: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2866 +/- ##
==========================================
- Coverage 60.49% 59.93% -0.56%
==========================================
Files 16 16
Lines 8534 8627 +93
==========================================
+ Hits 5163 5171 +8
- Misses 3371 3456 +85
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… Allowlist (#2869) ## Summary Fixes a Copilot finding on the promotion PR #2866. The publisher concurrency audit accepted any actor exclusion list in the run-id suffix, so a caller excluding only an unrelated bot passed. The pattern now names the two allowlisted actors from `publish-plan-task.yml` in either order. Whitespace is stripped outside single-quoted strings only, so a mistyped name cannot collapse onto an allowlisted one. Self-test cases cover a different actor list, a name with inner whitespace, and the reversed order. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
|
Round 2 on head 672e35e: the review states 0 open findings, opens no thread, and its headline caution (a colon block carried across a trailing comment gap skipping over-cap sentences) names no file, line, or case. It matches the documented design of the change this PR already carries from #2863: |
|
Evidence for the decline above, on the round-2 headline "Prose linting can incorrectly carry a colon block across a trailing comment gap and skip over-cap sentences". I probed the prose gate at develop
A trailing comment ending in a colon does not carry a code run across a gap in any of these languages. The one case that skips the sentence is the documented rule: an indented run after a leading colon line and a bare-marker gap is a command or table. If the headline means a layout other than these, a concrete case would reopen it. |

Summary
Promotes #2857, #2860, #2858, #2859, and #2863 to main.
prose_lint.py's opt-insentence-lengthcheck reads the remaining layouts it misread.Closes #2845
Closes #2830
Closes #2844
Closes #2856
Closes #2843
🤖 Generated with Claude Code