MindAttic.Authentication/RELEASE
Appearance
MindAttic.Authentication — Release charter
The one finish line this repo is working toward. Every open ticket in this repo sits under one of the epics below, and every epic is part of the milestone. Work that does not fit is out of scope until this milestone is reached (owner, 2026-11-27, MAT-T319).
1. What this is
A Razor Class Library that gives MindAttic's ASP.NET Core apps (Gadfly, IdeaCms, IdiotProof, Prose, ThinkTank, Tutor) one hardened sign-in: Argon2id passwords, TOTP MFA, reset, invitations, organizations and audit logging.
2. The milestone: MindAttic.Authentication proven and stable
- Milestone: MS-28, "Authentication proven and stable"
- Published means: the
MindAttic.Authenticationpackage inC:\LocalNuGet(9.x, or the next whole-number major if the accept gate changes the public surface). - The natural stopping point: the features are already built (9.0.0: MFA, reset, organizations, invitations). What is missing is proof: BIBLE §6 lists MFA enrollment, password change, bootstrap seeding, cookie and Blazor revalidation, the
/_ma-authendpoints, the middleware and the dev bypass as "built but not unit-tested". Covering those, adding the one host hook a consumer (Gadfly) needs, and bringing the README up to date makes a security library that is finished and can be trusted.
3. Done when (acceptance checks)
- build:
MindAttic.Authentication.slnxbuilds clean on main. - harness: the suite covers every service and web component listed as partial in BIBLE §6.
- exists: the
MindAttic.Authenticationpackage for the released version inC:\LocalNuGet. - signoff: the owner reads the README and BIBLE §6 and finds no "partial" row left.
4. Epics, in priority order
| Priority | Epic (ticket) | What it delivers | Features |
|---|---|---|---|
| 900 | M.AUTH-T51 Security invariants under test | Every security-critical path has failure-case tests | M.AUTH-T53 Account service tests (990), M.AUTH-T54 Session revocation tests (980), M.AUTH-T55 HTTP surface tests (970) |
| 800 | M.AUTH-T52 Host integration and docs | Hosts can refuse an invitation accept; docs match the code | M.AUTH-T56 Invitation accept gate (890), M.AUTH-T57 Current documentation (880) |
5. Out of scope (not before this milestone)
- WebAuthn / passkeys (USER_STORIES Epic D) and the provisioning CLI (RFC 0001, Epic F). Both are new features; the milestone is about proving what exists.
- Moving the crypto primitives into MindAttic.Cryptography. Already tried and reverted. They stay here.
- Upgrading consumers (IdiotProof and Prose on 6.0.0; IdeaCms, ThinkTank and Tutor on 7.0.0). That work belongs to those repos' own tickets.
- Open-ended sweeps: "run the full suite and fix everything", "/simplify", "exhaustive bughunt". Real bugs are filed one at a time.
6. Current verified state
- 9.0.0: email invitations (bd39fe2, M.AUTH-T35); organizations and memberships 8.0.0 (d352e6e, M.AUTH-T34).
- Hardening landed 2026-11: MFA IP throttle (029aebf), TOTP replay race (6c65463), lockout counters kept through MFA (b540f45), options floor validation (99b81e9), case-insensitive recovery codes (56e0bcd).
- Tests exist for the hasher, PHC, secrets, lockout, audit, login and ConfirmMfa, invitations, organizations, password policy and reset, alerts, SMTP, TOTP and user admin (
tests/MindAttic.Authentication.Tests).
7. Decision record
- 2026-11-27: charter drafted from the README, BIBLE, SECURITY_SPEC and the open tickets. Legion vote: Approve, 9 of 9 (plurality quorum, 1.0). No dissent.
- Triage: 13 open: done 0, duplicate 0, wont-do 3 (sweeps), kept 10, 0 new tasks.
Part of MindAttic.Authentication.
From MindAttic.Authentication/docs/RELEASE.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.