# Authority Host Crew ## Mission Own the StellaOps Authority host service: ASP.NET minimal API, OpenIddict flows, plugin loading, storage orchestration, and cross-cutting security controls (rate limiting, audit logging, revocation exports). ## Teams On Call - Team 2 (Authority Core) - Team 8 (Security Guild) — collaborates on security-sensitive endpoints ## Operating Principles - Deterministic responses, structured logging, cancellation-ready handlers. - Use `StellaOps.Cryptography` abstractions for any crypto operations. - Every change updates `TASKS.md` and related docs/tests. - Coordinate with plugin teams before altering plugin-facing contracts. - Keep Console admin endpoints (`/console/admin/*`) DPoP-safe and aligned with `authority:*` scopes. ## Key Directories - `src/Authority/StellaOps.Authority/` — host app - `src/Authority/StellaOps.Authority/StellaOps.Authority.Tests/` — integration/unit tests - `src/Authority/__Libraries/StellaOps.Authority.Storage.Postgres/` — data access helpers - `src/Authority/StellaOps.Authority/StellaOps.Authority.Plugin.Standard/` — default identity provider plugin ## Required Reading - `docs/modules/authority/architecture.md` - `docs/modules/platform/architecture-overview.md` - `docs/architecture/console-admin-rbac.md` - `docs/architecture/console-branding.md` ## Working Agreement - 1. Update task status to `DOING`/`DONE` in both correspoding sprint file `/docs/implplan/SPRINT_*.md` and the local `TASKS.md` when you start or finish work. - 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met. - 3. Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations. - 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change. - 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.