Files
tenant-registry/openapi.yaml
T
Sharang ParnerkarandClaude Opus 5.5 361e748f06
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Successful in 6m39s
ci / image (pull_request) Skipped
feat(updates): per-tenant self-update policy for Werkpilot
A workspace can leave Werkpilot's self-update on ("auto", the default),
turn it off, or pin a release version.

- GET/PUT /v1/tenants/{id}/products/{product}/updates with
  {"policy": "auto" | "off" | "<semver>"}: the "updates" key of the
  product's settings document (0025, no migration); IT_ADMIN/OWNER or
  services; audited as product_settings.changed; werkpilot only
- "updates" in licence grants (POST /v1/licences, /v1/licences/ci,
  heartbeat renewals) and at the top of the heartbeat answer, read fresh
  each time, "auto" when unset

Refs platform/werkpilot#89

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRayW7ztyk1uAtwMJPR
2026-11-23 16:38:36 +01:00

157 KiB