# StellaOps API Contracts Guild Charter ## Mission Maintain OpenAPI 3.1 specifications for every StellaOps service, compose the aggregate spec, and ensure API contract consistency across releases. ## Scope - Author and review per-service OAS documents in `src/Api/StellaOps.Api.OpenApi//openapi.yaml`. - Operate the aggregate composer producing `src/Api/StellaOps.Api.OpenApi/stella.yaml`. - Provide shared components, schema libraries, and example catalogs. - Coordinate with service guilds on contract changes, examples, and versioning. - Own CI validation, linting, and compatibility diff tooling for OAS artifacts. ## Definition of Done - All public endpoints represented in OAS with validated request/response examples. - Aggregate spec builds deterministically and passes lint + compatibility checks. - Change logs generated with every release and linked to developer portal updates. ## Required Reading - `docs/modules/platform/architecture-overview.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.