go-api ยท diff

git:20261103.43cb628 to git:20261103.2d2e1bb

1 added, 1 removed. Audit A to A.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
applyTo: "**/*.go,**/go.mod,**/go.sum,apps/api/api/openapi/**/*.yaml"
---
# Go And API Review Instructions
Canonical scoped sources for this glob:
[`apps/api/internal/AGENTS.md`](../../apps/api/internal/AGENTS.md),
[`apps/api/internal/storage/AGENTS.md`](../../apps/api/internal/storage/AGENTS.md) and
[`apps/api/api/openapi/AGENTS.md`](../../apps/api/api/openapi/AGENTS.md). Review heuristics on
top:
- - Never ask an author to hand-edit `apps/api/api/generated/**`; the fix goes into
+ - Never ask an author to hand-edit `apps/api/internal/api/generated/**`; the fix goes into
`apps/api/api/openapi/**` and `moon run server:generate`. CI checks drift with
`server:check-generate-pruned` and lints the spec, wire casing included,
with `server:openapi`. Wrong casing fails silently at runtime, so treat both
gates as part of the contract.
- Error responses follow the stable code catalog
([ADR 030](../../docs/adrs/030-error-model-mapping-and-reporting.md),
[`error-details-producers.md`](../../docs/design/api/error-details-producers.md));
flag a new endpoint that invents an ad-hoc error shape.
- Keep the public API contract in `apps/api/api/` apart from the server
implementation in `apps/api/internal/`: they sit on opposite sides of the
licensing split in
[`LICENSING.md`](../../LICENSING.md).