Skip to content

Commit 523a202

Browse files
ANcpLuaclaude
andcommitted
chore: catalog AL1506 in README + drop the sdk-hardening one-off
README is hand-maintained (the docs generator owns docs/, not this file) and had drifted: add the AL1506 row, bump the 1500-band count (6->7) and heading range (..1505 -> ..1506), the total (89 -> 90 rules), and refresh the stale Version="2.0.1" usage snippet to 2.1.0. Delete .github/workflows/sdk-hardening.yml + .github/scripts/sdk-hardening.sh — a per-repo audit (SDK adoption / banned packages / hardcoded version / SDK-pin freshness) that is (a) an orphan: fleet governance lives in github-settings-automation, not one repo, and (b) largely redundant: Renovate already handles pin freshness, AL1600/AL1602 handle version pinning. Not a required status check; safe to drop. If fleet-wide SDK-adoption auditing is ever wanted, it belongs in github-settings-automation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ab12c2a commit 523a202

3 files changed

Lines changed: 5 additions & 282 deletions

File tree

.github/scripts/sdk-hardening.sh

Lines changed: 0 additions & 225 deletions
This file was deleted.

.github/workflows/sdk-hardening.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# ANcpLua.Analyzers
99

10-
Roslyn diagnostic analyzers and code fixes for modern C# correctness, async and threading reliability, AOT and trim safety, ASP.NET Core / Aspire hosting, Roslyn-author hygiene, package/version management, agent-tool governance, and the ANcpLua Roslyn-utilities helper API — 89 rules across 9 domain bands.
10+
Roslyn diagnostic analyzers and code fixes for modern C# correctness, async and threading reliability, AOT and trim safety, ASP.NET Core / Aspire hosting, Roslyn-author hygiene, package/version management, agent-tool governance, and the ANcpLua Roslyn-utilities helper API — 90 rules across 9 domain bands.
1111

1212
Targets: `netstandard2.0` (Roslyn host requirement)
1313

@@ -29,7 +29,7 @@ Targets: `netstandard2.0` (Roslyn host requirement)
2929
| `AL1200..1299` | Roslyn Utilities helper API surface | 21 |
3030
| `AL1300..1399` | Async / threading / reliability | 15 |
3131
| `AL1400..1499` | AOT / trim safety | 10 |
32-
| `AL1500..1599` | Roslyn-author hygiene | 6 |
32+
| `AL1500..1599` | Roslyn-author hygiene | 7 |
3333
| `AL1600..1699` | Package / version management / doc alignment | 7 |
3434
| `AL1700..1799` | Style | 4 |
3535
| `AL1800..1899` | Agent / tool governance (Loom) | 3 |
@@ -132,7 +132,7 @@ Targets: `netstandard2.0` (Roslyn host requirement)
132132
| AL1408 | Warning | Activator.CreateInstance is not AOT-safe |
133133
| AL1409 | Warning | Type.GetType with dynamic name is not AOT-safe |
134134

135-
### Roslyn-author hygiene (`AL1500..1505`)
135+
### Roslyn-author hygiene (`AL1500..1506`)
136136

137137
| ID | Severity | Title |
138138
|---|---|---|
@@ -142,6 +142,7 @@ Targets: `netstandard2.0` (Roslyn host requirement)
142142
| AL1503 | Warning | Avoid NormalizeWhitespace in source generators |
143143
| AL1504 | Error | [DuckDbTable] type must be partial |
144144
| AL1505 | Warning | Conflicting [DuckDbColumn] ordinal values |
145+
| AL1506 | Warning | Excluded code hides untested branches |
145146

146147
### Package / version management (`AL1600..1606`)
147148

@@ -176,7 +177,7 @@ Targets: `netstandard2.0` (Roslyn host requirement)
176177

177178
```xml
178179
<PackageReference Include="ANcpLua.Analyzers"
179-
Version="2.0.1"
180+
Version="2.1.0"
180181
PrivateAssets="all"
181182
IncludeAssets="analyzers; buildtransitive" />
182183
```

0 commit comments

Comments
 (0)