Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.41 KB

File metadata and controls

55 lines (43 loc) · 1.41 KB

Workflow Documentation

This folder contains route-accurate workflow documentation per routed module.

Each module file describes:

  • route inventory
  • middleware/policy chain order
  • handler -> service -> repository -> store flow
  • transaction boundaries
  • side effects (cache/rate-limit/auth/document-store)
  • expected failure modes and troubleshooting checks

Module Files

Reading Order For New Contributors

  1. ../architecture.md
  2. ../auth.md
  3. ../policies.md
  4. module workflow file you are changing
  5. ../routeDetails.md for generated route metadata snapshot

Conventions Used

  • Route notation: METHOD /path
  • Policy chain order reflects runtime order as registered in routes.go
  • Transaction notes indicate service-owned store.WithTx(...) boundaries
  • Cache notes include read tags + invalidation scope where applicable

Verification After Workflow Changes

go test ./...
go build ./...
go run ./cmd/superapi-verify ./...

If route stacks changed, regenerate route details:

go run ./cmd/routedocgen