Skip to content

Require the Whole Test Suite Before a Push, Say the Husky Hook Passes Staged Paths, and Name the Rate-Limit Check Trap - #4378

Merged
ptr727 merged 7 commits into
developfrom
burndown/merge-gate-and-test-suite-rules
Nov 24, 2026
Merged

ptr727 merged 7 commits into
developfrom
burndown/merge-gate-and-test-suite-rules

Conversation

@ptr727

@ptr727 ptr727 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

Three small carried-rule edits, to GOVERNANCE.md and the pr-review-conduct Merge Gate.

  • Whole test suite before a push (2280). "Verification Discipline" gains a bullet beside the lint-gate one. It requires the repository's whole test suite before every push, in the invocation OPERATIONS.md "Local Verification" declares, rather than the modules a change touches. The reason is the lint bullet's: CI runs all of it, and a suite-wide meta-test can fail a change in a module the change never touched.

  • Husky hook passes staged paths (3820). The "Running the Linters Locally" hook bullet now says the fleet's Husky hook passes the prose gate the paths the commit stages, with --skip-generated. The sentence saying a partially staged file is judged on all of its edits stays true, since the gate reads each named file's working-tree content.

  • Rate-limited success check trap (1298). Merge Gate item 2 now says a hosted reviewer's check can read success over a rate limit, and that a rate limit is not coverage of the head. Per the maintainer's ruling, this is the only part of 1298 kept. The bounded-delta route it also proposed is dropped, since the move of the hosted review to promotions and the attested local pass overtook it.

scripts/build_dist.py regenerated the agent-conduct include region and the generated skill trees. An earlier commit on the branch drafted the bounded-delta route, and a later one reverts it.

Closes on promotion: #2280, #3820, #1298

Verification

  • OPERATIONS.md "Local Verification" block run in full, the whole unit test suite included.
  • Diff-scoped prose gate clean.
  • Local strict review recorded and attested on the head.

Dropped findings

  • README.md "Always" list, consolidation: it summarizes the lint-gate rule and does not mention the new test-suite rule. That is untouched summary text, not a false claim.

🤖 Generated with Claude Code

ptr727 and others added 4 commits November 23, 2026 15:42
…r's Coverage

- GOVERNANCE.md "Verification Discipline" requires the whole test suite,
  in CI's invocation, before every push, beside the lint gate bullet.
- The pr-review-conduct Merge Gate lets one CodeRabbit or Qodo round's
  full head coverage satisfy item 2 under a Copilot refusal only where
  the delta since Copilot's last real round is prose or the fix for that
  reviewer's own finding, and names the quota-skip success check trap.
- GOVERNANCE.md's hook bullet says the Husky hook passes the gate the
  staged paths, with --skip-generated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st Reason to What CI Reaches

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings November 24, 2026 00:00
@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 080991bc344bcfbe9b678fbe75005c2bc8bcbd22, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8068abc and b6ad0c0.

