- In scope:
- audit the current .NET quality stack across the solution
- add a repo-root
.editorconfigas the main analyzer/style ownership file - tighten SDK analyzer and complexity configuration without conflicting with current CPM work
- add executable architecture tests for durable dependency rules
- align AGENTS and CI quality commands where the repo actually enables the gates
- run quality verification and record outcomes
- Out of scope:
- public API changes
- provider behavior refactors unrelated to the quality baseline
- wholesale formatter migration away from
dotnet formatunless the repo already wants it
- Root
.editorconfigis missing. Directory.Build.propsalready enablesEnableNETAnalyzers.- The repo currently uses
dotnet formatas the formatting command. clocandroslynatorare available globally; local tool manifest is missing.csharpieris not installed.NetArchTest.Rulesis not referenced yet.- Many files exceed the repo maintainability limit of 400 LOC.
- Worktree is dirty with unrelated user changes; edits must avoid overwriting them.
- Adding aggressive analyzer severity may surface a large warning backlog.
- The repo is mid-flight on Orleans and Central Package Management changes.
- Architecture tests must target durable boundaries only, or they will create churn.
- CI updates must preserve the required
build-and-testcheck name.
- Capture the current quality and CI/tooling baseline.
- Add the root
.editorconfigand explicit complexity or analyzer ownership. - Add missing architecture-test coverage with minimal, durable rules.
- Align AGENTS or workflow commands only where the repo now truly supports them.
- Run verification in layers:
- targeted tests
- solution test command
- format
- build
- extra gates actually enabled in this repo
- Summarize findings, residual risks, and not-applicable tools.
dotnet test Tests/ManagedCode.Storage.Tests/ManagedCode.Storage.Tests.csproj --configuration Release --filter ...dotnet test Tests/ManagedCode.Storage.Tests/ManagedCode.Storage.Tests.csproj --configuration Releasedotnet format ManagedCode.Storage.slnxdotnet build ManagedCode.Storage.slnxroslynator analyze ManagedCode.Storage.slnx --severity-level warningcloc --vcs=git --include-lang='C#,MSBuild,JSON,XML,YAML,Markdown'
- Root analyzer ownership is explicit and checked in.
- Architecture drift has at least one executable guard.
- Quality commands in docs and CI match the configured tooling.
- Verification results are captured with clear remaining debt.