Skip to content

Re-sync governance docs and code style from template - #756

Merged
ptr727 merged 4 commits into
developfrom
chore/template-resync-docs
Jun 22, 2026
Merged

Re-sync governance docs and code style from template#756
ptr727 merged 4 commits into
developfrom
chore/template-resync-docs

Conversation

@ptr727

Copy link
Copy Markdown
Owner

Re-sync the verbatim-carry artifacts and governance from the current ptr727/ProjectTemplatemain, adapted for PlexCleaner. Docs-and-policy portion of the template reconverge; workflow conventions follow in a second PR.

Changes

  • AGENTS.md - re-synced to the current template structure: a Release Model section carrying the new versioning policy (bump version.json only for functional changes; no post-release bump and no develop-ahead requirement - NBGV advances the patch automatically), Documentation Style Conventions (incl. the Comments house-rule and Character Set), PR Review Etiquette / Expected Review Loop carried verbatim, Workflow YAML Conventions, and a Project Structure that points to the new ARCHITECTURE.md. Drops the old "bump minor after every develop->main merge / keep develop ahead" ritual.
  • .github/copilot-instructions.md - trimmed from 597 to ~156 lines to the narrow template shape (commit/PR-title summary + the GitHub Copilot review runbook). Project-specific content relocated.
  • ARCHITECTURE.md (new) - PlexCleaner's architecture, processing pipeline, and design patterns (relocated from copilot-instructions.md); referenced from AGENTS.md and copilot-instructions.md so agents and Copilot discover it.
  • CODESTYLE.md - re-synced from the template (General + .NET sections), adapted to this repo's projects, InternalsVisibleTo, and VS Code task labels.
  • .editorconfig - add the ".NET-only" boundary marker and the analyzer-suppressions note; align the JSON comment.
  • .markdownlint-cli2.jsonc - align the MD060 comment to the template.

All docs are ASCII, CRLF, and markdownlint-clean.

Closes#731. Addresses #745 (docs portions; workflow conventions in the follow-up PR).

🤖 Generated with Claude Code

Re-sync the verbatim-carry artifacts and governance from the current
ptr727/ProjectTemplate main, adapted for PlexCleaner:
- AGENTS.md: re-synced to the template structure - new Release Model with
the current versioning policy (bump version.json only for functional
changes; no post-release bump, no develop-ahead requirement), Documentation
Style Conventions (incl. the Comments house-rule), PR Review Etiquette /
Expected Review Loop carried verbatim, Workflow YAML Conventions, and a
Project Structure that points to ARCHITECTURE.md.
- .github/copilot-instructions.md: trimmed to the narrow template shape
(commit/PR-title summary + Copilot review runbook); project-specific
content relocated.
- ARCHITECTURE.md: new - holds PlexCleaner's architecture, processing
pipeline, and design patterns (relocated from copilot-instructions.md),
referenced from AGENTS.md and copilot-instructions.md.
- CODESTYLE.md: re-synced (General + .NET sections), adapted to this repo.
- .editorconfig: add the .NET-only boundary marker and suppressions note.
- .markdownlint-cli2.jsonc: align the MD060 comment to the template.
Closes#731. Addresses #745 (docs portions; workflow conventions follow).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CopilotAI review requested due to automatic review settings June 22, 2026 19:19

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR re-syncs PlexCleaner’s governance and contributor-facing documentation with the upstream ptr727/ProjectTemplate, consolidating project conventions into AGENTS.md/CODESTYLE.md, moving architecture guidance into a new ARCHITECTURE.md, and slimming .github/copilot-instructions.md down to Copilot-specific mechanics.

Changes:

  • Reworked AGENTS.md to the newer template structure (release model/versioning policy, doc/comment conventions, review-loop contract, workflow-YAML conventions, project structure).
  • Re-synced CODESTYLE.md and introduced ARCHITECTURE.md as the central architecture/pipeline/design reference.
  • Aligned repo-wide lint/config scaffolding (.editorconfig, .markdownlint-cli2.jsonc) and trimmed Copilot instructions to the narrow runbook shape.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
FileDescription
AGENTS.mdRe-synced governance/review-loop/release-model documentation and workflow conventions.
CODESTYLE.mdRe-synced code style guide; documents .NET clean-compile tasks and coding conventions.
ARCHITECTURE.mdNew consolidated architecture + pipeline + patterns document.
.github/copilot-instructions.mdSlimmed to commit/PR-title summary + Copilot review runbook; links out to AGENTS/CODESTYLE/ARCHITECTURE.
.editorconfigClarified JSON/JSONC block and added .NET-only boundary marker + suppression guidance note.
.markdownlint-cli2.jsoncUpdated MD060 comment to match template wording.

Comment threadCODESTYLE.md
Comment threadCODESTYLE.md Outdated
Comment threadARCHITECTURE.md Outdated
Comment threadARCHITECTURE.md Outdated
Comment threadARCHITECTURE.md Outdated
Comment threadAGENTS.md
Comment threadAGENTS.md Outdated
- .vscode/tasks.json: add dependsOrder: sequence to .Net Format so the
clean-compile actually chains CSharpier Format -> .Net Build -> verify
(matches the template and the documented behavior).
- CODESTYLE.md: reference GlobalUsing.cs (this repo's actual file name).
- ARCHITECTURE.md: drop var from the builder example (CODESTYLE bans it),
rename the colliding identifier, and use dotnet csharpier format.
- AGENTS.md: correct the merge-bot description to this repo's behavior
(gates on PR author so maintainer repair commits still auto-merge;
default cancel-in-progress, so only publish-release is a concurrency
exception).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment threadAGENTS.md Outdated
This repo SHA-pins dotnet/nbgv like every other action; drop the template's
@master no-pin exception, which does not apply here.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment threadARCHITECTURE.md Outdated
Comment thread.editorconfig
Comment threadARCHITECTURE.md Outdated
Use the actual VS Code task label .Net Build, and the canonical CSharpier
Format invocation (dotnet csharpier format --log-level=debug).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit e671661 into developJun 22, 2026
6 checks passed
@ptr727
ptr727 deleted the chore/template-resync-docs branch June 22, 2026 19:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ptr727