Visitar URL original
Put Question Rules in Governance and the Promotion Line in PR Bodies by ptr727 · Pull Request #4179 · ptr727/ProjectTemplate · GitHub
Skip to content

Put Question Rules in Governance and the Promotion Line in PR Bodies - #4179

Merged
ptr727 merged 2 commits into
developfrom
burndown/governance-question-rules
Nov 13, 2026
Merged

ptr727 merged 2 commits into
developfrom
burndown/governance-question-rules

Conversation

@ptr727

@ptr727 ptr727 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Operational Closes on promotion: line by pull request. GOVERNANCE.md "Operational Repositories" and the branching-and-release-model skill named only a direct push as the place a change writes its Closes on promotion: line. A change reaching develop by pull request now writes the line in its body, since the promotion reads a merged pull request's line from its body rather than from its commits. The skill's closing-keyword bullet says the reference is required in an operational repository. The part of Operational Repositories' Closes-on-Promotion Rule Misses Reverted Fixes and Pull Requests Into develop #4057 about a fix reverted later in the promotion range needs a decision, so it moved to Decide How a Promotion Treats the Closes-on-Promotion Line of a Fix Reverted Later in Its Range #4175 and is not worked here.
  • Questions read whole. GOVERNANCE.md "Communicating with the User" requires each question to state the problem, why it is asked, and what each option does, in its own text. It may cite an issue or pull request number, but the question and its options read fully without opening it.
  • The "Before Assuming" rules get a home. "Ask when the user can cheaply confirm" and "The irreversible step ... stays the maintainer's" move from the agent-conduct skill into GOVERNANCE.md "Communicating with the User", per the maintainer's answer on agent-conduct Surfaces Two Rules That Have No Home Outside It, Against Its Own Claim to Carry Only Includes #1594. agent-conduct "Before Assuming" becomes a pointer to them, and its "non-trivial" qualifier under "Before Claiming Done" is dropped. No heading is renamed.
  • scripts/build_dist.py regenerated the include regions in agent-conduct, decision-triage, and session-handoff, and the generated trees. --check is clean.

GOVERNANCE.md is carried, so a fleet resync is owed after promotion.

Pre-existing findings, not filed

  • AGENTS.md "Where the Rules Live", the row for "Any push, API mutation, comment, label, or merge" (pre-existing): it routes a merge only to GOVERNANCE.md "Repository Boundaries and Write Safety", which does not state the irreversible-step rule. That rule's GOVERNANCE.md home is "Communicating with the User", and the row does not name it. AGENTS.md is outside this change, and the gap predates it.

Closes on promotion: #4057, #3865, #1594

🤖 Generated with Claude Code

ptr727 and others added 2 commits November 13, 2026 12:57
The ask-when-cheap and irreversible-step rules lived only in the
agent-conduct skill. They now sit in GOVERNANCE.md "Communicating with
the User", which the skill includes, and its "Before Assuming" points
there. The skill's "non-trivial" threshold is dropped.

"Communicating with the User" also requires each question and its
options to read whole from their own text.

An operational repository's pull request into develop writes its
Closes on promotion line in its body, as a direct push writes it in
its commit message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The promotion reads a merged pull request line from its body, which
holds whatever merge method landed it. Cite the operational section by
its full heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings November 13, 2026 21:03
@ptr727

ptr727 commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

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

@coderabbitai

coderabbitai Bot commented Nov 13, 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 53 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 a25ac13 and 3d46a1f.

