Repository navigation
Conversation
## Summary Implements #2501: a governance rule that hardening effort follows the real risk, not the theoretical one. - **`GOVERNANCE.md` "Trust Boundaries and Hardening Effort"**, a new carried verbatim section. Input is trusted or untrusted by where it originates, not by the channel carrying it. Against trusted input the only threat is a maintainer's mistake. Untrusted input is validated once at its boundary. A hardening case earns a fix or an issue only where it can realistically occur in the code's deployment and fails silently, destructively, or at an outsider's trigger. A plain bug on the ordinary path is still fixed. A review finding asking for hardening the section rules out is declined, and a repository can name its own boundaries under `OPERATIONS.md` `Configuration Layout`. - **Declared** in `spec/files.json` and `spec/section-model.md`, and **routed** from the `AGENTS.md` "Where the Rules Live" table. - **`fleet-code-review` "Review the Change"** carries the section as a generated include, so every review brief (`local-strict-review`, Copilot) reaches it with no new trigger. - **`local-strict-review`** asks after coercions, races, and platform differences only where the code's deployment can produce one. - **`pr-review-conduct`** outcome 2 and its triage list route a ruled-out hardening finding to an evidence-backed decline. `drive-pr` changes only through its regenerated include. `.github/copilot-instructions.md` is deliberately unchanged. Copilot already loads `fleet-code-review`, which now carries the rule, and that file forbids duplicating `GOVERNANCE.md`. ## Verification - `scripts/build_dist.py --check`, `spec/validate.py`, `spec/audit.py --selftest`, the prose gate, markdownlint, cspell, and editorconfig-checker all pass. - `tests/test_build_dist.py`, `test_canonical_review.py`, `test_carry.py`, `test_spec_validate.py`, `test_repo_gate.py`, and `test_release_guards.py` all pass. - Four `local-strict-review` passes ran. The first three found 9, 3, and 3 defects, each fixed in its own commit, and the fourth found none and is recorded. Refs #2501, which closes on the promotion PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2509 +/- ##
=======================================
Coverage 58.50% 58.50%
=======================================
Files 16 16
Lines 8066 8066
=======================================
Hits 4719 4719
Misses 3347 3347
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:
|
There was a problem hiding this comment.
🔵 Needs a closer look
The change spans 20 coordinated governance and generated skill files, warranting final human verification.
0 open findings
What changed in this PR
Promotes the fleet-wide trust-boundary hardening governance rule from develop to main.
Changes:
- Adds and registers the new governance section.
- Routes it through review and triage guidance.
- Updates generated skill copies and source digests.
| File | Summary |
|---|---|
spec/section-model.md |
Declares the new section. |
spec/files.json |
Registers the carried section. |
GOVERNANCE.md |
Adds trust-boundary hardening guidance. |
AGENTS.md |
Routes work to the new rule. |
.github/skills/pr-review-conduct/SKILL.md |
Updates generated conduct guidance. |
.github/skills/local-strict-review/SKILL.md |
Updates deployment-aware review guidance. |
.github/skills/fleet-code-review/SKILL.md |
Adds the generated governance include. |
.github/skills/drive-pr/SKILL.md |
Updates generated review guidance. |
.claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md |
Updates plugin conduct guidance. |
.claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md |
Updates plugin strict-review guidance. |
.claude-plugin/fleet-skills/skills/fleet-code-review/SKILL.md |
Updates plugin fleet-review guidance. |
.claude-plugin/fleet-skills/skills/drive-pr/SKILL.md |
Updates plugin PR guidance. |
.claude-plugin/fleet-skills/.source-digests/pr-review-conduct |
Refreshes the source digest. |
.claude-plugin/fleet-skills/.source-digests/local-strict-review |
Refreshes the source digest. |
.claude-plugin/fleet-skills/.source-digests/fleet-code-review |
Refreshes the source digest. |
.claude-plugin/fleet-skills/.source-digests/drive-pr |
Refreshes the source digest. |
.agents/skills/pr-review-conduct/SKILL.md |
Updates canonical conduct guidance. |
.agents/skills/local-strict-review/SKILL.md |
Updates canonical strict-review guidance. |
.agents/skills/fleet-code-review/SKILL.md |
Updates canonical fleet-review guidance. |
.agents/skills/drive-pr/SKILL.md |
Updates canonical PR guidance. |
🧠 Review effort: Lite
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Summary
Promotes one change from
develop:GOVERNANCE.mdsection, "Trust Boundaries and Hardening Effort".fleet-code-reviewcarries the section as a generated include.local-strict-reviewasks after races, coercions, and platform differences only where the deployment can produce one, andpr-review-conductroutes a ruled-out hardening finding to an evidence-backed decline.spec/files.jsonandspec/section-model.md, and routed fromAGENTS.md. The section is verbatim, so it re-vendors across the fleet on the next resync.Closes #2501.
Verification
local-strict-reviewpasses ran. The last two found nothing.🤖 Generated with Claude Code