Repository navigation
Resync the Instruction Set and Skills Tree With the Hub - #597
Conversation
Re-vendor the stale AGENTS.md and GOVERNANCE.md verbatim sections with carry.py apply-sections. Merge the hub's CODESTYLE.md and copilot-instructions.md changes three-way so the repository's own .NET conventions, OPERATIONS.md pointers and ledger stay. Take WORKFLOW.md and AUDIT.md whole, since both matched the last-synced hub exactly. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Carry the manifest-owned .github/skills tree with carry.py apply, adding update-host and refreshing every skill that matched a past hub revision. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🔵 Needs a closer look
The resync spans fleet-wide review gates, host-agent updates, secret handling, and release procedures across 33 instruction files, creating operational complexity that automated review cannot validate end to end.
No open issues 🎉
What changed in this PR
Resynchronizes Utilities' carried instruction set and generated Skills tree with ptr727/ProjectTemplate at hub revision 009d3e5e, preserving repository-specific guidance while updating governance, workflow, audit, review, and host-management documentation.
Changes:
- Refreshes
AGENTS.md,GOVERNANCE.md,CODESTYLE.md,WORKFLOW.md,AUDIT.md, and Copilot instructions. - Re-vendors the generated
.github/skills/tree, including the newupdate-hostSkill and updated workflow, review, resync, testing, and repository-management guidance. - Updates SDK selection, interrupt handling, audit reporting, coverage, Dependabot, branching, promotion, and session-management procedures.
- Review findings identify temporary-directory cleanup gaps, Windows interrupt-test coverage, SDK configuration sequencing, and a workflow validation-contract inconsistency.
| File | Description |
|---|---|
| WORKFLOW.md | Updates CI guarantees, coverage requirements, release scenarios, and operational workflow guidance. |
| GOVERNANCE.md | Refreshes governance rules for decisions, observed data, secrets, tooling, design, review, and editor configuration. |
| CODESTYLE.md | Adds interrupt-handling rules and updates .NET SDK configuration guidance. |
| AUDIT.md | Updates audit branch selection, secret auditing, report naming, manual findings, and resync grouping. |
| AGENTS.md | Adds short-name routing and host-update Skill guidance. |
| .github/skills/workflow-ci-contract/references/test-methodology.md | Synchronizes workflow audit evidence, scenarios, and publish guidance. |
| .github/skills/workflow-ci-contract/references/d-guarantees.md | Synchronizes CI guarantee definitions and workflow contract requirements. |
| .github/skills/workflow-ci-contract/references/architecture.md | Synchronizes operational workflow architecture guidance. |
| .github/skills/update-host/SKILL.md | Adds host-wide agent, Skills, safety-kit, and global-rules setup and status procedures. |
| .github/skills/standup-a-repo/SKILL.md | Updates standup sequencing, branch re-leveling, and audit guidance. |
| .github/skills/shell-codestyle/SKILL.md | Adds interrupt-handling requirements for shell scripts. |
| .github/skills/session-handoff/SKILL.md | Updates handoff parsing, decision handling, cleanup, and round-recording procedures. |
| .github/skills/resync-a-repo/SKILL.md | Documents combined instruction-set and Skills-tree resynchronization flow. |
| .github/skills/repo-worktree/SKILL.md | Clarifies ignored-file handling during worktree cleanup. |
| .github/skills/python-codestyle/SKILL.md | Adds interrupt-handling requirements for Python scripts. |
| .github/skills/pr-review-conduct/SKILL.md | Updates review coverage, Dependabot handling, observed-data processing, and finding outcomes. |
| .github/skills/merge-and-release/SKILL.md | Extends hub release handling to refresh host safety resources and global rules. |
| .github/skills/local-strict-review/SKILL.md | Updates edit-budget and observed-data review handling. |
| .github/skills/git-commit-conventions/SKILL.md | Adds target-repository identity and signing-configuration checks. |
| .github/skills/fleet-code-review/SKILL.md | Updates defect-class sweep guidance and removes the obsolete review-marker requirement. |
| .github/skills/drive-pr/SKILL.md | Updates review-finding outcomes and observed-data escalation procedures. |
| .github/skills/dotnet-codestyle/SKILL.md | Adds root SDK selection, global.json, and LangVersion requirements. |
| .github/skills/dotnet-codestyle/references/testing.md | Clarifies shared global.json requirements for MTP-based tests. |
| .github/skills/dotnet-codestyle/references/project-config.md | Documents alignment between the target framework and SDK line. |
| .github/skills/decision-triage/SKILL.md | Adds deferred-issue rechecking, lift-or-keep outcomes, and queue accounting guidance. |
| .github/skills/copilot-instructions-keeper/SKILL.md | Updates Copilot instruction synchronization and repository-local ledger guidance. |
| .github/skills/comment-and-doc-style/SKILL.md | Refreshes Markdown, prose, spelling, and documentation-style rules. |
| .github/skills/comment-and-doc-style/references/line-endings.md | Expands tool-owned, platform-native, and byte-preserved line-ending guidance. |
| .github/skills/check-this-repo/SKILL.md | Adds host-wide agent setup as a repository refresh option. |
| .github/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Updates ruleset application ordering and branch protection and promotion guidance. |
| .github/skills/backlog-burndown/SKILL.md | Adds net-flow reporting, deferred-issue handling, observed-data coordination, and promotion guidance. |
| .github/skills/audit-a-repo/SKILL.md | Updates audit branch selection, report naming, manual findings, and resync references. |
| .github/skills/agent-conduct/SKILL.md | Synchronizes verification, review, communication, and maintainer-handoff conduct rules. |
| .github/copilot-instructions.md | Updates Copilot review-runner, coverage, and runbook instructions. |
Review effort: Lite
|
Answering the Copilot round on
No change needed. The headline names no failing behavior, file, or line. Every changed file is carried hub content. |
## Summary CI is red on both `develop` and `main`. The runner's .NET SDK 10.0.404 reports CA2027 as an error twice in `UtilitiesTests/LoopbackServer.cs`. The flagged lines are the two teardown waits in `Dispose()`, each shaped `Task.WhenAny(task, Task.Delay(timeout))`, where the delay's timer outlives the task it races. This blocks every pull request, including the hub resync in #597 and the `main` Dependabot bump in #596. Each wait is now `Task.WaitAny([task], timeout)`. It is bounded by the same timeout, never rethrows a faulted or canceled task, and leaves no timer behind. So the existing teardown contract and its comment still hold, and the `_ = task.Exception` lines after each wait still observe any fault. The change is test-only, so no packaged code changes. `main` takes its own dependency bumps here, so the same two-line change is opened against both branches. ## Verification - `dotnet build` passes with zero warnings and zero errors, and `dotnet format style --verify-no-changes` is clean. - `dotnet test` passes 212 of 212. - CA2027 reproduced locally before the change and is gone after it. - Local strict review ran three passes. The first flagged two added comments the prose gate refuses, and they were removed. The second pointed out that `Task.WaitAny` already does what a hand-built helper did, so the helper went. The final pass over the two-line change found nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
) ## Summary CI is red on both `develop` and `main`. The runner's .NET SDK 10.0.404 reports CA2027 as an error twice in `UtilitiesTests/LoopbackServer.cs`. The flagged lines are the two teardown waits in `Dispose()`, each shaped `Task.WhenAny(task, Task.Delay(timeout))`, where the delay's timer outlives the task it races. This blocks every pull request, including the hub resync in #597 and the `main` Dependabot bump in #596. Each wait is now `Task.WaitAny([task], timeout)`. It is bounded by the same timeout, never rethrows a faulted or canceled task, and leaves no timer behind. So the existing teardown contract and its comment still hold, and the `_ = task.Exception` lines after each wait still observe any fault. The change is test-only, so no packaged code changes. `main` takes its own dependency bumps here, so the same two-line change is opened against both branches. ## Verification - `dotnet build` passes with zero warnings and zero errors, and `dotnet format style --verify-no-changes` is clean. - `dotnet test` passes 212 of 212. - CA2027 reproduced locally before the change and is gone after it. - Local strict review ran three passes. The first flagged two added comments the prose gate refuses, and they were removed. The second pointed out that `Task.WaitAny` already does what a hand-built helper did, so the helper went. The final pass over the two-line change found nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #597 +/- ##
========================================
Coverage 70.54% 70.54%
========================================
Files 13 13
Lines 1219 1219
Branches 111 111
========================================
Hits 860 860
Misses 319 319
Partials 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
## Summary This is step 6 of the hub resync to `ptr727/ProjectTemplate` at `009d3e5e`: the intent files, brought in line by hand. It follows #597, which carried the instruction set and the Skills tree. - `global.json`: gains the hub snippet's `sdk` block, `10.0.100` with `rollForward: latestFeature`, and keeps the repository's own `test.runner`. A host with a newer SDK installed alongside .NET 10 now builds on .NET 10, as CI does. `CODESTYLE.md`, carried in #597, already describes the root `global.json` as selecting the SDK line. Before this change, a host with SDK 11 installed built with SDK 11. - `.vscode/tasks.json`: the Lint group now matches the hub snippet. The EditorConfig, Workflows, Markdown, and Spelling tasks run through the hub's `scripts/docker_lint.py`. `Lint: Prose` (whole repository) and `Lint: EOL` are new. This matches `GOVERNANCE.md` "Editor and Tasks". Two local adaptations: - The snippet's pre-commit comment line is rewritten, since this repository's hook runs only the .NET formatters. - `Lint: All` runs EOL before Prose. A sequence stops at its first failing task, and whole-repo Prose reports findings that predate this change. - Both snippet issues are reported on hub #3536. - `hub_fetch_run.py`: new at the root, byte-identical to the hub's `catalog/snippets/hub_fetch_run.py`. - `OPERATIONS.md`: describes the SDK pin, including that every host now needs a .NET 10 SDK. It lists the helper and describes how each Lint task runs. A two-sentence comment in `.vscode/tasks.json` is split, per the comment rules. This PR adds comment lines, all carried from the hub snippet or the helper, so it carries the `comments` label. This closes the `intent` advisory on `global.json` from `audit run 2026-11-12T22:11:18Z | hub 009d3e5e`. The advisories on `version.json` and `.editorconfig-checker.json` are date-only, because their canonicals changed before the last sync, and their content is the repository's own. ## Verification - With SDK 11.0.100 and 10.0.404 both installed, `dotnet --version` now reports 10.0.404. On that SDK, `dotnet build` passes with zero warnings and `dotnet test` passes 212 of 212. - Each Lint task's command was run by hand, and all six execute. EditorConfig, Workflows, Markdown, Spelling, and EOL pass. Whole-repo Prose reports findings only in files this change does not touch. The CI gate is diff-scoped, so those findings do not affect it. - The diff-scoped prose gate (with comments allowed) and markdownlint pass. - Local strict review ran three passes over the full diff. The first found two overstatements in `OPERATIONS.md` and the Lint: All ordering. The second found that the SDK-pin sentence hid the .NET 10 requirement. All of these are fixed here, and the final pass found nothing. ## Findings Routed to the Hub - `.vscode/tasks.json` `Lint: All` ordering, raised by a local pass. The hub snippet runs `Lint: Prose` before `Lint: EOL` under a stopping sequence, so a carrier with whole-repo prose findings never reaches EOL. That is canonical content, so it is declined here and reported on ptr727/ProjectTemplate#3536. This copy runs EOL first meanwhile. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary Promotes the hub resync to `main`. It carries four pull requests, all merged into `develop`. The resync is against hub `ptr727/ProjectTemplate` at `009d3e5e`: - #597 resyncs the instruction set and the Skills tree. The `AGENTS.md` and `GOVERNANCE.md` verbatim sections are re-vendored. The hub's `CODESTYLE.md` and `.github/copilot-instructions.md` changes are merged with this repository's own content kept. `WORKFLOW.md` and `AUDIT.md` are taken whole, and `.github/skills` is re-vendored, adding `update-host`. - #600 resyncs the intent files. `global.json` pins the .NET 10 SDK line with `latestFeature`, and the VS Code Lint tasks run through the hub's `docker_lint.py` via a root `hub_fetch_run.py`. `OPERATIONS.md` describes both. - #598 replaces the two `Task.WhenAny(task, Task.Delay(timeout))` teardown waits in `UtilitiesTests/LoopbackServer.cs` with `Task.WaitAny`, because SDK 10.0.404 reports them as error CA2027. `main` already carries the identical change from #599, so this file merges with no diff. - #595 is Dependabot's `Microsoft.NET.Test.Sdk` 18.11.1 -> 18.12.0 bump, test-only. `main` was also given the CA2027 fix directly in #599, so its own Dependabot pull requests build again. ## Merge A test merge of `develop` into `main` auto-merges cleanly, and its tree equals `develop`'s tree (`0b7af164`). So this is a plain `develop -> main` pull request with no `promote/` branch. ## Release `releaseTrigger` is `two-phase`, so a maintainer merging this publishes nothing by itself. Release goes through an explicit `publish-release.yml` dispatch on `main`. Among the publisher's push paths, only `Directory.Packages.props` differs from `main`, through the test-only bump in #595. ## Audit `audit run 2026-11-12T23:18:04Z | hub 009d3e5e | branch override develop` reports 0 defect findings on `develop`. Two date-only intent advisories remain, on `.editorconfig-checker.json` and `version.json`, whose content is this repository's own. Repository settings were applied from the hub at `009d3e5e` with `repo-config/configure.sh apply`, adding the `history-data` label, and `check` reports a match. ## Review coverage Each feature pull request met every Merge Gate item at its merged head. #597 had a Copilot round with a file table naming all 34 changed files, and its one verdict headline was answered. #598 and #600 each had an attested local pass covering the merged head. #600's three Copilot threads were resolved: one fixed, and two declined as carried hub content, tracked in ptr727/ProjectTemplate#4108. #595 is a Dependabot dependency bump merged green. ## Findings Routed to the Hub - The hub's VS Code tasks snippet runs `Lint: Prose` before `Lint: EOL` in a stopping sequence, and its pre-commit comment does not fit a .NET-only hook. Both points are reported on ptr727/ProjectTemplate#3536, and this repository adapts its copy meanwhile. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Updated [ptr727.Utilities](https://github.com/ptr727/Utilities) from 4.1.112 to 4.1.119. <details> <summary>Release notes</summary> _Sourced from [ptr727.Utilities's releases](https://github.com/ptr727/Utilities/releases)._ ## 4.1.119 ## What's Changed * Skip the Carried Verbatim Trees in the Reviewer Configs by @ptr727 in ptr727/Utilities#583 * Bump the actions-deps group with 4 updates by @dependabot[bot] in ptr727/Utilities#585 * Bump the nuget-deps group with 1 update by @dependabot[bot] in ptr727/Utilities#587 * Bump the Hub Reusable Workflow Pin to 2.0.1401 by @ptr727 in ptr727/Utilities#593 * Rename codecov.yml to .codecov.yml by @ptr727 in ptr727/Utilities#592 * Bump the nuget-deps group with 4 updates by @dependabot[bot] in ptr727/Utilities#591 * Promote Develop: Hub Pin 2.0.1401 and the .codecov.yml Rename by @ptr727 in ptr727/Utilities#594 * Promote Develop: Reviewer Config Exclusions by @ptr727 in ptr727/Utilities#584 * Bump the nuget-deps group with 1 update by @dependabot[bot] in ptr727/Utilities#595 * Bound the Loopback Server Teardown Waits With Task.WaitAny by @ptr727 in ptr727/Utilities#598 * Bound the Loopback Server Teardown Waits With Task.WaitAny on Main by @ptr727 in ptr727/Utilities#599 * Resync the Instruction Set and Skills Tree With the Hub by @ptr727 in ptr727/Utilities#597 * Resync the Intent Files With the Hub by @ptr727 in ptr727/Utilities#600 * Promote the Hub Resync to Main by @ptr727 in ptr727/Utilities#601 **Full Changelog**: ptr727/Utilities@4.1.112...4.1.119 Commits viewable in [compare view](ptr727/Utilities@4.1.112...4.1.119). </details> [](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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name>` 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 <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Summary
Resyncs the carried instruction set and the Skills tree with hub
ptr727/ProjectTemplateat009d3e5e. This is step 1 of the hub'sRESYNC.md, together with step 3's re-vendor of the manifest-owned trees, which that file puts in the same pull request.AGENTS.md,GOVERNANCE.md: the stale verbatim sections are re-vendored withscripts/carry.py apply-sections. The repository's own preamble, "Devcontainer", and "Repository Layout" text is unchanged.CODESTYLE.md,.github/copilot-instructions.md: the hub's changes since the last sync (c175d557) are merged three-way. This repository's "Utilities .NET Conventions" section, itsOPERATIONS.mdpointers, and its own "Disproved Claims" ledger line all stay.WORKFLOW.md,AUDIT.md: replaced with the hub copies. Each old copy matched the last-synced hub exactly and had nothing of its own..github/skills/: the hub's generated tree, carried withscripts/carry.py apply. This addsupdate-hostand refreshes every skill that matched a past hub revision. No skill directory was renamed or removed, so the skill paths in.github/copilot-instructions.mdstay valid.CLAUDE.mdalready matched the hub. This closes everyverbatim:andtree:finding fromaudit run 2026-11-12T22:11:18Z | hub 009d3e5e, along with theintentadvisories onAGENTS.md,GOVERNANCE.md,CODESTYLE.md,WORKFLOW.md,AUDIT.md, and.github/copilot-instructions.md. Auditing this branch (audit run 2026-11-12T22:15:07Z | hub 009d3e5e | branch override resync/hub-009d3e5e-instructions) reports 0 findings except three intent advisories, which the follow-up handles.Follow-Up
Once this merges, a separate intent-files pull request will bring
global.jsonin line with the hub's SDK-line selection, and move the VS Code Lint tasks ontodocker_lint.pythroughhub_fetch_run.py.Verification
main, and the repo gate reports nothing..github/skills/is byte-identical to the hub's tree.🤖 Generated with Claude Code