Repository navigation
Conversation
Fixes #2912 Two lines described the `pre-commit` framework as one that "stashes" unstaged changes, which reads as a write to the shared `git stash` list beside the write-safety rule. Both now say the runner sets unstaged changes aside. Source evidence, `pre_commit/staged_files_only.py` in the upstream pre-commit repository: - `_unstaged_changes_cleared(patch_dir)` writes the unstaged diff to a `patch<time>-<pid>` file under `patch_dir` (the framework's own cache directory) and reapplies it afterwards with `_git_apply`. - `staged_files_only(patch_dir)` wraps the hook run in that context manager. - The module never calls `git stash` and never touches `refs/stash`. Only its log message uses the word "Stashing". Gates run locally: build_dist --check, repo_gate, prose_lint (default whole-tree set and diff-scoped), spec/validate, docker_lint. The opt-in sentence-length and sentence-split checks flag only sentences that were already on the two touched lines. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…ency Group (#2923) A hub-only file may cite a hub docs section by repository path, and a carried file cites only instruction-set sections a carrier holds. The publish-release snippet drops its docs citation, and the Comments rule in comment-and-doc-style states the split. The validate action's burn-down comment is cut to a bare citation. Concurrency exception (5) documents the workflow-alone, cancel-in-progress group of the periodic codegen caller, and the snippet now cites it by number. The change edits comment lines on purpose, so it needs the `comments` label. Fixes #2916 Fixes #2917 Fixes #2915 🤖 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.
🟢 Approval recommended
The changes are limited to guidance and comments, with no unresolved findings.
0 open findings
What changed in this PR
This PR promotes wording and citation-rule updates to the fleet guidance. It also documents the existing codegen concurrency pattern without changing workflow behavior.
Changes:
- Clarifies that
pre-commitsets unstaged changes aside rather than using the shared Git stash. - Defines which documentation sections hub-only and carried files may cite, and removes citations that would not travel with carried snippets.
- Documents the codegen concurrency exception and shortens the validate action’s comment.
| File | Description |
|---|---|
GOVERNANCE.md |
Clarifies pre-commit wording and adds the concurrency exception. |
docs/reusable-workflows.md |
Removes a citation from a carried example. |
catalog/snippets/workflows/test-pull-request.yml |
Removes a hub-doc citation. |
catalog/snippets/workflows/run-periodic-codegen-pull-request.yml |
Cites the new concurrency exception. |
catalog/snippets/workflows/publish-release.yml |
Removes a hub-doc citation. |
catalog/snippets/pre-commit/README.md |
Clarifies how unstaged changes are handled. |
.github/skills/comment-and-doc-style/SKILL.md |
Updates generated citation guidance. |
.github/actions/validate/action.yml |
Shortens the burn-down comment. |
.claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md |
Updates generated citation guidance. |
.claude-plugin/fleet-skills/.source-digests/comment-and-doc-style |
Updates the generated source digest. |
.agents/skills/comment-and-doc-style/SKILL.md |
Defines the citation rule at its source. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2924 +/- ##
=======================================
Coverage 60.00% 60.00%
=======================================
Files 17 17
Lines 8773 8773
=======================================
Hits 5264 5264
Misses 3509 3509
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:
|
pre-commitframework sets unstaged changes aside, in GOVERNANCE.md and the pre-commit snippet README, rather than "stashes", which collided with the shared-stash ruledocs/section by path while a carried file cites only instruction-set sections, drops hub-doc citations from the carried workflow snippets, adds Concurrency exception (5) for the codegen snippet's fixed-branch group, and cuts the validate action's restatement of "Verification Discipline" to a citationCloses #2912
Closes #2916
Closes #2917
Closes #2915
🤖 Generated with Claude Code