docs: describe the write-ahead audit model and bring the contract files up to date

This commit is contained in:
Latte committed 2026-10-14 18:01:55 +02:00
1 parent 59d0e43aae
commit 8ff67f5859
5 files changed
+38 -30

No files matched your search

+2 -2
View File
@@ -26,12 +26,12 @@ because credentials belong in the identity, not in the URL.
## Behaviour
- It goes through the same executor as every generated tool: the identity's token, no redirects,
response limits, redaction and secret masking, the result envelope and one audit event.
response limits, redaction and secret masking, the result envelope and the same audit entries (`tool_call_started`, then `tool_invocation`).
- There is no allow list of paths and no write classification: with full access, the token's
scopes and the identity's Gitea permissions are the limit.
- `READ_ONLY=true` keeps the tool listed but it accepts only `GET`.
- `TOOLSETS` without `misc`, or `DISABLED_TOOLS=gitea_api_request`, removes it.
- The audit event records the method and the path, so it is visible which endpoint was called.
- The audit entry records the method and the path, so it is visible which endpoint was called.
## Example