Files ignored due to path filters: 12

  • .claude-plugin/fleet-skills/.source-digests/agent-conduct is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/branching-and-release-model is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/decision-triage is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/session-handoff 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/branching-and-release-model/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/decision-triage/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/session-handoff/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/agent-conduct/SKILL.md is excluded by !.github/skills/**
  • .github/skills/branching-and-release-model/SKILL.md is excluded by !.github/skills/**
  • .github/skills/decision-triage/SKILL.md is excluded by !.github/skills/**
  • .github/skills/session-handoff/SKILL.md is excluded by !.github/skills/**
Files selected for processing: 5

  • .agents/skills/agent-conduct/SKILL.md
  • .agents/skills/branching-and-release-model/SKILL.md
  • .agents/skills/decision-triage/SKILL.md
  • .agents/skills/session-handoff/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.

🔵 Needs a closer look

Maintainer validation is still needed for the fleet-wide governance changes, downstream resynchronization, and real GitHub promotion issue-closing semantics.

No open issues 🎉

What changed in this PR

This pull request centralizes question-handling and irreversible-action rules in GOVERNANCE.md, clarifies promotion metadata for operational repositories, and regenerates the affected skill distributions.

Changes:

  • Adds Closes on promotion: handling for operational pull requests into develop.
  • Requires questions to explain their problem, purpose, and options without relying on external context.
  • Moves assumption and irreversible-action rules into governance.
  • Regenerates authored skills, generated skill distributions, and source digests.
File Description
GOVERNANCE.md Adds operational pull-request promotion-line rules and self-contained question requirements.
.github/​skills/​session-handoff/​SKILL.md Regenerates session-handoff guidance from the centralized governance rules.
.github/​skills/​decision-triage/​SKILL.md Regenerates decision-triage guidance from the centralized governance rules.
.github/​skills/​branching-and-release-model/​SKILL.md Regenerates branching and release guidance for operational pull-request promotion metadata.
.github/​skills/​agent-conduct/​SKILL.md Regenerates agent-conduct guidance incorporating the centralized governance rules.
.claude-plugin/​fleet-skills/​skills/​session-handoff/​SKILL.md Updates the generated Claude session-handoff skill distribution.
.claude-plugin/​fleet-skills/​skills/​decision-triage/​SKILL.md Updates the generated Claude decision-triage skill distribution.
.claude-plugin/​fleet-skills/​skills/​branching-and-release-model/​SKILL.md Updates the generated Claude branching and release skill distribution.
.claude-plugin/​fleet-skills/​skills/​agent-conduct/​SKILL.md Updates the generated Claude agent-conduct skill distribution.
.claude-plugin/​fleet-skills/​.source-digests/​session-handoff Updates the source digest for the session-handoff skill.
.claude-plugin/​fleet-skills/​.source-digests/​decision-triage Updates the source digest for the decision-triage skill.
.claude-plugin/​fleet-skills/​.source-digests/​branching-and-release-model Updates the source digest for the branching and release skill.
.claude-plugin/​fleet-skills/​.source-digests/​agent-conduct Updates the source digest for the agent-conduct skill.
.agents/​skills/​session-handoff/​SKILL.md Regenerates the authored session-handoff skill with centralized governance guidance.
.agents/​skills/​decision-triage/​SKILL.md Regenerates the authored decision-triage skill with centralized governance guidance.
.agents/​skills/​branching-and-release-model/​SKILL.md Adds authored guidance for operational pull-request promotion metadata.
.agents/​skills/​agent-conduct/​SKILL.md Updates authored agent-conduct guidance to point to governance for assumption rules.

Review effort: Lite

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4179      +/-   ##
===========================================
- Coverage    81.60%   76.71%   -4.89%     
===========================================
  Files           26       41      +15     
  Lines         9070    14317    +5247     
===========================================
+ Hits          7402    10984    +3582     
- Misses        1668     3333    +1665     
Flag Coverage Δ
python-3.13 76.71% <ø> (-4.89%) ⬇️

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 13, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 13, 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 commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

Answer to the suppressed verdict on round 5898062578 (1):

  1. PR-level headline, "Maintainer validation is still needed for the fleet-wide governance changes, downstream resynchronization, and real GitHub promotion issue-closing semantics." No change needed. It names no defect in the diff. The governance move is the maintainer's recorded answer on agent-conduct Surfaces Two Rules That Have No Home Outside It, Against Its Own Claim to Carry Only Includes #1594. The downstream resync is stated in the body as owed after promotion, which is the fleet's ordinary path for a carried change. The Closes on promotion: line is an existing convention that GitHub does not read as a closing keyword. This change only adds the pull-request route for writing it. The promotion pull request still carries the real Closes #N keywords.

@ptr727
ptr727 merged commit 7d4b567 into develop Nov 13, 2026
14 checks passed
@ptr727
ptr727 deleted the burndown/governance-question-rules branch November 13, 2026 21:18
ptr727 added a commit that referenced this pull request Nov 13, 2026
… Rules (#4189)

## Summary

Promotes the backlog-burndown rounds and changes from other hub sessions
from `develop` to `main`.

- Hooks and the prose gate: #4132, #4134, #4136, #4145, #4152, #4184.
The Husky hook reads its path list once and diffs a merge against
`MERGE_HEAD`. Interrupts re-raise their signal, a Markdown code span
reads as quoted data, and the gate picks a commit's diff base and
recognizes a conflicted promotion's branch cut from `main`.
- Procedures and carried rules: #4133, #4139, #4141, #4149, #4166,
#4177, #4179, #4183, #4185. Resync, audit and check-this-repo procedure
gaps, code style and shell interrupt rules, review-loop gaps across four
skills, the context and delegation section of `AGENTS.md`, question
rules in governance, the promotion line in pull request bodies,
closing-keyword behavior on promotion, and the history-rewrite premise.
- Review and cleanup tooling: #4138, #4148, #4154, #4156, #4157, #4163,
#4164, #4168, #4174, #4180. Cleanliness reads, parked handoffs, the
backlog report's JSON output, exact inline script pins, trusted inputs,
env-file includes, the bounded review wait, side-reviewer matching, and
a Copilot billing-failure notice read as a refusal.
- Workflow and runbook contract: #4153, #4155, #4169, #4171, #4178,
#4182. The runtime-secrets check, a registry entry and spec references,
the Copilot runbook pointers, credential-free checkout steps, and the
deploy-key and runner wording.
- From other hub sessions: #4159 (a repository's own .NET line under a
fleet default), #4161 (the 1Password CLI as an optional host tool),
#4162 (Codex's Windows installer and one managed opencode copy). These
carry no promotion line.

#4182 carries no promotion line by design, and #4175 holds the split-out
part of #4057's scope. Both #1448 and #4175 stay open.

Fixes #1071
Fixes #1154
Fixes #1391
Fixes #1471
Fixes #1594
Fixes #1620
Fixes #1627
Fixes #1650
Fixes #1801
Fixes #2853
Fixes #3620
Fixes #3668
Fixes #3697
Fixes #3766
Fixes #3787
Fixes #3837
Fixes #3840
Fixes #3842
Fixes #3844
Fixes #3865
Fixes #3882
Fixes #3890
Fixes #3894
Fixes #3912
Fixes #3916
Fixes #3954
Fixes #4014
Fixes #4015
Fixes #4016
Fixes #4043
Fixes #4050
Fixes #4057
Fixes #4058
Fixes #4062
Fixes #4084
Fixes #4097
Fixes #4098
Fixes #4099
Fixes #4104
Fixes #4108
Fixes #4114
Fixes #4115
Fixes #4117
Fixes #4118
Fixes #4119
Fixes #4121
Fixes #4122
Fixes #4123
Fixes #4131
Fixes #4135
Fixes #4140
Fixes #4142
Fixes #4143
Fixes #4144
Fixes #4151

🤖 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