Handbook
Builders — stability policy
docs/generated/api-routes.json and api-routes.md are regenerated with python3 generator/export_api_routes_docs.py whenever lenses/serve.py routing changes; CI fails if the committed JSON drifts…
Updated
What it is
- Patch releases may add
GETdiagnostics or extend existingPOSTbodies in backward-compatible ways. - Minor releases may introduce new
/api/...families — regeneratedocs/generated/api-routes.jsonand reviewfamiliesdiffs. - Major or breaking path changes should arrive with release notes (Release notes) and handbook updates.
Generated artifacts
docs/generated/api-routes.json and api-routes.md are regenerated with python3 generator/export_api_routes_docs.py whenever lenses/serve.py routing changes; CI fails if the committed JSON drifts (scripts/check-generated-api-routes-fresh.py).
OpenAPI
Public OpenAPI export remains out of scope until the maintainer team declares the /api surface stable enough to freeze (see Builders — API overview).
Verify
After upgrading Lenses, re-run bash scripts/check-docs.sh locally before relying on automation tied to specific paths.