mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* Migrate store diagnostics to request context Co-authored-by: Ben Schumacher <[email protected]> * Keep store context rule only in server AGENTS Co-authored-by: Ben Schumacher <[email protected]> --------- Co-authored-by: Ben Schumacher <[email protected]> Co-authored-by: Mattermost Build <[email protected]> Co-authored-by: Hanzo Dev <[email protected]>
479 B
479 B
AGENTS.md
Never run go mod tidy directly. Always run make modules-tidy instead — it excludes private enterprise imports that would otherwise break the tidy.
After editing i18n/en.json, always run make i18n-extract — it regenerates the file with strings in the required order.
In the store layer, do not use context.Context in store method signatures. Use request.CTX and only call rctx.Context() inside internals that require a standard context.Context.