merge: worktree-agent-ac03eb441ec9759b0

# Conflicts:
#	docs/auth-endpoint-contract.md
This commit is contained in:
2026-11-16 21:37:44 +07:00
24 changed files with 654 additions and 110 deletions

View File

@@ -29,7 +29,7 @@ requests that arrive with forwarded-for headers claiming to be local.
| Route | Methods | Principal | Permission | Scope | Data allowed out |
| --- | --- | --- | --- | --- | --- |
| /health | GET | public | — | — | static liveness |
| /api-doc/openapi.json | GET | public | — | — | schema without config or secrets |
| /api-doc/openapi.json | GET | human | session.self | any signed-in caller | requires sign-in or the admin token; public only when TESSERA_PUBLIC_OPENAPI=true |
| /api/v1/operator/session | GET | public | — | current session | status, actor and CSRF token of the caller's own session; no-store |
| /api/v1/operator/session | DELETE | human | session.self | current session | nothing; CSRF required |
| /api/v1/me | GET | human | session.self | current principal | id, kind, auth method, display name, capabilities; no-store |