docs: add runtime route documentation and AGENTS.md rule
This commit is contained in:
@@ -25,3 +25,11 @@ docker compose --env-file .env -f infra/docker/docker-compose.yml up -d
|
||||
- New development worktrees must be created from `dev` (never from `main`).
|
||||
- Do not develop or commit directly on `main` outside explicit release/merge workflows.
|
||||
- Do not rewrite `main` history unless explicitly requested (including reset and force push).
|
||||
|
||||
## API Route Documentation
|
||||
|
||||
When modifying HTTP routes (adding, updating, or removing endpoints):
|
||||
|
||||
- Sync changes to `docs/runtime/runtime-route.md`
|
||||
- Include: HTTP method, path, request/response schema, status codes, error format
|
||||
- Keep documentation in sync with actual implementation
|
||||
|
||||
Reference in New Issue
Block a user