MindAttic.Helpers/rfc/0001-example
Appearance
RFC 0001 — Lock zero-dependency + full XML-doc coverage in CI
Problem
Two of the library's promises are enforced only by convention today: M.HELP-LAW-1 (zero third-party runtime dependencies) and the §8 quality bar's "XML docs on all public members". Both are asserted by inspection (stories M.HELP-US-C1, M.HELP-US-C2 are 🟡), not proven, so a future change could regress them silently.
Options compared
doctor/test that parsesMindAttic.Helpers.csprojfor runtimePackageReferenceentries and fails if any appear. Cheap, local, no build change.TreatWarningsAsErrors+GenerateDocumentationFileso missing XML docs (CS1591) break the build. Catches doc gaps but not dependency creep.- Both — a small dependency-guard check plus warnings-as-errors. Fullest coverage.
Decision
(Planned — not yet adopted.) Lean toward Option 3: add a dependency-guard check and turn on warnings-as-errors, closing M.HELP-US-C1 and M.HELP-US-C2 to ✅ once they are proven.
What NOT to do
- Do not add any runtime dependency just to implement the guard (would violate the very law being protected — M.HELP-LAW-1).
- Do not silence CS1591 with blanket
#pragma/<NoWarn>; that defeats the purpose.
Phased plan (with risk)
- Add the csproj dependency-guard check (low risk; local, no build impact).
- Flip
TreatWarningsAsErrors=true(medium risk: may surface pre-existing warnings — fix them before merging). - Update the stories to ✅ with the new test/check names cited.
Graduates into:
BIBLE §5 — M.HELP-LAW-1, BIBLE §8, stories M.HELP-US-C1 / M.HELP-US-C2.
Part of MindAttic.Helpers.
From MindAttic.Helpers/docs/rfc/0001-example.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.