1. The change
An AI agent wrote this 4-file fix for issue #2234.
README.mddoc+14 −0TypeCollector.cssource+18 −4SuppressedSourceGenerationTests.cstest+37 −0SuppressSourceGenerationAnalyzerTests.cstest+193 −0
2. The tests
Undo the fix and 4 of its 8 new tests still pass, so they prove nothing.
AllowPrivateRequiredIsReportedpasses without the fixMemberTypeMustBeMessagePackObjectIsReportedpasses without the fixMemberWithoutKeyIsReportedpasses without the fixSourceGenerationOnlyDiagnosticsAreNotReportedWhenSuppressedpasses without the fixDuplicateIntKeysAreReportedWithoutAnalyzerFailurefails without the fixDuplicateKeysAreReportedWithoutAnalyzerFailureForGeneratedTypesfails without the fixDuplicateStringKeysAreReportedWithoutAnalyzerFailurefails without the fixMixedKeyKindsAreReportedWithoutAnalyzerFailurefails without the fix
3. The reviewers
Three AI reviewers from three vendors; a requirement counts only if all say met.
- Claude1 of 4 not metAnthropic
- Codexall 4 metOpenAI
- Nemotronall 4 metNVIDIA
4. The finding
Claude showed it fixes a different bug than the issue reports, citing the exact line.
TypeCollector.cs
1380}
1381
1382// Do not source generate the formatter for this type if the attribute opted out.
1383if (suppressSourceGeneration is true)
Untouched by the fix
1384{
1385 // Skip any source generation
1386 return null;
1387}
5. The owner
Toivo gets one screen and signs the decision under their name.
6. Forge it