... (truncated)
900039a
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code
2.1.28...d921ae7
Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both
(#4244)a81d199
Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and
Host...54fc130
Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py
Calls...8d0504f
Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto
Mode (#4...21e4883
Clear the Standup Pending Note on homeassistant-vantage-diagnostics (#4235)6e05308
Promote Develop to Main: Burndown Refill Pending-Dispatch Window and
Away End...a22da65
Count a Just-Dispatched Burndown Group In Flight, and Release Every
Unstarted...8df8cd1
Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape (#4227)d0e8b07
Register the homeassistant-vantage-diagnostics Repository in the Fleet
Catalo...Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1483
What's Changed
- Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and Host Names by
@ptr727in ptr727/ProjectTemplate#4241- Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both by
@ptr727in ptr727/ProjectTemplate#4244- Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code 2.1.281 Floor by
@ptr727in ptr727/ProjectTemplate#4245Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1481...2.0.1483
2.0.1481
What's Changed
- Clear the Standup Pending Note on homeassistant-vantage-diagnostics by
@ptr727in ptr727/ProjectTemplate#4235- Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto Mode by
@ptr727in ptr727/ProjectTemplate#4234- Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py Calls by
@ptr727in ptr727/ProjectTemplate#4237Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1479...2.0.1481
2.0.1479
What's Changed
- Read CodeRabbit's Outside-Diff Section in Its Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4226- Register the homeassistant-vantage-diagnostics Repository in the Fleet Catalog by
@ptr727in ptr727/ProjectTemplate#4222- Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4227- Count a Just-Dispatched Burndown Group In Flight, and Release Every Unstarted Claim at an Away Ending by
@ptr727in ptr727/ProjectTemplate#4230- Promote Develop to Main: Burndown Refill Pending-Dispatch Window and Away Ending Claims by
@ptr727in ptr727/ProjectTemplate#4233Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1477...2.0.1479
2.0.1477
What's Changed
- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4213- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4212- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4214- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4211- Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Group's Scope by
@ptr727in ptr727/ProjectTemplate#4215- Promote Develop to Main: Burndown Slot Refill and Group Scope Cap by
@ptr727in ptr727/ProjectTemplate#4217Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1473...2.0.1477
2.0.1473
What's Changed
- Name the develop Tool Run as an Exception to main as Ground Truth by
@ptr727in ptr727/ProjectTemplate#4201- Wait for GitHub Support to Confirm the Purge Before a Repository Goes Public by
@ptr727in ptr727/ProjectTemplate#4202- Make a Board's eda File Target Its Fabrication Outputs, Owed Once Generated by
@ptr727in ptr727/ProjectTemplate#4203- Let an eda Repository Be Both a Library and a Board, and Count the Version as a Determinism Input by
@ptr727in ptr727/ProjectTemplate#4209- Let an Empty Listing Owe No Purge, and Give a Declined Purge the Maintainer's Exit by
@ptr727in ptr727/ProjectTemplate#4208- Promote Develop to Main: develop Exception Reason, Purge Confirmation, eda Board Target by
@ptr727in ptr727/ProjectTemplate#4207
... (truncated)
900039a
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code
2.1.28...d921ae7
Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both
(#4244)a81d199
Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and
Host...54fc130
Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py
Calls...8d0504f
Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto
Mode (#4...21e4883
Clear the Standup Pending Note on homeassistant-vantage-diagnostics (#4235)6e05308
Promote Develop to Main: Burndown Refill Pending-Dispatch Window and
Away End...a22da65
Count a Just-Dispatched Burndown Group In Flight, and Release Every
Unstarted...8df8cd1
Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape (#4227)d0e8b07
Register the homeassistant-vantage-diagnostics Repository in the Fleet
Catalo...Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1483
What's Changed
- Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and Host Names by
@ptr727in ptr727/ProjectTemplate#4241- Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both by
@ptr727in ptr727/ProjectTemplate#4244- Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code 2.1.281 Floor by
@ptr727in ptr727/ProjectTemplate#4245Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1481...2.0.1483
2.0.1481
What's Changed
- Clear the Standup Pending Note on homeassistant-vantage-diagnostics by
@ptr727in ptr727/ProjectTemplate#4235- Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto Mode by
@ptr727in ptr727/ProjectTemplate#4234- Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py Calls by
@ptr727in ptr727/ProjectTemplate#4237Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1479...2.0.1481
2.0.1479
What's Changed
- Read CodeRabbit's Outside-Diff Section in Its Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4226- Register the homeassistant-vantage-diagnostics Repository in the Fleet Catalog by
@ptr727in ptr727/ProjectTemplate#4222- Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4227- Count a Just-Dispatched Burndown Group In Flight, and Release Every Unstarted Claim at an Away Ending by
@ptr727in ptr727/ProjectTemplate#4230- Promote Develop to Main: Burndown Refill Pending-Dispatch Window and Away Ending Claims by
@ptr727in ptr727/ProjectTemplate#4233Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1477...2.0.1479
2.0.1477
What's Changed
- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4213- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4212- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4214- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4211- Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Group's Scope by
@ptr727in ptr727/ProjectTemplate#4215- Promote Develop to Main: Burndown Slot Refill and Group Scope Cap by
@ptr727in ptr727/ProjectTemplate#4217Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1473...2.0.1477
2.0.1473
What's Changed
- Name the develop Tool Run as an Exception to main as Ground Truth by
@ptr727in ptr727/ProjectTemplate#4201- Wait for GitHub Support to Confirm the Purge Before a Repository Goes Public by
@ptr727in ptr727/ProjectTemplate#4202- Make a Board's eda File Target Its Fabrication Outputs, Owed Once Generated by
@ptr727in ptr727/ProjectTemplate#4203- Let an eda Repository Be Both a Library and a Board, and Count the Version as a Determinism Input by
@ptr727in ptr727/ProjectTemplate#4209- Let an Empty Listing Owe No Purge, and Give a Declined Purge the Maintainer's Exit by
@ptr727in ptr727/ProjectTemplate#4208- Promote Develop to Main: develop Exception Reason, Purge Confirmation, eda Board Target by
@ptr727in ptr727/ProjectTemplate#4207
... (truncated)
900039a
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code
2.1.28...d921ae7
Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both
(#4244)a81d199
Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and
Host...54fc130
Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py
Calls...8d0504f
Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto
Mode (#4...21e4883
Clear the Standup Pending Note on homeassistant-vantage-diagnostics (#4235)6e05308
Promote Develop to Main: Burndown Refill Pending-Dispatch Window and
Away End...a22da65
Count a Just-Dispatched Burndown Group In Flight, and Release Every
Unstarted...8df8cd1
Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape (#4227)d0e8b07
Register the homeassistant-vantage-diagnostics Repository in the Fleet
Catalo...Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1483
What's Changed
- Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and Host Names by
@ptr727in ptr727/ProjectTemplate#4241- Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both by
@ptr727in ptr727/ProjectTemplate#4244- Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code 2.1.281 Floor by
@ptr727in ptr727/ProjectTemplate#4245Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1481...2.0.1483
2.0.1481
What's Changed
- Clear the Standup Pending Note on homeassistant-vantage-diagnostics by
@ptr727in ptr727/ProjectTemplate#4235- Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto Mode by
@ptr727in ptr727/ProjectTemplate#4234- Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py Calls by
@ptr727in ptr727/ProjectTemplate#4237Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1479...2.0.1481
2.0.1479
What's Changed
- Read CodeRabbit's Outside-Diff Section in Its Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4226- Register the homeassistant-vantage-diagnostics Repository in the Fleet Catalog by
@ptr727in ptr727/ProjectTemplate#4222- Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4227- Count a Just-Dispatched Burndown Group In Flight, and Release Every Unstarted Claim at an Away Ending by
@ptr727in ptr727/ProjectTemplate#4230- Promote Develop to Main: Burndown Refill Pending-Dispatch Window and Away Ending Claims by
@ptr727in ptr727/ProjectTemplate#4233Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1477...2.0.1479
2.0.1477
What's Changed
- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4213- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4212- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4214- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4211- Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Group's Scope by
@ptr727in ptr727/ProjectTemplate#4215- Promote Develop to Main: Burndown Slot Refill and Group Scope Cap by
@ptr727in ptr727/ProjectTemplate#4217Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1473...2.0.1477
2.0.1473
What's Changed
- Name the develop Tool Run as an Exception to main as Ground Truth by
@ptr727in ptr727/ProjectTemplate#4201- Wait for GitHub Support to Confirm the Purge Before a Repository Goes Public by
@ptr727in ptr727/ProjectTemplate#4202- Make a Board's eda File Target Its Fabrication Outputs, Owed Once Generated by
@ptr727in ptr727/ProjectTemplate#4203- Let an eda Repository Be Both a Library and a Board, and Count the Version as a Determinism Input by
@ptr727in ptr727/ProjectTemplate#4209- Let an Empty Listing Owe No Purge, and Give a Declined Purge the Maintainer's Exit by
@ptr727in ptr727/ProjectTemplate#4208- Promote Develop to Main: develop Exception Reason, Purge Confirmation, eda Board Target by
@ptr727in ptr727/ProjectTemplate#4207
... (truncated)
900039a
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code
2.1.28...d921ae7
Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both
(#4244)a81d199
Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and
Host...54fc130
Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py
Calls...8d0504f
Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto
Mode (#4...21e4883
Clear the Standup Pending Note on homeassistant-vantage-diagnostics (#4235)6e05308
Promote Develop to Main: Burndown Refill Pending-Dispatch Window and
Away End...a22da65
Count a Just-Dispatched Burndown Group In Flight, and Release Every
Unstarted...8df8cd1
Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape (#4227)d0e8b07
Register the homeassistant-vantage-diagnostics Repository in the Fleet
Catalo...Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1483
What's Changed
- Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and Host Names by
@ptr727in ptr727/ProjectTemplate#4241- Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both by
@ptr727in ptr727/ProjectTemplate#4244- Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code 2.1.281 Floor by
@ptr727in ptr727/ProjectTemplate#4245Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1481...2.0.1483
2.0.1481
What's Changed
- Clear the Standup Pending Note on homeassistant-vantage-diagnostics by
@ptr727in ptr727/ProjectTemplate#4235- Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto Mode by
@ptr727in ptr727/ProjectTemplate#4234- Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py Calls by
@ptr727in ptr727/ProjectTemplate#4237Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1479...2.0.1481
2.0.1479
What's Changed
- Read CodeRabbit's Outside-Diff Section in Its Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4226- Register the homeassistant-vantage-diagnostics Repository in the Fleet Catalog by
@ptr727in ptr727/ProjectTemplate#4222- Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape by
@ptr727in ptr727/ProjectTemplate#4227- Count a Just-Dispatched Burndown Group In Flight, and Release Every Unstarted Claim at an Away Ending by
@ptr727in ptr727/ProjectTemplate#4230- Promote Develop to Main: Burndown Refill Pending-Dispatch Window and Away Ending Claims by
@ptr727in ptr727/ProjectTemplate#4233Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1477...2.0.1479
2.0.1477
What's Changed
- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4213- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4212- Bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4214- Bump ruff from 0.17.4 to 0.17.5 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4211- Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Group's Scope by
@ptr727in ptr727/ProjectTemplate#4215- Promote Develop to Main: Burndown Slot Refill and Group Scope Cap by
@ptr727in ptr727/ProjectTemplate#4217Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1473...2.0.1477
2.0.1473
What's Changed
- Name the develop Tool Run as an Exception to main as Ground Truth by
@ptr727in ptr727/ProjectTemplate#4201- Wait for GitHub Support to Confirm the Purge Before a Repository Goes Public by
@ptr727in ptr727/ProjectTemplate#4202- Make a Board's eda File Target Its Fabrication Outputs, Owed Once Generated by
@ptr727in ptr727/ProjectTemplate#4203- Let an eda Repository Be Both a Library and a Board, and Count the Version as a Determinism Input by
@ptr727in ptr727/ProjectTemplate#4209- Let an Empty Listing Owe No Purge, and Give a Declined Purge the Maintainer's Exit by
@ptr727in ptr727/ProjectTemplate#4208- Promote Develop to Main: develop Exception Reason, Purge Confirmation, eda Board Target by
@ptr727in ptr727/ProjectTemplate#4207
... (truncated)
900039a
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Code
2.1.28...d921ae7
Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both
(#4244)a81d199
Narrow the Observed-Data Rule to Names, Account Identifiers, Secrets and
Host...54fc130
Promote Develop to Main: Auto-Mode Allow-Rule Spelling for pr_review.py
Calls...8d0504f
Run pr_review.py Calls in the Allow Rule's Exact Spelling Under Auto
Mode (#4...21e4883
Clear the Standup Pending Note on homeassistant-vantage-diagnostics (#4235)6e05308
Promote Develop to Main: Burndown Refill Pending-Dispatch Window and
Away End...a22da65
Count a Just-Dispatched Burndown Group In Flight, and Release Every
Unstarted...8df8cd1
Promote Develop to Main: CodeRabbit Outside-Diff Bold-Line Shape (#4227)d0e8b07
Register the homeassistant-vantage-diagnostics Repository in the Fleet
Catalo...Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1509
What's Changed
- Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher, Merge-Base Prose Gate by
@ptr727in ptr727/ProjectTemplate#4298- Give a Source-Only Retired Path Its True Reason and Isolate the Validate Runs' Git Env by
@ptr727in ptr727/ProjectTemplate#4297- Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation, and Hub Hygiene Fixes by
@ptr727in ptr727/ProjectTemplate#4300Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1507...2.0.1509
2.0.1507
What's Changed
- Close Further Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4295- Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard by
@ptr727in ptr727/ProjectTemplate#4293- Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes and Close Further Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4296Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1505...2.0.1507
2.0.1505
What's Changed
- Default Subagents to Frontier and Refuse Untiered Explore and Plan by
@ptr727in ptr727/ProjectTemplate#4283- Drop the Unreachable End-of-Refill Signal From the Lean Orchestrator by
@ptr727in ptr727/ProjectTemplate#4287- Close Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4286- Report Downstream Copies When a Whole Tree Declaration Is Dropped by
@ptr727in ptr727/ProjectTemplate#4288- Complete the Missing Subagent Model Diagnostic by
@ptr727in ptr727/ProjectTemplate#4292- Promote Develop to Main: Default Subagents to Frontier and Close Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4290Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1500...2.0.1505
2.0.1500
What's Changed
- Keep the secrets_sync Tests Meaningful Under a Root Test Runner by
@ptr727in ptr727/ProjectTemplate#4281- Type-Check the Carried hub_fetch_run.py Strictly in the Hub by
@ptr727in ptr727/ProjectTemplate#4280- Promote Develop to Main: Strict-Check the Carried Fetch Helper and Run secrets_sync Tests as Root by
@ptr727in ptr727/ProjectTemplate#4282Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1498...2.0.1500
2.0.1498
What's Changed
- Read Refill File Sets From Claims and Name an Away Ending's Uncollected Workers by
@ptr727in ptr727/ProjectTemplate#4277- Promote Develop to Main: Read Refill File Sets From Claims by
@ptr727in ptr727/ProjectTemplate#4279Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1497...2.0.1498
2.0.1497
What's Changed
- Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unread by
@ptr727in ptr727/ProjectTemplate#4271
... (truncated)
d42ad0e
Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation,
and Hu...c6b9568
Give a Source-Only Retired Path Its True Reason and Isolate the Validate
Runs...03f4af0
Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher,
Merge-B...7248333
Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes
and ...b352fb9
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293)72d41f4
Close Further Latent Edges in the Retired-Path Checks (#4295)44b0025
Promote Develop to Main: Default Subagents to Frontier and Close
Retired-Path...8a1441e
Complete the Missing Subagent Model Diagnostic (#4292)c0cfe26
Report Downstream Copies When a Whole Tree Declaration Is Dropped (#4288)d4f9e6d
Close Latent Edges in the Retired-Path Checks (#4286)Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1509
What's Changed
- Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher, Merge-Base Prose Gate by
@ptr727in ptr727/ProjectTemplate#4298- Give a Source-Only Retired Path Its True Reason and Isolate the Validate Runs' Git Env by
@ptr727in ptr727/ProjectTemplate#4297- Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation, and Hub Hygiene Fixes by
@ptr727in ptr727/ProjectTemplate#4300Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1507...2.0.1509
2.0.1507
What's Changed
- Close Further Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4295- Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard by
@ptr727in ptr727/ProjectTemplate#4293- Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes and Close Further Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4296Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1505...2.0.1507
2.0.1505
What's Changed
- Default Subagents to Frontier and Refuse Untiered Explore and Plan by
@ptr727in ptr727/ProjectTemplate#4283- Drop the Unreachable End-of-Refill Signal From the Lean Orchestrator by
@ptr727in ptr727/ProjectTemplate#4287- Close Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4286- Report Downstream Copies When a Whole Tree Declaration Is Dropped by
@ptr727in ptr727/ProjectTemplate#4288- Complete the Missing Subagent Model Diagnostic by
@ptr727in ptr727/ProjectTemplate#4292- Promote Develop to Main: Default Subagents to Frontier and Close Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4290Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1500...2.0.1505
2.0.1500
What's Changed
- Keep the secrets_sync Tests Meaningful Under a Root Test Runner by
@ptr727in ptr727/ProjectTemplate#4281- Type-Check the Carried hub_fetch_run.py Strictly in the Hub by
@ptr727in ptr727/ProjectTemplate#4280- Promote Develop to Main: Strict-Check the Carried Fetch Helper and Run secrets_sync Tests as Root by
@ptr727in ptr727/ProjectTemplate#4282Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1498...2.0.1500
2.0.1498
What's Changed
- Read Refill File Sets From Claims and Name an Away Ending's Uncollected Workers by
@ptr727in ptr727/ProjectTemplate#4277- Promote Develop to Main: Read Refill File Sets From Claims by
@ptr727in ptr727/ProjectTemplate#4279Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1497...2.0.1498
2.0.1497
What's Changed
- Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unread by
@ptr727in ptr727/ProjectTemplate#4271
... (truncated)
d42ad0e
Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation,
and Hu...c6b9568
Give a Source-Only Retired Path Its True Reason and Isolate the Validate
Runs...03f4af0
Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher,
Merge-B...7248333
Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes
and ...b352fb9
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293)72d41f4
Close Further Latent Edges in the Retired-Path Checks (#4295)44b0025
Promote Develop to Main: Default Subagents to Frontier and Close
Retired-Path...8a1441e
Complete the Missing Subagent Model Diagnostic (#4292)c0cfe26
Report Downstream Copies When a Whole Tree Declaration Is Dropped (#4288)d4f9e6d
Close Latent Edges in the Retired-Path Checks (#4286)Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1509
What's Changed
- Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher, Merge-Base Prose Gate by
@ptr727in ptr727/ProjectTemplate#4298- Give a Source-Only Retired Path Its True Reason and Isolate the Validate Runs' Git Env by
@ptr727in ptr727/ProjectTemplate#4297- Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation, and Hub Hygiene Fixes by
@ptr727in ptr727/ProjectTemplate#4300Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1507...2.0.1509
2.0.1507
What's Changed
- Close Further Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4295- Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard by
@ptr727in ptr727/ProjectTemplate#4293- Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes and Close Further Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4296Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1505...2.0.1507
2.0.1505
What's Changed
- Default Subagents to Frontier and Refuse Untiered Explore and Plan by
@ptr727in ptr727/ProjectTemplate#4283- Drop the Unreachable End-of-Refill Signal From the Lean Orchestrator by
@ptr727in ptr727/ProjectTemplate#4287- Close Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4286- Report Downstream Copies When a Whole Tree Declaration Is Dropped by
@ptr727in ptr727/ProjectTemplate#4288- Complete the Missing Subagent Model Diagnostic by
@ptr727in ptr727/ProjectTemplate#4292- Promote Develop to Main: Default Subagents to Frontier and Close Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4290Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1500...2.0.1505
2.0.1500
What's Changed
- Keep the secrets_sync Tests Meaningful Under a Root Test Runner by
@ptr727in ptr727/ProjectTemplate#4281- Type-Check the Carried hub_fetch_run.py Strictly in the Hub by
@ptr727in ptr727/ProjectTemplate#4280- Promote Develop to Main: Strict-Check the Carried Fetch Helper and Run secrets_sync Tests as Root by
@ptr727in ptr727/ProjectTemplate#4282Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1498...2.0.1500
2.0.1498
What's Changed
- Read Refill File Sets From Claims and Name an Away Ending's Uncollected Workers by
@ptr727in ptr727/ProjectTemplate#4277- Promote Develop to Main: Read Refill File Sets From Claims by
@ptr727in ptr727/ProjectTemplate#4279Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1497...2.0.1498
2.0.1497
What's Changed
- Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unread by
@ptr727in ptr727/ProjectTemplate#4271
... (truncated)
d42ad0e
Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation,
and Hu...c6b9568
Give a Source-Only Retired Path Its True Reason and Isolate the Validate
Runs...03f4af0
Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher,
Merge-B...7248333
Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes
and ...b352fb9
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293)72d41f4
Close Further Latent Edges in the Retired-Path Checks (#4295)44b0025
Promote Develop to Main: Default Subagents to Frontier and Close
Retired-Path...8a1441e
Complete the Missing Subagent Model Diagnostic (#4292)c0cfe26
Report Downstream Copies When a Whole Tree Declaration Is Dropped (#4288)d4f9e6d
Close Latent Edges in the Retired-Path Checks (#4286)Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1509
What's Changed
- Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher, Merge-Base Prose Gate by
@ptr727in ptr727/ProjectTemplate#4298- Give a Source-Only Retired Path Its True Reason and Isolate the Validate Runs' Git Env by
@ptr727in ptr727/ProjectTemplate#4297- Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation, and Hub Hygiene Fixes by
@ptr727in ptr727/ProjectTemplate#4300Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1507...2.0.1509
2.0.1507
What's Changed
- Close Further Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4295- Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard by
@ptr727in ptr727/ProjectTemplate#4293- Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes and Close Further Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4296Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1505...2.0.1507
2.0.1505
What's Changed
- Default Subagents to Frontier and Refuse Untiered Explore and Plan by
@ptr727in ptr727/ProjectTemplate#4283- Drop the Unreachable End-of-Refill Signal From the Lean Orchestrator by
@ptr727in ptr727/ProjectTemplate#4287- Close Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4286- Report Downstream Copies When a Whole Tree Declaration Is Dropped by
@ptr727in ptr727/ProjectTemplate#4288- Complete the Missing Subagent Model Diagnostic by
@ptr727in ptr727/ProjectTemplate#4292- Promote Develop to Main: Default Subagents to Frontier and Close Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4290Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1500...2.0.1505
2.0.1500
What's Changed
- Keep the secrets_sync Tests Meaningful Under a Root Test Runner by
@ptr727in ptr727/ProjectTemplate#4281- Type-Check the Carried hub_fetch_run.py Strictly in the Hub by
@ptr727in ptr727/ProjectTemplate#4280- Promote Develop to Main: Strict-Check the Carried Fetch Helper and Run secrets_sync Tests as Root by
@ptr727in ptr727/ProjectTemplate#4282Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1498...2.0.1500
2.0.1498
What's Changed
- Read Refill File Sets From Claims and Name an Away Ending's Uncollected Workers by
@ptr727in ptr727/ProjectTemplate#4277- Promote Develop to Main: Read Refill File Sets From Claims by
@ptr727in ptr727/ProjectTemplate#4279Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1497...2.0.1498
2.0.1497
What's Changed
- Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unread by
@ptr727in ptr727/ProjectTemplate#4271
... (truncated)
d42ad0e
Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation,
and Hu...c6b9568
Give a Source-Only Retired Path Its True Reason and Isolate the Validate
Runs...03f4af0
Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher,
Merge-B...7248333
Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes
and ...b352fb9
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293)72d41f4
Close Further Latent Edges in the Retired-Path Checks (#4295)44b0025
Promote Develop to Main: Default Subagents to Frontier and Close
Retired-Path...8a1441e
Complete the Missing Subagent Model Diagnostic (#4292)c0cfe26
Report Downstream Copies When a Whole Tree Declaration Is Dropped (#4288)d4f9e6d
Close Latent Edges in the Retired-Path Checks (#4286)Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1509
What's Changed
- Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher, Merge-Base Prose Gate by
@ptr727in ptr727/ProjectTemplate#4298- Give a Source-Only Retired Path Its True Reason and Isolate the Validate Runs' Git Env by
@ptr727in ptr727/ProjectTemplate#4297- Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation, and Hub Hygiene Fixes by
@ptr727in ptr727/ProjectTemplate#4300Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1507...2.0.1509
2.0.1507
What's Changed
- Close Further Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4295- Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard by
@ptr727in ptr727/ProjectTemplate#4293- Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes and Close Further Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4296Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1505...2.0.1507
2.0.1505
What's Changed
- Default Subagents to Frontier and Refuse Untiered Explore and Plan by
@ptr727in ptr727/ProjectTemplate#4283- Drop the Unreachable End-of-Refill Signal From the Lean Orchestrator by
@ptr727in ptr727/ProjectTemplate#4287- Close Latent Edges in the Retired-Path Checks by
@ptr727in ptr727/ProjectTemplate#4286- Report Downstream Copies When a Whole Tree Declaration Is Dropped by
@ptr727in ptr727/ProjectTemplate#4288- Complete the Missing Subagent Model Diagnostic by
@ptr727in ptr727/ProjectTemplate#4292- Promote Develop to Main: Default Subagents to Frontier and Close Retired-Path Edges by
@ptr727in ptr727/ProjectTemplate#4290Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1500...2.0.1505
2.0.1500
What's Changed
- Keep the secrets_sync Tests Meaningful Under a Root Test Runner by
@ptr727in ptr727/ProjectTemplate#4281- Type-Check the Carried hub_fetch_run.py Strictly in the Hub by
@ptr727in ptr727/ProjectTemplate#4280- Promote Develop to Main: Strict-Check the Carried Fetch Helper and Run secrets_sync Tests as Root by
@ptr727in ptr727/ProjectTemplate#4282Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1498...2.0.1500
2.0.1498
What's Changed
- Read Refill File Sets From Claims and Name an Away Ending's Uncollected Workers by
@ptr727in ptr727/ProjectTemplate#4277- Promote Develop to Main: Read Refill File Sets From Claims by
@ptr727in ptr727/ProjectTemplate#4279Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1497...2.0.1498
2.0.1497
What's Changed
- Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unread by
@ptr727in ptr727/ProjectTemplate#4271
... (truncated)
d42ad0e
Promote Develop to Main: Retired-Path Reasons, Validate Git Isolation,
and Hu...c6b9568
Give a Source-Only Retired Path Its True Reason and Isolate the Validate
Runs...03f4af0
Fix Three Hub Hygiene Issues: BLE001 Reason, uv pip install Launcher,
Merge-B...7248333
Promote Develop to Main: Fail Closed on a Malformed inheritingAgentTypes
and ...b352fb9
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293)72d41f4
Close Further Latent Edges in the Retired-Path Checks (#4295)44b0025
Promote Develop to Main: Default Subagents to Frontier and Close
Retired-Path...8a1441e
Complete the Missing Subagent Model Diagnostic (#4292)c0cfe26
Report Downstream Copies When a Whole Tree Declaration Is Dropped (#4288)d4f9e6d
Close Latent Edges in the Retired-Path Checks (#4286)Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1521
What's Changed
- Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over by
@ptr727in ptr727/ProjectTemplate#4303- Route SIGINT and SIGTERM Through One Handler, Bound the Child Wait, and State Two Stop Paths by
@ptr727in ptr727/ProjectTemplate#4305- Hold pr_review.py merge for a Hosted Review Not Registered Yet by
@ptr727in ptr727/ProjectTemplate#4306- Read the Branch Before the Tree So an Empty Root Commit Resolves Its Secrets by
@ptr727in ptr727/ProjectTemplate#4309- Forbid State-Changing Probes and Route Observed Secrets to Revocation by
@ptr727in ptr727/ProjectTemplate#4304- Count Untracked Files in the Dirty Stamp, State the Session Tree Bound by
@ptr727in ptr727/ProjectTemplate#4311- Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes by
@ptr727in ptr727/ProjectTemplate#4310- Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a 30-Day Bound by
@ptr727in ptr727/ProjectTemplate#4314- Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text by
@ptr727in ptr727/ProjectTemplate#4316- Name the Working Directory per Kind of Standup Step by
@ptr727in ptr727/ProjectTemplate#4318- Identify the Re-Arm's Head Pusher From the Branch Activity by
@ptr727in ptr727/ProjectTemplate#4319- Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an On-Open Ask by
@ptr727in ptr727/ProjectTemplate#4321- Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold, and Hub Pin Drift by
@ptr727in ptr727/ProjectTemplate#4315Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1509...2.0.1521
df0ddfd
Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold,
and H...0d399c3
Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an
On-O...3df20a8
Identify the Re-Arm's Head Pusher From the Branch Activity (#4319)f31ec3c
Name the Working Directory per Kind of Standup Step (#4318)6ff3460
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep
Cached ...138523a
Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a
30-Da...0b06540
Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes (#4310)7420fe3
Count Untracked Files in the Dirty Stamp, State the Session Tree Bound
(#4311)54ca095
Forbid State-Changing Probes and Route Observed Secrets to Revocation
(#4304)5e5fbb5
Read the Branch Before the Tree So an Empty Root Commit Resolves Its
Secrets ...Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1521
What's Changed
- Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over by
@ptr727in ptr727/ProjectTemplate#4303- Route SIGINT and SIGTERM Through One Handler, Bound the Child Wait, and State Two Stop Paths by
@ptr727in ptr727/ProjectTemplate#4305- Hold pr_review.py merge for a Hosted Review Not Registered Yet by
@ptr727in ptr727/ProjectTemplate#4306- Read the Branch Before the Tree So an Empty Root Commit Resolves Its Secrets by
@ptr727in ptr727/ProjectTemplate#4309- Forbid State-Changing Probes and Route Observed Secrets to Revocation by
@ptr727in ptr727/ProjectTemplate#4304- Count Untracked Files in the Dirty Stamp, State the Session Tree Bound by
@ptr727in ptr727/ProjectTemplate#4311- Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes by
@ptr727in ptr727/ProjectTemplate#4310- Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a 30-Day Bound by
@ptr727in ptr727/ProjectTemplate#4314- Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text by
@ptr727in ptr727/ProjectTemplate#4316- Name the Working Directory per Kind of Standup Step by
@ptr727in ptr727/ProjectTemplate#4318- Identify the Re-Arm's Head Pusher From the Branch Activity by
@ptr727in ptr727/ProjectTemplate#4319- Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an On-Open Ask by
@ptr727in ptr727/ProjectTemplate#4321- Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold, and Hub Pin Drift by
@ptr727in ptr727/ProjectTemplate#4315Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1509...2.0.1521
df0ddfd
Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold,
and H...0d399c3
Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an
On-O...3df20a8
Identify the Re-Arm's Head Pusher From the Branch Activity (#4319)f31ec3c
Name the Working Directory per Kind of Standup Step (#4318)6ff3460
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep
Cached ...138523a
Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a
30-Da...0b06540
Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes (#4310)7420fe3
Count Untracked Files in the Dirty Stamp, State the Session Tree Bound
(#4311)54ca095
Forbid State-Changing Probes and Route Observed Secrets to Revocation
(#4304)5e5fbb5
Read the Branch Before the Tree So an Empty Root Commit Resolves Its
Secrets ...Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1521
What's Changed
- Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over by
@ptr727in ptr727/ProjectTemplate#4303- Route SIGINT and SIGTERM Through One Handler, Bound the Child Wait, and State Two Stop Paths by
@ptr727in ptr727/ProjectTemplate#4305- Hold pr_review.py merge for a Hosted Review Not Registered Yet by
@ptr727in ptr727/ProjectTemplate#4306- Read the Branch Before the Tree So an Empty Root Commit Resolves Its Secrets by
@ptr727in ptr727/ProjectTemplate#4309- Forbid State-Changing Probes and Route Observed Secrets to Revocation by
@ptr727in ptr727/ProjectTemplate#4304- Count Untracked Files in the Dirty Stamp, State the Session Tree Bound by
@ptr727in ptr727/ProjectTemplate#4311- Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes by
@ptr727in ptr727/ProjectTemplate#4310- Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a 30-Day Bound by
@ptr727in ptr727/ProjectTemplate#4314- Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text by
@ptr727in ptr727/ProjectTemplate#4316- Name the Working Directory per Kind of Standup Step by
@ptr727in ptr727/ProjectTemplate#4318- Identify the Re-Arm's Head Pusher From the Branch Activity by
@ptr727in ptr727/ProjectTemplate#4319- Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an On-Open Ask by
@ptr727in ptr727/ProjectTemplate#4321- Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold, and Hub Pin Drift by
@ptr727in ptr727/ProjectTemplate#4315Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1509...2.0.1521
df0ddfd
Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold,
and H...0d399c3
Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an
On-O...3df20a8
Identify the Re-Arm's Head Pusher From the Branch Activity (#4319)f31ec3c
Name the Working Directory per Kind of Standup Step (#4318)6ff3460
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep
Cached ...138523a
Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a
30-Da...0b06540
Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes (#4310)7420fe3
Count Untracked Files in the Dirty Stamp, State the Session Tree Bound
(#4311)54ca095
Forbid State-Changing Probes and Route Observed Secrets to Revocation
(#4304)5e5fbb5
Read the Branch Before the Tree So an Empty Root Commit Resolves Its
Secrets ...Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1521
What's Changed
- Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over by
@ptr727in ptr727/ProjectTemplate#4303- Route SIGINT and SIGTERM Through One Handler, Bound the Child Wait, and State Two Stop Paths by
@ptr727in ptr727/ProjectTemplate#4305- Hold pr_review.py merge for a Hosted Review Not Registered Yet by
@ptr727in ptr727/ProjectTemplate#4306- Read the Branch Before the Tree So an Empty Root Commit Resolves Its Secrets by
@ptr727in ptr727/ProjectTemplate#4309- Forbid State-Changing Probes and Route Observed Secrets to Revocation by
@ptr727in ptr727/ProjectTemplate#4304- Count Untracked Files in the Dirty Stamp, State the Session Tree Bound by
@ptr727in ptr727/ProjectTemplate#4311- Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes by
@ptr727in ptr727/ProjectTemplate#4310- Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a 30-Day Bound by
@ptr727in ptr727/ProjectTemplate#4314- Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text by
@ptr727in ptr727/ProjectTemplate#4316- Name the Working Directory per Kind of Standup Step by
@ptr727in ptr727/ProjectTemplate#4318- Identify the Re-Arm's Head Pusher From the Branch Activity by
@ptr727in ptr727/ProjectTemplate#4319- Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an On-Open Ask by
@ptr727in ptr727/ProjectTemplate#4321- Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold, and Hub Pin Drift by
@ptr727in ptr727/ProjectTemplate#4315Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1509...2.0.1521
df0ddfd
Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold,
and H...0d399c3
Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an
On-O...3df20a8
Identify the Re-Arm's Head Pusher From the Branch Activity (#4319)f31ec3c
Name the Working Directory per Kind of Standup Step (#4318)6ff3460
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep
Cached ...138523a
Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a
30-Da...0b06540
Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes (#4310)7420fe3
Count Untracked Files in the Dirty Stamp, State the Session Tree Bound
(#4311)54ca095
Forbid State-Changing Probes and Route Observed Secrets to Revocation
(#4304)5e5fbb5
Read the Branch Before the Tree So an Empty Root Commit Resolves Its
Secrets ...Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1521
What's Changed
- Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over by
@ptr727in ptr727/ProjectTemplate#4303- Route SIGINT and SIGTERM Through One Handler, Bound the Child Wait, and State Two Stop Paths by
@ptr727in ptr727/ProjectTemplate#4305- Hold pr_review.py merge for a Hosted Review Not Registered Yet by
@ptr727in ptr727/ProjectTemplate#4306- Read the Branch Before the Tree So an Empty Root Commit Resolves Its Secrets by
@ptr727in ptr727/ProjectTemplate#4309- Forbid State-Changing Probes and Route Observed Secrets to Revocation by
@ptr727in ptr727/ProjectTemplate#4304- Count Untracked Files in the Dirty Stamp, State the Session Tree Bound by
@ptr727in ptr727/ProjectTemplate#4311- Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes by
@ptr727in ptr727/ProjectTemplate#4310- Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a 30-Day Bound by
@ptr727in ptr727/ProjectTemplate#4314- Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep Cached Empty Workflow Text by
@ptr727in ptr727/ProjectTemplate#4316- Name the Working Directory per Kind of Standup Step by
@ptr727in ptr727/ProjectTemplate#4318- Identify the Re-Arm's Head Pusher From the Branch Activity by
@ptr727in ptr727/ProjectTemplate#4319- Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an On-Open Ask by
@ptr727in ptr727/ProjectTemplate#4321- Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold, and Hub Pin Drift by
@ptr727in ptr727/ProjectTemplate#4315Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1509...2.0.1521
df0ddfd
Promote Develop to Main: Standup Ordering, Signal Handling, Merge Hold,
and H...0d399c3
Hold the Registration Grace on an Unread Start, a Re-Pushed Head, and an
On-O...3df20a8
Identify the Re-Arm's Head Pusher From the Branch Activity (#4319)f31ec3c
Name the Working Directory per Kind of Standup Step (#4318)6ff3460
Rank Prereleases Below Stable, Report Interrupt Cleanup Failure, Keep
Cached ...138523a
Report Each Caller's Hub Pin Behind the Newest Release, as Drift Past a
30-Da...0b06540
Watch the Merge Bot's Auto-Merge and Re-Arm a Disable GitHub Makes (#4310)7420fe3
Count Untracked Files in the Dirty Stamp, State the Session Tree Bound
(#4311)54ca095
Forbid State-Changing Probes and Route Observed Secrets to Revocation
(#4304)5e5fbb5
Read the Branch Before the Tree So an Empty Root Commit Resolves Its
Secrets ...Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1538
What's Changed
- Create the PR With the comments Label in drive-pr by
@ptr727in ptr727/ProjectTemplate#4334- Correct the Reviewer Reference on CodeRabbit in Private Repositories by
@ptr727in ptr727/ProjectTemplate#4337- Probe Each Python Candidate in install.ps1 and Bound the Profile Mask by
@ptr727in ptr727/ProjectTemplate#4335- Write Kit Files Atomically Through a Temporary File Beside Each Target by
@ptr727in ptr727/ProjectTemplate#4336- Pin the Governance Sections the Host CLAUDE.md Blocks Mirror by
@ptr727in ptr727/ProjectTemplate#4338- Let an Attested Pass Cover a Main Head With No Copilot Table by
@ptr727in ptr727/ProjectTemplate#4340- Rebase or Append Where an Upstream Rejects Merges or Rewrites by
@ptr727in ptr727/ProjectTemplate#4339- Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 by
@ptr727in ptr727/ProjectTemplate#4341- Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and Doc Findings by
@ptr727in ptr727/ProjectTemplate#4343- Check the Merge Scan Status and Mask Only Before a Dotted Sibling by
@ptr727in ptr727/ProjectTemplate#4344- Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion Local Cover, UTF-8 Children by
@ptr727in ptr727/ProjectTemplate#4342Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1528...2.0.1538
2.0.1528
What's Changed
- Read Jinja Template Comments in the Prose Gate by
@ptr727in ptr727/ProjectTemplate#4325- Name the Registration Grace Refusal, and Route a Missing Shared Hook to the Maintainer by
@ptr727in ptr727/ProjectTemplate#4323- Audit That a Merge-Bot Caller Stub Subscribes to auto_merge_disabled by
@ptr727in ptr727/ProjectTemplate#4326- Allow a Co-Author Line by Default, Never a Session Link by
@ptr727in ptr727/ProjectTemplate#4324- Warn of a Host-Set Session Link in the Report by
@ptr727in ptr727/ProjectTemplate#4331- Read the Merge-Bot Subscription From the Trigger and Sharpen Grace Rules by
@ptr727in ptr727/ProjectTemplate#4332- Match the Required Event Type Exactly in the Merge-Bot Contract by
@ptr727in ptr727/ProjectTemplate#4333- Promote Develop to Main: Jinja Prose Gate, Grace Refusal, Merge-Bot Audit, Co-Author by
@ptr727in ptr727/ProjectTemplate#4330Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1521...2.0.1528
9296e25
Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion
Local Cov...01d88d6
Check the Merge Scan Status and Mask Only Before a Dotted Sibling (#4344)4581d0d
Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and
Doc Fi...6c9aadf
Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 (#4341)97fa314
Rebase or Append Where an Upstream Rejects Merges or Rewrites (#4339)55d4740
Let an Attested Pass Cover a Main Head With No Copilot Table (#4340)c5d952e
Pin the Governance Sections the Host CLAUDE.md Blocks Mirror (#4338)ceeb78b
Write Kit Files Atomically Through a Temporary File Beside Each Target
(#4336)225c9fc
Probe Each Python Candidate in install.ps1 and Bound the Profile Mask
(#4335)3d21cda
Correct the Reviewer Reference on CodeRabbit in Private Repositories (#4337)Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1538
What's Changed
- Create the PR With the comments Label in drive-pr by
@ptr727in ptr727/ProjectTemplate#4334- Correct the Reviewer Reference on CodeRabbit in Private Repositories by
@ptr727in ptr727/ProjectTemplate#4337- Probe Each Python Candidate in install.ps1 and Bound the Profile Mask by
@ptr727in ptr727/ProjectTemplate#4335- Write Kit Files Atomically Through a Temporary File Beside Each Target by
@ptr727in ptr727/ProjectTemplate#4336- Pin the Governance Sections the Host CLAUDE.md Blocks Mirror by
@ptr727in ptr727/ProjectTemplate#4338- Let an Attested Pass Cover a Main Head With No Copilot Table by
@ptr727in ptr727/ProjectTemplate#4340- Rebase or Append Where an Upstream Rejects Merges or Rewrites by
@ptr727in ptr727/ProjectTemplate#4339- Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 by
@ptr727in ptr727/ProjectTemplate#4341- Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and Doc Findings by
@ptr727in ptr727/ProjectTemplate#4343- Check the Merge Scan Status and Mask Only Before a Dotted Sibling by
@ptr727in ptr727/ProjectTemplate#4344- Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion Local Cover, UTF-8 Children by
@ptr727in ptr727/ProjectTemplate#4342Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1528...2.0.1538
2.0.1528
What's Changed
- Read Jinja Template Comments in the Prose Gate by
@ptr727in ptr727/ProjectTemplate#4325- Name the Registration Grace Refusal, and Route a Missing Shared Hook to the Maintainer by
@ptr727in ptr727/ProjectTemplate#4323- Audit That a Merge-Bot Caller Stub Subscribes to auto_merge_disabled by
@ptr727in ptr727/ProjectTemplate#4326- Allow a Co-Author Line by Default, Never a Session Link by
@ptr727in ptr727/ProjectTemplate#4324- Warn of a Host-Set Session Link in the Report by
@ptr727in ptr727/ProjectTemplate#4331- Read the Merge-Bot Subscription From the Trigger and Sharpen Grace Rules by
@ptr727in ptr727/ProjectTemplate#4332- Match the Required Event Type Exactly in the Merge-Bot Contract by
@ptr727in ptr727/ProjectTemplate#4333- Promote Develop to Main: Jinja Prose Gate, Grace Refusal, Merge-Bot Audit, Co-Author by
@ptr727in ptr727/ProjectTemplate#4330Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1521...2.0.1528
9296e25
Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion
Local Cov...01d88d6
Check the Merge Scan Status and Mask Only Before a Dotted Sibling (#4344)4581d0d
Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and
Doc Fi...6c9aadf
Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 (#4341)97fa314
Rebase or Append Where an Upstream Rejects Merges or Rewrites (#4339)55d4740
Let an Attested Pass Cover a Main Head With No Copilot Table (#4340)c5d952e
Pin the Governance Sections the Host CLAUDE.md Blocks Mirror (#4338)ceeb78b
Write Kit Files Atomically Through a Temporary File Beside Each Target
(#4336)225c9fc
Probe Each Python Candidate in install.ps1 and Bound the Profile Mask
(#4335)3d21cda
Correct the Reviewer Reference on CodeRabbit in Private Repositories (#4337)Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1538
What's Changed
- Create the PR With the comments Label in drive-pr by
@ptr727in ptr727/ProjectTemplate#4334- Correct the Reviewer Reference on CodeRabbit in Private Repositories by
@ptr727in ptr727/ProjectTemplate#4337- Probe Each Python Candidate in install.ps1 and Bound the Profile Mask by
@ptr727in ptr727/ProjectTemplate#4335- Write Kit Files Atomically Through a Temporary File Beside Each Target by
@ptr727in ptr727/ProjectTemplate#4336- Pin the Governance Sections the Host CLAUDE.md Blocks Mirror by
@ptr727in ptr727/ProjectTemplate#4338- Let an Attested Pass Cover a Main Head With No Copilot Table by
@ptr727in ptr727/ProjectTemplate#4340- Rebase or Append Where an Upstream Rejects Merges or Rewrites by
@ptr727in ptr727/ProjectTemplate#4339- Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 by
@ptr727in ptr727/ProjectTemplate#4341- Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and Doc Findings by
@ptr727in ptr727/ProjectTemplate#4343- Check the Merge Scan Status and Mask Only Before a Dotted Sibling by
@ptr727in ptr727/ProjectTemplate#4344- Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion Local Cover, UTF-8 Children by
@ptr727in ptr727/ProjectTemplate#4342Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1528...2.0.1538
2.0.1528
What's Changed
- Read Jinja Template Comments in the Prose Gate by
@ptr727in ptr727/ProjectTemplate#4325- Name the Registration Grace Refusal, and Route a Missing Shared Hook to the Maintainer by
@ptr727in ptr727/ProjectTemplate#4323- Audit That a Merge-Bot Caller Stub Subscribes to auto_merge_disabled by
@ptr727in ptr727/ProjectTemplate#4326- Allow a Co-Author Line by Default, Never a Session Link by
@ptr727in ptr727/ProjectTemplate#4324- Warn of a Host-Set Session Link in the Report by
@ptr727in ptr727/ProjectTemplate#4331- Read the Merge-Bot Subscription From the Trigger and Sharpen Grace Rules by
@ptr727in ptr727/ProjectTemplate#4332- Match the Required Event Type Exactly in the Merge-Bot Contract by
@ptr727in ptr727/ProjectTemplate#4333- Promote Develop to Main: Jinja Prose Gate, Grace Refusal, Merge-Bot Audit, Co-Author by
@ptr727in ptr727/ProjectTemplate#4330Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1521...2.0.1528
9296e25
Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion
Local Cov...01d88d6
Check the Merge Scan Status and Mask Only Before a Dotted Sibling (#4344)4581d0d
Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and
Doc Fi...6c9aadf
Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 (#4341)97fa314
Rebase or Append Where an Upstream Rejects Merges or Rewrites (#4339)55d4740
Let an Attested Pass Cover a Main Head With No Copilot Table (#4340)c5d952e
Pin the Governance Sections the Host CLAUDE.md Blocks Mirror (#4338)ceeb78b
Write Kit Files Atomically Through a Temporary File Beside Each Target
(#4336)225c9fc
Probe Each Python Candidate in install.ps1 and Bound the Profile Mask
(#4335)3d21cda
Correct the Reviewer Reference on CodeRabbit in Private Repositories (#4337)Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1538
What's Changed
- Create the PR With the comments Label in drive-pr by
@ptr727in ptr727/ProjectTemplate#4334- Correct the Reviewer Reference on CodeRabbit in Private Repositories by
@ptr727in ptr727/ProjectTemplate#4337- Probe Each Python Candidate in install.ps1 and Bound the Profile Mask by
@ptr727in ptr727/ProjectTemplate#4335- Write Kit Files Atomically Through a Temporary File Beside Each Target by
@ptr727in ptr727/ProjectTemplate#4336- Pin the Governance Sections the Host CLAUDE.md Blocks Mirror by
@ptr727in ptr727/ProjectTemplate#4338- Let an Attested Pass Cover a Main Head With No Copilot Table by
@ptr727in ptr727/ProjectTemplate#4340- Rebase or Append Where an Upstream Rejects Merges or Rewrites by
@ptr727in ptr727/ProjectTemplate#4339- Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 by
@ptr727in ptr727/ProjectTemplate#4341- Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and Doc Findings by
@ptr727in ptr727/ProjectTemplate#4343- Check the Merge Scan Status and Mask Only Before a Dotted Sibling by
@ptr727in ptr727/ProjectTemplate#4344- Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion Local Cover, UTF-8 Children by
@ptr727in ptr727/ProjectTemplate#4342Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1528...2.0.1538
2.0.1528
What's Changed
- Read Jinja Template Comments in the Prose Gate by
@ptr727in ptr727/ProjectTemplate#4325- Name the Registration Grace Refusal, and Route a Missing Shared Hook to the Maintainer by
@ptr727in ptr727/ProjectTemplate#4323- Audit That a Merge-Bot Caller Stub Subscribes to auto_merge_disabled by
@ptr727in ptr727/ProjectTemplate#4326- Allow a Co-Author Line by Default, Never a Session Link by
@ptr727in ptr727/ProjectTemplate#4324- Warn of a Host-Set Session Link in the Report by
@ptr727in ptr727/ProjectTemplate#4331- Read the Merge-Bot Subscription From the Trigger and Sharpen Grace Rules by
@ptr727in ptr727/ProjectTemplate#4332- Match the Required Event Type Exactly in the Merge-Bot Contract by
@ptr727in ptr727/ProjectTemplate#4333- Promote Develop to Main: Jinja Prose Gate, Grace Refusal, Merge-Bot Audit, Co-Author by
@ptr727in ptr727/ProjectTemplate#4330Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1521...2.0.1528
9296e25
Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion
Local Cov...01d88d6
Check the Merge Scan Status and Mask Only Before a Dotted Sibling (#4344)4581d0d
Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and
Doc Fi...6c9aadf
Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 (#4341)97fa314
Rebase or Append Where an Upstream Rejects Merges or Rewrites (#4339)55d4740
Let an Attested Pass Cover a Main Head With No Copilot Table (#4340)c5d952e
Pin the Governance Sections the Host CLAUDE.md Blocks Mirror (#4338)ceeb78b
Write Kit Files Atomically Through a Temporary File Beside Each Target
(#4336)225c9fc
Probe Each Python Candidate in install.ps1 and Bound the Profile Mask
(#4335)3d21cda
Correct the Reviewer Reference on CodeRabbit in Private Repositories (#4337)Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1538
What's Changed
- Create the PR With the comments Label in drive-pr by
@ptr727in ptr727/ProjectTemplate#4334- Correct the Reviewer Reference on CodeRabbit in Private Repositories by
@ptr727in ptr727/ProjectTemplate#4337- Probe Each Python Candidate in install.ps1 and Bound the Profile Mask by
@ptr727in ptr727/ProjectTemplate#4335- Write Kit Files Atomically Through a Temporary File Beside Each Target by
@ptr727in ptr727/ProjectTemplate#4336- Pin the Governance Sections the Host CLAUDE.md Blocks Mirror by
@ptr727in ptr727/ProjectTemplate#4338- Let an Attested Pass Cover a Main Head With No Copilot Table by
@ptr727in ptr727/ProjectTemplate#4340- Rebase or Append Where an Upstream Rejects Merges or Rewrites by
@ptr727in ptr727/ProjectTemplate#4339- Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 by
@ptr727in ptr727/ProjectTemplate#4341- Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and Doc Findings by
@ptr727in ptr727/ProjectTemplate#4343- Check the Merge Scan Status and Mask Only Before a Dotted Sibling by
@ptr727in ptr727/ProjectTemplate#4344- Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion Local Cover, UTF-8 Children by
@ptr727in ptr727/ProjectTemplate#4342Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1528...2.0.1538
2.0.1528
What's Changed
- Read Jinja Template Comments in the Prose Gate by
@ptr727in ptr727/ProjectTemplate#4325- Name the Registration Grace Refusal, and Route a Missing Shared Hook to the Maintainer by
@ptr727in ptr727/ProjectTemplate#4323- Audit That a Merge-Bot Caller Stub Subscribes to auto_merge_disabled by
@ptr727in ptr727/ProjectTemplate#4326- Allow a Co-Author Line by Default, Never a Session Link by
@ptr727in ptr727/ProjectTemplate#4324- Warn of a Host-Set Session Link in the Report by
@ptr727in ptr727/ProjectTemplate#4331- Read the Merge-Bot Subscription From the Trigger and Sharpen Grace Rules by
@ptr727in ptr727/ProjectTemplate#4332- Match the Required Event Type Exactly in the Merge-Bot Contract by
@ptr727in ptr727/ProjectTemplate#4333- Promote Develop to Main: Jinja Prose Gate, Grace Refusal, Merge-Bot Audit, Co-Author by
@ptr727in ptr727/ProjectTemplate#4330Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1521...2.0.1528
9296e25
Promote Develop to Main: Atomic Kit Writes, Section Pins, Promotion
Local Cov...01d88d6
Check the Merge Scan Status and Mask Only Before a Dotted Sibling (#4344)4581d0d
Fix Encoding Gate Order, Installer Self-Test UTF-8, Signal Window, and
Doc Fi...6c9aadf
Pass PYTHONIOENCODING to Every Python Child a Test Decodes as UTF-8 (#4341)97fa314
Rebase or Append Where an Upstream Rejects Merges or Rewrites (#4339)55d4740
Let an Attested Pass Cover a Main Head With No Copilot Table (#4340)c5d952e
Pin the Governance Sections the Host CLAUDE.md Blocks Mirror (#4338)ceeb78b
Write Kit Files Atomically Through a Temporary File Beside Each Target
(#4336)225c9fc
Probe Each Python Candidate in install.ps1 and Bound the Profile Mask
(#4335)3d21cda
Correct the Reviewer Reference on CodeRabbit in Private Repositories (#4337)Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1558
What's Changed
- Say Where a Reviewer's Clean Pass Leaves Its Record by
@ptr727in ptr727/ProjectTemplate#4348- Detect and Report a One-Off, and Let a Rollback Reopen on Promotion by
@ptr727in ptr727/ProjectTemplate#4346- Count a CodeRabbit Clean Pass Its Summary Alone Records by
@ptr727in ptr727/ProjectTemplate#4351- Restrict Unsolicited Comments on Public Repositories Through the Repo Configuration Script by
@ptr727in ptr727/ProjectTemplate#4349- Stop the PowerShell Install on a Refusal and Fail a Tool With No Microsoft Feed by
@ptr727in ptr727/ProjectTemplate#4352- Gate Unquoted Placeholders in Copy-and-Run Commands by
@ptr727in ptr727/ProjectTemplate#4353- Register Claude Code Hooks in Exec Form and Rewrite Shell-Form Registrations by
@ptr727in ptr727/ProjectTemplate#4350- Check Reusable-Workflow Calls Against the Pinned Callee's Inputs by
@ptr727in ptr727/ProjectTemplate#4354- Quote the Remaining paste-safe Commands in the Repo-Config Docs and Fix the PowerShell Feed Comment by
@ptr727in ptr727/ProjectTemplate#4357- Keep Tilde Expansion and Probe Arguments in the Quoted Copy-and-Run Placeholders by
@ptr727in ptr727/ProjectTemplate#4358- Keep the Tilde Outside the Quotes in the Remaining Base-Clone Placeholders by
@ptr727in ptr727/ProjectTemplate#4359- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4361- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4362- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4360- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4363- Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe Rule by
@ptr727in ptr727/ProjectTemplate#4365- Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs by
@ptr727in ptr727/ProjectTemplate#4367- Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under an Interpreter or Shell by
@ptr727in ptr727/ProjectTemplate#4366- Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook by
@ptr727in ptr727/ProjectTemplate#4369- Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage by
@ptr727in ptr727/ProjectTemplate#4371- Show One Quoted Argument per Action File and Note the Convention Layout in Cleanup Commands by
@ptr727in ptr727/ProjectTemplate#4372- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4368- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4356Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1538...2.0.1558
8ef8e96
Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe
Comm...3374a90
Merge develop into promote/develop-to-main72631ae
Show One Quoted Argument per Action File and Note the Convention Layout
in Cl...287ce7d
Merge develop into the promotion branchc67e9ef
Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage
(#4371)c2fca38
Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook
(#4369)dedad9e
Merge develop into maina6894ed
Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under
an In...5f0ed05
Accept an Empty Interaction-Limits Body and Align the Promotion
Findings' Doc...fd02165
Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe
Rule...Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1558
What's Changed
- Say Where a Reviewer's Clean Pass Leaves Its Record by
@ptr727in ptr727/ProjectTemplate#4348- Detect and Report a One-Off, and Let a Rollback Reopen on Promotion by
@ptr727in ptr727/ProjectTemplate#4346- Count a CodeRabbit Clean Pass Its Summary Alone Records by
@ptr727in ptr727/ProjectTemplate#4351- Restrict Unsolicited Comments on Public Repositories Through the Repo Configuration Script by
@ptr727in ptr727/ProjectTemplate#4349- Stop the PowerShell Install on a Refusal and Fail a Tool With No Microsoft Feed by
@ptr727in ptr727/ProjectTemplate#4352- Gate Unquoted Placeholders in Copy-and-Run Commands by
@ptr727in ptr727/ProjectTemplate#4353- Register Claude Code Hooks in Exec Form and Rewrite Shell-Form Registrations by
@ptr727in ptr727/ProjectTemplate#4350- Check Reusable-Workflow Calls Against the Pinned Callee's Inputs by
@ptr727in ptr727/ProjectTemplate#4354- Quote the Remaining paste-safe Commands in the Repo-Config Docs and Fix the PowerShell Feed Comment by
@ptr727in ptr727/ProjectTemplate#4357- Keep Tilde Expansion and Probe Arguments in the Quoted Copy-and-Run Placeholders by
@ptr727in ptr727/ProjectTemplate#4358- Keep the Tilde Outside the Quotes in the Remaining Base-Clone Placeholders by
@ptr727in ptr727/ProjectTemplate#4359- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4361- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4362- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4360- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4363- Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe Rule by
@ptr727in ptr727/ProjectTemplate#4365- Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs by
@ptr727in ptr727/ProjectTemplate#4367- Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under an Interpreter or Shell by
@ptr727in ptr727/ProjectTemplate#4366- Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook by
@ptr727in ptr727/ProjectTemplate#4369- Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage by
@ptr727in ptr727/ProjectTemplate#4371- Show One Quoted Argument per Action File and Note the Convention Layout in Cleanup Commands by
@ptr727in ptr727/ProjectTemplate#4372- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4368- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4356Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1538...2.0.1558
8ef8e96
Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe
Comm...3374a90
Merge develop into promote/develop-to-main72631ae
Show One Quoted Argument per Action File and Note the Convention Layout
in Cl...287ce7d
Merge develop into the promotion branchc67e9ef
Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage
(#4371)c2fca38
Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook
(#4369)dedad9e
Merge develop into maina6894ed
Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under
an In...5f0ed05
Accept an Empty Interaction-Limits Body and Align the Promotion
Findings' Doc...fd02165
Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe
Rule...Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1558
What's Changed
- Say Where a Reviewer's Clean Pass Leaves Its Record by
@ptr727in ptr727/ProjectTemplate#4348- Detect and Report a One-Off, and Let a Rollback Reopen on Promotion by
@ptr727in ptr727/ProjectTemplate#4346- Count a CodeRabbit Clean Pass Its Summary Alone Records by
@ptr727in ptr727/ProjectTemplate#4351- Restrict Unsolicited Comments on Public Repositories Through the Repo Configuration Script by
@ptr727in ptr727/ProjectTemplate#4349- Stop the PowerShell Install on a Refusal and Fail a Tool With No Microsoft Feed by
@ptr727in ptr727/ProjectTemplate#4352- Gate Unquoted Placeholders in Copy-and-Run Commands by
@ptr727in ptr727/ProjectTemplate#4353- Register Claude Code Hooks in Exec Form and Rewrite Shell-Form Registrations by
@ptr727in ptr727/ProjectTemplate#4350- Check Reusable-Workflow Calls Against the Pinned Callee's Inputs by
@ptr727in ptr727/ProjectTemplate#4354- Quote the Remaining paste-safe Commands in the Repo-Config Docs and Fix the PowerShell Feed Comment by
@ptr727in ptr727/ProjectTemplate#4357- Keep Tilde Expansion and Probe Arguments in the Quoted Copy-and-Run Placeholders by
@ptr727in ptr727/ProjectTemplate#4358- Keep the Tilde Outside the Quotes in the Remaining Base-Clone Placeholders by
@ptr727in ptr727/ProjectTemplate#4359- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4361- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4362- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4360- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4363- Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe Rule by
@ptr727in ptr727/ProjectTemplate#4365- Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs by
@ptr727in ptr727/ProjectTemplate#4367- Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under an Interpreter or Shell by
@ptr727in ptr727/ProjectTemplate#4366- Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook by
@ptr727in ptr727/ProjectTemplate#4369- Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage by
@ptr727in ptr727/ProjectTemplate#4371- Show One Quoted Argument per Action File and Note the Convention Layout in Cleanup Commands by
@ptr727in ptr727/ProjectTemplate#4372- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4368- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4356Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1538...2.0.1558
8ef8e96
Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe
Comm...3374a90
Merge develop into promote/develop-to-main72631ae
Show One Quoted Argument per Action File and Note the Convention Layout
in Cl...287ce7d
Merge develop into the promotion branchc67e9ef
Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage
(#4371)c2fca38
Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook
(#4369)dedad9e
Merge develop into maina6894ed
Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under
an In...5f0ed05
Accept an Empty Interaction-Limits Body and Align the Promotion
Findings' Doc...fd02165
Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe
Rule...Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1558
What's Changed
- Say Where a Reviewer's Clean Pass Leaves Its Record by
@ptr727in ptr727/ProjectTemplate#4348- Detect and Report a One-Off, and Let a Rollback Reopen on Promotion by
@ptr727in ptr727/ProjectTemplate#4346- Count a CodeRabbit Clean Pass Its Summary Alone Records by
@ptr727in ptr727/ProjectTemplate#4351- Restrict Unsolicited Comments on Public Repositories Through the Repo Configuration Script by
@ptr727in ptr727/ProjectTemplate#4349- Stop the PowerShell Install on a Refusal and Fail a Tool With No Microsoft Feed by
@ptr727in ptr727/ProjectTemplate#4352- Gate Unquoted Placeholders in Copy-and-Run Commands by
@ptr727in ptr727/ProjectTemplate#4353- Register Claude Code Hooks in Exec Form and Rewrite Shell-Form Registrations by
@ptr727in ptr727/ProjectTemplate#4350- Check Reusable-Workflow Calls Against the Pinned Callee's Inputs by
@ptr727in ptr727/ProjectTemplate#4354- Quote the Remaining paste-safe Commands in the Repo-Config Docs and Fix the PowerShell Feed Comment by
@ptr727in ptr727/ProjectTemplate#4357- Keep Tilde Expansion and Probe Arguments in the Quoted Copy-and-Run Placeholders by
@ptr727in ptr727/ProjectTemplate#4358- Keep the Tilde Outside the Quotes in the Remaining Base-Clone Placeholders by
@ptr727in ptr727/ProjectTemplate#4359- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4361- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4362- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4360- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4363- Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe Rule by
@ptr727in ptr727/ProjectTemplate#4365- Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs by
@ptr727in ptr727/ProjectTemplate#4367- Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under an Interpreter or Shell by
@ptr727in ptr727/ProjectTemplate#4366- Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook by
@ptr727in ptr727/ProjectTemplate#4369- Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage by
@ptr727in ptr727/ProjectTemplate#4371- Show One Quoted Argument per Action File and Note the Convention Layout in Cleanup Commands by
@ptr727in ptr727/ProjectTemplate#4372- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4368- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4356Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1538...2.0.1558
8ef8e96
Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe
Comm...3374a90
Merge develop into promote/develop-to-main72631ae
Show One Quoted Argument per Action File and Note the Convention Layout
in Cl...287ce7d
Merge develop into the promotion branchc67e9ef
Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage
(#4371)c2fca38
Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook
(#4369)dedad9e
Merge develop into maina6894ed
Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under
an In...5f0ed05
Accept an Empty Interaction-Limits Body and Align the Promotion
Findings' Doc...fd02165
Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe
Rule...Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1558
What's Changed
- Say Where a Reviewer's Clean Pass Leaves Its Record by
@ptr727in ptr727/ProjectTemplate#4348- Detect and Report a One-Off, and Let a Rollback Reopen on Promotion by
@ptr727in ptr727/ProjectTemplate#4346- Count a CodeRabbit Clean Pass Its Summary Alone Records by
@ptr727in ptr727/ProjectTemplate#4351- Restrict Unsolicited Comments on Public Repositories Through the Repo Configuration Script by
@ptr727in ptr727/ProjectTemplate#4349- Stop the PowerShell Install on a Refusal and Fail a Tool With No Microsoft Feed by
@ptr727in ptr727/ProjectTemplate#4352- Gate Unquoted Placeholders in Copy-and-Run Commands by
@ptr727in ptr727/ProjectTemplate#4353- Register Claude Code Hooks in Exec Form and Rewrite Shell-Form Registrations by
@ptr727in ptr727/ProjectTemplate#4350- Check Reusable-Workflow Calls Against the Pinned Callee's Inputs by
@ptr727in ptr727/ProjectTemplate#4354- Quote the Remaining paste-safe Commands in the Repo-Config Docs and Fix the PowerShell Feed Comment by
@ptr727in ptr727/ProjectTemplate#4357- Keep Tilde Expansion and Probe Arguments in the Quoted Copy-and-Run Placeholders by
@ptr727in ptr727/ProjectTemplate#4358- Keep the Tilde Outside the Quotes in the Remaining Base-Clone Placeholders by
@ptr727in ptr727/ProjectTemplate#4359- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4361- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4362- Bump ruff from 0.17.5 to 0.17.6 in /.github/actions/python-tool-pins by
@dependabot[bot] in ptr727/ProjectTemplate#4360- Bump the actions-deps group across 4 directories with 2 updates by
@dependabot[bot] in ptr727/ProjectTemplate#4363- Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe Rule by
@ptr727in ptr727/ProjectTemplate#4365- Accept an Empty Interaction-Limits Body and Align the Promotion Findings' Docs by
@ptr727in ptr727/ProjectTemplate#4367- Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under an Interpreter or Shell by
@ptr727in ptr727/ProjectTemplate#4366- Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook by
@ptr727in ptr727/ProjectTemplate#4369- Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage by
@ptr727in ptr727/ProjectTemplate#4371- Show One Quoted Argument per Action File and Note the Convention Layout in Cleanup Commands by
@ptr727in ptr727/ProjectTemplate#4372- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4368- Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe Commands, and Workflow Input Check by
@ptr727in ptr727/ProjectTemplate#4356Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1538...2.0.1558
8ef8e96
Promote Develop to Main: Interaction Policy, Exec-Form Hooks, Paste-Safe
Comm...3374a90
Merge develop into promote/develop-to-main72631ae
Show One Quoted Argument per Action File and Note the Convention Layout
in Cl...287ce7d
Merge develop into the promotion branchc67e9ef
Resolve Promotion Review Findings on Paths, Pilot Limit, and Coverage
(#4371)c2fca38
Fix the Ungrammatical Phrase Describing the Host's Own Shell-Form Hook
(#4369)dedad9e
Merge develop into maina6894ed
Read an Exec-Form Hook's Arguments as a Script or Shell Code Only Under
an In...5f0ed05
Accept an Empty Interaction-Limits Body and Align the Promotion
Findings' Doc...fd02165
Read a Regex Operand and a Quoted Assignment Correctly in the paste-safe
Rule...Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1621
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4446- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4447- Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges by
@ptr727in ptr727/ProjectTemplate#4449- Pass Over a Signal Handled as the Prose Gate's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4453- Record a Managed Copy for claude and codex in install-agents and Report Any Other Copy as a Stray by
@ptr727in ptr727/ProjectTemplate#4456- Name the PowerShell Suppression Form and Fix the Python CI Backstop Text by
@ptr727in ptr727/ProjectTemplate#4457- Read the Metrics Report's Reviewed Heads From the Gate's One Filter by
@ptr727in ptr727/ProjectTemplate#4458- Cross-Check Python Directories Against Dependabot's pip and uv Entries by
@ptr727in ptr727/ProjectTemplate#4460- Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest by
@ptr727in ptr727/ProjectTemplate#4461- State the Platform Weighting and Correct the Hook-Promotion Worked Example by
@ptr727in ptr727/ProjectTemplate#4464- Key Qodo Findings Without Links or Commit Hashes and Ask Dismissal by Title and Location by
@ptr727in ptr727/ProjectTemplate#4463- Hand a Caller's hook-input to the validate and resolve-upstream Hooks by
@ptr727in ptr727/ProjectTemplate#4465- Require an Empty Workflow-Level Permissions Block on Entry-Point Callers by
@ptr727in ptr727/ProjectTemplate#4466- Remove the npm and bun upgrade paths no managed tool reaches by
@ptr727in ptr727/ProjectTemplate#4467- Add a Hub-Hosted Script That Enables a Clone's Hook Framework Once by
@ptr727in ptr727/ProjectTemplate#4469- Select Each Repository's Python Line From Its Root .python-version by
@ptr727in ptr727/ProjectTemplate#4472- Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured by
@ptr727in ptr727/ProjectTemplate#4479- Bound the Shell Trap's Child Wait and Give the Heading Search a File by
@ptr727in ptr727/ProjectTemplate#4477- Check Deployment Environment Secret and Variable Names in the Audit by
@ptr727in ptr727/ProjectTemplate#4480- Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry by
@ptr727in ptr727/ProjectTemplate#4478- Build the Gate's Comment Readers on One Trusted-Comment Reader by
@ptr727in ptr727/ProjectTemplate#4481- Record the Measured Absence of a Git Floor for --end-of-options by
@ptr727in ptr727/ProjectTemplate#4484- Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash by
@ptr727in ptr727/ProjectTemplate#4496- Pass Over a Signal Handled as the Hook Enabler's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4500- Pin the GitHub Host for Every gh Child the Hub Scripts Start by
@ptr727in ptr727/ProjectTemplate#4502- Write the Docker Pull Retry Once With One Backoff Schedule by
@ptr727in ptr727/ProjectTemplate#4503- Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once by
@ptr727in ptr727/ProjectTemplate#4505- Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins, Environment Secret Audit, and macOS Bash Floor by
@ptr727in ptr727/ProjectTemplate#4485Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1595...2.0.1621
2.0.1595
What's Changed
- Drop the False XML Comment Suppression Claim from the .NET Conventions by
@ptr727in ptr727/ProjectTemplate#4391- Blank Quotations After a Heredoc Label on Its Opening Line in Paste-Safe by
@ptr727in ptr727/ProjectTemplate#4390- Carry Attention Lists, Cut Lists, and Opt-In Billing in backlog_metrics.py JSON by
@ptr727in ptr727/ProjectTemplate#4392- Gate configure.sh apply's Interaction Limit on a Committed Bot Verification Record by
@ptr727in ptr727/ProjectTemplate#4393- Make the gh and node Report Note Say a One-Line Vendor Source Is Configured by
@ptr727in ptr727/ProjectTemplate#4394- Add ShellCheck and shfmt Lint Tasks to the VS Code Task Snippets by
@ptr727in ptr727/ProjectTemplate#4395- Count a CodeRabbit Clean Pass on the Head in the Digest's other_reviewed by
@ptr727in ptr727/ProjectTemplate#4396- Date Line-Ending intentRefs by the Skill and Trim Advisory Restatements by
@ptr727in ptr727/ProjectTemplate#4401- Share One Any-Level Heading Region Primitive Between heading_body and extract_anchored by
@ptr727in ptr727/ProjectTemplate#4399- Name the Hub Pull Requests a Standup Lands Through, and Add HACS First-Run Guidance by
@ptr727in ptr727/ProjectTemplate#4398- Add a PowerShell Section to CODESTYLE.md and Narrow the Shell Rule by
@ptr727in ptr727/ProjectTemplate#4404- Close AUDIT.md Section 10's Convergence Loop and Fix Three Skill Pointers by
@ptr727in ptr727/ProjectTemplate#4405- Route CODESTYLE.md's General Section to the Language Skills by
@ptr727in ptr727/ProjectTemplate#4409- Detect a C# Test Project by Its Own Text Rather Than Its File Name by
@ptr727in ptr727/ProjectTemplate#4410
... (truncated)
50652fe
Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins,
Envir...3183644
Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once (#4505)f93f34a
Write the Docker Pull Retry Once With One Backoff Schedule (#4503)cf4e380
Pin the GitHub Host for Every gh Child the Hub Scripts Start (#4502)d724120
Pass Over a Signal Handled as the Hook Enabler's First Handler Starts
(#4500)c25ec49
Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash (#4496)3420354
Record the Measured Absence of a Git Floor for --end-of-options (#4484)fc288c4
Build the Gate's Comment Readers on One Trusted-Comment Reader (#4481)300f204
Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry (#4478)9e766e2
Check Deployment Environment Secret and Variable Names in the Audit (#4480)Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1621
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4446- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4447- Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges by
@ptr727in ptr727/ProjectTemplate#4449- Pass Over a Signal Handled as the Prose Gate's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4453- Record a Managed Copy for claude and codex in install-agents and Report Any Other Copy as a Stray by
@ptr727in ptr727/ProjectTemplate#4456- Name the PowerShell Suppression Form and Fix the Python CI Backstop Text by
@ptr727in ptr727/ProjectTemplate#4457- Read the Metrics Report's Reviewed Heads From the Gate's One Filter by
@ptr727in ptr727/ProjectTemplate#4458- Cross-Check Python Directories Against Dependabot's pip and uv Entries by
@ptr727in ptr727/ProjectTemplate#4460- Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest by
@ptr727in ptr727/ProjectTemplate#4461- State the Platform Weighting and Correct the Hook-Promotion Worked Example by
@ptr727in ptr727/ProjectTemplate#4464- Key Qodo Findings Without Links or Commit Hashes and Ask Dismissal by Title and Location by
@ptr727in ptr727/ProjectTemplate#4463- Hand a Caller's hook-input to the validate and resolve-upstream Hooks by
@ptr727in ptr727/ProjectTemplate#4465- Require an Empty Workflow-Level Permissions Block on Entry-Point Callers by
@ptr727in ptr727/ProjectTemplate#4466- Remove the npm and bun upgrade paths no managed tool reaches by
@ptr727in ptr727/ProjectTemplate#4467- Add a Hub-Hosted Script That Enables a Clone's Hook Framework Once by
@ptr727in ptr727/ProjectTemplate#4469- Select Each Repository's Python Line From Its Root .python-version by
@ptr727in ptr727/ProjectTemplate#4472- Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured by
@ptr727in ptr727/ProjectTemplate#4479- Bound the Shell Trap's Child Wait and Give the Heading Search a File by
@ptr727in ptr727/ProjectTemplate#4477- Check Deployment Environment Secret and Variable Names in the Audit by
@ptr727in ptr727/ProjectTemplate#4480- Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry by
@ptr727in ptr727/ProjectTemplate#4478- Build the Gate's Comment Readers on One Trusted-Comment Reader by
@ptr727in ptr727/ProjectTemplate#4481- Record the Measured Absence of a Git Floor for --end-of-options by
@ptr727in ptr727/ProjectTemplate#4484- Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash by
@ptr727in ptr727/ProjectTemplate#4496- Pass Over a Signal Handled as the Hook Enabler's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4500- Pin the GitHub Host for Every gh Child the Hub Scripts Start by
@ptr727in ptr727/ProjectTemplate#4502- Write the Docker Pull Retry Once With One Backoff Schedule by
@ptr727in ptr727/ProjectTemplate#4503- Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once by
@ptr727in ptr727/ProjectTemplate#4505- Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins, Environment Secret Audit, and macOS Bash Floor by
@ptr727in ptr727/ProjectTemplate#4485Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1595...2.0.1621
2.0.1595
What's Changed
- Drop the False XML Comment Suppression Claim from the .NET Conventions by
@ptr727in ptr727/ProjectTemplate#4391- Blank Quotations After a Heredoc Label on Its Opening Line in Paste-Safe by
@ptr727in ptr727/ProjectTemplate#4390- Carry Attention Lists, Cut Lists, and Opt-In Billing in backlog_metrics.py JSON by
@ptr727in ptr727/ProjectTemplate#4392- Gate configure.sh apply's Interaction Limit on a Committed Bot Verification Record by
@ptr727in ptr727/ProjectTemplate#4393- Make the gh and node Report Note Say a One-Line Vendor Source Is Configured by
@ptr727in ptr727/ProjectTemplate#4394- Add ShellCheck and shfmt Lint Tasks to the VS Code Task Snippets by
@ptr727in ptr727/ProjectTemplate#4395- Count a CodeRabbit Clean Pass on the Head in the Digest's other_reviewed by
@ptr727in ptr727/ProjectTemplate#4396- Date Line-Ending intentRefs by the Skill and Trim Advisory Restatements by
@ptr727in ptr727/ProjectTemplate#4401- Share One Any-Level Heading Region Primitive Between heading_body and extract_anchored by
@ptr727in ptr727/ProjectTemplate#4399- Name the Hub Pull Requests a Standup Lands Through, and Add HACS First-Run Guidance by
@ptr727in ptr727/ProjectTemplate#4398- Add a PowerShell Section to CODESTYLE.md and Narrow the Shell Rule by
@ptr727in ptr727/ProjectTemplate#4404- Close AUDIT.md Section 10's Convergence Loop and Fix Three Skill Pointers by
@ptr727in ptr727/ProjectTemplate#4405- Route CODESTYLE.md's General Section to the Language Skills by
@ptr727in ptr727/ProjectTemplate#4409- Detect a C# Test Project by Its Own Text Rather Than Its File Name by
@ptr727in ptr727/ProjectTemplate#4410
... (truncated)
50652fe
Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins,
Envir...3183644
Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once (#4505)f93f34a
Write the Docker Pull Retry Once With One Backoff Schedule (#4503)cf4e380
Pin the GitHub Host for Every gh Child the Hub Scripts Start (#4502)d724120
Pass Over a Signal Handled as the Hook Enabler's First Handler Starts
(#4500)c25ec49
Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash (#4496)3420354
Record the Measured Absence of a Git Floor for --end-of-options (#4484)fc288c4
Build the Gate's Comment Readers on One Trusted-Comment Reader (#4481)300f204
Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry (#4478)9e766e2
Check Deployment Environment Secret and Variable Names in the Audit (#4480)Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1621
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4446- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4447- Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges by
@ptr727in ptr727/ProjectTemplate#4449- Pass Over a Signal Handled as the Prose Gate's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4453- Record a Managed Copy for claude and codex in install-agents and Report Any Other Copy as a Stray by
@ptr727in ptr727/ProjectTemplate#4456- Name the PowerShell Suppression Form and Fix the Python CI Backstop Text by
@ptr727in ptr727/ProjectTemplate#4457- Read the Metrics Report's Reviewed Heads From the Gate's One Filter by
@ptr727in ptr727/ProjectTemplate#4458- Cross-Check Python Directories Against Dependabot's pip and uv Entries by
@ptr727in ptr727/ProjectTemplate#4460- Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest by
@ptr727in ptr727/ProjectTemplate#4461- State the Platform Weighting and Correct the Hook-Promotion Worked Example by
@ptr727in ptr727/ProjectTemplate#4464- Key Qodo Findings Without Links or Commit Hashes and Ask Dismissal by Title and Location by
@ptr727in ptr727/ProjectTemplate#4463- Hand a Caller's hook-input to the validate and resolve-upstream Hooks by
@ptr727in ptr727/ProjectTemplate#4465- Require an Empty Workflow-Level Permissions Block on Entry-Point Callers by
@ptr727in ptr727/ProjectTemplate#4466- Remove the npm and bun upgrade paths no managed tool reaches by
@ptr727in ptr727/ProjectTemplate#4467- Add a Hub-Hosted Script That Enables a Clone's Hook Framework Once by
@ptr727in ptr727/ProjectTemplate#4469- Select Each Repository's Python Line From Its Root .python-version by
@ptr727in ptr727/ProjectTemplate#4472- Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured by
@ptr727in ptr727/ProjectTemplate#4479- Bound the Shell Trap's Child Wait and Give the Heading Search a File by
@ptr727in ptr727/ProjectTemplate#4477- Check Deployment Environment Secret and Variable Names in the Audit by
@ptr727in ptr727/ProjectTemplate#4480- Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry by
@ptr727in ptr727/ProjectTemplate#4478- Build the Gate's Comment Readers on One Trusted-Comment Reader by
@ptr727in ptr727/ProjectTemplate#4481- Record the Measured Absence of a Git Floor for --end-of-options by
@ptr727in ptr727/ProjectTemplate#4484- Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash by
@ptr727in ptr727/ProjectTemplate#4496- Pass Over a Signal Handled as the Hook Enabler's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4500- Pin the GitHub Host for Every gh Child the Hub Scripts Start by
@ptr727in ptr727/ProjectTemplate#4502- Write the Docker Pull Retry Once With One Backoff Schedule by
@ptr727in ptr727/ProjectTemplate#4503- Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once by
@ptr727in ptr727/ProjectTemplate#4505- Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins, Environment Secret Audit, and macOS Bash Floor by
@ptr727in ptr727/ProjectTemplate#4485Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1595...2.0.1621
2.0.1595
What's Changed
- Drop the False XML Comment Suppression Claim from the .NET Conventions by
@ptr727in ptr727/ProjectTemplate#4391- Blank Quotations After a Heredoc Label on Its Opening Line in Paste-Safe by
@ptr727in ptr727/ProjectTemplate#4390- Carry Attention Lists, Cut Lists, and Opt-In Billing in backlog_metrics.py JSON by
@ptr727in ptr727/ProjectTemplate#4392- Gate configure.sh apply's Interaction Limit on a Committed Bot Verification Record by
@ptr727in ptr727/ProjectTemplate#4393- Make the gh and node Report Note Say a One-Line Vendor Source Is Configured by
@ptr727in ptr727/ProjectTemplate#4394- Add ShellCheck and shfmt Lint Tasks to the VS Code Task Snippets by
@ptr727in ptr727/ProjectTemplate#4395- Count a CodeRabbit Clean Pass on the Head in the Digest's other_reviewed by
@ptr727in ptr727/ProjectTemplate#4396- Date Line-Ending intentRefs by the Skill and Trim Advisory Restatements by
@ptr727in ptr727/ProjectTemplate#4401- Share One Any-Level Heading Region Primitive Between heading_body and extract_anchored by
@ptr727in ptr727/ProjectTemplate#4399- Name the Hub Pull Requests a Standup Lands Through, and Add HACS First-Run Guidance by
@ptr727in ptr727/ProjectTemplate#4398- Add a PowerShell Section to CODESTYLE.md and Narrow the Shell Rule by
@ptr727in ptr727/ProjectTemplate#4404- Close AUDIT.md Section 10's Convergence Loop and Fix Three Skill Pointers by
@ptr727in ptr727/ProjectTemplate#4405- Route CODESTYLE.md's General Section to the Language Skills by
@ptr727in ptr727/ProjectTemplate#4409- Detect a C# Test Project by Its Own Text Rather Than Its File Name by
@ptr727in ptr727/ProjectTemplate#4410
... (truncated)
50652fe
Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins,
Envir...3183644
Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once (#4505)f93f34a
Write the Docker Pull Retry Once With One Backoff Schedule (#4503)cf4e380
Pin the GitHub Host for Every gh Child the Hub Scripts Start (#4502)d724120
Pass Over a Signal Handled as the Hook Enabler's First Handler Starts
(#4500)c25ec49
Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash (#4496)3420354
Record the Measured Absence of a Git Floor for --end-of-options (#4484)fc288c4
Build the Gate's Comment Readers on One Trusted-Comment Reader (#4481)300f204
Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry (#4478)9e766e2
Check Deployment Environment Secret and Variable Names in the Audit (#4480)Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1621
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4446- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4447- Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges by
@ptr727in ptr727/ProjectTemplate#4449- Pass Over a Signal Handled as the Prose Gate's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4453- Record a Managed Copy for claude and codex in install-agents and Report Any Other Copy as a Stray by
@ptr727in ptr727/ProjectTemplate#4456- Name the PowerShell Suppression Form and Fix the Python CI Backstop Text by
@ptr727in ptr727/ProjectTemplate#4457- Read the Metrics Report's Reviewed Heads From the Gate's One Filter by
@ptr727in ptr727/ProjectTemplate#4458- Cross-Check Python Directories Against Dependabot's pip and uv Entries by
@ptr727in ptr727/ProjectTemplate#4460- Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest by
@ptr727in ptr727/ProjectTemplate#4461- State the Platform Weighting and Correct the Hook-Promotion Worked Example by
@ptr727in ptr727/ProjectTemplate#4464- Key Qodo Findings Without Links or Commit Hashes and Ask Dismissal by Title and Location by
@ptr727in ptr727/ProjectTemplate#4463- Hand a Caller's hook-input to the validate and resolve-upstream Hooks by
@ptr727in ptr727/ProjectTemplate#4465- Require an Empty Workflow-Level Permissions Block on Entry-Point Callers by
@ptr727in ptr727/ProjectTemplate#4466- Remove the npm and bun upgrade paths no managed tool reaches by
@ptr727in ptr727/ProjectTemplate#4467- Add a Hub-Hosted Script That Enables a Clone's Hook Framework Once by
@ptr727in ptr727/ProjectTemplate#4469- Select Each Repository's Python Line From Its Root .python-version by
@ptr727in ptr727/ProjectTemplate#4472- Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured by
@ptr727in ptr727/ProjectTemplate#4479- Bound the Shell Trap's Child Wait and Give the Heading Search a File by
@ptr727in ptr727/ProjectTemplate#4477- Check Deployment Environment Secret and Variable Names in the Audit by
@ptr727in ptr727/ProjectTemplate#4480- Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry by
@ptr727in ptr727/ProjectTemplate#4478- Build the Gate's Comment Readers on One Trusted-Comment Reader by
@ptr727in ptr727/ProjectTemplate#4481- Record the Measured Absence of a Git Floor for --end-of-options by
@ptr727in ptr727/ProjectTemplate#4484- Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash by
@ptr727in ptr727/ProjectTemplate#4496- Pass Over a Signal Handled as the Hook Enabler's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4500- Pin the GitHub Host for Every gh Child the Hub Scripts Start by
@ptr727in ptr727/ProjectTemplate#4502- Write the Docker Pull Retry Once With One Backoff Schedule by
@ptr727in ptr727/ProjectTemplate#4503- Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once by
@ptr727in ptr727/ProjectTemplate#4505- Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins, Environment Secret Audit, and macOS Bash Floor by
@ptr727in ptr727/ProjectTemplate#4485Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1595...2.0.1621
2.0.1595
What's Changed
- Drop the False XML Comment Suppression Claim from the .NET Conventions by
@ptr727in ptr727/ProjectTemplate#4391- Blank Quotations After a Heredoc Label on Its Opening Line in Paste-Safe by
@ptr727in ptr727/ProjectTemplate#4390- Carry Attention Lists, Cut Lists, and Opt-In Billing in backlog_metrics.py JSON by
@ptr727in ptr727/ProjectTemplate#4392- Gate configure.sh apply's Interaction Limit on a Committed Bot Verification Record by
@ptr727in ptr727/ProjectTemplate#4393- Make the gh and node Report Note Say a One-Line Vendor Source Is Configured by
@ptr727in ptr727/ProjectTemplate#4394- Add ShellCheck and shfmt Lint Tasks to the VS Code Task Snippets by
@ptr727in ptr727/ProjectTemplate#4395- Count a CodeRabbit Clean Pass on the Head in the Digest's other_reviewed by
@ptr727in ptr727/ProjectTemplate#4396- Date Line-Ending intentRefs by the Skill and Trim Advisory Restatements by
@ptr727in ptr727/ProjectTemplate#4401- Share One Any-Level Heading Region Primitive Between heading_body and extract_anchored by
@ptr727in ptr727/ProjectTemplate#4399- Name the Hub Pull Requests a Standup Lands Through, and Add HACS First-Run Guidance by
@ptr727in ptr727/ProjectTemplate#4398- Add a PowerShell Section to CODESTYLE.md and Narrow the Shell Rule by
@ptr727in ptr727/ProjectTemplate#4404- Close AUDIT.md Section 10's Convergence Loop and Fix Three Skill Pointers by
@ptr727in ptr727/ProjectTemplate#4405- Route CODESTYLE.md's General Section to the Language Skills by
@ptr727in ptr727/ProjectTemplate#4409- Detect a C# Test Project by Its Own Text Rather Than Its File Name by
@ptr727in ptr727/ProjectTemplate#4410
... (truncated)
50652fe
Promote Develop to Main: Python Line Selector, Docker Lint Digest Pins,
Envir...3183644
Pin the Repo Gate's gh Read and Parse the Docker Pin Manifest Once (#4505)f93f34a
Write the Docker Pull Retry Once With One Backoff Schedule (#4503)cf4e380
Pin the GitHub Host for Every gh Child the Hub Scripts Start (#4502)d724120
Pass Over a Signal Handled as the Hook Enabler's First Handler Starts
(#4500)c25ec49
Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash (#4496)3420354
Record the Measured Absence of a Git Floor for --end-of-options (#4484)fc288c4
Build the Gate's Comment Readers on One Trusted-Comment Reader (#4481)300f204
Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry (#4478)9e766e2
Check Deployment Environment Secret and Variable Names in the Audit (#4480)Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1621
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4446- Bump DavidAnson/markdownlint-cli2-action from 25.0.0 to 25.1.0 in the actions-deps group across 1 directory by
@dependabot[bot] in ptr727/ProjectTemplate#4447- Have the Agent Open and Drive the Promotion After an Audit's File Fix Merges by
@ptr727in ptr727/ProjectTemplate#4449- Pass Over a Signal Handled as the Prose Gate's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4453- Record a Managed Copy for claude and codex in install-agents and Report Any Other Copy as a Stray by
@ptr727in ptr727/ProjectTemplate#4456- Name the PowerShell Suppression Form and Fix the Python CI Backstop Text by
@ptr727in ptr727/ProjectTemplate#4457- Read the Metrics Report's Reviewed Heads From the Gate's One Filter by
@ptr727in ptr727/ProjectTemplate#4458- Cross-Check Python Directories Against Dependabot's pip and uv Entries by
@ptr727in ptr727/ProjectTemplate#4460- Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest by
@ptr727in ptr727/ProjectTemplate#4461- State the Platform Weighting and Correct the Hook-Promotion Worked Example by
@ptr727in ptr727/ProjectTemplate#4464- Key Qodo Findings Without Links or Commit Hashes and Ask Dismissal by Title and Location by
@ptr727in ptr727/ProjectTemplate#4463- Hand a Caller's hook-input to the validate and resolve-upstream Hooks by
@ptr727in ptr727/ProjectTemplate#4465- Require an Empty Workflow-Level Permissions Block on Entry-Point Callers by
@ptr727in ptr727/ProjectTemplate#4466- Remove the npm and bun upgrade paths no managed tool reaches by
@ptr727in ptr727/ProjectTemplate#4467- Add a Hub-Hosted Script That Enables a Clone's Hook Framework Once by
@ptr727in ptr727/ProjectTemplate#4469- Select Each Repository's Python Line From Its Root .python-version by
@ptr727in ptr727/ProjectTemplate#4472- Report dotnet and powershell as unmanaged While Microsoft's Feed Is Unconfigured by
@ptr727in ptr727/ProjectTemplate#4479- Bound the Shell Trap's Child Wait and Give the Heading Search a File by
@ptr727in ptr727/ProjectTemplate#4477- Check Deployment Environment Secret and Variable Names in the Audit by
@ptr727in ptr727/ProjectTemplate#4480- Add a macOS Bash 4.4 Floor With a Platform-Scoped Host Tool Entry by
@ptr727in ptr727/ProjectTemplate#4478- Build the Gate's Comment Readers on One Trusted-Comment Reader by
@ptr727in ptr727/ProjectTemplate#4481- Record the Measured Absence of a Git Floor for --end-of-options by
@ptr727in ptr727/ProjectTemplate#4484- Narrow the Qodo Acknowledgment Key to a Link and a Commit Hash by
@ptr727in ptr727/ProjectTemplate#4496- Pass Over a Signal Handled as the Hook Enabler's First Handler Starts by
@ptr727in ptr727/ProjectTemplate#4500- Pin the GitHub Host for Every gh Child the Hub Scripts Start by
@ptr727in ptr727/ProjectTemplate#4502- Write the Docker Pull Retry Once With One Backoff Schedule by
@ptr727inCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/merge-bot-pull-request.yml | 2 +- .github/workflows/publish-release.yml | 6 +++--- .github/workflows/run-periodic-codegen-pull-request.yml | 2 +- .github/workflows/test-pull-request.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/merge-bot-pull-request.yml b/.github/workflows/merge-bot-pull-request.yml index 6263adb..f167c43 100644 --- a/.github/workflows/merge-bot-pull-request.yml +++ b/.github/workflows/merge-bot-pull-request.yml @@ -18,7 +18,7 @@ jobs: merge-bot: name: Merge bot pull request job - uses: ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 # The repository-wide auto-delete stays off, so the task deletes each merged bot head branch instead. with: delete-branch: true diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index f160e47..0bc92b1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -41,7 +41,7 @@ jobs: # Single source of the release-gate decision, publish or not and stable or not, reused by every job below. plan: name: Plan release job - uses: ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 with: event_name: ${{ github.event_name }} actor: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: name: Validate job needs: [plan] if: ${{ needs.plan.outputs.publish == 'true' }} - uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} permissions: @@ -67,7 +67,7 @@ jobs: name: Publish project release job needs: [plan, validate] if: ${{ needs.plan.outputs.publish == 'true' && needs.validate.result == 'success' }} - uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 permissions: contents: write actions: write diff --git a/.github/workflows/run-periodic-codegen-pull-request.yml b/.github/workflows/run-periodic-codegen-pull-request.yml index 5091ad2..4ff8113 100644 --- a/.github/workflows/run-periodic-codegen-pull-request.yml +++ b/.github/workflows/run-periodic-codegen-pull-request.yml @@ -22,7 +22,7 @@ jobs: run-codegen: name: Run codegen and pull request job - uses: ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 secrets: CODEGEN_APP_CLIENT_ID: ${{ secrets.CODEGEN_APP_CLIENT_ID }} CODEGEN_APP_PRIVATE_KEY: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 9ee8f28..72a8bd1 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -58,7 +58,7 @@ jobs: validate: name: Validate job - uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 permissions: contents: read # Mapped explicitly rather than inherited, since this is a cross-repository call and secrets: inherit would hand the callee every secret this repository holds. @@ -75,7 +75,7 @@ jobs: name: Smoke build job needs: [changes] if: needs.changes.outputs.release == 'true' || github.event_name == 'workflow_dispatch' - uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@8ef8e967f927dbb86cd6e26f87620ddba2856a9d # 2.0.1558 + uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 permissions: contents: read with: From 3e4ad801cbf7fc3511d49c22ebbb448ae37a0641 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 02:46:54 +0000 Subject: [PATCH 20/25] Bump the nuget-deps group with 1 update (#540) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated [ptr727.Utilities](https://github.com/ptr727/Utilities) from 4.1.131 to 4.1.133. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---Release notes
_Sourced from [ptr727.Utilities's releases](https://github.com/ptr727/Utilities/releases)._ ## 4.1.133 ## What's Changed * Bump the nuget-deps group with 2 updates by @dependabot[bot] in https://github.com/ptr727/Utilities/pull/626 **Full Changelog**: https://github.com/ptr727/Utilities/compare/4.1.131...4.1.133 Commits viewable in [compare view](https://github.com/ptr727/Utilities/compare/4.1.131...4.1.133).Signed-off-by: dependabot[bot]Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot showignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 66bfff4..790c012 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,7 +14,7 @@ - + From 5e9639b23b91a2d2e6ecc3ea1acd9f074a4f9efc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 02:51:28 +0000 Subject: [PATCH 21/25] Bump the actions-deps group across 1 directory with 5 updates (#543) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the actions-deps group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1621` | `2.0.1625` | | [ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1621` | `2.0.1625` | | [ptr727/ProjectTemplate/.github/workflows/validate-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1621` | `2.0.1625` | | [ptr727/ProjectTemplate/.github/workflows/build-release-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1621` | `2.0.1625` | | [ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml](https://github.com/ptr727/projecttemplate) | `2.0.1621` | `2.0.1625` | Updates `ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml` from 2.0.1621 to 2.0.1625 Release notes
Sourced from ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml's releases.
2.0.1625
What's Changed
- Update upstream versions: dotnet to 11, python to 3.15 by
@ptr727-codegen[bot] in ptr727/ProjectTemplate#4509- Keep Dates Out of Scope Beside a Named Person and List history-data Issues Before Publication by
@ptr727in ptr727/ProjectTemplate#4510- Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version-Manager Shim by
@ptr727in ptr727/ProjectTemplate#4512- Refuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read's Host by
@ptr727in ptr727/ProjectTemplate#4511- Promote develop to main by
@ptr727in ptr727/ProjectTemplate#4515Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1621...2.0.1625
Commits
77a5e2dPromote develop to main (#4515)ee90b1dRefuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read'...f804737Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version...a460090Keep Dates Out of Scope Beside a Named Person and List history-data Issues Be...97c5a31Update upstream versions: dotnet to 11, python to 3.15 (#4509)- See full diff in compare view
Updates `ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml` from 2.0.1621 to 2.0.1625Release notes
Sourced from ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml's releases.
2.0.1625
What's Changed
- Update upstream versions: dotnet to 11, python to 3.15 by
@ptr727-codegen[bot] in ptr727/ProjectTemplate#4509- Keep Dates Out of Scope Beside a Named Person and List history-data Issues Before Publication by
@ptr727in ptr727/ProjectTemplate#4510- Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version-Manager Shim by
@ptr727in ptr727/ProjectTemplate#4512- Refuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read's Host by
@ptr727in ptr727/ProjectTemplate#4511- Promote develop to main by
@ptr727in ptr727/ProjectTemplate#4515Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1621...2.0.1625
Commits
77a5e2dPromote develop to main (#4515)ee90b1dRefuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read'...f804737Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version...a460090Keep Dates Out of Scope Beside a Named Person and List history-data Issues Be...97c5a31Update upstream versions: dotnet to 11, python to 3.15 (#4509)- See full diff in compare view
Updates `ptr727/ProjectTemplate/.github/workflows/validate-task.yml` from 2.0.1621 to 2.0.1625Release notes
Sourced from ptr727/ProjectTemplate/.github/workflows/validate-task.yml's releases.
2.0.1625
What's Changed
- Update upstream versions: dotnet to 11, python to 3.15 by
@ptr727-codegen[bot] in ptr727/ProjectTemplate#4509- Keep Dates Out of Scope Beside a Named Person and List history-data Issues Before Publication by
@ptr727in ptr727/ProjectTemplate#4510- Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version-Manager Shim by
@ptr727in ptr727/ProjectTemplate#4512- Refuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read's Host by
@ptr727in ptr727/ProjectTemplate#4511- Promote develop to main by
@ptr727in ptr727/ProjectTemplate#4515Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1621...2.0.1625
Commits
77a5e2dPromote develop to main (#4515)ee90b1dRefuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read'...f804737Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version...a460090Keep Dates Out of Scope Beside a Named Person and List history-data Issues Be...97c5a31Update upstream versions: dotnet to 11, python to 3.15 (#4509)- See full diff in compare view
Updates `ptr727/ProjectTemplate/.github/workflows/build-release-task.yml` from 2.0.1621 to 2.0.1625Release notes
Sourced from ptr727/ProjectTemplate/.github/workflows/build-release-task.yml's releases.
2.0.1625
What's Changed
- Update upstream versions: dotnet to 11, python to 3.15 by
@ptr727-codegen[bot] in ptr727/ProjectTemplate#4509- Keep Dates Out of Scope Beside a Named Person and List history-data Issues Before Publication by
@ptr727in ptr727/ProjectTemplate#4510- Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version-Manager Shim by
@ptr727in ptr727/ProjectTemplate#4512- Refuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read's Host by
@ptr727in ptr727/ProjectTemplate#4511- Promote develop to main by
@ptr727in ptr727/ProjectTemplate#4515Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1621...2.0.1625
Commits
77a5e2dPromote develop to main (#4515)ee90b1dRefuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read'...f804737Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version...a460090Keep Dates Out of Scope Beside a Named Person and List history-data Issues Be...97c5a31Update upstream versions: dotnet to 11, python to 3.15 (#4509)- See full diff in compare view
Updates `ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml` from 2.0.1621 to 2.0.1625Release notes
Sourced from ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml's releases.
2.0.1625
What's Changed
- Update upstream versions: dotnet to 11, python to 3.15 by
@ptr727-codegen[bot] in ptr727/ProjectTemplate#4509- Keep Dates Out of Scope Beside a Named Person and List history-data Issues Before Publication by
@ptr727in ptr727/ProjectTemplate#4510- Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version-Manager Shim by
@ptr727in ptr727/ProjectTemplate#4512- Refuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read's Host by
@ptr727in ptr727/ProjectTemplate#4511- Promote develop to main by
@ptr727in ptr727/ProjectTemplate#4515Full Changelog: https://github.com/ptr727/ProjectTemplate/compare/2.0.1621...2.0.1625
Commits
77a5e2dPromote develop to main (#4515)ee90b1dRefuse a Blanket Stage in Any Checkout With an Origin and Pin the Rules Read'...f804737Guard Every Signal Handler Against a Nested Later Signal and Refuse a Version...a460090Keep Dates Out of Scope Beside a Named Person and List history-data Issues Be...97c5a31Update upstream versions: dotnet to 11, python to 3.15 (#4509)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---Signed-off-by: dependabot[bot]Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot showignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/merge-bot-pull-request.yml | 2 +- .github/workflows/publish-release.yml | 6 +++--- .github/workflows/run-periodic-codegen-pull-request.yml | 2 +- .github/workflows/test-pull-request.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/merge-bot-pull-request.yml b/.github/workflows/merge-bot-pull-request.yml index f167c43..ca2ae9f 100644 --- a/.github/workflows/merge-bot-pull-request.yml +++ b/.github/workflows/merge-bot-pull-request.yml @@ -18,7 +18,7 @@ jobs: merge-bot: name: Merge bot pull request job - uses: ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/merge-bot-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 # The repository-wide auto-delete stays off, so the task deletes each merged bot head branch instead. with: delete-branch: true diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 0bc92b1..b3e14e3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -41,7 +41,7 @@ jobs: # Single source of the release-gate decision, publish or not and stable or not, reused by every job below. plan: name: Plan release job - uses: ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/publish-plan-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 with: event_name: ${{ github.event_name }} actor: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: name: Validate job needs: [plan] if: ${{ needs.plan.outputs.publish == 'true' }} - uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} permissions: @@ -67,7 +67,7 @@ jobs: name: Publish project release job needs: [plan, validate] if: ${{ needs.plan.outputs.publish == 'true' && needs.validate.result == 'success' }} - uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 permissions: contents: write actions: write diff --git a/.github/workflows/run-periodic-codegen-pull-request.yml b/.github/workflows/run-periodic-codegen-pull-request.yml index 4ff8113..c2d90ef 100644 --- a/.github/workflows/run-periodic-codegen-pull-request.yml +++ b/.github/workflows/run-periodic-codegen-pull-request.yml @@ -22,7 +22,7 @@ jobs: run-codegen: name: Run codegen and pull request job - uses: ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/run-codegen-pull-request-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 secrets: CODEGEN_APP_CLIENT_ID: ${{ secrets.CODEGEN_APP_CLIENT_ID }} CODEGEN_APP_PRIVATE_KEY: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 72a8bd1..460d3ad 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -58,7 +58,7 @@ jobs: validate: name: Validate job - uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/validate-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 permissions: contents: read # Mapped explicitly rather than inherited, since this is a cross-repository call and secrets: inherit would hand the callee every secret this repository holds. @@ -75,7 +75,7 @@ jobs: name: Smoke build job needs: [changes] if: needs.changes.outputs.release == 'true' || github.event_name == 'workflow_dispatch' - uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@50652fe00d46d326079fd1d36c6304ee93ef0702 # 2.0.1621 + uses: ptr727/ProjectTemplate/.github/workflows/build-release-task.yml@77a5e2d1a2424428c9962ed494f624a19264cb93 # 2.0.1625 permissions: contents: read with: From 98dec9dc00069a074e8c06087e4e4ed675d03b8e Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Sun, 6 Dec 2026 10:47:44 -0800 Subject: [PATCH 22/25] Resync the Instruction Set and Skills Tree to Hub 2.0.1682 (#551) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Resyncs the carried instruction set and Skills tree to hub `2.0.1682` (`ac58eecb`), as step 1 of `RESYNC.md` together with step 3's re-vendor of the manifest-owned trees. - **AGENTS.md and GOVERNANCE.md:** `carry.py apply-sections` re-vendors the 2 stale AGENTS.md sections and the 16 stale GOVERNANCE.md sections. Every one matched a past hub revision and none was locally modified. The preamble and every intent region, including the repo's own "Repository Layout", came through byte-identical. - **CODESTYLE.md and WORKFLOW.md:** take the hub copies. The `carried-instruction-file-guard` probe found no line absent from every past hub revision of either file, so no local content was lost. - **.github/skills:** `carry.py apply`, which leaves the tree byte-identical to the hub's. 37 files were stale and 1 was new (`dotnet-codestyle/references/console-lifetime.md`). No path was extra, and no skill directory was added or removed, so `.github/copilot-instructions.md` needs no path edits. Audit run `2026-12-06T18:30:21Z`, hub `ac58eecb`, against `main` reported the verbatim and tree drift this PR clears. ## Deferred - `LanguageTagsCreate` does not yet meet the newly carried .NET interrupt and unhandled-exception rules: #550. ## Local review One `local-strict-review` pass at the `frontier` tier raised 5 findings, none a defect in the carried text. Each is caused by the carried rules landing before the repo files they govern, and each has a destination: - The WORKFLOW.md D1.7, D1.9 and S15 text describes workflows the 2.0.1625 pins do not run, and `OPERATIONS.md` line 10 names the old test invocation: the hub pin bump and the `OPERATIONS.md` alignment go in the pins pull request below. - The merge-bot caller lacks `auto_merge_disabled`: the merge-bot pull request below. - `persist-credentials: false` is missing on `test-pull-request.yml`: the same merge-bot and workflows pull request below. - `LanguageTagsCreate` interrupt and unhandled-exception handling: #550. ## Follow-ups, in RESYNC order once this merges 1. Retire `CLAUDE.md`, with the hub pin bump to `2.0.1682` it needs first, and align `OPERATIONS.md`. 2. Merge-bot caller: subscribe to `auto_merge_disabled`, plus `persist-credentials: false` on the checkouts. 3. Intent files: `.editorconfig`, `cspell.json`, `AUDIT.md`, `.github/copilot-instructions.md`, README coverage shield. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- .github/skills/add-host-tool/SKILL.md | 11 +- .github/skills/agent-conduct/SKILL.md | 24 +- .github/skills/audit-a-repo/SKILL.md | 14 +- .github/skills/backlog-burndown/SKILL.md | 349 +++++++++++---- .../branching-and-release-model/SKILL.md | 62 ++- .../branch-protection-and-promotion.md | 36 +- .../references/release-publish-mechanics.md | 25 +- .../carried-instruction-file-guard/SKILL.md | 2 +- .github/skills/check-this-repo/SKILL.md | 11 +- .github/skills/comment-and-doc-style/SKILL.md | 64 ++- .../references/carried-doc-references.md | 18 +- .github/skills/decision-triage/SKILL.md | 32 +- .github/skills/dotnet-codestyle/SKILL.md | 158 +++++-- .../references/console-lifetime.md | 414 ++++++++++++++++++ .../references/conventions.md | 37 +- .../references/project-config.md | 8 +- .../dotnet-codestyle/references/testing.md | 4 +- .github/skills/drive-pr/SKILL.md | 124 ++++-- .github/skills/fleet-code-review/SKILL.md | 1 + .../skills/git-commit-conventions/SKILL.md | 13 +- .../references/history-rewrite.md | 49 ++- .github/skills/local-strict-review/SKILL.md | 29 +- .github/skills/merge-and-release/SKILL.md | 82 ++-- .github/skills/pr-review-conduct/SKILL.md | 89 +++- .github/skills/python-codestyle/SKILL.md | 86 ++-- .../python-codestyle/references/code-style.md | 10 +- .../python-codestyle/references/profiles.md | 26 +- .github/skills/repo-worktree/SKILL.md | 82 ++-- .github/skills/resync-a-repo/SKILL.md | 56 ++- .github/skills/session-handoff/SKILL.md | 33 +- .github/skills/shell-codestyle/SKILL.md | 47 +- .github/skills/standup-a-repo/SKILL.md | 46 +- .github/skills/update-host/SKILL.md | 4 +- .../upstream-contribution-workflow/SKILL.md | 64 ++- .github/skills/workflow-ci-contract/SKILL.md | 2 +- .../references/architecture.md | 15 +- .../references/d-guarantees.md | 13 +- .../references/test-methodology.md | 10 +- AGENTS.md | 22 +- CODESTYLE.md | 93 +++- GOVERNANCE.md | 73 +-- WORKFLOW.md | 60 ++- 42 files changed, 1783 insertions(+), 615 deletions(-) create mode 100644 .github/skills/dotnet-codestyle/references/console-lifetime.md diff --git a/.github/skills/add-host-tool/SKILL.md b/.github/skills/add-host-tool/SKILL.md index 22b10df..62f9eb0 100644 --- a/.github/skills/add-host-tool/SKILL.md +++ b/.github/skills/add-host-tool/SKILL.md @@ -25,12 +25,12 @@ description: >- - Prefer the distribution package when it meets the floor. - Use the platform's established package manager and official package identifier. - Keep install and upgrade idempotent. -- Before an apt-managed install, detect and remove an unowned downloaded copy that shadows it. -- Before a downloaded install, detect and remove a conflicting package-managed copy. +- Before an apt-managed install, detect an unowned downloaded copy that shadows it. Report it with the command that removes it by hand, per `GOVERNANCE.md` "Design Before Code". Skip that tool's install until the copy is gone, since the shadowing copy would keep answering on PATH. +- Before a downloaded install, detect a conflicting package-managed copy. Report it and skip the install the same way. - Preserve report, list, explicit selection, install, upgrade, reinstall, and dry-run behavior. -- Do not test a Windows mutation on Linux or a Linux mutation on Windows. +- Hand each native mutation to the operator on its own platform, never a Windows mutation on Linux or a Linux mutation on Windows. -When a platform is unavailable, verify its registry and tests without claiming a native install. Hand off the exact native commands and expected observations to the operator. +Verify each platform's registry and tests without claiming a native install, whether or not the platform is available. Hand off the exact native commands and expected observations to the operator. ## Update the Complete Surface @@ -42,5 +42,6 @@ Update the platform installers, `spec/host-tools.json`, `docs/host-setup.md`, an 2. Run the repository's formatting, lint, type, and test gates required by the changed files. 3. On the current native platform, exercise list and report first. 4. Exercise install and upgrade dry runs. -5. Apply the install, repeat it to prove idempotence, and run the host gate. +5. Hand the operator the exact native commands for the install, a repeat install proving + idempotence, and the host gate, with the expected observations. Verify what the operator reports. 6. Record untested platforms explicitly and leave cross-platform verification open. diff --git a/.github/skills/agent-conduct/SKILL.md b/.github/skills/agent-conduct/SKILL.md index cc82cf8..51345d4 100644 --- a/.github/skills/agent-conduct/SKILL.md +++ b/.github/skills/agent-conduct/SKILL.md @@ -26,7 +26,7 @@ Read `GOVERNANCE.md` "Design Before Code" before the first edit of a change. ## Before Claiming Done -Read the section below before reporting success on anything non-trivial. It is `GOVERNANCE.md` "Verification Discipline", whole. +Read the section below before reporting success. It is `GOVERNANCE.md` "Verification Discipline", whole. @@ -34,14 +34,15 @@ The checks that separate work actually done from work that merely reports succes - **Locate every check a change owes before running any of them, and CI's coverage is not that list.** The checks are read from what the repository declares, rather than inferred from whatever the pipeline happens to run. What it declares means its `OPERATIONS.md` "Local Verification" section alongside the workflows. Part of a repository's contract is routinely unreachable from a runner. Examples are a redirect no build serves, a deploy no pull request performs, and hardware no runner holds. So the check covering that part lives in a document rather than in a workflow. It is run by hand before the pull request opens. Green is then the precise signal that it was skipped. That is because the pipeline reports success over the half it reaches while saying nothing about the half it cannot. Reading a document's own description of itself is not how such a check is found. That is because a topical document is named for its most visible function, usually a post-merge one. It is also because an accurate description of that function routes a pre-merge task away from the file holding the gate. The destination is declared fleet-wide for that reason, rather than left to how well each repository worded a pointer to it. A repository whose `OPERATIONS.md` carries no such heading, or carries no such file, is missing content it owes. In that case, read that file whole where it exists, and the workflows beside it either way. Report what is absent rather than reading its absence as an answer that no local check applies. - **A test runner failing to spawn is not evidence that no test coverage applies here.** `uv run pytest` failing to spawn in a lint-only Python Scripts profile is that profile working as intended, not a missing dependency. The `python-codestyle` Skill's Two Profiles section states this. Read the actual invocation from the same `OPERATIONS.md` "Local Verification" section the bullet above names, rather than guessing a generic test-runner command. Report that document's own command result, not the guessed command's failure. -- **A test must assert the mechanism it names, and a gate has to be watched failing.** Label each case by the behavior it proves, then write the case that reintroduces the fault and confirm the gate objects to it. A case that passes for an incidental reason, the right answer reached by the wrong path, is worse than no case. That is because it is later cited as evidence. A proof that restates the gated data instead of reading it proves only that the function works. So drive the real table or the real config. And a gate that finds nothing is indistinguishable from a gate with nothing to find, so assert a floor on what a healthy run covers. +- **A test must assert the mechanism it names, and a gate has to be watched failing.** Label each case by the behavior it proves, then write the case that reintroduces the fault and confirm the gate objects to it. A case that passes for an incidental reason, the right answer reached by the wrong path, is worse than no case. That is because it is later cited as evidence. A proof that restates the gated data instead of reading it proves only that the function works. So drive the real table or the real config, read as data. A call that would change state as "Repository Boundaries and Write Safety" bounds it is still stubbed or dry-run. And a gate that finds nothing is indistinguishable from a gate with nothing to find, so assert a floor on what a healthy run covers. - **Gates, filters, and gate-like watchers fail loud, never narrow quietly.** A pattern that silently matches less, an allowlist that silently stops matching, or a gate that silently stops gating all report success while doing nothing. When a construct exists to notice something, make the not-noticing case produce an error or an annotation. An identity allowlist used as a gate, for one, must raise an error when its list stops matching, not silently pass everything through. - **Config with a uniqueness rule is validated on read, and its consumers assert what it promised.** A repeated key in a lookup table is not a precedence question to settle quietly. It is two answers to one question. Keeping whichever came last picks one of them where the reader sees no choice being made. Fail on the duplicate at the point the config is read, so the code downstream can rely on the invariant instead of re-deriving it. - **Validate and read on the same normalized key.** A guard that compares stripped names while the join looks up the raw one passes a padded key and then matches nothing. So the exact fault the guard exists to stop is sitting inside the guard. Normalize once at the boundary and use that one value for both the check and the lookup. -- **Every push toward a pull request is preceded by a local adversarial review of the branch's whole diff, and the pass is recorded.** The rule binds every push rather than the first one. So a fix push answering a reviewer's finding owes a pass exactly as the branch's first push did. That is the round it is actually skipped on. The fix looks small, the branch was reviewed once already, and what goes up is content no review has read. Skipping it does not save the round. It moves it into the fix-commit and review-comment cycle, which spends wall-clock, Actions runtime, and agent tokens finding what a local pass would have. The pass itself, its delegation shape, and its model tier are the `local-strict-review` Skill's. `scripts/local_review.py` records it keyed on the content the reviewer actually saw. So a capture point can ask whether a receipt still covers what is about to be pushed. It need not trust the rule to have been remembered. The pass is mandatory and its findings are advisory, which are opposite claims worth keeping apart. A pass is recorded whether it raised ten findings or none. Disposing of each one is judgment, per `GOVERNANCE.md` "PR Review Etiquette". -- **Canonical content one repo authors and others carry is read the way a carrier reads it, whole, in the repo that can fix it. That read is swept periodically rather than owed by a push.** Such content is written and merged against a diff of a few lines. It reaches a reviewer as a new file, in full, only when a repo carries it for the first time. So the first real read of a rule happens where nothing can be done about the result. That is because the tree is manifest-owned, and the copy is compared against the authoring repo's, byte for byte wherever the declared fidelity is verbatim. It is also because a local edit there is drift on the next fidelity check. Where the fidelity is intent the carrier may adapt its own copy. The defect still has to be fixed at the source, since every other carrier holds it too. Every carrier after that re-discovers the same defect. The finding arrives in a session holding no checkout of the authoring repo and no standing to test the claim. The unit is what a reviewer reads whole. The carry manifest, `spec/files.json` in the hub, rather than the document decides what is a unit, down to which files carry units at all. So the engine that reads that manifest is the authority on the set rather than any restatement of its rules. In the ordinary case a unit is one level-two section of a carried Markdown canonical, which is the fidelity unit `spec/section-model.md` declares. The read is of the unit's whole current text rather than of the diff that moved it. The pass itself, its delegation shape, and its model tier are the `local-strict-review` Skill's, exactly as they are for the pass above. **The read is swept because owing it at every push cost too much to keep owing it there.** Measured across this fleet's review rounds, the passes a push owed were a large share of what a pull request spent. What they returned was never measured against that. So the read moves to a schedule on the cost alone, rather than being owed by whichever change happens to touch a unit. A change that moves a unit is no longer refused over one. No capture point asks a change for a pass of this kind. The diff pass the bullet above requires is owed by every push exactly as before. What replaces the per-push read is a schedule in the authoring repo. It gathers the work into one piece and files it where an agent session can run the passes and fix what they find. That work is every unit whose text has moved past the pass that read it. That work also covers a bounded slice of the units nothing has read there at all, taken newest-committed first. The slice is what keeps a newly authored unit from waiting on a volunteer. That is because such a unit has no earlier pass to move past. It is also because such a unit would otherwise reach a carrier with nothing having asked to read it. That is the case this whole rule is about. A unit newly carried by widening the manifest alone is not reached that way. The order reads the unit's own file rather than the manifest. So such a unit joins the backlog at that file's age. There a section written and declared in one commit leads like any other newly authored one. Bounding it is what keeps a long backlog from arriving as one week's work. `scripts/canonical_review.py` records each pass keyed on the content the reviewer saw, and names both sets. So the sweep's list is read off that record rather than remembered. Its ledger is tracked content the change carrying it commits like any other. Like the pass above, a pass the sweep asks for is mandatory and its findings are advisory. +- **Every push toward a pull request is preceded by a local adversarial review of the branch's whole diff, and the pass is recorded.** The rule binds every push rather than the first one. So a fix push answering a reviewer's finding owes a pass exactly as the branch's first push did. That is the round it is actually skipped on. The fix looks small, the branch was reviewed once already, and what goes up is content no review has read. Skipping it does not save the round. It moves it into the fix-commit and review-comment cycle, which spends wall-clock, Actions runtime, and agent tokens finding what a local pass would have. The pass itself, its delegation shape, and its model tier are the `local-strict-review` Skill's. The hub-hosted `scripts/local_review.py` records it keyed on the content the reviewer actually saw. So a capture point can ask whether a receipt still covers what is about to be pushed. It need not trust the rule to have been remembered. The pass is mandatory and its findings are advisory, which are opposite claims worth keeping apart. A pass is recorded whether it raised ten findings or none. Disposing of each one is judgment, per `GOVERNANCE.md` "PR Review Etiquette". +- **Canonical content one repo authors and others carry is read the way a carrier reads it, whole, in the repo that can fix it. That read is swept periodically rather than owed by a push.** Such content is written and merged against a diff of a few lines. It reaches a reviewer as a new file, in full, only when a repo carries it for the first time. So the first real read of a rule happens where nothing can be done about the result. That is because the tree is manifest-owned, and the copy is compared against the authoring repo's, byte for byte wherever the declared fidelity is verbatim. It is also because a local edit there is drift on the next fidelity check. Where the fidelity is intent the carrier may adapt its own copy. The defect still has to be fixed at the source, since every other carrier holds it too. Every carrier after that re-discovers the same defect. The finding arrives in a session holding no checkout of the authoring repo and no standing to test the claim. The unit is what a reviewer reads whole. The carry manifest, `spec/files.json` in the hub, rather than the document decides what is a unit, down to which files carry units at all. So the engine that reads that manifest is the authority on the set rather than any restatement of its rules. In the ordinary case a unit is one level-two section of a carried Markdown canonical, which is the fidelity unit `spec/section-model.md` declares. The read is of the unit's whole current text rather than of the diff that moved it. The pass itself, its delegation shape, and its model tier are the `local-strict-review` Skill's, exactly as they are for the pass above. **The read is swept because owing it at every push cost too much to keep owing it there.** Measured across this fleet's review rounds, the passes a push owed were a large share of what a pull request spent. What they returned was never measured against that. So the read moves to a schedule on the cost alone, rather than being owed by whichever change happens to touch a unit. A change that moves a unit is no longer refused over one. No capture point asks a change for a pass of this kind. The diff pass the bullet above requires is owed by every push exactly as before. What replaces the per-push read is a schedule in the authoring repo. It gathers the work into one piece and files it where an agent session can run the passes and fix what they find. That work is every unit whose text has moved past the pass that read it. That work also covers a bounded slice of the units nothing has read there at all, taken newest-committed first. The slice is what keeps a newly authored unit from waiting on a volunteer. That is because such a unit has no earlier pass to move past. It is also because such a unit would otherwise reach a carrier with nothing having asked to read it. That is the case this whole rule is about. A unit newly carried by widening the manifest alone is not reached that way. The order reads the unit's own file rather than the manifest. So such a unit joins the backlog at that file's age. There a section written and declared in one commit leads like any other newly authored one. Bounding it is what keeps a long backlog from arriving as one week's work. The hub-hosted `scripts/canonical_review.py` records each pass keyed on the content the reviewer saw, and names both sets. So the sweep's list is read off that record rather than remembered. Its ledger is tracked content the change carrying it commits like any other. Like the pass above, a pass the sweep asks for is mandatory and its findings are advisory. - **Another round of edits after either pass is owed only while a defect this change introduced or fixes in place is open.** A finding count never owes one. Which findings count as introduced, what each class owes, and how many rounds a push may spend are the `local-strict-review` Skill's. - **Run the repo's whole lint gate before every push, not the parts that look relevant.** CI runs all of them, so a partial local run only defers the failure. The tool most likely to catch a given change is often the one it seems least about. An edit that manipulates line endings is exactly when `editorconfig-checker` matters. The repo documents each linter's known-working invocation, and this rule is that **all** of them run. +- **Run the repo's whole test suite before every push, not the modules a change touches.** Run it in the invocation `OPERATIONS.md` "Local Verification" declares, as the bullets above require. CI runs every case a runner can reach, so a partial local run only defers the failure, as it does for the lint gate. A suite can hold tests that judge every file in the tree, so a change can fail a module it never touched. - **Editing CRLF files programmatically: `.` matches `\r` in a regex**, so a captured line keeps its carriage return and rejoining with `\r\n` yields `CRCRLF`. Prefer literal replacement over regex reassembly. In Python the *default* path is a text-mode rewrite, which has the mirror failure. `Path.read_text()` decodes through universal newlines and `write_text()` translates each `\n` back to `os.linesep`. So a read-edit-write round trip rewrites every line ending in the file to the host's own while the edit itself looks correct. Work in bytes, or open the file explicitly with `newline=''` on both the read and the write. That is because a read that preserves the endings still hands them to a write that translates them. Use `open()` rather than `Path.read_text()`, which accepts that argument only on Python 3.13 and newer and raises `TypeError` below it. The corruption is worth naming because it is invisible in a rendered diff. - **Scope a check by what the project declares, not by the file that prompted it.** A check written while editing one file tends to cover that file's language and stop. It then reports success on every other surface the rule governs. Read the declared types, or the config that enumerates them, and cover each one. Then assert a floor per surface, so a table that narrows fails loudly instead of passing quietly. A rule about comments means every comment syntax the project ships. A format that carries comments in practice counts even where its specification says otherwise. - **Never write source text carrying backslash escapes through a shell construct that interprets them.** A `printf` format string, a `printf` argument consumed by `%b`, `echo -e`, POSIX `sh`'s builtin `echo`, and `$'...'` each consume the escape. Each writes an invisible control character in its place. So a `\b` inside a regex becomes a backspace, and the pattern silently matches nothing while every test still passes. A quoted heredoc, `<<"EOF"`, is not one of those constructs and writes every backslash literally. An unquoted `< Communicating with the User --> - **Reference every pull request as a clickable link.** When you mention a PR on a surface that renders Markdown (chat, a summary, a report), render it as a Markdown link to the PR. Write it as `[#N](https://github.com/OWNER/REPO/pull/N)`, never a bare `#N`. The same applies to issues and commits. **The form follows the surface.** Some surfaces link neither a Markdown link nor a bare URL, an interactive prompt's question and option text among them. Pasting a full URL into one of those does not rescue it, since the reader gets a string to copy. That is the outcome this rule exists to prevent. There the reference is a bare `#N`. The clickable link goes in the message that comes **before** the prompt rather than merely alongside it. That is because the prompt blocks on an answer, and a message emitted after it is read once that answer is already given. That is the one moment the link is no longer any use. The test is whether the reader can click it where it is read, not whether it was written in the syntax that works elsewhere. - **Put a command the user must run where the user can run it.** This session's input line is where the user types to the agent. A command runs outside this session where this session's input line cannot run it or cannot hold its effect. One waiting on typed input, such as a password or a confirmation, is such a command. So is one meant for another host, or one setting a variable the session reads at launch. Every other one runs at this session's input line, where that line can run a command, and outside the session otherwise. **A command the user runs outside this session goes in the question's own text.** Where a question asks the user to run one, the question carries the exact command, complete and ready to paste. A message before the prompt may repeat the command, but the question never points at that message. A question pointing at it can leave the reader to find the command among a long run of earlier output. Such a command stays in the prompt, where the turn opens one, although the clickable-link bullet above moves a link out of one. The command needs no rendering, since the prompt shows it as plain text the reader can copy. **A command the user runs at this session's input line never goes in an interactive prompt.** On Claude Code such a command is a `!` line, typed at the session's input line so its output lands in the session. While an interactive prompt is open, the user cannot type at the session's input line. So a command placed in one sits in the one surface that blocks running it. It goes in a plain message instead, as a fenced block holding the `!` line itself, complete and ready to paste. Several commands join on that one line with `&&`, which runs them in order and stops at the first that fails. The block opens the message. Any question the same turn owes follows it as a numbered list, and any report comes after both. The message asks the user to reply once the command has run, and the turn ends with no interactive prompt open. The agent then checks the result on the user's next message. It reads back the state the command was meant to change, or the output it left in the session. An answer saying the command ran is not that check. -- **Ask every question through the interface's prompt, never in prose.** When you need the user to decide, answer, or approve anything, put it to them through the interface's own prompt mechanism. Do so whether or not work is blocked on it. An offer to do more work ("want me to file that?") is a question like any other. A question written into a message is lost in the report around it, however short it is. One closing a long report sits where the reader is least likely to reach it. Where no prompt mechanism is available, the questions go as a numbered list opening the message rather than closing it. The user can then reply per number. A turn asking for a command the user runs at this session's input line is an exception, per the command bullet above. It puts every question it owes in that message, since a prompt open beside the command would block the place it runs. This bullet settles how a question is put once it is asked. Whether a question is asked now or recorded for later is the parking bullet's to settle. That is the one opening "A question filed as an issue is parked rather than asked". +- **Ask when the user can cheaply confirm.** An assumption that saves one question and is wrong costs the rework plus the trust. So a genuine ambiguity in intent, scope, or authorization is raised, not resolved by picking the likelier reading. Rules that already answer the question (the committed instruction set) are not ambiguity, so read them first rather than asking what they state. +- **The irreversible step (merging, publishing, releasing, force-pushing, deleting, changing branch protection) stays the maintainer's.** **A grant given in a past session or for a different task authorizes nothing now.** Whether a credential's reach or a tool that happens to work authorizes anything is answered by `GOVERNANCE.md` "Repository Boundaries and Write Safety" rather than here. +- **Ask every question through the interface's prompt, never in prose.** When you need the user to decide, answer, or approve anything, put it to them through the interface's own prompt mechanism. Do so whether or not work is blocked on it. An offer to do more work ("want me to file that?") is a question like any other. A question written into a message is lost in the report around it, however short it is. One closing a long report sits where the reader is least likely to reach it. **Each question reads whole from its own text.** It states the problem, why it is being asked, and what each option does, in plain words. It may cite an issue or a pull request by number. The question and its options still read fully without opening it. A question leaning on an issue for its meaning is often answered without reading that issue, so the answer misses its point. Where no prompt mechanism is available, the questions go as a numbered list opening the message rather than closing it. The user can then reply per number. A turn asking for a command the user runs at this session's input line is an exception, per the command bullet above. It puts every question it owes in that message, since a prompt open beside the command would block the place it runs. This bullet settles how a question is put once it is asked. Whether a question is asked now or recorded for later is the parking bullet's to settle. That is the one opening "A question filed as an issue is parked rather than asked". - **Raise work blocked on the user as a direct interactive prompt.** When progress needs a decision, an authorization, or an answer only the user can give, ask for it at the point the work stops. Ask through the interface's own prompt mechanism. Never leave it as prose in a summary. A handoff buried in a paragraph is a handoff that did not happen. That is because a summary reads as a report of finished work. It is also because the one line still waiting on the user is the easiest in a summary to skim past. The blocked item is the message, not a closing remark on a message about something else. **The options offered are the actions themselves.** The one that unblocks the work names the action it authorizes ("squash and merge it"). Selecting it is then the go-ahead rather than a note to act on later. Offering only ways to wait is the same failure in interactive clothing. That is because a prompt whose every choice is inaction reports the block rather than clearing it. Where the agent may not perform the authorized action itself, the option says who does it. Where no interactive prompt is available, the numbered list the bullet above names is the fallback. In a turn asking for a command the user runs at this session's input line, the command bullet above replaces the interactive prompt. - **Lead every choice with a recommendation and its reason.** Wherever the user is asked to choose, in a prompt or in a numbered list, the option the agent recommends comes first. It is marked as the recommendation, and every option states the reason for it. A user who takes the recommendation then reads one line, and one who does not sees what the other options trade away. A question with no defensible recommendation says so rather than inventing one. Where an open question has no options and the agent does have an answer, that answer and its reason go in the question's text. They never go in as an invented option. - **A question filed as an issue is parked rather than asked, and it stays owed.** Where the work cannot continue without the answer, the interactive-prompt bullet governs and the question is asked at the point the work stops. Wherever the question is recorded rather than asked, recording it is the right thing to do, and recording it is still not asking it. That holds whether the work can continue without the answer or the question was asked once and deferred. So the issue carries the fleet's `decision` label. When the filing session knows the choices the question is between, the issue states them. The label and the stated choices are what let a later session, one that was not there when the issue was filed, find the question. That session can then put the question to the user without inventing its answers. **The parked queue is the failure, not the parking.** An issue holding a question the user has never seen reads to every later session as tracked work rather than as a block. So each session files correctly and moves on. Presenting the accumulation is the step nobody owns. @@ -94,11 +94,11 @@ Where a lesson lands, when it earns a mechanical hook, and where work blocked on - **Durable knowledge lives in the committed docs, not in agent memory.** Anything a future agent must honor belongs in a committed governance file. That covers a rule, a contract, a hard-won gotcha, and a pattern worth repeating or one to avoid. The file is `GOVERNANCE.md` for a cross-cutting rule, or `AGENTS.md`, `CODESTYLE.md`, `WORKFLOW.md`, or a committed backlog the repository already keeps. Agent memory does not survive a new session, a new machine, or a new environment. So it holds only environment-specific nuance and in-flight session state, never anything whose loss on reset would matter. A durable lesson left only in memory is lost to the next agent. -- **Keep the governance current as you work.** When work surfaces something durable, record it in the governance docs as part of that change. Something durable includes a rule worth enforcing, a recurring gotcha, a positive pattern to repeat, or a negative one to design out. Record it rather than leaving it in a local note or routing around it with a one-off workaround. Where the governing doc is carried from a template this repo cannot edit directly, propose the change upstream rather than patching the local copy. A local patch leaves every sibling repo with the same trap. Governance is not static: it improves by agents folding good patterns in and designing bad ones out. +- **Keep the governance current as you work.** When work surfaces something durable, record it in the governance docs as part of that change. Something durable includes a rule worth enforcing, a recurring gotcha, a positive pattern to repeat, or a negative one to design out. Record it rather than leaving it in a local note or routing around it with a one-off workaround. Where the rule text is carried from the hub, file the change as an issue in the hub rather than patching the local copy. A local patch leaves every sibling repo with the same trap. Governance is not static: it improves by agents folding good patterns in and designing bad ones out. - **A blocker filed in another repository is recorded in the repository whose work it blocks.** The binding moment is when the upstream issue is filed or, where it already exists, found. That is because the session filing or finding it is the one that knows what stopped and why. It owes a second issue in the repository that is waiting rather than only the first. Where the upstream issue already exists, the local issue names that one and no second upstream issue is filed. The local issue states what this repository cannot do and why, in its own terms rather than as a pointer to read elsewhere. That is because a reader who has to open the upstream issue to learn whether it affects them opens every one of them. The local issue names the upstream one as its blocker, carries the `blocked` label, and carries whatever labels its own work would carry anyway. A comment on the upstream issue then names the local one in return. It is a comment rather than an edit to the body because a second repository may join the same blocker later. It is also because the body is often not this session's to rewrite. That order is the upstream issue, then the local issue, then the backlink comment. It leaves a partial failure as a record naming its blocker rather than as a blocker naming a record nobody wrote. **A handoff does not do this job.** It carries the blockers a round met, but it belongs to one track and closes when that track's work is done. The wait can outlive that track, so it belongs in the backlog the whole repository reads. - **The blocker record is written under the ordinary write rules, and the label on it is taken off deliberately.** Filing an issue and commenting on another are state-changing calls. So "Repository Boundaries and Write Safety" binds each of them exactly as it binds any other write. That keeps the upstream issue inside this owner. That binding also makes a blocker under a different owner a matter of explicit permission rather than of this rule. The `blocked` label is what every reader of this record selects on. So a repository not carrying it cannot host one until the fleet label set is applied there. That is a change to that repository's configuration rather than anything this rule writes. A session that finds it missing reports that. The label comes off when the blocker clears. The session closing the upstream issue is best placed to take it off. That is because the backlink comments naming every waiting repository are on the issue it is closing. Any later session that finds it cleared takes it off instead. A fix can land well before either of those, so the label lags the fix rather than tracking it. That is why a session meeting a `blocked` issue reads the state of the issue that issue's body names rather than the label. The local issue stays open when the label comes off. That is because the work it records still has to be done and is ordinary backlog from that moment on. -- **A handoff parked on a maintainer decision carries the `blocked` label too.** Its blocker is a `decision` issue in this same repository rather than an issue elsewhere, and the parking comment on the handoff names it. A reader reads the named issue rather than the label, and the blocker clears when that issue loses its `decision` label. Unlike a cross-repository blocker, a session finding it cleared does not take the label off. It comes off only once a session writes the next round and leaves no `decision` issue it filed on that work unanswered. So a running loop never takes a handoff a present maintainer is still working, or one it could only park again. -- **A durable rule earns a mechanical hook only where a hook can actually decide it, otherwise it stays prose.** The conditions below must hold together, not any one alone. The failure recurs even after the governing prose was demonstrably read and understood. So it is not a discovery or loading problem that a structural fix would already solve. A structural fix here means getting the rule into context at all. The triggering shape is decidable from the tool call's own text, arguments, and working directory alone, with no semantic or contextual judgment required. And the failure is destructive or hard to reverse rather than a quality miss. A worktree-isolation lapse met all of them, so it was promoted to a `gh-write-guard` hook rule. It recurred under prose the agent had already read. The question "is this command's target a primary checkout" is a plain directory comparison. And the harm is another task's swept or reverted work. A skill's own trigger going unread by the session at all, by contrast, is a loading problem. It is fixed by getting the rule into context (the `CLAUDE.md` importing `AGENTS.md`), not by a hook. And "was this review finding actually evidence-backed" fails the second condition outright. A hook sees only the command text, never the judgment call itself, so it can only ever nag, not decide. That class of rule stays prose and a chained Skill trigger. Those conditions gate promotion to a **host** hook. That is the involuntary layer that fires in every session under the maintainer's own credentials, and only the maintainer can grant an exemption from it. That is why the bar there is destructive harm. A **committed** hook in the repository's own tree is a third layer between prose and that one, and it is earned on weaker grounds. It is opt-in per clone, visible in the tree, and bypassable by design. It therefore fits a rule whose harm is a quality miss rather than a destruction. The second condition still binds it, since a hook that cannot decide its own trigger is a hook that nags. So what earns the layer is finding the decidable half of a rule whose other half is judgment. The local-review rule under `GOVERNANCE.md` "Verification Discipline" is the worked example. Whether a review's findings were rightly disposed of is judgment no hook can decide, and it stays prose. Whether a review pass ran over exactly the content being pushed is a receipt comparison, which the hub's own `.husky/pre-push` decides. +- **A handoff parked on a maintainer decision carries the `blocked` label too.** Its blocker is a `decision` issue in this same repository rather than an issue elsewhere, and the parking comment on the handoff names it. A reader reads the named issue rather than the label, and the blocker clears when that issue loses its `decision` label. Unlike a cross-repository blocker, a session finding it cleared does not take the label off. It comes off only once a session writes the next round and leaves no `decision` issue on that work unanswered, whichever session filed it. So a running loop never takes a handoff a present maintainer is still working, or one it could only park again. +- **A durable rule earns a mechanical hook only where a hook can actually decide it, otherwise it stays prose.** The conditions below must hold together, not any one alone. The failure recurs even after the governing prose was demonstrably read and understood. So it is not a discovery or loading problem that a structural fix would already solve. A structural fix here means getting the rule into context at all. The triggering shape is decidable from the tool call's own text, arguments, and working directory alone, with no semantic or contextual judgment required. And the failure is destructive or hard to reverse rather than a quality miss. One check within the worktree-isolation rule met all of them. The rule's lapses recurred under prose the agent had already read, and the harm is another task's swept or reverted work. Whether a mutating git command targets a primary checkout is a plain directory comparison. So that check was promoted to a `gh-write-guard` hook rule, requirement 6 of `host-setup/agent-safety/README.md` in the hub, and the rest of the rule stays prose. A skill's own trigger going unread by the session at all, by contrast, is a loading problem. It is fixed by getting the rule into context (the session loading `AGENTS.md` at start), not by a hook. And "was this review finding actually evidence-backed" fails the second condition outright. A hook sees only the command text, never the judgment call itself, so it can only ever nag, not decide. That class of rule stays prose and a chained Skill trigger. Those conditions gate promotion to a **host** hook. That is the involuntary layer that fires in every session under the maintainer's own credentials, and only the maintainer can grant an exemption from it. That is why the bar there is destructive harm. A **committed** hook in the repository's own tree is a third layer between prose and that one, and it is earned on weaker grounds. It is opt-in per clone, visible in the tree, and bypassable by design. It therefore fits a rule whose harm is a quality miss rather than a destruction. The second condition still binds it, since a hook that cannot decide its own trigger is a hook that nags. So what earns the layer is finding the decidable half of a rule whose other half is judgment. The local-review rule under `GOVERNANCE.md` "Verification Discipline" is the worked example. Whether a review's findings were rightly disposed of is judgment no hook can decide, and it stays prose. Whether a review pass ran over exactly the content being pushed is a receipt comparison, which the hub's own `.husky/pre-push` decides. `GOVERNANCE.md` "Durable Knowledge and Self-Improvement" keeps the full rules. The `agent-conduct` Skill at `.agents/skills/agent-conduct/SKILL.md` in the hub carries it whole as a generated include and surfaces it at its decision moments. That path is not a repo-relative link, since it is hub-local and not carried into every fleet repo. diff --git a/.github/skills/audit-a-repo/SKILL.md b/.github/skills/audit-a-repo/SKILL.md index 5e543ea..29685d2 100644 --- a/.github/skills/audit-a-repo/SKILL.md +++ b/.github/skills/audit-a-repo/SKILL.md @@ -22,8 +22,8 @@ The audit is the fleet's measurement procedure. The failure shapes it guards aga ## Before Measuring Anything - **Route first.** A repo with no carried instruction set, or a partial one, has a baseline that never arrived rather than drift to report (`AUDIT.md` section 0). It therefore goes to `STANDUP.md` sections 1A and 2 first (`AUDIT.md` section 0). Auditing it anyway produces a report that is all absences and reads as catastrophe. -- **Verify the host.** Run `python3 scripts/host_gate.py --repo ` from the hub checkout before any hub tool, and pass `--repo`, since a bare run skips the target's own `host-tools.json` overlay. A stale tool answers `--version`, looks healthy, and produces a wrong answer. -- **Read `main` as ground truth**, for every workflow model, and read `develop` only to detect divergence (`AUDIT.md` section 1). An `operational` repo's `develop` is mid-flight by design. Conformance work sitting there is therefore un-promoted work, not a defect, and it counts when it reaches `main`. Use `uv run --no-project --script spec/audit.py --branch ` to preview in-flight work, which stamps the override so the finding cannot be mistaken for one against ground truth. +- **Verify the host.** Run `python3 scripts/host_gate.py --repo " "` from the hub checkout before any hub tool, and pass `--repo`, since a bare run skips the target's own `host-tools.json` overlay. A stale tool answers `--version`, looks healthy, and produces a wrong answer. +- **Read `main` as ground truth**, for every workflow model, and read `develop` only to detect divergence (`AUDIT.md` section 1). An `operational` repo's `develop` is mid-flight by design. Conformance work sitting there is therefore un-promoted work, not a defect, and it counts when it reaches `main`. Use `uv run --no-project --script spec/audit.py --branch "" " "` to preview in-flight work, which stamps the override so the finding cannot be mistaken for one against ground truth. ## Measuring @@ -31,18 +31,18 @@ The audit is the fleet's measurement procedure. The failure shapes it guards aga - **Know what the runner does and does not prove.** `spec/audit.py` mechanizes the deterministic subset only: settings, rulesets, secret names, file and section presence, verbatim hashing, interface wiring, Dependabot coverage, branch facts. It evaluates no check under a type in `spec/project-types.json` (`AUDIT.md` section 4). So every per-type check is judged by hand, and a clean run is no evidence for them (`AUDIT.md` section 4). Silence from a tool that was never looking reads exactly like a pass. - **Judge letter and intent per check** and keep the vocabulary. A letter miss with intent satisfied is a drift finding. Both missing is a defect. Operational is binary over the applicable set. That vocabulary is in `AUDIT.md` sections 4 and 7. Do not invent a parallel scheme. - **Assert the Actions implement `WORKFLOW.md`** by outcome, not by matching catalog snippets byte for byte (`AUDIT.md` section 5). The method is the 5A static audit, each applicable guarantee cited in the form 5A sets out, then the 5B trace scenarios (`AUDIT.md` section 5). Read a workflow the repo only calls at the SHA it pins, throughout. The `workflow-ci-contract` skill summarizes that contract. -- **Check live settings, rulesets, and secrets from a hub checkout at `main`** with `AUDIT.md` section 6. Use a hub checkout at `develop` instead while the target's registry entry has merged there but not yet reached `main`. Run `repo-config/configure.sh check` with the target repository and model for settings and rulesets, and `uv run --no-project --script spec/audit.py [RepoName]` for secrets, rather than constructing a local comparison. The hub payloads are the only repository-configuration source. +- **Check live settings, rulesets, and secrets from a hub checkout at `main`** with `AUDIT.md` section 6. Use a hub checkout at `develop` instead while the target's registry entry has merged there but not yet reached `main`. Run `repo-config/configure.sh check` with the target repository and model for settings and rulesets, and `uv run --no-project --script spec/audit.py " "` for secrets, rather than constructing a local comparison. The hub payloads are the only repository-configuration source. ## Reporting -- **Write `reports/ /audit.md` from `reports/_template.md`**, ` ` being the repository name in lowercase. Findings are ranked most severe first, each with the `file:line` it was judged against. Quote the run stamp. The stamp is quoted because findings are a point-in-time snapshot. All of this is in `AUDIT.md` section 8. +- **Write `reports/ /audit.md` from `reports/_template.md`**. Findings are ranked most severe first, each with the `file:line` it was judged against. Quote the run stamp. The stamp is quoted because findings are a point-in-time snapshot. All of this is in `AUDIT.md` section 8. - **The hub authors the report.** A downstream repo never opens a hub pull request to write its own, which would be self-certification. Downstream context goes into issues filed against the hub instead. -- **Generate a convergence issue, never compose one**: `uv run --no-project --script spec/audit.py --issue ` emits it from live findings. A finding judged by hand goes under the fixed `## Manual findings` heading that body ends with. That is the issue's one hand-written section, and regenerating replaces only the text above it (`AUDIT.md` section 8). An agent picking such an issue up re-runs the audit first and acts on the live result, not the pasted findings. +- **Generate a convergence issue, never compose one**: `uv run --no-project --script spec/audit.py --issue " "` emits it from live findings. A finding judged by hand goes under the fixed `## Manual findings` heading that body ends with. That is the issue's one hand-written section, and regenerating replaces only the text above it (`AUDIT.md` section 8). An agent picking such an issue up re-runs the audit first and acts on the live result, not the pasted findings. - **Reconcile registry `driftNotes` in the same pass**: a resolved deviation's note is deleted, not left describing finished work. A note naming a check id is retired by a person, not by a run. All of this is in `AUDIT.md` section 8. - **Stale-versus-modified classification and the intent staleness advisory need a full hub clone with git history.** In a shallow clone the audit reports one ERROR per repo and exits non-zero, so run `git fetch --unshallow origin` in the hub checkout first. To verify one finding without history, compare against the current hub canonical on `main`, which decides current-match only. ## After the Report -Measuring and fixing are separate phases. Converging is `AUDIT.md` section 10. In that section, fixes ship as pull requests on the target repo, one focused pull request per drift class. In that section too, the Copilot loop is driven to green per the `pr-review-conduct` skill, and the maintainer merges. For a repo already stood up, `RESYNC.md` sequences the findings, since order matters (a deletion lands before the re-vendor that would refresh it). Its section 6 states the one grouping. Systemic drift shared by many repos is fixed in the hub spec, not hand-patched per repo. Spec questions are escalated rather than resolved silently. Both are in `AUDIT.md` section 9. +Measuring and fixing are separate phases. Converging is `AUDIT.md` section 10. In that section, a file fix ships as a pull request on the target repo, one focused pull request per drift class. In that section too, the agent drives the fix pull request into the target's `develop` to green, per the `pr-review-conduct` skill. Once the maintainer merges it, the agent opens that target's `develop` -> `main` promotion, or finds the open one, and drives it to green. The maintainer merges that too. On an operational repository, the agent confirms that a promotion is wanted before opening one, per `drive-pr`. The re-audit runs once the fix is on `main`. For a repo already stood up, `RESYNC.md` sequences the findings, since order matters (a deletion lands before the re-vendor that would refresh it). Its section 6 states the one grouping. Systemic drift shared by many repos is fixed in the hub spec, not hand-patched per repo. Spec questions are escalated rather than resolved silently. Both are in `AUDIT.md` section 9. -An audit leaves no checkout behind it, since one left standing is what a later sweep has to tell apart from live work. Each is removed when the run ends, per `repo-worktree` "Listing and Cleanup". The report's pull request is cleaned up once it merges, with `uv run --no-project --script scripts/pr_review.py cleanup --repo ptr727/ProjectTemplate --checkout `. A detached checkout at `main` that only read the hub is removed by hand once it is clean. +An audit leaves no checkout behind it, since one left standing is what a later sweep has to tell apart from live work. Each is removed when the run ends, per `repo-worktree` "Listing and Cleanup". The report's pull request is cleaned up once it merges, with `uv run --no-project --script scripts/pr_review.py cleanup " " --repo ptr727/ProjectTemplate --checkout ~/repos/ProjectTemplate`, `~/repos/ProjectTemplate` being the hub's primary clone. That path is the convention layout, and a machine not yet migrated passes its actual primary clone instead. Spell every `scripts/pr_review.py` call this skill prints as `pr-review-conduct` "Expected review loop" says. A detached checkout at `main` that only read the hub is removed by hand once it is clean. diff --git a/.github/skills/backlog-burndown/SKILL.md b/.github/skills/backlog-burndown/SKILL.md index 661a2e1..5538580 100644 --- a/.github/skills/backlog-burndown/SKILL.md +++ b/.github/skills/backlog-burndown/SKILL.md @@ -74,19 +74,46 @@ Working them is out of this skill's scope, and a fleet-wide backlog sweep is a d ## The Round -A round is the unit. Each one runs these steps in order. +A round is the unit. Each one runs these steps, step 6 repeating as each worker ends. 1. **Rank** every open issue, per "Ranking". -2. **Group** the top of that ranking, per "Grouping and File Claims". +2. **Group** the top of that ranking, per "Grouping and File Claims", until each free slot holds a + group that passes step 3. A slot is free only while both dispatch limits in "Grouping and File + Claims" leave room for the group taking it. 3. **Verify** each group's predicted file set against everything in flight before dispatching - anything. A group whose files are already claimed waits for the next round. -4. **Dispatch** at most four workers, one per group, per "Dispatching a Worker". + it. A group whose files are already claimed waits for a refill that finds them free, or for + the next round. A file a parked group claims can pass to it instead, per "Grouping and File + Claims". +4. **Dispatch** one worker per group, within the dispatch limits in "Grouping and File Claims", per + "Dispatching a Worker". The scratchpad check in step 6 applies to each dispatch. 5. **Collect** each worker's outcome: merged to develop, stopped on a maintainer-only question, parked behind another group's file claim, handed back for review, or abandoned. The adjudication in "Grouping and File Claims" and a confirmed-gone worker each produce that outcome. Bound this wait per "Bounding the Wait on a Worker". The orchestrator records a handed-back pass and continues the same worker. -6. **Clean up** the worktrees, local branches, and remote branches of every group that has - merged or been abandoned, per "Dispatching a Worker". + **Each owed action a merged group reports is held by an issue before the round promotes + or ends**, per "Dispatching a Worker". Only an `**Owed action:**` issue that names the action + and the pull request owing it holds it. A later pull request owing the same step gets an issue of its own. "Needs the Maintainer" under "Away Mode" defines such an issue. + "Ranking" never ranks one, so no `Closes on promotion:` line closes it. The orchestrator files one where none holds it. The issue names + the pull request owing the action. It says whose step it is, any promotion or release it waits on, and each step's command in order. Every owed action the run collects gets one issue, an action already done included. + Attended, where the step is the maintainer's, the orchestrator also offers the maintainer a walk-through. It gives one step at a time, + each confirmed done before the next. An action that needs a promotion or a release first gets no offer. + Where the maintainer confirmed the step done, in a walk-through or otherwise, a comment on the issue says so and it is closed. + Any other issue stays open with no done comment, so the maintainer confirms the step there. That includes an action the run only + believes done, and a declined or unfinished walk-through. +6. **Clean up and refill as each worker ends**, rather than once the round's last worker has. + Clean up the worktree, local branch, and remote branch of a group that merged or was abandoned, per + "Dispatching a Worker". A group's scratch is part of that cleanup. Once the worktree or fallback + clone is verified and removed, delete the group's scratch directory the brief named. Never delete one that still holds a + worktree git lists. Before + each new dispatch, check the filesystem holding the scratchpad, for example with Python's + `shutil.disk_usage`. Where it is more than 80% used, dispatch no more groups and report to + the maintainer. Otherwise run steps 1 to 3 afresh for the free slots and dispatch the groups + they form. Refilling stops once step 7 + starts. From then, and under the freeze, "The Promotion Boundary" step 6 says what may be + dispatched. In an attended run, a free slot goes first to a stopped group whose question is + answered. The + round moves to step 7 once no worker is in flight and no group can be dispatched. A round + prepared under the freeze first waits for that merge, per step 8. 7. **Promote**, per "The Promotion Boundary". 8. **Re-rank from scratch**. Whenever a promotion pull request is still waiting on the maintainer, the next round prepares under the freeze "The Promotion Boundary" describes. Under that freeze @@ -96,7 +123,7 @@ A round is the unit. Each one runs these steps in order. can rank high once a sibling fix lands. **Measure the run's net flow before that ranking**, read fresh each round rather than carried. Count the issues created since the run began, leaving out what "Ranking" leaves out of every - count and any `decision`. Count the issues fixed since then, with the same exclusions. Those + count, any `decision`, and any `**Owed action:**` issue. Count the issues fixed since then, with the same exclusions. Those are the issues closed since then as completed, and those awaiting promotion as "Ranking" reads that set. Leave out every issue that awaited promotion when the run began. The run records that set in its working notes at its start, and the away planner's brief carries it. Report both counts beside the backlog @@ -156,9 +183,20 @@ split "The Chain" describes, which this run does not make, and the narrowed issu that split lands. The round's report names each issue held back this way, its platform, and whether it waits on a split, as it names a `blocked` one. +An issue whose remaining work lies wholly in another repository is counted and is not ranked, as +one that needs a platform is. No mode touches another repository, per "What Invoking This Skill +Authorizes". So this run gives it no group, no worker, and no claim. The round's report names each +such issue, its repository, and what would move it, such as a tracking issue or a session there. It names the issue as needing the maintainer only where that repository is under +another owner, since a write there needs the maintainer's permission. + +An `**Owed action:**` issue, as "Needs the Maintainer" under "Away Mode" defines one, is counted and is not +ranked, since no diff takes the step. The round's report names each one and whose step it is. +It is held back under that reason alone, never as needing the maintainer, unless it waits on the +maintainer already as "Needs the Maintainer" states. + An issue that asks a question rather than states a defect is not ranked and is never guessed at. It has no group, no worker, and no claim, so nothing in "Raising a Blocked Question" applies to it -except how the question travels. It goes to the maintainer at the end of ranking, per +except how the question travels. It goes to the maintainer at the end of the first ranking that meets it, per `GOVERNANCE.md` "Communicating with the User". It does not wait for a stop that may not come. It is batched with any other question the run is sending at that moment, and goes in a prompt of its own otherwise. It stays unranked until answered. An issue carrying `decision` is such a question already @@ -210,13 +248,14 @@ Group so that **no file is claimed by two live groups at once.** This is the rul for, and it binds harder than any throughput target. - **Group by the files a fix will touch**, not by the issues' subject matter. Two issues that read - as unrelated but both edit a shared governance file are one group. Two issues that read as near + as unrelated but both edit a shared governance file share a group, up to the group cap below. Two issues that read as near duplicates but touch different files are two groups. - **Genuine duplicates are one group.** Never close an issue during triage on the orchestrator's own judgment. Comment to cross-link the pair, and let the fix close both. - **Closing keywords go on the promotion pull request**, not the feature pull request, per - `branching-and-release-model`. A feature pull request merging into develop fires no - auto-close, so a `Fixes #N` line there closes nothing. **The feature pull request body instead + `branching-and-release-model`. A repository's squash setting can copy the body into the commit, + as the hub's does. Then a `Fixes #N` line there closes #N when the promotion brings that commit + to main, a closure no promotion body stated. **The feature pull request body instead carries a line reading `Closes on promotion: #N`**. It lists every issue that pull request actually fixes and nothing it merely mentions. The promotion body is assembled from that line, per "The Promotion Boundary". GitHub reads a closing keyword only where the issue reference @@ -227,7 +266,7 @@ for, and it binds harder than any throughput target. that behavior. That is the doc, the manifest entry, or the rule sentence `GOVERNANCE.md` "Verification Discipline" makes the change's own to fix. Find them by searching the tree for the identifier, flag, check name, or rule phrase the fix changes, rather than by guessing which - docs apply. Two groups needing one such file are one group, per the first bullet. A predicted + docs apply. A predicted edit lands before the first push, where it costs no extra CI run or hosted review. - **Record every claim on the issue itself**, as a comment naming the predicted file set **and the branch that holds it**, before dispatching. The comment opens with `**Backlog burndown claim` @@ -254,10 +293,15 @@ for, and it binds harder than any throughput target. - **Verify the prediction before dispatching**, against everything in flight, which is wider than this round. In flight covers the files changed by every open **feature** pull request on this repository. It also covers the claim comments of every group still holding a branch, parked - groups from earlier rounds included. + groups from earlier rounds included. It covers too the claim of each group dispatched whose + worker has not yet ended. A worker creates its branch only once it runs. A worker handed back + for review has not ended, since the same worker is continued. The orchestrator reads + that set from the assignments and outcomes its working notes hold, per "Run State". A refill + planner's brief names the groups in it. A claim comment alone cannot say, since a merged group's cleanup + leaves its claim reading like one whose worker has yet to start. `gh pr list --state open --limit 1000 --json number,baseRefName,headRefName,isCrossRepository --jq '.[] | select(.headRefName != "develop" or .baseRefName != "main" or .isCrossRepository) | .number'` lists the open pull requests, its filter applying the promotion exclusion below. - `gh pr diff --name-only` then reads each one's files. `git worktree list` reports the + `gh pr diff " " --name-only` then reads each one's files. `git worktree list` reports the registered worktrees and the branch checked out in each. That is not the same as every branch that exists. So pair it with `git branch -r`, after `git fetch --prune origin`, for one that was pushed and whose worktree is already gone. Pair it also with `git branch` for one that was never @@ -269,8 +313,8 @@ for, and it binds harder than any throughput target. the web interface. A plain fetch leaves that ref in `git branch -r` to defer valid groups forever. Stop and report a failed fetch rather than reading `git branch -r` anyway, per `GOVERNANCE.md` "Verification Discipline" on what a local clone answers for. Here the scan would - miss a branch pushed since the last successful fetch and keep one deleted since it. The round - stops there and reports, rather than dispatching against a stale answer. Stopping rather than + miss a branch pushed since the last successful fetch and keep one deleted since it. Dispatch + stops there and the failure is reported, rather than dispatching against a stale answer. Stopping rather than deferring is what the cleanup and promotion steps need too, since both read the same remote. Those three enumerate the branches, with one gap. A branch in the standalone clone `repo-worktree` allows as a fallback is reached only once it is pushed. That is because @@ -281,29 +325,48 @@ for, and it binds harder than any throughput target. open promotion pull request from that enumeration.** Its diff is all of `origin/main..origin/develop`, so counting it claims nearly every file any earlier round touched. A round run during the freeze would then defer every group it formed. A predicted claim that - collides with a real one is a group deferred to the next round, never one dispatched hoping the - overlap stays small. + collides with a real one is a group deferred to a later refill or the next round. It is never + one dispatched hoping the overlap stays small. - **A branch no claim comment covers still has to yield a file set.** The maintainer's own worktree and a hand-driven task's branch are enumerated above and carry no claim comment. So reading only the comments records them as holding nothing. That is the collision this section exists to prevent rather than the absence of one. Read the branch itself instead: - `git diff --name-only origin/ ... ` for what it has committed, and, for a - registered worktree, `git -C status --porcelain` for what it holds uncommitted. + `git diff --name-only "origin/ ... "` for what it has committed, and, for a + registered worktree, `git -C " " status --porcelain --untracked-files=all` for what it + holds uncommitted. ` ` is the `baseRefName` of the branch's pull request where it has one, and `develop` otherwise. That is because `repo-worktree` "The Base Branch" lets a task branch from `main`. Read against `develop`, a `main`-based branch can list files it never touched, which errs toward a collision rather than a miss. Where neither read is available the set is unknown rather than empty, and an unknown set collides with every group. So ask the maintainer what that branch holds, per "Raising a Blocked Question". +- **A file a parked group claims can pass to a live group**, which then need not wait for it. It + passes only where the parked branch, read live, holds no commit touching that file. After the prune + fetch above, run `git log --full-history --format=%H "origin/ .." -- " "`, with ` ` as the + bullet above gives it. Run it for ` ` and for `origin/ `, whichever exist. Run it with `git -C " "` + for ` ` in a standalone clone the claim comment names, too. Each exiting 0 and printing nothing is that read. + It reads commits rather than the net diff above, so an edit the branch later reverted still holds the file. The `--full-history` flag keeps a merge from hiding a side-branch commit it resolved back out. A merge of ` ` into the branch can list too, which errs toward keeping the file with the parked group. + The parked branch's checkouts must also hold no uncommitted change to the file. They are the worktree + `git worktree list --porcelain` shows holding ` `, and any standalone clone the claim comment names. + So `git -C " " status --porcelain --untracked-files=all -- " "` exits 0 and prints nothing in each. + A non-zero exit, or no ref to read, is a read that cannot be made. A read + that cannot be made keeps the file with the parked group. Record the pass on the parked group's claim + comment, keeping its `**Backlog burndown claim` opening. Add a line opening with + `**Passed ( ):**` that names the file and the receiving group's issues. A file + such a line names is no longer that claim's. When the parked group resumes, the seat running "The + Round" steps 1 to 3 predicts its file set again. It verifies that set as any prediction is verified. + Once it verifies, that seat rewrites + the claim comment with that set and drops each `**Passed` line. A promotion fix takes a + parked holder's file whatever its branch holds, per "The Promotion Boundary" step 5. - **Re-verify when a worker reports that its real file set grew** beyond its claim. A worker needing a file outside its claim stops and reports rather than editing it. A file may sit on a branch no claim comment covers, or on one whose set is unknown. Then the worker is stopped for the maintainer per "Raising a Blocked Question". Where no branch holds the file, the orchestrator - verifies that as it verifies a prediction. It then extends the claim comment at once. A grown + verifies that as it verifies a prediction. It then extends the claim comment. A grown set failing the tier test in "Choosing the Worker's Model Tier" under a worker below `frontier` stops the group there. One passing it lets the worker continue, unless the agent-safety hold below applies. That is the ordinary path for a doc describing the group's own change, and it is - answered at once rather than at a round boundary. Where another group holds the file, the need + answered without waiting for a round boundary. Where another group holds the file, the need is a conflict. The orchestrator decides which group keeps the file and tells the loser what to do rather than leaving it to choose. The loser narrows its change to drop that file, parks until the holder merges, or abandons its branch per "Cleanup Is the Orchestrator's". Some losers need @@ -323,13 +386,24 @@ for, and it binds harder than any throughput target. drifts from the real claim it exists to report. A group told to abandon its branch keeps its claim comment unchanged, since cleanup decides whether that claim is released, per "Cleanup Is the Orchestrator's". -- **Cap the round at four workers**, whatever the grouping allows. +- **Cap each group at three issues and four predicted files.** A wide group draws the most review + passes and sets the round's tail. A refill shortens the idle time around that tail but not the + tail itself. Where the ranking would form a wider group, its lower-ranked issues wait for a later + group, which a refill can dispatch once this one merges. Genuine duplicates count as one issue, + and an issue holding nothing but a question counts as none. A file a generator writes from + another in the set does not count. An issue predicting more than + four files on its own forms a group by itself. +- **Limit the round's dispatch to four workers at once and eight groups in all**, whatever the + grouping allows. A group counts once in a round, however many workers it takes. So a group + resuming in the round it stopped in takes no second place among the eight. One resuming in a + later round counts there. A promotion fix counts toward neither limit. ## Bounding a Prose Group A group whose files are prose-heavy Markdown bloats in a way a code group does not. It needs its own bound stated in the worker's brief. +- **The group's scope is capped** per "Grouping and File Claims", and the brief names that cap. - **The change reaches the units the issue names and the units it puts in disagreement.** A unit stating the rule or behavior the change altered is this change's to fix wherever it sits in this repository, per `GOVERNANCE.md` "Verification Discipline". Its edit is the smallest one that makes it true again. @@ -358,21 +432,38 @@ Brief on `AGENTS.md` "Context and Delegation Discipline"'s subagent shape. another's worktree. That is why "Bounding the Wait on a Worker" removes a dead worker's tree, with or without its branch, or leaves that tree untouched for the maintainer. It never passes the tree on, for the same reason. -- **The worker reports the path of the checkout it worked in**, with its outcome. A standalone +- **The worker reports the path of the checkout it worked in**, with its outcome. It also reports + a missing or wrong shared git hook it met, per `repo-worktree` "Preparing Git Hooks". A standalone clone, the fallback `repo-worktree` allows, appears in no `git worktree list`. So a worker choosing that fallback records the clone's directory name, ` - `, on each of its group's claim comments before cloning. Each edit keeps the comment's `**Backlog burndown claim` opening. The brief says so, and names the temporary root the clone goes under. The comment carries the name rather than the path, since the path can name the local account. The recorded name is the only way "Cleanup Is the Orchestrator's" can find a dead worker's clone. -- **The worker does no cleanup**, which is this skill's one stated override of `drive-pr`'s - post-merge cleanup and of `repo-worktree`'s post-merge procedure. Say so in the brief, because - a worker following either alone will clean up. The worker still performs the merge itself, with +- **The worker deletes the scratch it made that is not its working checkout, before its final + return.** A hand-back it is continued from is not one. The brief names one scratch directory for + the group under the scratchpad, and the worker makes all of it there. That is its environments, + copied data, build roots, and any comparison or baseline tree it added. A baseline added as a + worktree goes through a non-force `git worktree remove`, and an extra comparison clone is deleted. + A baseline git refuses to remove is left and reported with its path. The worker never deletes its + own working worktree or fallback clone, which "Cleanup Is the Orchestrator's" verifies and + removes. The brief names the run's one `UV_CACHE_DIR`, which the worker's own uv commands use. Its + `scripts/pr_review.py` calls follow the spelling rule the brief quotes. The worker builds a + baseline with `git worktree add` over the repository it is already working in, never a second + clone. +- **The worker does no cleanup of its working checkout or branches.** That is this skill's one + stated override of `drive-pr`'s post-merge cleanup and of `repo-worktree`'s post-merge + procedure. Say so in the brief, because a worker following either alone will clean up. The worker still performs the merge itself, with `drive-pr` step 4's `merge` run without `--cleanup` or `--checkout`, and none of that step's `cleanup` routes run. What the override moves is the two cleanup halves `drive-pr` runs after it, the worktree procedure and the verify-then-delete of the merged remote branch. It moves **both** rather than only the first. "Cleanup Is the Orchestrator's" below, in this same section, says why and what it covers. +- **The brief quotes the `merge` command in `drive-pr` step 4's exact spelling**, without + `--cleanup` or `--checkout`. It also quotes, whole, the paragraph in `pr-review-conduct` "Expected review loop" + on spelling a `scripts/pr_review.py` call. A worker that writes the call another way, adding a + cache variable for one, sends its merge to the auto-mode classifier. That classifier refuses a merge no + human has approved. - **A worker that cannot dispatch a subagent hands back its worktree path, target, and digest.** The brief says so per `local-strict-review` "Running It", and says the orchestrator can continue the same worker after recording. - **The brief names the branch the worker will use**, which is what lets the claim comment record @@ -380,7 +471,7 @@ Brief on `AGENTS.md` "Context and Delegation Discipline"'s subagent shape. one of its choosing. That is because a claim naming a branch nobody used points at nothing. A brief dispatching an issue returned to the ranking names a new branch. A branch a claim comment names for the first time is one no pull request on the repository has - used as its head. That is checked with `gh pr list --head --state all` before the + used as its head. That is checked with `gh pr list --head " " --state all` before the comment is written. - **The brief quotes `pr-review-conduct` outcome 4 whole and adds no instruction of its own to file a review finding.** A worker reads its brief as the more specific instruction. So a brief saying "file a @@ -395,8 +486,20 @@ Brief on `AGENTS.md` "Context and Delegation Discipline"'s subagent shape. - **The brief requires the `Closes on promotion:` line** in the pull request body, listing exactly the issues this group fixes. A worker never reads this skill, and `drive-pr` does not ask for the line. So a brief that omits it produces a pull request nothing can derive a closing set from. + On an operational-model repository the brief also requires a `Reopens on promotion:` line where + the group undoes a fix already in the range. Without it the promotion closes an issue whose fix + the range no longer holds. It also has the worker draft that body, and each rewrite of it, in a file named for its branch. Workers sharing a scratch directory and one file name each publish the other's draft. +- **The brief asks the worker to report every owed action its change creates**, apart from its + review findings. An owed action is a step outside the diff, usually the maintainer's, without + which a machine or the fleet stays inconsistent once the change merges. Examples are a migration + script, a live `configure.sh apply`, a first live run, and a fleet resync. The worker names, + for each, whose step it is, any promotion or release it waits on, and each step's command in order. It also writes each under a fixed `## Owed actions` heading in its + pull request body before merging, which "Bounding the Wait on a Worker" reads back. That heading + only carries an action, since a `Closes on promotion:` line still closes its source issue. "The + Round" step 5 says how each one is held. Review findings stay `pr-review-conduct` outcome 4's, and this changes + nothing about them. - **The brief names the files this group owns and the files it must not touch.** A subagent never reads this skill, so a claim it was never given is a claim it cannot respect. State this group's claimed set, and state that any other group's file is out of bounds. Also state the duty that @@ -409,7 +512,7 @@ Brief on `AGENTS.md` "Context and Delegation Discipline"'s subagent shape. installed skills need not match develop, since some installs snapshot promoted `main`. So a rule merged to develop during the run may not reach it. In the hub, the brief tells the worker to read each fleet skill from develop as it invokes it. That covers any reference file it links. - The read is `git fetch origin develop && git show origin/develop:.agents/skills/ / `, + The read is `git fetch origin develop && git show "origin/develop:.agents/skills/ / "`, in place of the installed copy. The orchestrator reads the skills it applies the same way at each round's start. Reading develop rather than the worker's own tree also covers a worker on an older branch, such as a resumed group. A downstream repository has no such gap, since its skills come from the hub. @@ -425,10 +528,13 @@ that concurrently mutate one shared checkout, which `GOVERNANCE.md` "Repository Write Safety" forbids. So the whole procedure moves to the orchestrator. -It runs the procedure against the base clone at the round's cleanup step, while no worker is live in a tree it touches. +It runs the procedure against the base clone as each group's worker ends, per "The Round" step 6. +It runs it while no worker is live in a tree it touches. It carries the remote half of `drive-pr`'s post-merge cleanup too. -For a merged group both halves are one command, `uv run --no-project --script scripts/pr_review.py cleanup --repo / --checkout `. -It is run from a hub checkout once for each merged group, ` ` being the repository's primary clone. +For a merged group both halves are one command, `uv run --no-project --script scripts/pr_review.py cleanup " " --repo " / " --checkout ~/repos/" "`. +Spell every `scripts/pr_review.py` call this skill prints as `pr-review-conduct` "Expected review loop" says. +The command is run from a hub checkout once for each merged group, `~/repos/ ` being the repository's primary clone. +That path is the convention layout, and a machine not yet migrated passes its actual primary clone instead. It deletes the remote branch, then removes the group's worktree and local branch, per `repo-worktree` "Listing and Cleanup", which also says what its exit leaves to do. Taking that step from the worker without naming a new owner would leave a live remote branch behind every group. `cleanup` holds the delete's checks, among them the tip against the pull request's `headRefOid`. @@ -441,9 +547,10 @@ A group told to abandon its branch keeps a registered worktree until something r That worktree holds a live claim that would collide with the very group the next round re-forms for the same issue. For a merged group the procedure is deferred rather than changed: `repo-worktree`'s verify-before-removing and prove-the-cleanup steps run unchanged, just later and in one seat. A merged group that worked in a standalone clone is checked before anything is deleted, since `cleanup` sees only the base clone's registered worktrees. -The orchestrator confirms the clone the worker reported or recorded is clean and its branch tip is at the pull request's `headRefOid` or behind it. +The orchestrator confirms the clone the worker reported or recorded is clean by `repo-worktree` "Listing and Cleanup"'s hand-removal read. +It also confirms the clone's branch tip is at the pull request's `headRefOid` or behind it. `repo-worktree` "Listing and Cleanup" accepts both, since a GitHub "Update branch" merge leaves a tip behind it that holds nothing the merge lacks. -After `git -C fetch origin `, `git -C merge-base --is-ancestor refs/heads/ ` exits `0` in both cases. +After `git -C " " fetch origin " "`, `git -C " " merge-base --is-ancestor "refs/heads/ " " "` exits `0` in both cases. Where either confirmation fails, nothing is deleted and the group is stopped for the maintainer per "Raising a Blocked Question". Where both hold, `cleanup` runs as for any merged group and deletes the remote branch. The orchestrator then removes the clone, per `repo-worktree` "Listing and Cleanup". @@ -451,8 +558,8 @@ The orchestrator then removes the clone, per `repo-worktree` "Listing and Cleanu **Retiring a worktree and deleting its branch are two dispositions with two tests.** Citing one for the other is how a removal that discards nothing gets routed to the maintainer. It is also how a removal that discards commits gets waved through. Retiring a worktree alone, the branch left -standing, risks only what is uncommitted in it. A clean tree is the whole test, and the branch's -own contents do not enter it. A tree that is not clean is left exactly as it stands while the +standing, risks only what is uncommitted in it. A tree clean by `repo-worktree` "Listing and +Cleanup"'s hand-removal read is the whole test, and the branch's own contents do not enter it. A tree that is not clean is left exactly as it stands while the group is stopped for the maintainer per "Raising a Blocked Question". Deleting the branch as well risks what is committed, so it carries whichever branch check the group's state calls for. That is `repo-worktree`'s verify-before-removing for a group whose pull request merged. It is the no-merge @@ -468,7 +575,7 @@ abandon its branch reports its worktree path and ends without discarding anythin orchestrator waits until the dispatch mechanism reports that the worker has ended, per "Bounding the Wait on a Worker". It then reads a live `git worktree list --porcelain` for a linked worktree, an entry other than the first, whose `branch` line names the claimed branch. Where one exists, it -runs `git -C reset --hard` and then `git -C clean -fd`, ` ` being that entry's +runs `git -C " " reset --hard` and then `git -C " " clean -fd`, ` ` being that entry's `worktree` line. It discards nothing in any other tree. Where none exists and the worker reported or recorded no standalone clone, nothing is discarded and the group is stopped for the maintainer per "Raising a Blocked Question". A standalone clone follows the clone paragraph below. The @@ -477,32 +584,32 @@ branch's commits stay for the branch check below. An abandoned group, and a dead worker's clean tree, have no merged pull request for `repo-worktree`'s verify-before-removing step to read. So that step gives way here to a check of what it exists to establish, that nothing unmerged is being thrown away. -The orchestrator records the local tip with `git rev-parse refs/heads/ `. -After `git fetch origin develop`, `git merge-base --is-ancestor refs/remotes/origin/develop` must exit `0`, and the worktree must be clean. +The orchestrator records the local tip with `git rev-parse "refs/heads/ "`. +After `git fetch origin develop`, `git merge-base --is-ancestor " " refs/remotes/origin/develop` must exit `0`, and the worktree must be clean by `repo-worktree` "Listing and Cleanup"'s hand-removal read. Where both hold, the worktree and local branch are removed by hand, since `cleanup` needs a merged pull request to read. -The removal is `git worktree remove `, then `git update-ref -d refs/heads/ `. +The removal is `git worktree remove " "`, then `git update-ref -d "refs/heads/ " " "`. That delete refuses only where the branch has moved off the tip the is-ancestor check judged, so it discards nothing that check did not clear. `git branch -d` would not agree with that check, since it judges a branch with no upstream against `HEAD`, and the fetch does not advance local develop. -Where `git config --get-regexp '^branch\. \.'` prints anything, `git config --remove-section branch. ` then removes the tracking `git branch -d` would have removed. +Where `git config --get-regexp '^branch\. \.'` prints anything, `git config --remove-section "branch. "` then removes the tracking `git branch -d` would have removed. A refusal stops the group for the maintainer per "Raising a Blocked Question". Where the branch was never pushed, the orchestrator records the release once both succeed. -It edits the group's claim comment, and the issue returns to the next round's ranking. +It edits the group's claim comment, and the issue returns to the ranking. Where it was pushed, the orchestrator also deletes the remote branch, since `cleanup` needs a merged pull request to read. That is the one remote delete this skill types by hand. The delete runs only where two more checks hold. -The remote tip, read live with `git ls-remote --exit-code origin refs/heads/ `, equals the recorded tip. +The remote tip, read live with `git ls-remote --exit-code origin "refs/heads/ "`, equals the recorded tip. And no open pull request uses the branch as its head or its base. -`gh pr list --head --state open --json number --jq length` prints `0`, and so does the same command with `--base`. -The delete is `git push origin --delete `, an outward-facing write bound by `GOVERNANCE.md` "Repository Boundaries and Write Safety". +`gh pr list --head " " --state open --json number --jq length` prints `0`, and so does the same command with `--base`. +The delete is `git push origin --delete " "`, an outward-facing write bound by `GOVERNANCE.md` "Repository Boundaries and Write Safety". So it names the exact branch, takes every identifier from a live read, and keeps its output unsuppressed. -The orchestrator then reads the ref back with `git ls-remote --exit-code origin refs/heads/ `, and only its exit `2`, no matching ref, confirms the delete. -Only after that confirmation is the release recorded on the claim comment, and the issue then returns to the next round's ranking. +The orchestrator then reads the ref back with `git ls-remote --exit-code origin "refs/heads/ "`, and only its exit `2`, no matching ref, confirms the delete. +Only after that confirmation is the release recorded on the claim comment, and the issue then returns to the ranking. Where any check fails or the delete is not confirmed, the claim is kept and the group is stopped for the maintainer per "Raising a Blocked Question". Where a confirmation fails for an abandoned group, cleanup stops there and the group is stopped for the maintainer. That stop is per "Raising a Blocked Question", since past that point removal discards work. A dead worker's clean tree whose branch fails the check is retired alone instead, per "Bounding the Wait on a Worker". Where a pushed branch still heads or bases an open pull request, what goes to the maintainer names that pull request. -A worker still live, a promotion fix included, keeps its worktree until the next round's cleanup step. +A worker still live, a promotion fix included, keeps its worktree until it ends and its group's cleanup runs. **A standalone clone holds its branch alone**, since the base clone does not register it. So the base-clone commands above do not reach it, and deleting the clone deletes its local branch too. @@ -510,12 +617,12 @@ The orchestrator finds it under the temporary root the brief named, by the recor run that named another root cannot find it, so its group goes to the maintainer. The abandoned-worker discard above does not run there, so a dirty abandoned clone goes to the maintainer. -The clone must be clean, and its tip is read with `git -C rev-parse refs/heads/ `. +The clone must be clean by `repo-worktree` "Listing and Cleanup"'s hand-removal read, and its tip is read with `git -C " " rev-parse "refs/heads/ "`. A clone retired alone, its branch left standing, also needs that tip to equal the remote tip, read -live with `git -C ls-remote --exit-code origin refs/heads/ `. The remote then holds the +live with `git -C " " ls-remote --exit-code origin "refs/heads/ "`. The remote then holds the only copy of the branch. A clone removed with its branch and no merged pull request instead needs -`git -C merge-base --is-ancestor refs/remotes/origin/develop` to exit `0` after -`git -C fetch origin develop`. Its branch, where pushed, then takes the abandoned-group +`git -C " " merge-base --is-ancestor " " refs/remotes/origin/develop` to exit `0` after +`git -C " " fetch origin develop`. Its branch, where pushed, then takes the abandoned-group remote checks, delete, and confirmation above first. Where the checks hold, the orchestrator then deletes the clone's exact directory, per `repo-worktree` "Listing and Cleanup". It also removes the recorded name from the claim comments. A clone removed with its branch and no merged pull request @@ -557,12 +664,14 @@ is met here. A worker reports merged, parked, stopped, or handed back for review. A worker that reports nothing at all needs a bound. Its silence looks exactly like slowness, and dying mid-drive is ordinary here. -The bound is a state read rather than a clock. When the other workers in the round have reported, +The bound is a state read rather than a clock. Wait until every other worker dispatched no later than +the silent one has reported or is confirmed gone, as below. Then read the silent worker's branch and pull request directly, with `git log` on that branch and -`gh pr view `. Pass the branch as that command's positional argument, since a +`gh pr view " "`. Pass the branch as that command's positional argument, since a bare `gh pr view` resolves the pull request of whatever branch the caller is standing on. It never resolves the worker's. Let what they show decide. A pull request that is merged means the worker -died after doing the work. The group is then finished. +died after doing the work. The group is then finished. Finishing it includes reading that pull +request's `## Owed actions` heading and holding each action listed there per "The Round" step 5. Anything else needs one thing established before anything is touched: whether that worker is gone or merely slow. No git read answers that, and the two call for opposite actions. So the answer @@ -573,11 +682,12 @@ that is. Waiting costs a round's latency and guessing costs another task's uncom Once the worker is confirmed gone, its worktree decides what follows. A standalone clone recorded on the claim comment is that worktree, retired or removed per "Cleanup Is the Orchestrator's". Where that fails, the group stops there and no fresh worker is dispatched. +A worktree is judged clean or dirty by `repo-worktree` "Listing and Cleanup"'s hand-removal read. **A clean one** is cleaned up as an abandoned group's is, per "Cleanup Is the Orchestrator's". That procedure confirms the branch carries no commit that is not already on develop before anything is removed. A worker that committed its fix and then died leaves a clean tree standing over commits develop has never seen. So that check is what separates the two. It holds, and once that procedure releases the claim, -the issue returns to the next round's ranking to be dispatched on a new branch. It +the issue returns to the ranking to be dispatched on a new branch. It fails, and the branch holds the dead worker's work. So the worktree alone is retired, per "Cleanup Is the Orchestrator's". The branch, its claim, and any pull request it heads stay standing. A fresh worker is then dispatched on that same branch to finish the drive, in the dead @@ -610,17 +720,18 @@ rather than a decision. - **The question is also written on its issue, and so is the answer**, so both survive the session that asked it. - **A stopped group keeps its branch and its claim.** Its worktree is left exactly as it stands while the question is open, since the answer may be that the work in it continues. Say in the - prompt whether that worktree holds uncommitted work. For a standalone clone, say also whether its + prompt whether that worktree holds uncommitted work, by `repo-worktree` "Listing and Cleanup"'s + hand-removal read. For a standalone clone, say also whether its tip equals the remote tip, and that pushing the branch is the maintainer's. That is because what becomes of it is part of what is being asked, rather than something to settle while waiting. - **Resuming retires that worktree first, then dispatches a fresh worker.** Git refuses to attach a branch already checked out somewhere, per `repo-worktree`. So a fresh worker cannot take the branch while the stopped tree holds it. Once the answer is in, remove that worktree if it is - clean. Otherwise apply what the answer said about its uncommitted work, then remove it. A + clean by `repo-worktree` "Listing and Cleanup"'s hand-removal read. Otherwise apply what the answer said about its uncommitted work, then remove it. A standalone clone draws no such refusal and is retired all the same, so two checkouts never hold one branch. It is retired per "Cleanup Is the Orchestrator's", once its tip equals the remote - tip. Only then dispatch. This is the + tip. Only then dispatch, into a slot per "The Round" step 6. This is the same retire-then-dispatch shape "Bounding the Wait on a Worker" uses, and no worker ever inherits another's tree. @@ -675,11 +786,11 @@ the issues it fixes in a `Closes on promotion:` line in its own commit message, yields by handing the file over. A holder that already pushed and has an open pull request yields by having that pull request wait, its branch untouched. It also yields by the promotion fix taking the file, since the two must not be in flight on one file at once. Once the fix - lands, that pull request waits untouched until the freeze lifts. Reconciling its content is the + lands, that pull request waits untouched until the next round dispatches. Reconciling its content is the next round's worker's job rather than the orchestrator's, which opens no branch and edits nothing. The orchestrator retires that group's worktree, the branch and its pull request left standing. That is the worktree-only disposition "Cleanup Is the Orchestrator's" separates out, - and the retire-then-dispatch shape "Raising a Blocked Question" uses. The orchestrator then + and the retire-then-dispatch shape "Raising a Blocked Question" uses. That next round dispatches a fresh worker on that same branch. That worker is briefed either to merge develop in to pick the fix up, or to narrow the change to drop the file. Never rebase it, since its branch is already pushed and a rebase there needs what `GOVERNANCE.md` "Git and Commit Rules" forbids. @@ -704,13 +815,17 @@ two hops. First, for each commit in `origin/main..origin/develop`, freshly fetched, read the pull request that merged it into develop: ```sh -gh api repos/ / /commits/ /pulls --jq '.[] | select(.merged_at != null and .base.ref == "develop") | .number' +gh api "repos/ / /commits/ /pulls" --jq '.[] | select(.merged_at != null and .base.ref == "develop") | .number' ``` Then read each pull request it prints for its `Closes on promotion:` line. That is the line "Grouping and File Claims" requires every feature pull request to carry and every worker brief to ask for. A commit it prints nothing for is a direct push. Read that commit's own message for its -line instead. A read that exits non-zero stops the assembly and is reported. +line instead. On an operational-model repository, also read the same places for a +`Reopens on promotion:` line, which a change undoing a fix carries there per `GOVERNANCE.md` +"Operational Repositories". Leave out each issue such a line names, unless a later change in the +range names it on a `Closes on promotion:` line again. A read that exits non-zero stops the +assembly and is reported. **That line exists because the set has to be stated rather than inferred**, distinct from any issue a body merely mentions. A body routinely references an issue it does not fix, the deferral @@ -730,6 +845,22 @@ from a read of the body made immediately before the write, keeping every line th Then read the body again, and repeat the amendment where it lacks a `Fixes` line a freshly fetched range calls for. Checking the whole set rather than only this amendment's own lines is what restores a line another session's write dropped. +On an operational-model repository, a `Reopens on promotion:` line can land in the range during the +freeze. Where it names an issue the body holds a `Fixes` line for, put that line to the maintainer +rather than editing it. A seat cannot tell that line from one added by hand for a change that left +its own line out. + +**Before the promotion pull request opens, hold every owed action in that range.** Read the +`## Owed actions` heading of each pull request the range read above printed. Where no +`**Owed action:**` issue, open or closed, names an action and that pull request, file one. File it as "The Round" step 5 does, without its walk-through offer. A closed one already holds the action, so a rerun never files it twice. An action already done is filed all the same, under step 5's comment rule, since a missed action is lost. A promotion worker returns each issue it files in its outcome. That issue says +whose step it is, any promotion or release it waits on, and each step's command in order. This +catches a worker that merged after the run stopped collecting it. That worker's own `Closes on promotion:` +line closes the source issue, and the new issue is the independent holder, so nothing else would then hold the action. +Run it again whenever the range changes after the pull request opens, a freeze fix included. + +Run the mechanical closing-set check that `branching-and-release-model` states in its +negated-keyword bullet, at each point that bullet names. A body naming a deferral issue +in a sentence that negates a keyword still closes that issue, and reading the body misses it. ## Away Mode @@ -765,6 +896,12 @@ merge to main with no release never exercises artifact creation. rule assumes no other run is live and no attended session works a parked group's issue. So the maintainer starts an away run only once any earlier run has ended and no such attended work is in flight. +- **An away run gains nothing from a session on `highest`.** The lean orchestrator below reads no + issue, diff, or thread. Its planner and workers run at the tiers this skill names, whatever the + session's own. So `highest` there buys only a dearer dispatcher, and an away run is launched at + `frontier`. An attended run is the one a stronger session improves, since there the orchestrator + ranks, groups, and chooses each tier itself. A session on `highest` asked for an away run says + this once, before its first dispatch, and then runs as asked. ### Needs the Maintainer @@ -788,7 +925,8 @@ and a guess costs a revert and a review round. - **It waits on the maintainer already.** It carries the `decision` label, or a comment asks the maintainer something still unanswered. - **The fix reaches past the repository's tree.** It changes a repository setting, a ruleset, - visibility, a secret, or a release condition. Or it needs a credential, an account, or a host + visibility, a secret, or a release condition. Or its remaining work lies in a repository under + another owner, whose writes need the maintainer's permission. Or it needs a credential, an account, or a host the session lacks. - **The fix edits anything under the hub's `host-setup/agent-safety/`.** That tree is the agent's own guard, so a human approves every change to it. An approval on the issue lets an attended @@ -809,10 +947,12 @@ issue for one undecided item is the failure this rule exists to prevent. These are not reasons an issue needs the maintainer, and a report never counts them as such. An issue that is `blocked` on another issue waits on that issue. One that needs a platform, by the -test `session-handoff` "The Chain" states, waits on that platform's lane. One that another group +test `session-handoff` "The Chain" states, waits on that platform's lane. One whose remaining work +lies wholly in another repository under the same owner waits on work there. One that another group or pull request holds waits on that work. One carrying `canonical-sweep` belongs to the workflow that owns it. One carrying `deferred` has its answer already, which is "not yet", and waits on the -condition its answer comment states. A handoff link carrying the `handoff` label is not an issue +condition its answer comment states. An `**Owed action:**` issue is one an account with write +access opened, its body opening with that marker. It waits on the step it names, per `backlog-burndown` "Ranking". A handoff link carrying the `handoff` label is not an issue of its own. @@ -843,23 +983,36 @@ subagents and holds only what they return. undetermined outcome, a settled decision, or an unrequested rule, the planner files it as `decision`. It comments the question there, unless the issue already carries the label. It returns the round plan: each group's issues, branch, claimed files, and tier, then each held-back - issue with its reason. It also names each `deferred` issue it lifted. A promotion fix comes first, and a group resuming parked work names the + issue with its reason. It also names each `deferred` issue it lifted. A planner stopping short of + a plan still returns each claim comment it wrote. A promotion fix comes first, and a group resuming parked work names the parked worktree. 2. **Retire each parked worktree a resuming group names**, before dispatching its worker. Git - refuses to attach a branch another worktree holds, per `repo-worktree`. Remove a clean tree with - `git worktree remove `, leaving its branch standing. That command errors on a + refuses to attach a branch another worktree holds, per `repo-worktree`. Remove a tree clean by + `repo-worktree` "Listing and Cleanup"'s hand-removal read with `git worktree remove " "`, leaving its branch standing. That command errors on a standalone clone, which takes the retire-alone checks of "Cleanup Is the Orchestrator's" instead. Leave a dirty tree, or a clone failing those checks, exactly as it stands. Keep its group parked, and name it in the report. Only the maintainer disposes of another task's uncommitted work. -3. **Dispatch the group workers** per "Dispatching a Worker", each brief built from the group's - line. Each brief also states the park duty below and the comment rule above. A group worker - drives to develop and ends there, whatever the scope. +3. **Dispatch the group workers** per "Dispatching a Worker", each brief built + from the group's line. Each brief also states the park duty below and the comment rule above. + The scratchpad check in "The Round" step 6 applies to each dispatch. + A group worker drives to develop and ends there, whatever the scope. 4. **Collect each worker's one-line outcome**, bounding the wait per "Bounding the Wait on a - Worker". A worker that hands back for review is continued per "The Round" step 5. Dispatch the + Worker". Collect a merged worker's owed actions too. Hold each per "The Round" step 5. + Since this orchestrator reads no issue body, it files an issue for each one. A worker that hands back for review is continued per "The Round" step 5. Dispatch the reviewer, record the pass per `local-strict-review` "Running It", and continue the same worker. - The orchestrator reads only the reviewer's findings and the record's exit. -5. **Clean up** per "Cleanup Is the Orchestrator's". Each command there is one call whose exit and + The orchestrator reads only the reviewer's findings and the record's exit. **The slot a worker + frees is refilled** per "The Round" step 6, once step 5 below has run for its group. Dispatch a + planner that runs orchestrator step 1 for the free slots, without the net-flow count. Dispatch + one for each worker that ends. Once this round has dispatched eight groups, dispatch one only + while a group this round stopped or parked has not resumed. Such a group needs no place among + the eight, and no other group can take a slot. The planner's brief names each group this round dispatched. It marks each whose worker has not yet ended and each that stopped or parked and + has not resumed. It + names no file set. The planner reads each group's current set from its claim comment, which + holds any grown set granted since the plan. One refill planner runs at + a time, and none starts while a dispatch is pending. While one runs, a grown set a worker reports and a group's cleanup + each wait for it to return. So every claim is written from a current read. Then dispatch each group's worker per steps 2 and 3. +5. **Clean up** each group as its worker ends, per "Cleanup Is the Orchestrator's". Each command there is one call whose exit and status line are all the orchestrator reads. 6. **Promote** per "Promoting" below. 7. **Record the round's report** in working notes, per "Run State", and start the next round. @@ -887,6 +1040,8 @@ a state of the session rather than of any issue, so the orchestrator handles it condition, and one leaving unclear whether a subagent started. It also covers a dispatch still failing after its third wait, and a timer that cannot start. The final message names the seat whose dispatch failed and the error its last attempt returned. +- **Once the run is ending, a failed dispatch takes neither path above.** "Ending an Away Run" + says what becomes of it. ### Parking Instead of Asking @@ -984,27 +1139,48 @@ group's pull request merges, the worker ends the track with `close`, per `sessio The run ends at the first of these, each an ending of its own: -- A re-rank finds nothing it can act on. +- A round's opening ranking finds nothing it can act on. - The round cap is reached. - A dispatch fails, per "A Dispatch That Fails". - A condition every later round would meet. Examples are a missing label, an exhausted reviewer allowance, a refused push or merge, and a read the planner cannot make. - The session ends. -The final message is the report "Ending the Run" describes, with every held-back issue under the +Every ending but the session's own first drops every waiting dispatch retry and stops its timer. +From then, a dispatch that fails is not retried and ends nothing. That holds for a reviewer and +for continuing a handed-back worker alike. The ending names that worker as uncollected, leaves its +branch and claim as they stand, and goes on. It names a worker whose dropped retry it needed the +same way. Where the error left unclear whether the dispatch started, it marks that seat as one +that may be live. Every ending but +the session's own and a dispatch failure then collects each worker still in flight. It cleans up each such +group per "The Lean Orchestrator" steps 4 and 5, and refills no slot. Such an ending also waits +for a refill planner still running. An ending releases no claim it did not clean up. "Grouping and File Claims" +counts no claim in flight that has neither a branch nor a live worker. Every ending but +the session's own names each claim the run recorded for a group with no outcome. It also names +each planner that ended returning nothing, since the claims it wrote are unknown. A run ended by a +dispatch failure names each worker and any refill planner still in flight, the claims such a +planner writes being unknown. Where its error left unclear whether the failed dispatch started, it +marks that seat as one that may have. Where that seat was a planner, its claims are unknown too. The final message is the report "Ending the Run" describes, with every held-back issue under the reason that holds it back. **Only what needs the maintainer is reported as needing the -maintainer.** That is an open `decision` issue, a group parked on one, and a parked dirty tree. It +maintainer.** That is an open `decision` issue, a group parked on one, and a parked dirty tree. +It is also a worker named as uncollected, since no later run resumes its group. Where such a worker +merges later, its owed actions sit under its pull request's `## Owed actions` heading. +Where this skill assembles the next promotion, that assembly files each as an `**Owed action:**` issue, per "Assembling the Promotion Body". +A promotion opened elsewhere, or already open when such a worker merges and not reassembled once no run remains, files none. The report names the worker so the maintainer can read that heading. It is also a +missing or wrong shared git hook a worker reported, per `repo-worktree` "Preparing Git Hooks". It also covers an issue held back for a setting, a credential, a host, or the agent-safety tree, reported as needing the maintainer present. An outsider's issue awaiting acceptance is reported -as needing the maintainer to accept it. Each other reason is named as itself, never as a -decision. Those are `blocked` on another issue, needs a platform, held by an open group or pull -request, awaiting promotion, and `deferred`, given by count. A held promotion is named too, with each `decision` issue holding +as needing the maintainer to accept it. Work in a repository under another owner is reported as +needing the maintainer's permission for the write there. Each other reason is named as itself, never as a +decision. Those are `blocked` on another issue, needs a platform, any other work in another +repository, and an owed action. They are also held by an open group or pull request, awaiting promotion, and +`deferred`, given by count. A held promotion is named too, with each `decision` issue holding it. An ending that cannot dispatch a promotion worker the run owes is named too. A run ended by a dispatch failure does not attempt one, since the same harness error would meet it. A session ending on a context limit has no room to run one. The final message says that worker did not run, and names any open promotion pull request. The report gives the count of open `decision` issues and names each by number. It names `decision-triage` as where they get answered. It asks nothing. ## Run State - **Working notes outside the repository hold the round**: the ranking, the working groups, the - tier choices, and the worker assignments. A scratch file the harness gives a session serves + tier choices, the worker assignments, and the outcomes. A scratch file the harness gives a session serves where there is one. Any note kept out of the tree serves where there is not. It is the in-flight session state `GOVERNANCE.md` "Durable Knowledge and Self-Improvement" describes, and nothing about it is committed. @@ -1019,7 +1195,7 @@ it. An ending that cannot dispatch a promotion worker the run owes is named too. The run ends at one of the points below, and they are different endings. -- **The backlog is worked out**, meaning a full re-rank finds no open issue this skill can act on. +- **The backlog is worked out**, meaning a round's opening ranking finds no open issue this skill can act on. That differs from zero open issues, since a backlog of nothing but maintainer questions and issues whose blockers still stand is a finished run. Report it as finished, with the questions put to the maintainer. @@ -1030,7 +1206,8 @@ The run ends at one of the points below, and they are different endings. continuing. Report at every round boundary and at each ending. Say what merged to develop, what the promotion -pull request carries, and what was newly filed. Give the net-flow counts "The Round" step 8 +pull request carries, and what was newly filed. List each owed action with the issue holding it, +open or closed. Give the net-flow counts "The Round" step 8 measures. Say what is stopped and on which question, what was held back and on which blocker, and what the next round would pick. @@ -1046,7 +1223,7 @@ A rule, a Skill, or a brief names a model tier, never a model. A model release i - **`frontier`** is the fleet's default reasoning tier, for orchestrating, rule text, design, spec logic, and adversarial review. It is not the most capable model available, which is `highest`. - **`standard`** is ordinary implementation and driving a pull request. Judging a review finding is never mechanical, however often it repeats, so it runs at `standard` or above. A `standard` driver's evidence-backed decline of a finding raised on its pull request stands, since that pull request's reviewers and its merge gate check it. - **`bulk`** is the cheapest model that does the work correctly. It is for high fan-out mechanical work, such as an extraction or a status check. -- **`highest`** is the most capable model available, and only the maintainer selects it. The maintainer chooses it for the session itself, or allows it for the session's subagents at launch. The host's agent-safety kit reads that launch setting, `FLEET_ALLOW_HIGHEST=1` on Claude Code. Naming the tier in a prompt does not set it. A maintainer naming it partway through a session restarts the session with it allowed, and an agent never sets it. Without that setting, the kit refuses a dispatch that names it. A dispatch naming no model runs at its agent definition's model where one is set, and otherwise at the session's own. A fork always runs at the session's model, whatever it names. So a session launched on `highest` names a tier on every dispatch meant to run below it, and uses no fork for such work. A session never reaches for it because a task looks hard. +- **`highest`** is the most capable model available, and only the maintainer selects it. The maintainer chooses it for the session itself, or allows it for the session's subagents at launch. The host's agent-safety kit reads that launch setting, `FLEET_ALLOW_HIGHEST=1` on Claude Code. Naming the tier in a prompt does not set it. A maintainer naming it partway through a session restarts the session with it allowed, and an agent never sets it. Without that setting, the kit refuses a dispatch that names it. A dispatch naming no model runs at its agent definition's model where one is set. Otherwise it runs at the default the host's agent-safety kit sets, which is the `frontier` model. On a host without the kit it runs at the session's own. That default does not reach every agent type a tool builds in. On Claude Code the `Explore` and `Plan` types still take the session's model, so the kit refuses a dispatch of either that names no model. A fork always runs at the session's model, whatever it names. So a session launched on `highest` names a tier on every dispatch meant to run below it, and uses no fork for such work. The kit's default is a backstop for a dispatch that forgot its tier, never a reason to leave one out. A session never reaches for it because a task looks hard. | Tool | `highest` | `frontier` | `standard` | `bulk` | | --- | --- | --- | --- | --- | @@ -1055,7 +1232,7 @@ A rule, a Skill, or a brief names a model tier, never a model. A model release i Each cell is the name that tool's subagent dispatch takes, which follows the latest model of its family. A dispatch on a tool with no row here, or on one that cannot name a model per subagent, names no model. - **A tier resolves only through this table.** A word such as "frontier", "strongest", or "most capable" never resolves to `highest`. The industry's "frontier model" is the opposite of what this tier means here. A session that cannot see this table names no model rather than guessing one. -- **An orchestrating seat runs at `frontier` and names a tier on every dispatch.** It defaults a subagent to `frontier`, and picks `standard` or `bulk` deliberately for execution or mechanical work. +- **An orchestrating seat runs at `frontier`, or at `highest` where the maintainer chose that for the session, and names a tier on every dispatch.** It defaults a subagent to `frontier`, and picks `standard` or `bulk` deliberately for execution or mechanical work. diff --git a/.github/skills/branching-and-release-model/SKILL.md b/.github/skills/branching-and-release-model/SKILL.md index 68b33c2..b657507 100644 --- a/.github/skills/branching-and-release-model/SKILL.md +++ b/.github/skills/branching-and-release-model/SKILL.md @@ -49,19 +49,49 @@ rather than guessing from the repo's contents. GitHub's web-flow key. - **`develop` is forward-only, with no `main -> develop` back-merges.** The `develop` ruleset's squash-only setting physically blocks merge commits on `develop`. Any historical back-merge - commits in `git log` predate this rule and must not be repeated. + commits in `git log` predate this rule and must not be repeated. A change such as a hotfix can land on `main` + outside the feature -> `develop` -> `main` flow. Such a change reaches `develop` by a feature + pull request of its own. To catch one before starting work, run + `git diff origin/develop origin/main` after `git fetch origin`. Its `+` lines are candidates, + and which ones to mirror is judgment. + `git log origin/develop..origin/main` is no substitute, because every promotion merge and every + `main`-direct bot commit lists there too. - **Never delete `develop`, and take the EOL-only conflict by taking develop's side.** A promotion PR's head *is* `develop`, so `--delete-branch` deletes it. An EOL-only conflict on a workflow YAML file resolves on a throwaway branch off `main`, not on `develop`. Full recovery and conflict-resolution commands: `references/branch-protection-and-promotion.md`. - **A merge or release ends with worktree cleanup and the base clone on current `develop`.** Run the `repo-worktree` post-merge procedure after a feature squash merge. Run it again after a promotion or release completes, unless the user explicitly asks to retain a checkout or branch. Remove finished task, conflict-resolution, installer, and release helpers. Never delete `develop`, and never leave the base clone on `main` merely because `main` was promoted or released. -- **Issue-closing keywords (`Closes #N`, `Fixes #N`) go in the `develop -> main` promotion PR, not - the feature -> `develop` PR.** GitHub auto-closes an issue only when the closing keyword merges - into the **default branch** (`main`), so a feature -> `develop` PR merge never fires it. - Reference the issue in the `develop` PR body if useful, but the actual closing keyword belongs on - the promotion PR. Closing by hand is the ordinary route wherever the keyword cannot fire. Cases include a +- **Issue-closing keywords (`Closes #N`, `Fixes #N`) go in the `develop -> main` promotion PR's + body, and nowhere else.** The keywords are `close`, `closes`, `closed`, `fix`, `fixes`, `fixed`, + `resolve`, `resolves`, and `resolved`. Each closes the issue it directly precedes once the text + holding it reaches the **default branch** (`main`). A feature -> `develop` PR targets another + branch, so it registers no closing reference itself. Its squash commit's message is still what + the repository's squash setting composes, read live with + `gh api "repos/ / " --jq .squash_merge_commit_message`. Where that reads `PR_BODY`, as + it does in the hub, the PR body becomes the commit message. So a `Fixes #N` in that body lands + on `develop` and closes #N when the promotion brings the commit to `main`. That holds whatever + the promotion body says. A direct-push commit message on `develop` behaves the same way. So a + feature PR body or a direct-push commit carries no closing keyword. It names the issues it fixes, + where it names them, in the inert `Closes on promotion: #N, #M` line. The promotion PR's body + carries one closing keyword per issue those lines name. In an operational repository that line + is required, as "Operational repositories (the complete delta)" below sets. That delta also lets + a rollback's `Reopens on promotion:` line take an issue out of the promotion body. Closing by hand is the ordinary route wherever the keyword cannot fire. Cases include a promotion that already merged without it, or completed work with no promotion imminent. Closing by hand is not a repair for a botched promotion. Cite the squash SHA and re-read that commit before closing. +- **A closing keyword fires inside a sentence that negates it.** GitHub matches the keyword and + the reference alone, with at most a colon between them, and reads no other word. So each of + `does not fix #N` and `narrowed rather than closed: #N` closes its issue. Where text names an + issue it leaves open, keep every keyword away from the reference, as in `#N stays open`. Reading the + text misses this. So check a promotion PR mechanically after opening it and after each body + amendment. Check it again when reporting it ready and before merging it, since a merge into + `develop` moves the range. + Compare the set + `gh pr view " " --repo " / " --json closingIssuesReferences --jq '[.closingIssuesReferences[].number]'` + prints with the intended set. Then scan the range's commit messages, since a keyword there closes + its issue at the promotion merge too: + `git log --format=%B origin/main..origin/develop | grep -n -i -E '\b(close[sd]?|fix(e[sd])?|resolve[sd]?):?[[:space:]]+[[:alnum:]_./:-]*(#|/issues/)[0-9]'`, + run after `git fetch origin`. Each line it prints is a closure the promotion merge makes + whatever its body says. Name any unintended one in the promotion PR's ready report. - **Neither ruleset requires branches to be up to date before merging.** The reasons differ on each branch (a graph-based check that would fail every release on `main`, a check that stalls bot auto-merge on `develop`). Detail: `references/branch-protection-and-promotion.md`. @@ -136,10 +166,18 @@ stays the same: The host write guard allows the in-place commit only once the repository's `.github/agent-policy.json` on `main` lists `develop` in its `guard` section. The maintainer's merge to `main` therefore grants the exemption, and until then the guard denies it. -- **A direct push names the issues it fixes in its commit message**, as one line such as - `Closes on promotion: #N, #M`. The words `on promotion:` keep GitHub from reading the line as a closing keyword. The promotion - PR carrying the push puts a closing keyword in its own body for each issue the line names, per the - closing-keyword bullet above. Its body takes no closing keyword for a push without the line. +- **A change reaching `develop` names the issues it fixes in one line**, such as + `Closes on promotion: #N, #M`. A direct push writes the line in its commit message. A pull + request into `develop` writes it in its body. The promotion reads a merged pull request's line + from its body, never from its commits. The words `on promotion:` keep GitHub from reading the line as a closing keyword. The promotion + PR carrying the change puts a closing keyword in its own body for each issue the line names, per the + closing-keyword bullet above. Its body takes no closing keyword for a change without the line. + A change that undoes a fix not yet on `main` names that fix's issues in one + `Reopens on promotion:` line, written where a `Closes on promotion:` line would go. A rollback + committed as an ordinary change is one. The line is required because a rollback often carries + no revert marker for the range to show. The promotion body takes no closing keyword for an issue + that line names. Where the range names one issue on both lines, the line of the latest change + naming it decides. - **A PR into `develop` stays available, and CI runs on it, reported but not required.** Dropping the requirement permits the direct push. It does not withdraw the pull request, so a change worth reviewing takes one and both paths into `develop` are legitimate. @@ -153,7 +191,9 @@ stays the same: That would withdraw the allowance the model exists to give. - **The `main` promotion gate is unchanged.** The shared `main` ruleset still **enforces** the required `Check pull request workflow status job` on the `develop -> main` PR. For an operational - repo that check is lint/validation only, never unit tests. It is editorconfig/EOL plus a domain linter + repo that check is lint/validation, with unit tests only for a .NET test project or a Python suite + the validator runs. A test in the repo's own `.github/actions/validate/action.yml` hook counts too. + The check is editorconfig/EOL plus a domain linter such as a Home Assistant or ESPHome config validation. So `develop` stays the live surface and a broken config can never reach `main`. - **Release only by manual dispatch.** Operational repos carry `releaseTrigger: dispatch-only` and diff --git a/.github/skills/branching-and-release-model/references/branch-protection-and-promotion.md b/.github/skills/branching-and-release-model/references/branch-protection-and-promotion.md index ad3c111..2a0c05e 100644 --- a/.github/skills/branching-and-release-model/references/branch-protection-and-promotion.md +++ b/.github/skills/branching-and-release-model/references/branch-protection-and-promotion.md @@ -2,8 +2,8 @@ Full detail for the "Branching" rules in `SKILL.md`. Load this when configuring or reconstructing branch protection on a fleet repo, or when executing a `develop -> main` promotion. Also load it -when recovering a lost `develop`, resolving an EOL-only promotion conflict, or working on the -dual-target bot wiring (Dependabot, codegen, the merge-bot). It is not for an ordinary +when recovering a lost `develop`, cutting a conflicted promotion, the EOL-only case included, or +recovering a squash into `main`. Load it too when working on the dual-target bot wiring (Dependabot, codegen, the merge-bot). It is not for an ordinary feature-branch PR, which the SKILL.md summary covers. ## Configuring branch protection: don't hand-build the rules @@ -11,7 +11,7 @@ feature-branch PR, which the SKILL.md summary covers. From a hub checkout at `main`, create **exactly two rulesets named `develop` and `main`** from the hub's `repo-config/*.json` payloads. Use a hub checkout at `develop` instead while the repository's registry entry has merged there but not yet reached `main`. Run -`repo-config/configure.sh apply / release|operational` from that checkout. The names +`repo-config/configure.sh apply " / " release` (substitute `operational` for an operational repo) from that checkout. The names are load-bearing because governance content and workflows reference them. The registry `workflowModel` selects the `develop` payload for a registered repository. `apply` refuses a repository outside the registry, writing nothing. Once `apply` has created both rulesets, delete @@ -27,17 +27,28 @@ These traps were learned the hard way: exactly this reason) deletes `develop` itself. Merge a promotion with a plain `gh pr merge --merge`, no `--delete-branch`. If `develop` is ever lost this way, restore it to the merged PR's head SHA. That SHA is still reachable as the merge commit's second parent: - `gh api -X POST "repos/ / /git/refs" -f ref=refs/heads/develop -f sha="$(gh pr view --json headRefOid --jq .headRefOid)"`. + `gh api -X POST "repos/ / /git/refs" -f ref=refs/heads/develop -f sha="$(gh pr view " " --json headRefOid --jq .headRefOid)"`. - **Spurious EOL-only conflicts resolve by taking `develop`.** When `develop`'s `.editorconfig` line-ending default has changed while `main` hasn't caught up yet, `develop -> main` conflicts *whole-file* on every renormalized path. An example of that default changing is the fleet-wide CRLF-to-LF flip. `develop`'s `required_linear_history` plus PR rulesets forbid resolving on `develop` (no merge commit, no force-push). So resolve on a throwaway branch off `main`: `git checkout -b promote/develop-to-main origin/main && git merge origin/develop`. Take - `develop`'s side for the EOL-conflicted files (`git checkout --theirs `) **after + `develop`'s side for the EOL-conflicted files (`git checkout --theirs " "`) **after confirming each is content-identical modulo EOL, or that `develop` is a strict superset** (`diff <(git show ":2: " | tr -d '\r') <(git show ":3: " | tr -d '\r')`). Then open that branch into `main`. Verify no genuine `main`-only content is dropped (build/test where the repo supports it). +- **A conflicted promotion lands from a branch cut from `main` that merges `develop`.** The EOL-only case above is one instance. A bot bump that landed on `main` and `develop` separately, beside a line `develop` changed, is another. This procedure covers a `develop` that is a strict superset of `main`'s content. The steps: + 1. Run `git fetch origin`, then cut the branch in a worktree of its own: `git worktree add -b promote/develop-to-main " " origin/main`. Run `git merge origin/develop` there. + 2. Take `develop`'s side on each conflict only after the strict-superset check above shows `main` holds nothing `develop` lacks there. Stage each resolved file and commit the merge, so `HEAD` holds it. + 3. Confirm the merged tree equals `develop`'s before the push: `git diff origin/develop HEAD --stat` prints nothing. + 4. A path it prints holds content `develop` lacks. Redo a resolution that kept `main`'s side. Land genuine `main`-only content on `develop` through a feature pull request first. Then run `git fetch origin develop` and merge `origin/develop` again. + 5. Open the branch as the promotion pull request in place of the one headed by `develop`. Carry the superseded pull request's whole body, its closing set included. + 6. Carry its labels too, `comments` among them. Without that label, a local strict pass on the new head reports every comment line the feature pull requests landed as `comment-added`. + 7. Close the superseded pull request with a comment naming the new one. + 8. Land each later `develop` fix on the branch in the same worktree. Run `git fetch origin develop`, then `git merge --no-ff origin/develop`. Re-run the tree check, then push the branch. + 9. Merge it like any promotion, with `--merge`. The merge commit restores the merge base, so the next promotion runs from `develop` again. +- **A squash into `main` is recovered with that same cut.** The `main` ruleset allows only merge commits, yet its admin bypass lets a squash through. A squashed promotion leaves `main` with `develop`'s content but not its history. The merge base stays at the previous merge commit. So the next promotion conflicts wherever a later `develop` change edits a line the squash already carried. Where it merges cleanly instead, it keeps any such line a later `develop` change removed. GitHub runs no pull request workflow while the promotion conflicts. So the hub's `validate-task.yml` `Check promotion history step` fails the next promotion that merges cleanly. It names each single-parent commit on `main`'s first-parent chain since its previous promotion merge. Recover with the conflicted-promotion cut above, resolving each conflict as its step 2 states. The cut merges from the same stale base, so it can keep a removed line too. Its tree check then prints that path. Restore `develop`'s version of each such path the squash carried with `git checkout origin/develop -- " "`. Remove one `develop` has since deleted with `git rm " "`. Then commit. The step passes a head that already holds each commit it named, and the merge then restores the merge base. Never rewrite or force-push `main` to undo the squash. ## Why both rulesets omit "Require branches to be up to date before merging" @@ -52,7 +63,7 @@ The flag is off on `main` and on `develop`, for related but distinct reasons. and the linearity invariant. - **Develop**: the check stalls bot auto-merge when two bot PRs against `develop` land within the same window. As soon as the first merges, the second flips to `mergeStateStatus: BEHIND` and - GitHub's auto-merge will not fire while strict is on. The merge-bot only *enables* auto-merge on + GitHub's auto-merge will not fire while strict is on. The merge-bot arms auto-merge on `opened`/`reopened` and never auto-updates bot branches, and Dependabot's rebase isn't real-time. So the second PR sits OPEN with all checks green indefinitely. Squash mechanics still rebase the diff onto `develop`'s tip on merge, and `required_linear_history` still enforces linearity. @@ -83,12 +94,19 @@ during long-running develop features. Codegen content can also be production-cri So both branches need fresh codegen on their own cadence. **Maintainer-pushed commits on a bot PR auto-disable auto-merge.** The merge-bot's -`merge-dependabot` and `merge-codegen` jobs only fire on `opened`/`reopened` events (auto-merge is -enabled exactly once per PR). A maintainer may push commits to a bot's branch. Such a push is a `synchronize` +`merge-dependabot` and `merge-app` jobs arm auto-merge only on `opened`/`reopened` events. Its +`rearm-auto-merge` job leaves the disable below in place, since the head is then not the bot's own push. A maintainer may push commits to a bot's branch. Such a push is a `synchronize` event with an actor that isn't the same bot. When it happens, the merge-bot's `disable-auto-merge-on-maintainer-push` job fires and calls `gh pr merge --disable-auto`. The maintainer's commits stay in the PR but won't auto-merge with the bot's content. Re-enable -auto-merge manually (`gh pr merge --auto ` or the GitHub UI) when ready. +auto-merge manually (`gh pr merge --auto " "` or the GitHub UI) when ready. + +**A disable GitHub makes is re-armed once, then fails visibly.** GitHub can disable an armed +auto-merge with every check green. It does so for a merge that would write workflow content the +App may not write. The caller stub triggers on `auto_merge_disabled`, so the merge-bot's +`rearm-auto-merge` job answers such a disable. It re-arms once the base branch has settled. Where +every check is green, `gh` merges at once instead, so a refused merge fails the job. That makes the +stall visible rather than recovering it. WORKFLOW.md D8.1 is the contract. ## Codegen determinism diff --git a/.github/skills/branching-and-release-model/references/release-publish-mechanics.md b/.github/skills/branching-and-release-model/references/release-publish-mechanics.md index 0c1d193..0d3fce9 100644 --- a/.github/skills/branching-and-release-model/references/release-publish-mechanics.md +++ b/.github/skills/branching-and-release-model/references/release-publish-mechanics.md @@ -45,10 +45,12 @@ project-path inputs among them. Pick by where each artifact *goes*, not by language: - **Files attached to the GitHub Release** (zips, binaries, packaged libraries): a dotnet-publish - hook or a build-nuget hook per output, each uploading `release-asset- - `. This is where the - .NET `dotnet publish` or `dotnet build` lives, though a package push does not. The hub default takes an explicit - project path, and a project needing different build behavior replaces the hook. A data-only - repo's own output (e.g. a symbol library) is a file target, which the `build-release-asset` hook + hook or a build-nuget hook per output, each uploading `release-asset- - `. + The default PyPI leaf uploads one too. + The .NET `dotnet publish` lives in the dotnet-publish hook and `dotnet build` in the build-nuget hook, though a package push lives in neither. + The hub default takes an explicit project path. + A project needing different build behavior replaces the hook. + A data-only repo's own output (e.g. a symbol library) is a file target, which the `build-release-asset` hook builds when the caller sets `enable_release_asset: true`. The hook has no hub default, so the caller provides `.github/actions/build-release-asset/action.yml` and the task fails without it. - **Package-registry pushes** (NuGet.org, PyPI): each is split, and the push never sits in the @@ -61,11 +63,12 @@ Pick by where each artifact *goes*, not by language: build-nuget hook uploads a `nuget-build- ` artifact for a separate `publish-nuget` job in the caller's own `publish-release.yml`. That job authenticates through `NuGet/login` and therefore carries `id-token: write` (plus `actions: write` to delete the artifact it consumed). The hook - *also* uploads a `release-asset-*` (.7z) for the GitHub release. PyPI is the same shape: the build-pypi hook only builds and uploads the - `pypi-build- ` artifact. The separate `publish-pypi` job in the caller's own - `publish-release.yml` does the OIDC Trusted-Publishing upload, behind an `environment: pypi` - gate and with `skip-existing: true`. The `id-token: write` permission is granted only at that - one entry point. PyPI contributes **no** `release-asset-*`. + *also* uploads a `release-asset-*` (.7z) for the GitHub release. + PyPI is the same shape. + The hub default leaf uploads the `pypi-build- ` artifact and a `release-asset- -pypi` carrying the wheel and sdist. + The separate `publish-pypi` job in the caller's own `publish-release.yml` does the OIDC Trusted-Publishing upload. + It runs behind an `environment: pypi` gate and with `skip-existing: true`. + The `id-token: write` permission is granted only at that one entry point. - **Image-registry pushes** (Docker Hub): `build-docker-task.yml`, hub-hosted like `build-release-task.yml`, pushes the default branch multi-arch (amd64+arm64) and any other branch `amd64`-only, and contributes **no** `release-asset-*`. The image set comes from a docker-prepare hook (the hub default emits the @@ -116,9 +119,9 @@ A package publish job is gated like everything else, `needs:` the release-task c **Re-dispatch, available only while the tip has not moved.** A `workflow_dispatch` takes a ref rather than a commit, and D2.3 admits only `main` or `develop`. So what it builds is that branch's tip at dispatch time. While the tip is still the commit whose push failed, a re-dispatch rebuilds the same version and runs its push again. It refreshes the release the way any dispatch does. -This is a time-of-check-to-time-of-use race rather than a guarded operation, because nothing compares the tip against the failed run. So a push landing between the two mints a new version instead of erroring. The operator then sees a green publish that left the failed version unpublished. Confirm the failed run's own head commit still equals the branch tip immediately before dispatching. Make that comparison with `gh run view --json headSha` against `gh api repos/{owner}/{repo}/branches/ ` for the branch that run built rather than whichever branch is to hand. Where the two differ, or where the check is not worth making, prefer the re-run route, which is bound to that commit by construction. In those cases, fall back to re-dispatch only once the re-run window below has closed. +This is a time-of-check-to-time-of-use race rather than a guarded operation, because nothing compares the tip against the failed run. So a push landing between the two mints a new version instead of erroring. The operator then sees a green publish that left the failed version unpublished. Confirm the failed run's own head commit still equals the branch tip immediately before dispatching. Make that comparison with `gh run view " " --json headSha` against `gh api "repos/{owner}/{repo}/branches/ "` for the branch that run built rather than whichever branch is to hand. Where the two differ, or where the check is not worth making, prefer the re-run route, which is bound to that commit by construction. In those cases, fall back to re-dispatch only once the re-run window below has closed. -**Re-run all jobs, available inside the window whatever the tip has done.** `gh run rerun ` replays the run under the original event's `GITHUB_SHA` and `GITHUB_REF` and re-executes every job rather than only the failed ones. The publisher pins the release task to that commit with `ref: ${{ github.sha }}`. So `get-version` recomputes the same version from the same commit and history, and each build leaf checks out the `GitCommitId` that job emits. So the package artifact D5.2 deleted is rebuilt and re-uploaded rather than missing when `publish- ` downloads it. That job then retries the push it failed. The release itself needs nothing from the re-run, the failed run having already cut it. However, on a dispatch-triggered run the re-run re-enters `github-release`. That job refreshes the release per D4.4's dispatch leg and runs the `release-asset-*` delete with it per D5.2. A re-dispatch here would build the new tip instead. NBGV derives the version from git height, so that is a further version and the one whose push failed never reaches the registry. +**Re-run all jobs, available inside the window whatever the tip has done.** `gh run rerun " "` replays the run under the original event's `GITHUB_SHA` and `GITHUB_REF` and re-executes every job rather than only the failed ones. The publisher pins the release task to that commit with `ref: ${{ github.sha }}`. So `get-version` recomputes the same version from the same commit and history, and each build leaf checks out the `GitCommitId` that job emits. So the package artifact D5.2 deleted is rebuilt and re-uploaded rather than missing when `publish- ` downloads it. That job then retries the push it failed. The release itself needs nothing from the re-run, the failed run having already cut it. However, on a dispatch-triggered run the re-run re-enters `github-release`. That job refreshes the release per D4.4's dispatch leg and runs the `release-asset-*` delete with it per D5.2. A re-dispatch here would build the new tip instead. NBGV derives the version from git height, so that is a further version and the one whose push failed never reaches the registry. The qualifications below come with the re-run route. diff --git a/.github/skills/carried-instruction-file-guard/SKILL.md b/.github/skills/carried-instruction-file-guard/SKILL.md index 3f41dc3..5c3b0e2 100644 --- a/.github/skills/carried-instruction-file-guard/SKILL.md +++ b/.github/skills/carried-instruction-file-guard/SKILL.md @@ -29,7 +29,7 @@ The fix is not "be careful." Being careful is what failed the first time. The fi - Pick the phrase in it that is most peculiar to this repo, not generic governance vocabulary. A rule about "always sign commits" is generic. A rule about "this repo's Docker image pins Alpine 3.19 because 3.20 broke the s6 supervisor" is peculiar. - Grep the hub's canonical copy of the same file for that peculiar phrase. - **Absent from the hub canonical means it is a local addition.** It is never dropped because it looks similar to something else, and never dropped because a merge or overwrite would be simpler without it. -3. **A local addition found by the probe gets a destination, not a deletion.** It either names a rule that should apply fleet-wide, or it is genuinely specific to this repo. In the first case, flag it for the maintainer to promote into the hub. In the second case, it moves to the repo's own topical doc before the carried file is touched. Those docs are `CODESTYLE.md` for a language/formatting convention, `ARCHITECTURE.md` for a design decision, `OPERATIONS.md` for a runbook or operational note, `TODO.md` for backlog. Move it, confirm it is not lost, and only then proceed with the carry. +3. **A local addition found by the probe gets a destination, not a deletion.** It either names a rule that should apply fleet-wide, or it is genuinely specific to this repo. In the first case, flag it for the maintainer to promote into the hub. In the second case, it moves to the repo's own topical doc before the carried file is touched. Those docs are `CODESTYLE.md` for a language/formatting convention, `ARCHITECTURE.md` for a design decision, `OPERATIONS.md` for a runbook or operational note, `TODO.md` for backlog. Move it, confirm it is not lost, and only then proceed with the carry. `CODESTYLE.md` is the one guarded file that is itself such a destination, for a language convention. A local section there stays in place, and the carried text is merged around it. 4. **Do not trust a similarity or word-overlap check for step 2.** A repo-specific rule written in ordinary governance language reads as a reworded duplicate of an unrelated hub rule to that kind of check. That check will confidently tell you the local content is redundant when it is not. Exact phrase presence or absence is the only check that has held up. ## What is actually safe to overwrite without this procedure diff --git a/.github/skills/check-this-repo/SKILL.md b/.github/skills/check-this-repo/SKILL.md index d289019..1365a8c 100644 --- a/.github/skills/check-this-repo/SKILL.md +++ b/.github/skills/check-this-repo/SKILL.md @@ -45,8 +45,15 @@ reach this particular repo. default, pass the re-run `--dir` or `-Dir` naming the parent of `live.checkout`. That is because re-running the installer from any other directory leaves an existing registration where it is. - Where `live` carries no `vcs` and a non-null `commit`, it names a git checkout. One that - is detached, `branch: null`, or on an old branch is an answer too. Moving that checkout - is the fix rather than re-installing. + is detached, `branch: null`, or on an old branch is an answer too. So is a `live.commit` + behind the hub's own tip of `live.branch`. A checkout on `main` that has not pulled names + the right branch and still serves stale content. Fetch that branch into the same hub + checkout with full history. Name its destination, since a single-branch clone records + none: `git fetch origin "+refs/heads/ :refs/remotes/origin/ "`, + adding `--unshallow` in a shallow clone. A `live.commit` other than `origin/ ` for which + `git merge-base --is-ancestor " " "origin/ "` exits 0 is behind. An exit + other than 0 or 1 means the test could not judge, which is an answer to report as well. + Moving or fast-forwarding that checkout is the fix rather than re-installing. - Any other shape names no registration, or one this report could not read, and the `reason` it carries, where it carries one, says which. 2. **Does this repo's own carried content still match the hub.** Compare `AGENTS.md`'s diff --git a/.github/skills/comment-and-doc-style/SKILL.md b/.github/skills/comment-and-doc-style/SKILL.md index 5650699..1b495b4 100644 --- a/.github/skills/comment-and-doc-style/SKILL.md +++ b/.github/skills/comment-and-doc-style/SKILL.md @@ -7,7 +7,8 @@ description: >- characters to type in agent-authored text, whenever the file being edited is CRLF, whenever naming a tool in prose or docs, whenever authoring a new Markdown file, whenever editing a carried instruction file (AGENTS.md, GOVERNANCE.md, CODESTYLE.md, WORKFLOW.md, - .github/copilot-instructions.md), and whenever text states how many items a list or a table holds. + .github/copilot-instructions.md), whenever text states how many items a list or a table holds, + and whenever a doc gives a command for a reader to copy and run. Triggers even when the task looks purely mechanical, such as "just fix a typo" or "add a one-line comment", because an em dash slipped into a sentence, a comment that grew by one more clause, or a text-mode edit that silently flattens a CRLF file to LF are each easy to miss. @@ -86,8 +87,8 @@ Agent-specific authorization stays in provider-labeled bullets so one agent's co not read as a shared requirement: - **Codex:** execution rules match exact argument prefixes, so they cannot safely cover changing - worktree paths and digests. Smart Approvals can prompt per task. No-prompt operation is - supported only inside an external sandbox because it removes command-wide protection. + worktree paths and digests. Smart Approvals can prompt per task. No-prompt operation removes + command-wide protection, so it is supported only inside an external sandbox. ## Markdown formatting @@ -99,8 +100,12 @@ not read as a shared requirement: of another sorts first, `[governance]` above `[governance-branching-model]`. A URL inside a fenced code block stays inline. See `references/markdown-links.md` for the full grouping and naming convention. -- **Table of Contents**: generated by the Markdown All in One extension on save, never - hand-authored or hand-edited. Exclude a heading with an inline `` marker. +- **Table of Contents**: generated, never hand-authored or hand-edited. The Markdown All in One + extension rebuilds it on save, and the hub-hosted `scripts/toc_lint.py --fix` writes the + same list for an agent. The `` marker goes on the H1, on every heading + above the Table of Contents, and on the Table of Contents heading itself. It goes on no heading + below it at a level the list includes. This holds for any Markdown file carrying a `Table of + Contents` heading, and `spec/readme-structure.md` item 4 holds the full rule. - **One logical paragraph per line**, no hard-wrap line-length limit. For an intentional line break within a block (stacked badges, status lines), end the line with a trailing backslash rather than trailing whitespace. @@ -159,6 +164,9 @@ Applies to code and workflow (`#`) comments alike. header a tool or policy requires is not a summary and is unaffected. - **Never let a comment grow across edits.** Touching code near an existing comment means the comment comes out the same length or shorter, never one more clause of rationale appended. +- **Leave a human-authored comment exactly as written.** Never reword, trim, reflow, or clean + one, even where another rule would shape it differently. A comment the agent's own change makes + false, one whose code the change deletes included, is the agent's to correct or remove. A continuation stays unindented, one sentence per line: @@ -190,15 +198,15 @@ Deleting the comment is the ordinary answer, since the bullets above already say earn. Where a comment is genuinely owed, and a rule requiring one is the clearest case of that, the pull request carries the `comments` label. With that label the gate stands down for that change. Locally a `PROSE_ALLOW_COMMENTS` does the same, for as long as it is set to anything but a false -spelling. And `--allow-comments` does it for one run by hand. The label and the variable are separate deliberately, so a variable +spelling. It stands down only the local `comment-added` rule. The `comments` label remains the reviewed gate the merge reads. And `--allow-comments` stands the rule down for one run by hand. The label and the variable are separate deliberately, so a variable left exported reaches the commit and never the merge gate. The facts below about reaching those escapes read as a broken gate until they are known. On a public repository the lint job reads the label when it runs, and its log says "Read the pull request's labels live". A label added before then applies, and a rerun picks up one added since. In a private -repository, or where the log lacks that line, the event's snapshot decides. It misses a label -applied after the event, `gh pr create --label` included, so -there the label applies to the next push. The label reaches a repository only when the fleet label +repository, or where the log lacks that line, the event's snapshot decides. A label given to +`gh pr create` usually reaches the opened event, though it is sometimes missed. A label added +after the create applies from the next push, or from a close and reopen. The label reaches a repository only when the fleet label set is applied to it. So a repository that has not had that applied since the label was declared cannot carry it. In such a repository the finding names a remedy that is not yet available. And the local escape reaches a commit before any of that. A commit is where a repository meets this rule first, @@ -291,7 +299,7 @@ It is also because reading those would report a fixture rather than a claim abou Agent-authored text is ASCII by default: documentation, code, comments, commit messages, and PR descriptions. A non-ASCII character is read against the tiers below, because whether one is typography or meaning depends on where it sits. A character in no tier is a finding rather than a -silent pass, a letter of a recorded name excepted per the bullet below. +silent pass. A letter of a recorded name and quoted data are excepted, per the bullets below. - **Tier 1, never legitimate.** Typography carrying no meaning its ASCII form loses. Remove on sight: @@ -324,12 +332,17 @@ silent pass, a letter of a recorded name excepted per the bullet below. document records as data is written with its own letters and the marks they carry. The reason is that folding such a name to ASCII records a different name. Anywhere else a letter the agent writes that no tier covers takes its ASCII form. +- **A Markdown code span is quoted data, as a fenced block is.** A string quoted verbatim from + another source, such as a third party's output, keeps its bytes inside an inline code span. No + tier judges it there. Outside Markdown a backtick is structural, so a code line is read whole. - **An unrecognized non-ASCII character is reported, not allowed.** Classify it into a tier above - before using it. A letter of a recorded name is the one exception, per the bullet above. + before using it. A letter of a recorded name and quoted data are the exceptions, per the bullets + above. - **No semicolon in agent-authored prose.** Recast a mid-sentence semicolon as a comma or as two sentences. A semicolon separating items in a list that already contains commas, or a statement terminator in code, is unaffected. A single semicolon separates such a list only between two labeled items, as in `Inputs: a, b; outputs: c`, and a list item's bold opening label is not one. + A semicolon inside one token, such as `TL;DR`, joins no clause and is unaffected too. - **No spaced hyphen joining or interrupting a sentence** (` - `, or the paired aside ` - x - `). Recast as a comma, two sentences, or parentheses. A hyphen inside a compound word, a leading list marker, a range, and the `- **Label** - explanation` bullet separator are unaffected. @@ -358,20 +371,31 @@ the `spec/` files and the carried `AUDIT.md` never reference the template repo behavior a carried rule needs, not the coordination flow that produced it, the maintainer supplies the destination out of band. A contextually relevant link to a related project (the image this config feeds, a library this depends on) is not a coordination reference. It is expected. The full -exceptions are in `references/carried-doc-references.md`. They are a verbatim section that must -name the hub to do its job, and a pointer to a hub-hosted tool the reader runs. +exceptions are in `references/carried-doc-references.md`. One is a verbatim section that must +name the hub to do its job. The other is a pointer to a hub-hosted tool the reader runs, or to a +procedure the reader runs from a hub checkout. ## PR titles and commit messages - **Format**: an imperative subject, 72 characters or fewer, no trailing period ("Add 24-Hour - PM2.5 Average Sensor", not "Added X" or "Adds X"). An optional body, blank-line separated, + PM2.5 Average Sensor", not "Added X" or "Adds X"). The 72 measures the authored title or subject. + The `(#N)` suffix GitHub appends at a squash merge sits outside it, so a merged subject past 72 + breaks no rule. An optional body, blank-line separated, explains *why* the change is being made when that is non-obvious, the diff already shows *what*. +- **Closing keywords**: `branching-and-release-model` says where one may go. A form of `close`, + `fix`, or `resolve` directly before an issue reference closes that issue, even inside a sentence + that negates it. So `does not fix #N` closes #N. Write a reference to an issue left open with no + keyword beside it, as in `#N stays open`. - **Rules**: no vague titles (`update stuff`, `wip`). Dependabot's default `Bump X from Y to Z` - titles are fine as-is. No `Co-Authored-By:` lines unless the developer explicitly asks. No + titles are fine as-is. A `Co-Authored-By:` line is allowed unless the developer disallows it, + and a repository's own rules may change that default. A link to the agent's session, such as a + `Claude-Session:` trailer, is never allowed in a commit message or a pull request. Neither the + developer nor a repository's rules can allow one. No release-bump magnitude in the title ("minor", "patch", "release v0.2.0"), Nerdbank.GitVersioning computes the next version from `version.json` and git history. A dependency version in a dependency-bump title is fine and expected. US English spelling, and title case with lowercase - short bind words (a, an, the, and, but, or, of, in, on, at, to, by, for, from). A hyphenated + short bind words. The bind-word list is exhaustive: a, an, the, and, but, or, of, in, on, at, to, + by, for, from, with, as, via, into, over, per. A hyphenated compound capitalizes both parts unless the second is a short preposition (*Built-in*, *EPA-Corrected*, *24-Hour*). @@ -383,6 +407,14 @@ Bump xunit.v3 from 3.2.2 to 3.3.0 Clarify Devcontainer Setup Steps in README ``` +## Copy-and-run commands + + + +A command in Markdown is text a reader copies and runs, so it has to run as written once pasted. That covers a code span opening with a command and every line of a shell fence. Such a command holds no bare ` `, since the shell reads `<` as a redirection and the paste dies before the command runs. It holds no bracketed `[Placeholder]` either, since the shell reads that as a glob. The glob expands silently to any one-character file it matches. And it holds no bare `a|b` alternation, since the shell reads that as a pipe. The left-hand side then still runs, a live write included, while its own output vanishes behind an error from the right-hand side. A real pipe is spaced, so it never reads as an alternation. A placeholder is quoted instead, as in `git branch -d " "`, so the shell reads it as one word rather than as syntax. The quotes wrap the placeholder alone where its value may need the shell to expand it, such as a path opening `~`. The reader fills the value in inside the quotes. A value that is several arguments, such as a command and its own arguments, or one the shell must expand, replaces the quotes too. A single argument holding spaces keeps them. Inside a string handed to a second shell, such as the one `sh -c` runs, the placeholder is quoted within that string. A choice between values is written as the common value, with the other named in a parenthetical after the command. So `repo-config/configure.sh check " / " release` is followed by "(substitute `operational` for an operational repo)". In a shell fence that parenthetical is a trailing comment instead. An optional flag is not written in brackets, since that is a glob too. It is left out of the command and named in the parenthetical. The rule holds for every such command, one naming a single argument in prose included. That is because whether a reader pastes a span whole is a judgment no check can make. The prose gate's `paste-safe` rule enforces it for the commands its data file names. It also reads a string handed to a second shell, as `su -c`, `sh -c`, `bash -c`, and `ssh` take one, as the command that shell runs. + + + ## Quantitative claims diff --git a/.github/skills/comment-and-doc-style/references/carried-doc-references.md b/.github/skills/comment-and-doc-style/references/carried-doc-references.md index 4aa3397..d9125c0 100644 --- a/.github/skills/comment-and-doc-style/references/carried-doc-references.md +++ b/.github/skills/comment-and-doc-style/references/carried-doc-references.md @@ -53,13 +53,17 @@ same document's own prose, outside that region, is governed normally. A referenc verbatim section is a defect in the canonical. It is fixed once at the source rather than reported against every repository carrying it. -**The second exception is a hub-hosted tool the reader is told to run**, which is a different kind -of reference. A rule naming a gate, a script, or a reference snippet the reader executes or copies -states an instruction rather than a provenance. An instruction with no destination is -unfollowable, which is precisely how a pointer in carried text comes to read as decorative. The -test is whether the reference is something the reader *does* or something that *happened to this -file*. Where the content came from stays out, what the reader runs stays in. Such a pointer names -the hub's canonical rather than this repository's provenance. So it is the hub's to keep resolving +**The second exception is a hub-hosted tool the reader is told to run, or a procedure the reader +runs from a hub checkout.** It is a different kind of reference. A rule naming a gate, a +script, or a reference snippet the reader executes or copies states an instruction rather than a +provenance. So does a procedure whose steps the reader runs from a hub checkout, such as auditing +a repository and converging what the audit finds. Reporting a discrepancy upstream runs no such +step, so it stays under item 1. An instruction +with no destination is unfollowable, which is precisely how a pointer in carried text comes to read +as decorative. The test is whether the reference is something the reader *does* or something +that *happened to this file*. Where the content came from stays out, what the reader runs or +carries out stays in. Such a pointer names the hub's canonical rather than this repository's +provenance. So it is the hub's to keep resolving and never a repository's to edit out or re-point at a local path. What is reached rather than carried, and how, is `GOVERNANCE.md` "Hub-Hosted Tooling". In `AGENTS.md` and `GOVERNANCE.md` this belongs in verbatim rule text, the same region the first exception already covers. So the whole diff --git a/.github/skills/decision-triage/SKILL.md b/.github/skills/decision-triage/SKILL.md index fe537db..e367a42 100644 --- a/.github/skills/decision-triage/SKILL.md +++ b/.github/skills/decision-triage/SKILL.md @@ -28,7 +28,7 @@ maintainer is present. The run that follows then has the answers and meets fewer - **The triage seat** is the session this skill runs in. It reads the issue list, dispatches the classifiers and researchers, writes the `decision` issues, and asks the maintainer. It reads no - issue body itself beyond what a subagent returns. + issue body itself beyond what a subagent returns, save a maintainer's owed-action issue in step 8. - **A classifier** is a subagent given a batch of issue numbers. It returns one line per issue. - **A researcher** is a subagent given a cluster of questions that share a topic, five or six by default. It returns each question with its options and its evidence. @@ -57,7 +57,8 @@ and a guess costs a revert and a review round. - **It waits on the maintainer already.** It carries the `decision` label, or a comment asks the maintainer something still unanswered. - **The fix reaches past the repository's tree.** It changes a repository setting, a ruleset, - visibility, a secret, or a release condition. Or it needs a credential, an account, or a host + visibility, a secret, or a release condition. Or its remaining work lies in a repository under + another owner, whose writes need the maintainer's permission. Or it needs a credential, an account, or a host the session lacks. - **The fix edits anything under the hub's `host-setup/agent-safety/`.** That tree is the agent's own guard, so a human approves every change to it. An approval on the issue lets an attended @@ -78,10 +79,12 @@ issue for one undecided item is the failure this rule exists to prevent. These are not reasons an issue needs the maintainer, and a report never counts them as such. An issue that is `blocked` on another issue waits on that issue. One that needs a platform, by the -test `session-handoff` "The Chain" states, waits on that platform's lane. One that another group +test `session-handoff` "The Chain" states, waits on that platform's lane. One whose remaining work +lies wholly in another repository under the same owner waits on work there. One that another group or pull request holds waits on that work. One carrying `canonical-sweep` belongs to the workflow that owns it. One carrying `deferred` has its answer already, which is "not yet", and waits on the -condition its answer comment states. A handoff link carrying the `handoff` label is not an issue +condition its answer comment states. An `**Owed action:**` issue is one an account with write +access opened, its body opening with that marker. It waits on the step it names, per `backlog-burndown` "Ranking". A handoff link carrying the `handoff` label is not an issue of its own. ## The Procedure @@ -102,7 +105,11 @@ of its own. `git log refs/remotes/origin/develop` on the files the issue names. It also reads the state of any child issues the issue tracks, and any later comment recording a decision. A fix merged into `develop` and not yet promoted makes the issue `HELD` awaiting promotion rather than - `OVERTAKEN`. The queued `decision` issues get the same check and no classification beyond it. + `OVERTAKEN`. An `**Owed action:**` issue, as "Needs the Maintainer" defines one, skips the + `git log` reads, since git records no step taken. + A later comment from an account with write access recording the step done still makes it `OVERTAKEN`. Otherwise it + is `HELD` on the step it names, whoever's step it is, unless it waits on the maintainer already. + The queued `decision` issues get the same check and no classification beyond it. The classifier returns one line per issue in the form "Return Lines" below. Each batch also carries the `deferred` issues to re-check, which get no classification. The classifier reads the comment stating the condition the work waits for, from an account with @@ -166,7 +173,8 @@ of its own. 8. **Report** the counts: issues an agent can fix alone, questions answered, questions deferred, questions still open, overtaken issues closed, and splits filed. Give the count of open `deferred` issues as well, after step 2's lifts, and how many it lifted. Also name each issue held back for any other reason "Needs the - Maintainer" does not count, under that reason. End with one line saying a `backlog-burndown` away-mode run + Maintainer" does not count, under that reason. List each `HELD` owed action that is the + maintainer's as a step to take. Read its issue body for each command it gives, and for any promotion or release it says the step waits on. End with one line saying a `backlog-burndown` away-mode run can now work the rest. ## Return Lines @@ -176,7 +184,7 @@ of its own. | classifier | `AUTO # ` | an agent can fix it alone | | classifier | `ASK # ` | the whole issue needs the maintainer | | classifier | `SPLIT # ` | part needs the maintainer, the rest does not | -| classifier | `HELD # ` | waits on something other than a decision, such as a promotion or an attended run for an approved agent-safety edit | +| classifier | `HELD # `, the reason for an owed action reading `owed action, ` | waits on something other than a decision, such as a promotion, an attended run for an approved agent-safety edit, or an `**Owed action:**` issue's step | | classifier | `OVERTAKEN # ` | a later change already settled it, found by the history check | | classifier | `LIFT # ` | a `deferred` issue whose checkable condition now holds | | classifier | `KEEP # ` | a `deferred` issue that stays deferred | @@ -189,7 +197,7 @@ reported as unclassified where it fails twice. ## Briefs Brief on `AGENTS.md` "Context and Delegation Discipline"'s subagent shape. A classifier's brief -quotes "Needs the Maintainer" whole and states the history check and the `deferred` re-check in step 2. It lists its issue +quotes "Needs the Maintainer" whole and states the history check, the owed-action `HELD` line, and the `deferred` re-check in step 2. It lists its issue numbers, marking the ones to re-check. It also states how step 6 says a kept-open comment reads. A researcher's brief names each issue in its cluster, its question, and the rule files it touches. It also states how to weigh what the issue holds: @@ -217,7 +225,9 @@ an item leaves the queue, carried here whole as a generated include. - **Reference every pull request as a clickable link.** When you mention a PR on a surface that renders Markdown (chat, a summary, a report), render it as a Markdown link to the PR. Write it as `[#N](https://github.com/OWNER/REPO/pull/N)`, never a bare `#N`. The same applies to issues and commits. **The form follows the surface.** Some surfaces link neither a Markdown link nor a bare URL, an interactive prompt's question and option text among them. Pasting a full URL into one of those does not rescue it, since the reader gets a string to copy. That is the outcome this rule exists to prevent. There the reference is a bare `#N`. The clickable link goes in the message that comes **before** the prompt rather than merely alongside it. That is because the prompt blocks on an answer, and a message emitted after it is read once that answer is already given. That is the one moment the link is no longer any use. The test is whether the reader can click it where it is read, not whether it was written in the syntax that works elsewhere. - **Put a command the user must run where the user can run it.** This session's input line is where the user types to the agent. A command runs outside this session where this session's input line cannot run it or cannot hold its effect. One waiting on typed input, such as a password or a confirmation, is such a command. So is one meant for another host, or one setting a variable the session reads at launch. Every other one runs at this session's input line, where that line can run a command, and outside the session otherwise. **A command the user runs outside this session goes in the question's own text.** Where a question asks the user to run one, the question carries the exact command, complete and ready to paste. A message before the prompt may repeat the command, but the question never points at that message. A question pointing at it can leave the reader to find the command among a long run of earlier output. Such a command stays in the prompt, where the turn opens one, although the clickable-link bullet above moves a link out of one. The command needs no rendering, since the prompt shows it as plain text the reader can copy. **A command the user runs at this session's input line never goes in an interactive prompt.** On Claude Code such a command is a `!` line, typed at the session's input line so its output lands in the session. While an interactive prompt is open, the user cannot type at the session's input line. So a command placed in one sits in the one surface that blocks running it. It goes in a plain message instead, as a fenced block holding the `!` line itself, complete and ready to paste. Several commands join on that one line with `&&`, which runs them in order and stops at the first that fails. The block opens the message. Any question the same turn owes follows it as a numbered list, and any report comes after both. The message asks the user to reply once the command has run, and the turn ends with no interactive prompt open. The agent then checks the result on the user's next message. It reads back the state the command was meant to change, or the output it left in the session. An answer saying the command ran is not that check. -- **Ask every question through the interface's prompt, never in prose.** When you need the user to decide, answer, or approve anything, put it to them through the interface's own prompt mechanism. Do so whether or not work is blocked on it. An offer to do more work ("want me to file that?") is a question like any other. A question written into a message is lost in the report around it, however short it is. One closing a long report sits where the reader is least likely to reach it. Where no prompt mechanism is available, the questions go as a numbered list opening the message rather than closing it. The user can then reply per number. A turn asking for a command the user runs at this session's input line is an exception, per the command bullet above. It puts every question it owes in that message, since a prompt open beside the command would block the place it runs. This bullet settles how a question is put once it is asked. Whether a question is asked now or recorded for later is the parking bullet's to settle. That is the one opening "A question filed as an issue is parked rather than asked". +- **Ask when the user can cheaply confirm.** An assumption that saves one question and is wrong costs the rework plus the trust. So a genuine ambiguity in intent, scope, or authorization is raised, not resolved by picking the likelier reading. Rules that already answer the question (the committed instruction set) are not ambiguity, so read them first rather than asking what they state. +- **The irreversible step (merging, publishing, releasing, force-pushing, deleting, changing branch protection) stays the maintainer's.** **A grant given in a past session or for a different task authorizes nothing now.** Whether a credential's reach or a tool that happens to work authorizes anything is answered by `GOVERNANCE.md` "Repository Boundaries and Write Safety" rather than here. +- **Ask every question through the interface's prompt, never in prose.** When you need the user to decide, answer, or approve anything, put it to them through the interface's own prompt mechanism. Do so whether or not work is blocked on it. An offer to do more work ("want me to file that?") is a question like any other. A question written into a message is lost in the report around it, however short it is. One closing a long report sits where the reader is least likely to reach it. **Each question reads whole from its own text.** It states the problem, why it is being asked, and what each option does, in plain words. It may cite an issue or a pull request by number. The question and its options still read fully without opening it. A question leaning on an issue for its meaning is often answered without reading that issue, so the answer misses its point. Where no prompt mechanism is available, the questions go as a numbered list opening the message rather than closing it. The user can then reply per number. A turn asking for a command the user runs at this session's input line is an exception, per the command bullet above. It puts every question it owes in that message, since a prompt open beside the command would block the place it runs. This bullet settles how a question is put once it is asked. Whether a question is asked now or recorded for later is the parking bullet's to settle. That is the one opening "A question filed as an issue is parked rather than asked". - **Raise work blocked on the user as a direct interactive prompt.** When progress needs a decision, an authorization, or an answer only the user can give, ask for it at the point the work stops. Ask through the interface's own prompt mechanism. Never leave it as prose in a summary. A handoff buried in a paragraph is a handoff that did not happen. That is because a summary reads as a report of finished work. It is also because the one line still waiting on the user is the easiest in a summary to skim past. The blocked item is the message, not a closing remark on a message about something else. **The options offered are the actions themselves.** The one that unblocks the work names the action it authorizes ("squash and merge it"). Selecting it is then the go-ahead rather than a note to act on later. Offering only ways to wait is the same failure in interactive clothing. That is because a prompt whose every choice is inaction reports the block rather than clearing it. Where the agent may not perform the authorized action itself, the option says who does it. Where no interactive prompt is available, the numbered list the bullet above names is the fallback. In a turn asking for a command the user runs at this session's input line, the command bullet above replaces the interactive prompt. - **Lead every choice with a recommendation and its reason.** Wherever the user is asked to choose, in a prompt or in a numbered list, the option the agent recommends comes first. It is marked as the recommendation, and every option states the reason for it. A user who takes the recommendation then reads one line, and one who does not sees what the other options trade away. A question with no defensible recommendation says so rather than inventing one. Where an open question has no options and the agent does have an answer, that answer and its reason go in the question's text. They never go in as an invented option. - **A question filed as an issue is parked rather than asked, and it stays owed.** Where the work cannot continue without the answer, the interactive-prompt bullet governs and the question is asked at the point the work stops. Wherever the question is recorded rather than asked, recording it is the right thing to do, and recording it is still not asking it. That holds whether the work can continue without the answer or the question was asked once and deferred. So the issue carries the fleet's `decision` label. When the filing session knows the choices the question is between, the issue states them. The label and the stated choices are what let a later session, one that was not there when the issue was filed, find the question. That session can then put the question to the user without inventing its answers. **The parked queue is the failure, not the parking.** An issue holding a question the user has never seen reads to every later session as tracked work rather than as a block. So each session files correctly and moves on. Presenting the accumulation is the step nobody owns. @@ -239,7 +249,7 @@ A rule, a Skill, or a brief names a model tier, never a model. A model release i - **`frontier`** is the fleet's default reasoning tier, for orchestrating, rule text, design, spec logic, and adversarial review. It is not the most capable model available, which is `highest`. - **`standard`** is ordinary implementation and driving a pull request. Judging a review finding is never mechanical, however often it repeats, so it runs at `standard` or above. A `standard` driver's evidence-backed decline of a finding raised on its pull request stands, since that pull request's reviewers and its merge gate check it. - **`bulk`** is the cheapest model that does the work correctly. It is for high fan-out mechanical work, such as an extraction or a status check. -- **`highest`** is the most capable model available, and only the maintainer selects it. The maintainer chooses it for the session itself, or allows it for the session's subagents at launch. The host's agent-safety kit reads that launch setting, `FLEET_ALLOW_HIGHEST=1` on Claude Code. Naming the tier in a prompt does not set it. A maintainer naming it partway through a session restarts the session with it allowed, and an agent never sets it. Without that setting, the kit refuses a dispatch that names it. A dispatch naming no model runs at its agent definition's model where one is set, and otherwise at the session's own. A fork always runs at the session's model, whatever it names. So a session launched on `highest` names a tier on every dispatch meant to run below it, and uses no fork for such work. A session never reaches for it because a task looks hard. +- **`highest`** is the most capable model available, and only the maintainer selects it. The maintainer chooses it for the session itself, or allows it for the session's subagents at launch. The host's agent-safety kit reads that launch setting, `FLEET_ALLOW_HIGHEST=1` on Claude Code. Naming the tier in a prompt does not set it. A maintainer naming it partway through a session restarts the session with it allowed, and an agent never sets it. Without that setting, the kit refuses a dispatch that names it. A dispatch naming no model runs at its agent definition's model where one is set. Otherwise it runs at the default the host's agent-safety kit sets, which is the `frontier` model. On a host without the kit it runs at the session's own. That default does not reach every agent type a tool builds in. On Claude Code the `Explore` and `Plan` types still take the session's model, so the kit refuses a dispatch of either that names no model. A fork always runs at the session's model, whatever it names. So a session launched on `highest` names a tier on every dispatch meant to run below it, and uses no fork for such work. The kit's default is a backstop for a dispatch that forgot its tier, never a reason to leave one out. A session never reaches for it because a task looks hard. | Tool | `highest` | `frontier` | `standard` | `bulk` | | --- | --- | --- | --- | --- | @@ -248,7 +258,7 @@ A rule, a Skill, or a brief names a model tier, never a model. A model release i Each cell is the name that tool's subagent dispatch takes, which follows the latest model of its family. A dispatch on a tool with no row here, or on one that cannot name a model per subagent, names no model. - **A tier resolves only through this table.** A word such as "frontier", "strongest", or "most capable" never resolves to `highest`. The industry's "frontier model" is the opposite of what this tier means here. A session that cannot see this table names no model rather than guessing one. -- **An orchestrating seat runs at `frontier` and names a tier on every dispatch.** It defaults a subagent to `frontier`, and picks `standard` or `bulk` deliberately for execution or mechanical work. +- **An orchestrating seat runs at `frontier`, or at `highest` where the maintainer chose that for the session, and names a tier on every dispatch.** It defaults a subagent to `frontier`, and picks `standard` or `bulk` deliberately for execution or mechanical work. diff --git a/.github/skills/dotnet-codestyle/SKILL.md b/.github/skills/dotnet-codestyle/SKILL.md index 83ad901..a26a19a 100644 --- a/.github/skills/dotnet-codestyle/SKILL.md +++ b/.github/skills/dotnet-codestyle/SKILL.md @@ -2,16 +2,16 @@ name: dotnet-codestyle description: >- Governs C#/.NET code style for ptr727/ProjectTemplate fleet repos: the zero-warnings build policy - and its clean-compile task chain, central Directory.Build.props and Directory.Packages.props, C# - language and naming conventions, XML documentation, analyzer suppression scope, the - library-versus-application logging split, async and error-handling patterns, xUnit v3 and + and its clean-compile task chain, central build and package props, C# language and naming + conventions, XML documentation, analyzer suppression scope, the library-versus-application + logging split, async and error-handling patterns, console-app interrupts, xUnit v3 and AwesomeAssertions testing, and AOT-compatible project configuration. Use this whenever writing, - reviewing, or editing a .cs file, a .csproj, Directory.Build.props, Directory.Packages.props, or global.json, - whenever choosing where to suppress an analyzer diagnostic, whenever a NuGet library needs to log - without depending on Serilog directly, or whenever writing or reviewing an xUnit test. Triggers - even when the task looks like a small local fix ("just silence this warning", "add a quick log - line"), because each of these rules erodes one file at a time and never as one obvious diff. - Applies only to a repo's .NET side. + reviewing, or editing a .cs file, a .csproj, Directory.*.props, or global.json, whenever + choosing where to suppress an analyzer diagnostic, whenever a NuGet library needs to log without + depending on Serilog directly, or whenever writing or reviewing an xUnit test or a console app's + entry point, signal handling, child-process execution, or exit status. Triggers even when the + task looks like a small local fix ("just silence this warning", "add a quick log line"), because + each of these rules erodes one file at a time. Applies only to a repo's .NET side. --- # .NET Codestyle @@ -43,8 +43,11 @@ All builds must complete without warnings, enforced as follows: - **Analyzer configuration.** ` true ` with `latest-all ` and `All ` (the full analyzer set), plus `true `. With that, any diagnostic - surfaced as a warning fails the build. Such a diagnostic must be fixed or deliberately suppressed at the - narrowest scope that fits (see Analyzer suppressions below), never left to accumulate. + the build surfaces as a warning fails it. `EnforceCodeStyleInBuild` is left unset, so the IDE code-style + rules do not run in the build, and the `dotnet format style` step fails on their warnings instead. Such a diagnostic must be fixed or deliberately suppressed at the + narrowest scope that fits (see Analyzer suppressions below), never left to accumulate. IDE0079 is + the exception, since neither that step nor the build reports it. Remove a suppression the IDE + flags under IDE0079 only once the format step and every configuration and target framework CI builds pass without it. - **CI lint backstop.** CI runs the clean-compile checks on every PR as the authoritative gate. Husky.Net is wired from the canonical `catalog/snippets/husky/` config in the hub, hub-local and not carried into every fleet repo. Its hook needs a .NET tool manifest declaring @@ -60,9 +63,7 @@ All builds must complete without warnings, enforced as follows: per-clone enablement steps. **A new port is not a license to silence diagnostics.** Brownfield or just-ported status never -justifies relaxing analyzer severities or muting newly surfaced warnings. Fix them. (The only -brownfield allowance in the fleet is the one-time git-signing / line-ending migration described in -GOVERNANCE.md and README.md. That migration has nothing to do with code analysis.) +justifies relaxing analyzer severities or muting newly surfaced warnings. Fix them. ### Central build and package configuration @@ -105,16 +106,38 @@ Shared MSBuild configuration is centralized at the repository root, never duplic The major tracks the repo's .NET TFM (`net10.0`), never a `netstandard` target an analyzer or source-generator project carries beside it. It moves only with that TFM (`11.0.100` alongside - `net11.0`), and such a project's fixed `LangVersion` moves with them. The hub's workflows and composite actions install the SDK line through - `setup-dotnet`'s `dotnet-version`, and the hub's devcontainer snippet through its image tag. A - repo calling them therefore cannot move to a new major alone, since CI would then find no - compatible SDK. Such a move starts in the hub, as a fleet-wide change. The hub's steps and image - provide both lines until every repo has moved. A repo still on - `10.0.100` would otherwise find no compatible SDK once the hub installs only the new line. - - A developer host now needs a release SDK on the line, 10.0.x today. A host holding only a newer - major, or only a 10.0 preview, fails with a clear "A compatible .NET SDK was not found" error - rather than silently drifting. Install the line's SDK beside the newer one. + `net11.0`), and such a project's fixed `LangVersion` moves with them. The line is the + repository's own choice, per `CODESTYLE.md` "Toolchain Versions", so a repository may lead or + lag the hub's baseline. Its move edits `global.json`, the TFM, its devcontainer image tag, and + any analyzer project's fixed `LangVersion` together, in that repository alone. A resync carries + the baseline's `rollForward` and `allowPrerelease` and never changes the repository's + `sdk.version`. The hub's workflows install the line the calling repo's own `global.json` + selects, through `setup-dotnet`'s `global-json-file`, so CI follows each repo's file. A repo + carrying no `sdk` block yet gets `10.x`, the baseline's major, which the hub's tests hold to the + baseline. The hub's host installers install the line the `catalog/snippets/configs/global.json` + baseline selects, named in each installer and held equal to the baseline by the hub's tests. + The Linux one adds the newest line the feed carries, and every other line under `--optional`. + The Windows one adds the two majors below it under `-Optional`. A fleet-wide move is a hub change to that + baseline, the installers, that fallback, and the devcontainer snippet's image tag. A repository + not yet moved keeps building on its own line. + + A multi-targeted project (`net10.0;net11.0 `) still has one + selector. Its `global.json` names the highest target framework's line, since that SDK builds + every target framework, so the release and the pack run on it. Where `Directory.Build.props` + sets a singular `TargetFramework`, the multi-targeted `.csproj` clears it, since a singular value + wins and builds one framework only. Its test projects run each framework under that framework's + own runtime. So the repository passes the hub's `validate-task.yml` a `dotnet-versions` input + naming every line, the `global.json` line first, such as `'["11.0", "10.0"]'`. Each line then + runs as its own unit-test leg, with every line installed beside the selected one. An entry + leading with another line fails the run. + + A developer host now needs a release SDK on the repository's line, 10.0.x for the fleet default + today. A host holding only another major, or only a 10.0 preview, fails with a clear error. It + reads "A compatible .NET SDK was not found" rather than silently drifting. The hub's host + installers install the fleet default line's SDK by default. A host building a repository on + another line adds that line's SDK. The Linux `--optional` set, the Windows `-Optional` set for + an older major, or a direct install provides it. On Linux, a package feed carrying no package for the default line is named in a + warning and in the report. **`LangVersion` is left unset** in every `.props` or `.targets` file the repo holds and every project targeting a .NET TFM. The SDK's own targets derive it, which is the point. The C# version then follows the TFM (`net10.0` gives C# 14 under any SDK). Never set it @@ -172,7 +195,8 @@ updates, dependency upgrades, benchmarks) on top: Key rules: no `var` (always explicit types), file-scoped namespaces, Allman braces, Nullable enabled, modern C# features (primary constructors, pattern matching, collection expressions). Every public surface has XML documentation. Private fields use `_camelCase`, static fields `s_camelCase`, -constants PascalCase. Member ordering follows StyleCop SA1201. +constants PascalCase. Member ordering follows StyleCop SA1201 by kind first, then SA1202 by access +within one kind. For language features, naming, code structure, and XML documentation examples, see `references/conventions.md`. @@ -203,6 +227,11 @@ The .NET mechanics, narrowest first: `dotnet_analyzer_diagnostic.severity`) to push a brownfield port through the build is exactly what this forbids. +A code-style option in the root `.editorconfig` takes a `dotnet_diagnostic..severity = warning` +entry for each rule it configures. An option alone leaves its rule at the default severity, often +hidden, which the format gate never reports. A formatting option is the exception, since CSharpier +owns formatting and IDE0055 stays `none`. + ## Error handling and logging 1. **Structured logging**: use structured message templates. Serilog is the application's concrete @@ -240,17 +269,34 @@ The .NET mechanics, narrowest first: } ``` -5. **Exceptions**: do not swallow exceptions, either log and rethrow or translate to a - domain-specific exception. +5. **Exceptions**: do not swallow exceptions. Either log and rethrow them or translate them. + Translate a fault into a domain-specific exception. A library lets a cancellation of its + caller's token propagate as `OperationCanceledException` and never translates it. Application + code lets it propagate too, except at a boundary that returns an outcome, such as the child-tool + runner. That boundary catches it only `when` a stop or kill token from the lifetime owner is + cancelled. It returns a domain result such as a cancelled outcome. A cancellation the filter does + not match still propagates. A catch at the last frame an exception can reach logs or reports it + and does not rethrow, since nothing above it can. Such frames are the entry point's catches, a + signal handler, and the unhandled-exception handler's guards. A callback reporting a fault is + one too. See "Interrupts in .NET" and "Unhandled Exceptions in .NET". ## Code patterns -1. **Guard clauses**: prefer early returns for validation and error handling. +1. **Guard clauses**: prefer early returns for validation and error handling. A guard that CA1510 + to CA1513 match calls the throw helper its rule names, such as `ArgumentNullException.ThrowIfNull`. + That holds even where IDE0046 offers a conditional `return` for it. A `netstandard` project + lacks those helpers, so a guard there that IDE0016, IDE0046, or IDE0270 matches takes the throw + expression instead. A local assigned and then + null-checked takes `?? throw` on the assignment, per IDE0270. IDE0046 makes any other such + shape a single conditional `return`, a throw expression included. That shape is an `if` and + the `return`, `throw`, or `else` right after it, each branch only returning a value or throwing. Both + branches throwing is not that shape. Write that shape as the conditional `return` from the start. 2. **Async all the way**: avoid blocking calls (`.Result`, `.Wait()`), use `async`/`await`. 3. **Cancellation tokens**: accept `CancellationToken` as the last parameter and pass it through. 4. **ConfigureAwait**: in library code, use `ConfigureAwait(false)` unless context is required. Do not call `ConfigureAwait(false)` in xUnit tests (see xUnit1030). -5. **Disposables**: use `await using` for async disposables, prefer `using` declarations. +5. **Disposables**: use `await using` for async disposables. A `using` declaration is required + wherever IDE0063 matches. 6. **LINQ vs loops**: use LINQ for clarity, loops for hot paths or allocations. 7. **HTTP**: reuse `HttpClient` via factory, never per-request instantiation. 8. **Collections**: prefer `IReadOnlyList `/`IReadOnlyCollection ` for public APIs. @@ -261,6 +307,58 @@ The .NET mechanics, narrowest first: 12. **Lazy initialization**: use `Lazy ` for static, thread-safe instantiation (e.g. a logger factory, an HTTP factory). +## Console app lifetime + +A console app's entry point follows the sections below, carried from `CODESTYLE.md`. +`references/console-lifetime.md` holds a reference skeleton of the lifetime owner, the `Main` +shape, and the tool runner. It also holds the stop matrix measured with a prototype of this design. + +## Interrupts + + + +This applies to every shell and Python script and to every .NET console app, which the bullets below also call a script. `CODESTYLE.md` "Interrupts in Python", "Interrupts in Shell", and "Interrupts in .NET" state each language's mechanics. + +- **On SIGINT or SIGTERM, a script releases what it holds before it exits.** It removes the temporary paths it created, releases the locks it took, and stops the child processes it started. A path, lock, or child left behind can stop the next run from starting, or feed it a half-written input. A script started with SIGINT ignored keeps it ignored, so a stop meant to reach it sends SIGTERM. A non-interactive shell starts a background child that way. +- **A write to persistent state goes to a temporary path beside the target, then is renamed over it.** An interrupt then leaves the old content or the new, never a mix of both. A store with transactions of its own, such as an SQLite database, is written through those instead. A rename over an open database can corrupt it. +- **An interrupted script prints one line naming the signal, with no traceback, and ends by re-raising the signal.** The signal then ends the process, so a shell reports 130 for SIGINT or 143 for SIGTERM, 128 plus the signal number. At Ctrl-C, a calling shell's loop then stops rather than starting its next iteration. A script calling `exit 130` has not died by the signal, so that loop reads an ordinary non-zero exit and runs on. A launcher between them, such as `uv run`, exits with the status rather than dying by the signal, so that loop runs on there too. +- **A script takes this rule when it is created or next edited.** An existing script is not edited for this rule alone. +- **A script that holds a lock, temporary state, or a child process owes a test that signals it mid-run.** The test sends SIGINT or SIGTERM, then asserts that the script died by that signal and that nothing it held remains. It starts the script with its interpreter directly, since a launcher such as `uv run` hides the signal death. It is skipped on Windows, where a test has no way to send SIGINT or SIGTERM to the process it started. A script holding none of these owes no such test. +- **A script that ends by `exec`-ing its long-running process owes no interrupt handling for that process.** The `exec` replaces the script, so a signal reaches the process directly. A background child the script starts to outlive the `exec` is handed across it, and the script neither stops it nor waits for it. Such a child is handed across only where something else stops it, such as a container's teardown of its whole process tree. Anything else the script holds is released before the `exec`. A script that holds nothing else at any point before the `exec` owes no trap and no signal test. As PID 1, such as a container's entrypoint, it ignores a SIGTERM that arrives before the `exec`, so a stop waits for its timeout. + + + +## Interrupts in .NET + + + +- **One lifetime owner handles every stop, and an asynchronous `Main` creates it before it parses arguments or creates the logger.** The owner registers `PosixSignalRegistration` for SIGINT, SIGTERM, and SIGHUP. A signal that lands before then takes its default action, and no summary is logged. SIGQUIT stays unhandled, so it remains the immediate exit. The owner holds a graceful stop token, a forceful kill token, and the recorded stop reason. Its token sources are never disposed, since a handler can still run after its registration is disposed. +- **Stop requests escalate.** The first records the signal and sets `context.Cancel`. It cancels the stop token with `CancelAsync()` and arms the kill token with `CancelAfter` at the kill bound. The second cancels the kill token and sets `context.Cancel` too, so cleanup and the log flush still run. The third cancels the kill token synchronously and leaves `context.Cancel` unset, so the signal's default action ends the process. The handler does nothing else but log one line, and its body sits inside a catch-all. `Cancel()` runs a token's callbacks on the calling thread, which here is the signal thread. An exception that escapes a signal handler ends the process. +- **The kill bound sits below the container stop grace, at a value such as 5 seconds.** That grace is 10 seconds by default. A bound below it leaves time for cleanup and the log flush before the container is killed. +- **On Windows, the console close and shutdown handlers wait for cleanup, since the process ends when each handler returns.** A console close reaches the app as SIGHUP, and a system shutdown reaches it as SIGTERM. The SIGHUP handler and the SIGTERM handler there each cancel the stop token and the kill token. Each then waits, for less than 5 seconds, until `Main` signals that cleanup finished. +- **System.CommandLine handles neither signals nor exceptions.** The app sets `ProcessTerminationTimeout` to null and `EnableDefaultExceptionHandler` to false. Each action takes `(ParseResult, CancellationToken)`, and `InvokeAsync` receives the stop token. `Main` holds one `try`, and its `finally` flushes the log. The library's own handler exists only for an asynchronous action. It returns after its timeout while the action still runs, and it reports a cooperative cancel as exit 1. +- **Cancellation is a parameter end to end.** Every call that can wait takes the token it honors as a parameter. No static accessor reads a token, and no call blocks on a task. A static accessor hides which token a call honors, and a blocked thread cannot see the stop. +- **A fault is its own stop reason.** A callback off the main flow, such as a file watcher or a timer, catches its exception and reports a fault to the owner. An exception that escapes such a callback is unhandled, so the process aborts instead of cleaning up. Any stop, a fault included, arms the kill bound once, and a later stop does not move it. The exit follows the recorded reason: a fault first, then a signal, then the result. A fault exits with the app's error status, never 0 and never a signal status. +- **One function runs every child tool.** On Unix it starts the child in a session of its own with `ProcessStartInfo.StartDetached`, and every standard stream is redirected. A terminal's signal then reaches only the app, which stops the child once. A child left in the app's process group receives the signal twice, the terminal's and the app's. `KillOnParentExit` is set where the platform supports it, so a child does not outlive an app that is killed. The stop token is the graceful stop, and the kill token is the forceful one. Where a stop was requested, the tool run is cancelled, and any other signal death is a tool failure. These start options need the .NET 11 line, so an app that runs child tools selects that line or a later one. On Windows `StartDetached` stays unset, since the graceful stop attaches to the child's console. +- **What a child starts and leaves behind, such as a container, is named and removed in the stop path.** Stopping the child does not stop what it started outside its own process tree. The removal runs under a short bound of its own and takes neither token. It runs after the tools stop, so its bound and the kill bound together fit inside the container stop grace. With a 10-second grace and a 5-second kill bound, a removal bound such as 3 seconds fits. A stop can cancel the stop token and the kill token before the removal starts. A third stop or a kill of the app abandons the removal. +- **A child inherits an ignored SIGINT, so the kill bound is what ends it there.** A non-interactive shell starts a background job with SIGINT ignored, and the app's children inherit that. The app's SIGINT registration then never fires, and a SIGTERM still stops the app. +- **One exit decision ends the app, and a signal stop ends it by re-sending the signal.** This is the .NET form of the re-raise in `CODESTYLE.md` "Interrupts". After the log is flushed, the app disposes its registrations and restores the signal's default action with libc `signal`. It then re-sends the signal to itself with libc `kill`, so a calling shell loop stops. Where that cannot end the process, as PID 1 in a container or on Windows, `Main` returns 128 plus the signal number. Nothing relies on `ProcessExit` or a finalizer, since the default action ends the process without running either. +- **The rename over persistent state uses `File.Move` with overwrite.** The temporary file sits beside the target and is flushed to disk with `Flush(true)` before the move replaces the target. A rename of content that was never flushed can survive a power loss as an empty file. +- **For an app that holds a lock or temporary state or runs children, the signal test in `CODESTYLE.md` "Interrupts" signals the built app mid-run.** It starts the app with default signal dispositions, as `env --default-signal=INT,QUIT` does. It signals the app alone and asserts death by the signal and that nothing the app held remains. An app that runs children is also signaled on its process group, and its test asserts that no child remains. A calling shell loop that stops after SIGINT to its process group proves death by SIGINT, since an exit status alone cannot. An app that ships a container image runs the PID 1 path in that image. The test asserts the logged line naming the signal, which `CODESTYLE.md` "Interrupts" requires. It is skipped on Windows. + + + +## Unhandled Exceptions in .NET + + + +- **The lifetime owner subscribes `AppDomain.CurrentDomain.UnhandledException` first in `Main`, and its handler logs the exception without surviving it.** The handler writes the exception to standard error and cancels the kill token synchronously, so the tools end. It flushes the log on another thread under a bound, such as 3 seconds, and then returns. The runtime then aborts, so the abort status and any crash dump remain. The handler does not call `Environment.Exit`, and the app does not use `ExceptionHandling.SetUnhandledExceptionHandler` to continue. Continuing would run on with whatever state the exception left broken. +- **`TaskScheduler.UnobservedTaskException` is logged as an error.** A faulted task that nothing awaited raises it only when the task is collected, so the log is the one place its exception shows. +- **A fatal runtime error is not a managed exception and reaches no handler, so a crash dump is its only capture.** The `DOTNET_DbgEnableMiniDump` setting enables that dump. +- **As PID 1 the abort surfaces as another status, so after a logged unhandled exception a caller reads any status above 128 as the abort.** Outside PID 1 on Linux the process dies by SIGABRT. The kernel drops the abort signal's default action for PID 1, and the status measured there on x86-64 is 139. + + + ## Testing conventions xUnit v3 (`xunit.v3`, not the legacy `xunit`) + AwesomeAssertions (`.Should()` API, never native @@ -269,7 +367,7 @@ parameterized tests. A test project on `xunit.v3` 4.0.0 or later is MTP-based, a ## Project configuration -.NET 10.0 target, AOT-compatible (`IsAotCompatible=true`, with `VerifyReferenceAotCompatibility=true` only under the `PublishAot` condition), +Target the repository's own .NET line, .NET 10.0 for the fleet default. AOT-compatible (`IsAotCompatible=true`, with `VerifyReferenceAotCompatibility=true` only under the `PublishAot` condition), SourceLink, embedded untracked sources, `InternalsVisibleTo` for test/benchmark access. See `references/project-config.md` for the full property list. diff --git a/.github/skills/dotnet-codestyle/references/console-lifetime.md b/.github/skills/dotnet-codestyle/references/console-lifetime.md new file mode 100644 index 0000000..014750d --- /dev/null +++ b/.github/skills/dotnet-codestyle/references/console-lifetime.md @@ -0,0 +1,414 @@ +# Console App Lifetime + +This is a reference skeleton for `CODESTYLE.md` "Interrupts in .NET" and "Unhandled Exceptions in .NET". It builds on the .NET 11 line under the fleet's analyzer set with no warnings, and CSharpier and `dotnet format style` report nothing on it. Adapt the command, the tool, and the log sink, and keep the shape. + +## Project + +The repository selects the .NET 11 line, since `ProcessStartInfo.StartDetached` and `KillOnParentExit` need it. Its move to that line follows `CODESTYLE.md` "Toolchain Versions", with `TargetFramework` set to `net11.0` in `Directory.Build.props`. The code relies on `ImplicitUsings` being enabled there. The project references System.CommandLine, CliWrap, Serilog, and Serilog.Sinks.Console, with their versions in `Directory.Packages.props`. Its own `.csproj` sets `AllowUnsafeBlocks`, because the `LibraryImport` source generator requires it. + +```xml + + +``` + +## The Lifetime Owner + +`Exit` is the one exit decision. `Main` calls it last, after the log is flushed, and it also tells a waiting Windows close or shutdown handler that cleanup finished. The Windows console close and shutdown handlers wait for cleanup even when another stop came first, and the kill bound is armed once. The token sources are never disposed, which is what the CA1001 suppression records. + +```csharp +using System.Runtime.InteropServices; +using Serilog; + +namespace ConsoleApp; + +[System.Diagnostics.CodeAnalysis.SuppressMessage( + "Design", + "CA1001:Types that own disposable fields should be disposable", + Justification = "A signal handler can still run after its registration is disposed." +)] +internal sealed partial class Lifetime +{ + public const int ErrorExitCode = 1; + + private readonly CancellationTokenSource _stop = new(); + private readonly CancellationTokenSource _kill = new(); + private readonly ManualResetEventSlim _cleanupDone = new(); + private readonly PosixSignalRegistration[] _registrations; + private int _stopCount; + private int _killArmed; + private int _signalNumber; + private Exception? _fault; + + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Reliability", + "CA2000:Dispose objects before losing scope", + Justification = "The registrations live for the whole run, and Exit disposes them before re-sending a signal." + )] + public Lifetime() + { + AppDomain.CurrentDomain.UnhandledException += OnUnhandledException; + TaskScheduler.UnobservedTaskException += OnUnobservedTaskException; + _registrations = + [ + PosixSignalRegistration.Create(PosixSignal.SIGINT, OnSignal), + PosixSignalRegistration.Create(PosixSignal.SIGTERM, OnSignal), + PosixSignalRegistration.Create(PosixSignal.SIGHUP, OnSignal), + ]; + } + + public TimeSpan KillBound { get; set; } = TimeSpan.FromSeconds(5); + + public CancellationToken StopToken => _stop.Token; + + public CancellationToken KillToken => _kill.Token; + + public bool StopRequested => _stop.IsCancellationRequested; + + public void Fault(Exception exception) + { + _ = Interlocked.CompareExchange(ref _fault, exception, null); + Log.Error(exception, "Stopping on a fault"); + RequestStop(); + } + + public int Exit(int exitCode) + { + _cleanupDone.Set(); + if (Volatile.Read(ref _fault) is not null) + { + return ErrorExitCode; + } + int number = Volatile.Read(ref _signalNumber); + if (number == 0) + { + return exitCode; + } + foreach (PosixSignalRegistration registration in _registrations) + { + registration.Dispose(); + } + if (!OperatingSystem.IsWindows() && Environment.ProcessId != 1) + { + _ = SetSignalHandler(number, 0); + _ = Kill(Environment.ProcessId, number); + } + return 128 + number; + } + + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Design", + "CA1031:Do not catch general exception types", + Justification = "An exception escaping a signal handler ends the process." + )] + private void OnSignal(PosixSignalContext context) + { + try + { + if ( + OperatingSystem.IsWindows() + && context.Signal is PosixSignal.SIGHUP or PosixSignal.SIGTERM + ) + { + _ = Interlocked.CompareExchange(ref _signalNumber, SignalNumber(context.Signal), 0); + Log.Warning( + "{Signal} received, the process ends when this returns", + context.Signal + ); + RequestStop(); + _ = _kill.CancelAsync(); + _ = _cleanupDone.Wait(TimeSpan.FromSeconds(4)); + return; + } + int count = Interlocked.Increment(ref _stopCount); + if (count >= 3) + { + Log.Warning("{Signal} received a third time, ending now", context.Signal); + _kill.Cancel(); + return; + } + context.Cancel = true; + if (count == 2) + { + Log.Warning("{Signal} received again, killing tools", context.Signal); + _ = _kill.CancelAsync(); + return; + } + _ = Interlocked.CompareExchange(ref _signalNumber, SignalNumber(context.Signal), 0); + Log.Warning("{Signal} received, stopping", context.Signal); + RequestStop(); + } + catch (Exception exception) + { + Console.Error.WriteLine($"Signal handler failed: {exception.Message}"); + } + } + + private void RequestStop() + { + if (Interlocked.Exchange(ref _killArmed, 1) == 0) + { + _kill.CancelAfter(KillBound); + } + _ = _stop.CancelAsync(); + } + + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Design", + "CA1031:Do not catch general exception types", + Justification = "The process aborts after this handler, so a failure here only loses the kill." + )] + private void OnUnhandledException(object sender, UnhandledExceptionEventArgs e) + { + Console.Error.WriteLine($"Unhandled exception: {e.ExceptionObject}"); + try + { + _kill.Cancel(); + } + catch (Exception exception) + { + Console.Error.WriteLine($"Killing the tools failed: {exception.Message}"); + } + Thread flush = new(Log.CloseAndFlush) { IsBackground = true }; + flush.Start(); + _ = flush.Join(TimeSpan.FromSeconds(3)); + } + + private static void OnUnobservedTaskException( + object? sender, + UnobservedTaskExceptionEventArgs e + ) => Log.Error(e.Exception, "Unobserved task exception"); + + private static int SignalNumber(PosixSignal signal) => + signal switch + { + PosixSignal.SIGHUP => 1, + PosixSignal.SIGINT => 2, + PosixSignal.SIGTERM => 15, + _ => throw new ArgumentOutOfRangeException(nameof(signal), signal, null), + }; + + [LibraryImport("libc", EntryPoint = "signal")] + [DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)] + private static partial nint SetSignalHandler(int signalNumber, nint handler); + + [LibraryImport("libc", EntryPoint = "kill")] + [DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)] + private static partial int Kill(int processId, int signalNumber); +} +``` + +## The Entry Point + +The logger is created after the lifetime owner, so a signal before then logs to Serilog's silent default rather than failing. A callback off the main flow, such as a `FileSystemWatcher` event handler, wraps its body in a catch-all that calls `lifetime.Fault(exception)`. + +```csharp +using System.CommandLine; +using System.Globalization; +using Serilog; + +namespace ConsoleApp; + +internal static class Program +{ + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Design", + "CA1031:Do not catch general exception types", + Justification = "The entry point turns any failure into the error exit status." + )] + private static async TaskExe +true +Main(string[] args) + { + Lifetime lifetime = new(); + int exitCode; + try + { + Log.Logger = new LoggerConfiguration() + .WriteTo.Console(formatProvider: CultureInfo.InvariantCulture) + .CreateLogger(); + ParseResult parseResult = CreateRootCommand(lifetime).Parse(args); + parseResult.InvocationConfiguration.EnableDefaultExceptionHandler = false; + parseResult.InvocationConfiguration.ProcessTerminationTimeout = null; + exitCode = await parseResult + .InvokeAsync(cancellationToken: lifetime.StopToken) + .ConfigureAwait(false); + } + catch (OperationCanceledException) when (lifetime.StopRequested) + { + Log.Information("Stopped before the run finished"); + exitCode = Lifetime.ErrorExitCode; + } + catch (Exception exception) + { + Log.Error(exception, "Run failed"); + exitCode = Lifetime.ErrorExitCode; + } + finally + { + await Log.CloseAndFlushAsync().ConfigureAwait(false); + } + return lifetime.Exit(exitCode); + } + + private static RootCommand CreateRootCommand(Lifetime lifetime) + { + Argument tool = new("tool") { Description = "The tool to run on each file" }; + Argument files = new("files") + { + Description = "The files to run the tool on", + Arity = ArgumentArity.OneOrMore, + }; + RootCommand root = [with("Runs a tool on each file"), tool, files]; + root.SetAction( + (parseResult, cancellationToken) => + RunAsync( + parseResult.GetRequiredValue(tool).FullName, + parseResult.GetRequiredValue(files), + lifetime.KillToken, + cancellationToken + ) + ); + return root; + } + + private static async Task RunAsync( + string tool, + IReadOnlyList files, + CancellationToken killToken, + CancellationToken stopToken + ) + { + int succeeded = 0; + int failed = 0; + try + { + foreach (string file in files) + { + if (stopToken.IsCancellationRequested) + { + break; + } + ToolOutcome outcome = await ToolRunner + .RunAsync(tool, [file], killToken, stopToken) + .ConfigureAwait(false); + Log.Information("{File}: {Outcome}", file, outcome); + if (outcome == ToolOutcome.Succeeded) + { + succeeded++; + } + else if (outcome == ToolOutcome.Failed) + { + failed++; + } + } + } + finally + { + Log.Information( + "Summary: {Succeeded} succeeded, {Failed} failed, stopped {Stopped}", + succeeded, + failed, + stopToken.IsCancellationRequested + ); + } + return failed == 0 ? 0 : Lifetime.ErrorExitCode; + } +} +``` + +## The Tool Runner + +CliWrap redirects every standard stream of the child on every run. Its `ExecuteAsync` takes the forceful token before the graceful one. + +```csharp +using System.Diagnostics; +using CliWrap; +using Serilog; + +namespace ConsoleApp; + +internal static class ToolRunner +{ + public static async Task RunAsync( + string tool, + IReadOnlyList arguments, + CancellationToken killToken, + CancellationToken stopToken + ) + { + try + { + CommandResult result = await Cli.Wrap(tool) + .WithArguments(arguments) + .WithStandardOutputPipe( + PipeTarget.ToDelegate(line => Log.Information("{Line}", line)) + ) + .WithStandardErrorPipe(PipeTarget.ToDelegate(line => Log.Warning("{Line}", line))) + .WithValidation(CommandResultValidation.None) + .ExecuteAsync(ConfigureStartInfo, null, killToken, stopToken); + return stopToken.IsCancellationRequested ? ToolOutcome.Cancelled + : result.ExitCode == 0 ? ToolOutcome.Succeeded + : ToolOutcome.Failed; + } + catch (OperationCanceledException) + when (stopToken.IsCancellationRequested || killToken.IsCancellationRequested) + { + return ToolOutcome.Cancelled; + } + } + + private static void ConfigureStartInfo(ProcessStartInfo startInfo) + { + if (!OperatingSystem.IsWindows()) + { + startInfo.StartDetached = true; + } + if (OperatingSystem.IsLinux() || OperatingSystem.IsWindows()) + { + startInfo.KillOnParentExit = true; + } + } +} +``` + +```csharp +namespace ConsoleApp; + +internal enum ToolOutcome +{ + Succeeded, + Failed, + Cancelled, +} +``` + +## Measured Stop Matrix + +The table holds results measured with a prototype of this design. The prototype runs on .NET 11 with System.CommandLine and CliWrap, in the .NET 11 SDK container image. Its child is a shell script that logs each signal it receives. The prototype has variants the skeleton does not show. Some run several children in parallel, signal a child directly, use a child that ignores the stop, or hang the cleanup. Others change the kill bound, the start options, or the exit status of a tool failure, or inject a fault. So a row can describe a variant rather than the skeleton as printed. + +| Stop | Reaches | App result | Child | +| --- | --- | --- | --- | +| SIGINT to the app | App | Died by SIGINT after cleanup | One SIGINT, own session | +| SIGINT to the process group | App only, child detached | Died by SIGINT | One SIGINT | +| SIGINT to the process group, child not detached | App and child | Died by SIGINT | Two SIGINT | +| Ctrl-C typed at a pty, two children | App only | Died by SIGINT | One SIGINT each | +| SIGTERM, SIGHUP to the app | App | Died by that signal | One SIGINT | +| Child ignores SIGINT, bound 3 s | App | Died by SIGINT at 3 s | Killed at the bound | +| Second SIGINT after 1 s, bound 30 s | App | Died by SIGINT at once | Killed at the second | +| Third SIGINT while cleanup hangs | App | Died by SIGINT with no flush | Already killed | +| SIGKILL to the app, `KillOnParentExit` set | App | Killed | None left | +| SIGKILL to the app, not set | App | Killed | Left running | +| SIGQUIT to the app | App | Died by SIGQUIT, core | None left | +| Exception on a pool thread | n/a | Logged, flushed, died by SIGABRT | None left | +| Fault from a callback | n/a | Exit 1 after cleanup | One SIGINT | +| SIGINT to the child only | Child | Tool failure, exit 2 | Exit 130 | +| Calling `bash` loop, SIGINT to the group | App | Loop stopped | One SIGINT | +| `docker stop`, app as PID 1 | PID 1 | Exit 143 in 1.3 s | One SIGINT | +| `docker kill --signal INT` and `HUP`, PID 1 | PID 1 | Exit 130 and 129 | One SIGINT | +| `docker stop` under `--init` | App | Exit 143 | One SIGINT | +| `docker stop`, child ignores SIGINT, PID 1 | PID 1 | Exit 143 in 5.2 s | Killed at the bound | +| Third SIGINT while cleanup hangs, PID 1 | PID 1 | Exit 130 | Already killed | +| Exception on a pool thread, PID 1 | n/a | Logged, flushed, exit 139 | None left | +| Ctrl-C typed at `docker run -it` | PID 1 | Exit 130 | One SIGINT each | + +No run covers Windows, so its console close, shutdown, Ctrl-C, and job object handling come from the .NET sources alone. macOS has no `KillOnParentExit`, so a child there outlives an app that is killed. diff --git a/.github/skills/dotnet-codestyle/references/conventions.md b/.github/skills/dotnet-codestyle/references/conventions.md index b0caf08..7a3dd5c 100644 --- a/.github/skills/dotnet-codestyle/references/conventions.md +++ b/.github/skills/dotnet-codestyle/references/conventions.md @@ -13,13 +13,21 @@ project. 2. **Nullable reference types**: enabled (` enable `), use nullable annotations appropriately, use `required` for mandatory properties. -3. **Modern C# features**: prefer modern language constructs. Prefer primary constructors when - appropriate, top-level statements for console apps, pattern matching over traditional checks. - Prefer collection expressions when types loosely match. Prefer extension methods (the classic - `this`-parameter form or an `extension() { ... }` block on C# 14+). Prefer implicit - object creation when the type is apparent. Prefer range and index operators. -4. **Expression-bodied members**: use for applicable methods, properties, accessors, operators, - lambdas, local functions. +3. **Modern C# features**: prefer modern language constructs. Each construct below is required + wherever its IDE rule matches, since the gate reports each rule at warning: + - a primary constructor (IDE0290), + - top-level statements in place of a `Program.Main` (IDE0210), + - pattern matching over traditional checks (IDE0019, IDE0020, IDE0038, IDE0078, IDE0083, + IDE0260), + - a collection expression when types loosely match (IDE0028, IDE0300 to IDE0306), + - implicit object creation when the type is apparent (IDE0090), + - range and index operators (IDE0056, IDE0057). + + Prefer extension methods (the classic `this`-parameter form or an `extension( ) { ... }` + block on C# 14+). +4. **Expression-bodied members**: each is required wherever its IDE rule matches (IDE0021 to + IDE0027, IDE0053, IDE0061). That covers constructors, methods, operators, properties, + indexers, accessors, lambdas, and local functions. 5. **`var` keyword**: do NOT use `var`, always use explicit types: ```csharp @@ -91,15 +99,18 @@ project. 5. **Line endings**: not specified here, governed per repo by `.editorconfig` / `.gitattributes` per GOVERNANCE.md's "Line Endings" section. 6. **`#region`**: do not use regions, prefer logical file/folder/namespace organization. -7. **Member ordering (StyleCop SA1201)**: const -> static readonly -> static fields -> instance - readonly fields -> instance fields -> constructors -> public. Public members are ordered events -> properties -> indexers - -> methods -> operators. Non-public follows in same order, then nested types. +7. **Member ordering (StyleCop SA1201, SA1202)**: order by kind first, across every access level + (SA1201). The kinds run fields, constructors, finalizers, delegates, events, enums, interfaces, + extension blocks, properties, indexers, conversion operators, operators, methods, nested + structs, and nested classes. Within one kind, order by access: public -> internal -> protected + internal -> protected -> private protected -> private (SA1202). Within one kind and access, + const precedes static, which precedes instance, and readonly precedes mutable (SA1203, SA1204, + SA1214). ## Comments and documentation -XML documentation is on: ` true `, and -missing XML comments for public APIs are suppressed in `.editorconfig`. Every public surface must -still be documented: a single-line summary, additional details in remarks, documented input +XML documentation is on: `true `. Every +public surface must be documented: a single-line summary, additional details in remarks, documented input parameters, return values, exceptions, and crefs. ```csharp diff --git a/.github/skills/dotnet-codestyle/references/project-config.md b/.github/skills/dotnet-codestyle/references/project-config.md index 0171c99..177c93a 100644 --- a/.github/skills/dotnet-codestyle/references/project-config.md +++ b/.github/skills/dotnet-codestyle/references/project-config.md @@ -1,12 +1,14 @@ # .NET Project Configuration -1. **Target framework and SDK line**: .NET 10.0 (`net10.0 `). +1. **Target framework and SDK line**: the repository's own line, .NET 10.0 for the fleet default (`net10.0 `). The root `global.json` `sdk` block selects the same line (`"version": "10.0.100"`, `"rollForward": "latestFeature"`, `"allowPrerelease": false`). See `SKILL.md`'s "Central build and package configuration". `LangVersion` stays unset, so the C# version follows the TFM. A `netstandard` analyzer or source-generator project is the exception, and that section says what - it sets. The TFM, the `sdk` major, and that project's fixed `LangVersion` move together. They move only once the hub's - `setup-dotnet` steps and devcontainer image provide the new line beside the old one. + it sets. The TFM, the `sdk` major, the devcontainer image tag, and that project's fixed + `LangVersion` move together. The line is the repository's own, so it may lead or lag the hub's + `global.json` baseline, and a resync never changes the repository's `sdk.version`. The hub's + `setup-dotnet` steps install whatever line the repo's own `global.json` selects. 2. **AOT compatibility**: `true ` unconditionally, and `true ` only in a ``. That group is placed in the `.csproj` after diff --git a/.github/skills/dotnet-codestyle/references/testing.md b/.github/skills/dotnet-codestyle/references/testing.md index 265e096..be92e6e 100644 --- a/.github/skills/dotnet-codestyle/references/testing.md +++ b/.github/skills/dotnet-codestyle/references/testing.md @@ -16,10 +16,12 @@ int actual = GetValue(); // Assert - actual.Should().Be(expected); + _ = actual.Should().Be(expected); } ``` + The `_ =` discard is what IDE0058 requires of an assertion whose result goes unused. + 2. **Organization**: Arrange-Act-Assert pattern. 3. **Naming**: descriptive names with underscores. 4. **Theory tests**: use `[Theory]` with `[InlineData]`. diff --git a/.github/skills/drive-pr/SKILL.md b/.github/skills/drive-pr/SKILL.md index c68a088..e2b12c9 100644 --- a/.github/skills/drive-pr/SKILL.md +++ b/.github/skills/drive-pr/SKILL.md @@ -61,10 +61,13 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR - Naming this skill, and answering its how-far question, is the maintainer's explicit, current go-ahead. It covers every feature -> develop squash merge the drive performs to reach that target. + It also covers opening each pull request the drive needs. And it covers the whole post-merge + `cleanup` after each feature -> develop merge, a peer's merge included. - A dispatched drive answers no such question. So what stands in its place is the go-ahead the - dispatching seat holds, per "How Far to Drive" above. The drive performs the same merges on it. + dispatching seat holds, per "How Far to Drive" above. The drive performs the same writes on it. Reading this bullet list is not how such a drive establishes that. That is because a worker - cannot verify a grant made in a seat it has no access to. + cannot verify a grant made in a seat it has no access to. Its brief can also withhold one of + those writes. A `backlog-burndown` worker's brief withholds the post-merge `cleanup`, for one. - It is never authorization to merge the develop -> main promotion PR, or to dispatch a release. Those stay in merge-and-release, invoked on its own so the maintainer keeps a checkpoint before the harder-to-reverse step. @@ -75,7 +78,12 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR ## The Drive Loop 1. Isolate into a worktree per repo-worktree before the first edit. Base it on the branch that skill's base rule names, develop unless the task is explicitly about main-only content. -2. Commit the work, then run `local-strict-review` and record its pass in the order that skill +2. Before any commit that first writes a code or config comment line, check + `gh label list --search comments`. Where the label is missing, `comment-and-doc-style` says the + escape is not yet available there. So delete the comment line before committing. Where a rule + requires the comment, report the missing label to whoever dispatched the drive, or to the + maintainer, and do not push. + Commit the work, then run `local-strict-review` and record its pass in the order that skill gives, its diff receipt following the commit. Where the change also carries the canonical ledger, that skill's carried-content records instead precede the commit, because that ledger is tracked. A driver that cannot dispatch a subagent follows that skill's "Running It". @@ -88,10 +96,17 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR finding still open into the pull request's body with its class, per `local-strict-review` "Disposing of Findings". A later push adds its own to any list already there. Step 3 gives each one an outcome under the Merge Gate's item 3. Where the - change writes a code or config comment line, add the `comments` label after creating the PR, or - the prose gate refuses it. Where a public repository's lint log says "Read the pull - request's labels live", a rerun of the failed job picks the label up. Otherwise it applies to - the next push. + change writes a code or config comment line, create the PR with `gh pr create --label comments`, + or the prose gate refuses it. A repository lacking the label can refuse that create, which is + why the check above comes first. A label added after the create is missing from the + opened event's payload. Where the lint log lacks "Read the pull request's labels live", that + payload decides. A private repository's log always lacks it until the lint job holds + `pull-requests: read`. A label given at the create is still missed there now and then, so read + the first lint run. Where a later push first writes a comment line, add the label with + `gh pr edit` before that push, so the push's event carries it. Where the log reads the labels + live, a rerun of the failed job picks up a label added late. Otherwise a rerun replays the + payload. So the label then reaches the gate only through a fresh event, such as the next push + or a close and reopen. A push refused by a `.husky/pre-push` hook is that gate working rather than an obstacle to route around. The hub carries such a hook, and a repository has one only if it adds one. That skill's refusal table says what each refusal means and what clears it. @@ -103,16 +118,20 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR one per "Disposing of Every Finding" and wait again. Read `state=` in every digest `wait` or `status` prints. A peer can merge or close the pull request mid-drive. A digest carrying `state=MERGED` on a feature PR into develop means the merge has landed. Skip the merge in step 4 and go on to its post-merge path. + A finding still open there keeps its outcome owed. That covers an unresolved thread and every finding step 4 names, whether or not `merge` would refuse on it. + Give each one per "Disposing of Every Finding" before that path's cleanup, a fix landing as a fresh feature -> develop pass. On a promotion PR it means the drive's end state is passed, so stop and report it merged. A digest carrying `state=CLOSED` is a stop to report, with its `closed_at=`. On such a PR `state=` decides the next step over any exit code `wait` or `status` returns. A promotion re-reviews content its feature PRs already carried. So under the hub's default review policy, the hosted review runs once per change, at the promotion in step 6. `wait` sends each request the repository's review policy asks for, so the drive never asks whether a reviewer starts on its own. -4. Merge the feature PR into - develop with `uv run --no-project --script scripts/pr_review.py merge --repo / --cleanup --checkout `, - run from a hub checkout outside the task's worktree, ` ` being the repository's - primary clone. It reads the Merge Gate's mechanically readable items in code, through `wait`'s +4. Run this step's merge and post-merge `cleanup` only on the go-ahead "What Invoking This Skill + Authorizes" states. Merge the feature PR into + develop with `uv run --no-project --script scripts/pr_review.py merge " " --repo " / " --cleanup --checkout ~/repos/" "`, + run from a hub checkout outside the task's worktree, `~/repos/ ` being the repository's + primary clone. That path is the convention layout, and a machine not yet migrated passes its actual primary clone instead. Spell every `scripts/pr_review.py` call this skill prints as `pr-review-conduct` + "Expected review loop" says. `merge` reads the Merge Gate's mechanically readable items in code, through `wait`'s own decision and a fresh read after it. It merges nothing while one reads unmet. The items no code reads stay this seat's per pr-review-conduct's Merge Gate. A finding the pull request's body lists is one. A no-thread finding on an earlier round is one too, since `FINDINGS WITH NO @@ -121,8 +140,8 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR `--ack` record pr-review-conduct "Answering a suppressed finding" states. A `qodo_open` finding refuses it the same way, even where Qodo also opened a thread for it, since resolving that thread answers nothing. For a disproved one, that comment's body mentions the Qodo login - the digest's remedy line names. It asks Qodo to dismiss the finding by the number the remedy - line gives, with the reason. That answer is the redrive an `UNTHREADED_FINDINGS` line naming + the digest's remedy line names. It asks Qodo to dismiss the finding by its title and file + location, with the reason. That answer is the redrive an `UNTHREADED_FINDINGS` line naming `qodo_open` owes, rather than a blocked merge for the maintainer. It squash-merges only an open pull request into `develop`, headed in that same repository on a branch that is not permanent. The merge is pinned to the head the gate read and confirmed by reading it back. @@ -130,18 +149,25 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR line's route here. The hub's `scripts/README.md` "`pr_merge.py`" gives each route in full. - `next=done` is merged and cleaned up. - - `next=cleanup` is a merge that landed with its cleanup still owed. Run the `cleanup` command - below. Report a pull request another hand merged as a merge this run cannot vouch for. The - head that merged may be one the gate never read. - - `next=readback` is a merge that may have landed. Read it back with `gh pr view --repo - / --json state`. `MERGED` means run `cleanup`, and `OPEN` means treat it as + - `next=cleanup` is a merge that landed with its cleanup still owed. Give its open findings the + outcome step 3 owes after a peer merge, then run the `cleanup` command below. Report a pull + request another hand merged as a merge this run cannot vouch for. The head that merged may be + one the gate never read. + - `next=readback` is a merge that may have landed. Read it back with `gh pr view " " --repo + " / " --json state`. `MERGED` means run `cleanup`, and `OPEN` means treat it as `redrive`. Only a read that still cannot answer is reported, saying the merge may have landed. - `next=redrive` is a refusal that merged nothing and that this seat can clear. Do what its `status=` lines name, per step 3 and pr-review-conduct, giving each finding they count an outcome per "Disposing of Every Finding". A check still running clears by waiting for it, - with `timeout 1800 gh pr checks --repo / --watch`. A hosted + with `timeout 1800 gh pr checks " " --repo " / " --watch`. A hosted reviewer's review still running on the head is such a check, refused as `CHECKS_PENDING`. - Then run `merge` once more. + An open registration grace is refused as `CHECKS_PENDING` too, on a line naming when it + ends. The watch above can return before then, so it does not clear the grace alone. On a + held head, `wait` holds until the grace ends. On any other head, run the watch above + first, since a check settling restarts the grace. Then wait in a background process until + the later of the named end and 90 seconds after the watch returned. Then run `merge` once + more. A rerun that still refuses on a grace is the blocked merge reported below, naming the + end it gives. - `next=retry` is a read that did not answer, or a merge `gh` refused on an unchanged head. Run `merge` once more as it is. - `next=maintainer` is a line no action of this seat can change, or a merge whose `cleanup` @@ -154,27 +180,28 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR around, and it hands the maintainer no command to run instead. A harness refusing the `merge` call itself is a refused write rather than a gate refusal. That happens on a machine with no allow rule for it, or under - another provider. Raise it as a blocked decision per `GOVERNANCE.md` "Repository Boundaries and - Write Safety". Name the maintainer's routes, adding the permission rule or running the command - themselves. Once the merge is + another provider. It also happens on Claude Code for a call the rule does not match, per + `pr-review-conduct` "Expected review loop". Raise it as a blocked decision per `GOVERNANCE.md` + "Repository Boundaries and Write Safety". Name the maintainer's routes. One is adding the + permission rule where it is missing. Another is the change that paragraph names, a hub checkout + inside the session's working directories or a writable uv cache. The last is running the + command themselves. Once the merge is confirmed, `--cleanup` runs repo-worktree's post-merge cleanup, - `uv run --no-project --script scripts/pr_review.py cleanup --repo / --checkout `, - and its exit is the command's. It deletes the remote branch, then removes the task's worktree and local branch. + `uv run --no-project --script scripts/pr_review.py cleanup " " --repo " / " --checkout ~/repos/" "`, + and its exit is the command's. That path is the convention layout, and a machine not yet migrated passes its actual primary clone instead. It deletes the remote branch, then removes the task's worktree and local branch. It decides its local refusals before the remote delete. `repo-worktree` "Listing and Cleanup" says what a refusal after the remote delete and a `base=kept` line each leave to do. It takes the pull request rather than a branch name and does the verify-then-delete in - code. It refuses unless the pull request merged into `develop` from a head in that same - repository. It also refuses a permanent branch or one any ruleset or branch protection covers. It + code. It refuses unless the pull request merged into `develop`, or is a conflicted promotion + merged into `main`, from a head in that same repository. It also refuses a permanent branch or one any ruleset or branch protection covers. It checks the tip is still at the pull request's `headRefOid` before deleting, and reads the ref back to confirm. These exits are `cleanup`'s, read once a `status=MERGED` line printed or a standalone `cleanup` ran. Exit `0` is done, the branch deleted or already gone. Any other exit stops and reports rather than deleting by hand. `1` is a refusal, a moved tip among them. `2` is a read that did not answer or a delete it could not confirm. `64` is a target under an owner other than the hub - checkout's own `origin`, or that `origin` unreadable. A registry refusal is a `1`. It runs - under the host-safety installer's `Bash(uv run --no-project --script scripts/pr_review.py:*)` allow rule, - which is what lets auto mode complete it. - It also refuses while another open pull request in the repository has the branch as its head or base. + checkout's own `origin`, or that `origin` unreadable. A registry refusal is a `1`. + `cleanup` also refuses while another open pull request in the repository has the branch as its head or base. It names each, since the delete would close or retarget it. Where this seat cannot run `cleanup`, report the delete to the maintainer instead of deleting by hand. Name the pull request number and `--repo` so the maintainer runs the same command. @@ -184,16 +211,29 @@ this skill exists to prevent. So is forgetting to loop back to the promotion PR repo's auto-delete-head-branches setting is kept off fleet-wide (to protect `develop` and `main` from it, GitHub has no per-branch exception). So nothing deletes an ordinary feature branch automatically. Stop here and report the merged PR when the target is develop only. -5. Open the develop -> main promotion PR if it does not exist yet, or find the existing one. +5. Open the develop -> main promotion PR if it does not exist yet, or find the existing one. Its + body carries the closing keywords, checked as `branching-and-release-model`'s closing-keyword + bullets state. A promotion reading `DIRTY`, or failed by the `Check promotion history step`, + lands from a conflicted-promotion cut instead. That skill's + `references/branch-protection-and-promotion.md` states the cut, its label and closing-set carry, + and its tree-equality check. 6. Drive its review loop the same way. A finding that needs a code change never gets pushed to the promotion PR directly, since its head is develop. So land the fix as a fresh pass through steps 1 to 4 in its own worktree and branch. Then return here. -7. The fix landing on develop updates the promotion PR's diff and head SHA on its own. Re-request + The promotion's head can read `coverage=none` where a Copilot round covers it and none + covering it carries a file table. Then run the local strict review at the `frontier` tier from + a clean checkout of that head, `main...develop`. Its target is `main` in every command that + skill runs, the `status` and `record` calls included. Then run `pr_review.py attest` from that + checkout on the promotion pull request. Merge Gate item 2 in + pr-review-conduct then reads `coverage=local`, on the further terms that item states. Each new + head owes its own pass and attestation. +7. The fix landing on develop updates the promotion PR's diff and head SHA on its own. A cut's + head does not move with develop, so merge each fix into the cut as that reference states. Re-request a review on the new head and continue the loop. 8. Repeat 6 and 7 until the promotion PR meets every pr-review-conduct Merge Gate item except the maintainer's explicit permission to merge. 9. Report the promotion PR number, its ready state, and its full head SHA, read as `gh pr view - --repo / --json headRefOid --jq .headRefOid`, the one `merge-and-release` + " " --repo " / " --json headRefOid --jq .headRefOid`, the one `merge-and-release` compares against before merging. Do not merge it. ## Disposing of Every Finding @@ -207,7 +247,10 @@ maintainer when". A finding that committed text holds observed data takes outcome 4's observed-data bullet, whatever its class, ahead of every other outcome. That applies once the data is confirmed as -observed. A value the repository constructed is disproved under outcome 2 instead. +observed. A value the repository constructed is disproved under outcome 2 instead. So is a +value outside the rule's scope, such as a date, an amount, a balance, or a private-range IP +address. `GOVERNANCE.md` "Representative Data in Agent-Authored Text" bounds only what its first +bullet calls identifying data. 1. **Real, so fix it, and fix the class rather than the instance.** A reviewer samples rather than enumerates, so sweep for the finding's siblings before replying. Fix each one sitting @@ -264,7 +307,11 @@ observed. A value the repository constructed is disproved under outcome 2 instea that one too. The pull request holding the record takes the `history-data` label, and so does the one whose review raised it. Where the repository lacks that label, the maintainer is told. A thread raising a recorded finding is answered with a pointer to its body line and - resolved. + resolved. Every observed secret also goes to the maintainer for revocation, whatever else its + case requires, naming only the repository and the kind of data. A seat that cannot reach the + maintainer hands that notice to whoever dispatched it. The notice is not an escalation, so it + stops nothing, and its case's own route continues. A seat with no dispatcher lists it in its + final report, never in a handoff issue. - A local pass before the push that opens the pull request can raise a `pre-existing` correctness defect in a file the diff already touches. That defect is fixed here under outcome 1. That covers wrong behavior and a false or unfollowable instruction, and not a @@ -339,8 +386,9 @@ instance's outcome is context for the new one, never a standing answer to reuse ## Mechanics Live Elsewhere - Review loop mechanics, the Merge Gate, and `scripts/pr_review.py`: pr-review-conduct. -- Branch rules, never delete develop, the EOL-only conflict, issue-closing keywords belonging on - the promotion PR: branching-and-release-model. +- Branch rules, never delete develop, the EOL-only conflict, the conflicted-promotion cut, the + squash recovery, issue-closing keywords belonging on the promotion PR: + branching-and-release-model. - Worktree isolation and post-merge cleanup: repo-worktree. ## Stop and Ask, Beyond the How-Far Question diff --git a/.github/skills/fleet-code-review/SKILL.md b/.github/skills/fleet-code-review/SKILL.md index e8523b6..167a727 100644 --- a/.github/skills/fleet-code-review/SKILL.md +++ b/.github/skills/fleet-code-review/SKILL.md @@ -62,6 +62,7 @@ A change is cheapest to shape before it is written. Hardening nothing calls for, - **Reuse before building.** Search this repository and the hub for a primitive that already does the job. Start from the list of consolidated primitives this repository's `OPERATIONS.md` keeps under `Configuration Layout` once it has consolidated any. Extend one that exists rather than adding a sibling that does almost the same thing. A near-duplicate splits every later fix between two copies. - **A defect class seen a second time gets one primitive, and every site in a file the change touches moves onto it.** A check written at each site repeats its own platform and edge-case defects at every site. A read that can block on a named pipe, for one, meets a new platform difference at each site that guards it alone. One reader that opens without blocking and judges the open descriptor closes that class everywhere. Every other site takes the outcome the class-sweep bullet of "Verification Discipline" gives it. - **Complexity is a cost that needs a reason.** Code that answers no requirement and no realistic threat is removed rather than maintained, since each later review and each later change reads it again. +- **A one-off is detected and reported, never corrected by code.** A one-off is a defect that occurs once on a host or a repository, and that correcting it once removes. A tool installed by the wrong method is one, and so is a wrong path the user can fix by hand. The tooling detects it and tells the user how to correct it by hand. It writes no code that performs the correction. Such code runs once and then never again, yet it is reviewed, tested, and maintained for as long as it exists. The detection stays automated, because a check that runs every time is what keeps the one-off from going unnoticed. `GOVERNANCE.md` "Design Before Code" keeps the full rules. The `fleet-code-review` Skill at `.agents/skills/fleet-code-review/SKILL.md` in the hub carries it whole as a generated include and surfaces it wherever a change is reviewed. That path is not a repo-relative link, since it is hub-local and not carried into every fleet repo. diff --git a/.github/skills/git-commit-conventions/SKILL.md b/.github/skills/git-commit-conventions/SKILL.md index 8a705e5..c6802c7 100644 --- a/.github/skills/git-commit-conventions/SKILL.md +++ b/.github/skills/git-commit-conventions/SKILL.md @@ -157,19 +157,16 @@ Each line names a setting, whether the target matches the probe, and the scope a ## Never force push -Do not run `git push --force` or `git push --force-with-lease` under any circumstances. Force +In a fleet repository, do not run `git push --force` or `git push --force-with-lease` under any circumstances. Force pushing rewrites shared history and can cause data loss. This holds regardless of how confident the rewrite looks, a rejected push is recoverable, a force-pushed one is not. +The maintainer's fork of a third-party repository is not a fleet repository. There `upstream-contribution-workflow` names the branches that may take `--force-with-lease`, and each push still waits for his explicit, current go-ahead. + ## History rewrites re-identify only what changed -**Do not rewrite a commit that does not need to change.** A history rewrite (e.g. `git filter-repo` -to strip PII) re-signs every touched commit with the rewriter's key. If that commit is still -committed by a bot (`dependabot[bot]`, `github-actions[bot]`) or GitHub's own web-flow, the signature will not match the committer. The require-signed-commits rule then rejects it. Scope the -rewrite to only the commits that must change. Set `committer` (and `author`) to the rewriter's -identity on any non-own commit that must be modified. Verify with `git log --show-signature` after -any rewrite. See `references/history-rewrite.md` for the full rule. +**Do not rewrite history unless a commit must change, and re-sign every commit the rewrite reaches.** A rewrite cascades, since a commit's hash covers its parents' hashes, so it reaches every descendant of the earliest commit it changes. `git filter-repo` (for example, to strip PII) strips the signature from every commit it processes and signs nothing. So the rewritten history lands unsigned, which the require-signed-commits rule rejects. State each branch's reach before rewriting, and re-sign in a pass that signs each commit. GitHub verifies a signature against the commit's `committer`. So in that pass set `committer` to the rewriter's signing identity on every commit another identity committed, such as a bot's. Keep its `author`, since verification reads only the committer. Verify through GitHub's API (`commit.verification.verified` and `reason`), since `git log --show-signature` cannot see GitHub's committer match. See `references/history-rewrite.md` for the full rule. ## Never run destructive git commands without being asked -`git reset --hard`, `git checkout .`, `git restore .`, `git clean -f`, and other commands that discard work require explicit developer instruction. Never use them as a convenience inside a larger task. One narrow cleanup exception applies to `git branch -D ` after a squash merge. It requires live proof, per `repo-worktree`, that the pull request for that exact branch merged. The same proof must show that the worktree is clean and the branch is at the verified head SHA or behind it. The exception never applies to `develop`, an unmerged branch, an unresolved pull request, or a branch with uncommitted work. A `backlog-burndown` orchestrator has that instruction for the linked worktree of a worker it told to abandon, once that worker has ended. That skill's "Cleanup Is the Orchestrator's" states it. The orchestrator runs `git reset --hard` and then `git clean -fd` in that worktree, and nowhere else. +`git reset --hard`, `git checkout .`, `git restore .`, `git clean -f`, and other commands that discard work require explicit developer instruction. Never use them as a convenience inside a larger task. One narrow cleanup exception applies to `git branch -D "