Files ignored due to path filters: 6

  • .claude-plugin/fleet-skills/.source-digests/agent-conduct is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/pr-review-conduct is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/agent-conduct/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/agent-conduct/SKILL.md is excluded by !.github/skills/**
  • .github/skills/pr-review-conduct/SKILL.md is excluded by !.github/skills/**
Files selected for processing: 3

  • .agents/skills/agent-conduct/SKILL.md
  • .agents/skills/pr-review-conduct/SKILL.md
  • GOVERNANCE.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No actionable review findings remain, and the governance updates plus regenerated skill artifacts are internally consistent with the documented changes.

No open issues 🎉

What changed in this PR

This pull request updates fleet governance guidance to require the complete test suite before pushes and documents Husky staged-path handling, then regenerates the affected agent-conduct skill distributions and source digest.

Changes:

  • Requires the complete repository test suite before every push.
  • Documents Husky staged-path handling with --skip-generated.
  • Regenerates the authored skill, distributed skill copies, and source digest.

No actionable review findings were identified.

File Description
GOVERNANCE.md Adds the whole-test-suite requirement and clarifies Husky staged-path behavior.
.github/​skills/​agent-conduct/​SKILL.md Updates the generated GitHub skill distribution with the revised governance guidance.
.claude-plugin/​fleet-skills/​skills/​agent-conduct/​SKILL.md Updates the generated Claude skill distribution with the revised governance guidance.
.claude-plugin/​fleet-skills/​.source-digests/​agent-conduct Updates the source digest for the regenerated agent-conduct skill content.
.agents/​skills/​agent-conduct/​SKILL.md Updates the authored skill include with the new verification and hook-scope rules.

Review effort: Lite

@ptr727 ptr727 changed the title Require the Whole Test Suite Before a Push and Say the Husky Hook Passes Staged Paths Require the Whole Test Suite Before a Push, Say the Husky Hook Passes Staged Paths, and Name the Rate-Limit Check Trap Nov 24, 2026
@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head b6ad0c040d46dc51d6bfda7686dfb50aa9a70718, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.29%. Comparing base (b38e084) to head (b6ad0c0).
⚠️ Report is 309 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4378      +/-   ##
===========================================
- Coverage    81.60%   79.29%   -2.32%     
===========================================
  Files           26       45      +19     
  Lines         9070    16007    +6937     
===========================================
+ Hits          7402    12693    +5291     
- Misses        1668     3314    +1646     
Flag Coverage Δ
python-3.13 79.29% <ø> (-2.32%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit d0c3a2e into develop Nov 24, 2026
14 checks passed
@ptr727
ptr727 deleted the burndown/merge-gate-and-test-suite-rules branch November 24, 2026 00:27
ptr727 added a commit that referenced this pull request Nov 24, 2026
…, Shared Run Deadline, and Second-Shell Paste-Safe (#4388)

Promotes the ten pull requests that landed on develop since the last
promotion: backlog burndown round 5, plus #4374 and #4376.

- #4374: Quote the last paste-safe placeholders and run the check in the
local block (the #1615 remainder).
- #4376: Declare host-secrets for HomeAutomation-Config in the registry.
- #4378: GOVERNANCE.md "Verification Discipline" requires the whole test
suite before every push. The Husky hook bullet says it passes the staged
paths to the prose gate. The `pr-review-conduct` Merge Gate names the
rate-limit `success` check trap, the only part of #1298 kept per the
maintainer's 2026-11-23 answer.
- #4379: `validate-task.yml` fails a promotion when main's first-parent
chain since the previous promotion holds a single-parent commit, an
accidental squash into main. The conflicted-promotion cut and the squash
recovery are documented in `branching-and-release-model`, and `drive-pr`
points at them.
- #4380: `canonical_review.py record` binds each unit's pass to the
reviewer's written report rather than a typed `--findings` count.
- #4381: Every argument refusal in the `host-setup/linux` scripts exits
64 through `die_usage`, and an EXIT trap maps a stray 64 to 1. The
contract is stated in CODESTYLE.md "Command-Line Arguments".
- #4382: The prose gate's `paste-safe` rule reads the string handed to
`su`/`runuser -c`, a POSIX shell's `-c`, and `ssh`. This edits
`host-setup/agent-safety/README.md` (two example loops only), which the
maintainer approved and merged on 2026-11-24.
- #4384: `upstream-contribution-workflow` says what a refused lease push
on the dirty branch means. `audit-a-repo` carries the convention-layout
note on its `--checkout` path.
- #4385: Every timed captured run in the review and install tooling goes
through one shared `scripts/run_deadline.py`, so a captured timeout
holds its deadline on Windows.
- #4386: The canonical `.editorconfig` sets every IDE code-style rule to
`warning`, per the maintainer's strictest-defaults answer, and the
`dotnet-codestyle` skill now agrees with the rules it enforces.

## Owed by the maintainer before rollout

- A fleet resync is owed, because carried text changed: GOVERNANCE.md,
CODESTYLE.md, `.editorconfig`, the reusable `validate-task.yml`, and
several skills.
- Every carrying C# repository has to fix its code at its next
`.editorconfig` resync (#4386). The rules likely to fire most are
IDE0058, IDE0046, IDE0210, IDE0290 and IDE0047/IDE0048.
- HomeAutomation-Config#1466 can adopt the exit-64 contract once this is
released.
- #4379 keeps the `048a442f` floor your decision named, but the walk
always stops at a later promotion merge, so the floor is never reached.
Whether to drop it is your call.

Fixes #1615
Fixes #2280
Fixes #3820
Fixes #1298
Fixes #2510
Fixes #4373
Fixes #3804
Fixes #3605
Fixes #4375
Fixes #4345
Fixes #3854
Fixes #1842

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.

2 participants