Skip to content
CCHPCCHPRelease Notes
v1.0.4StableBreaking

CCHP v1.0.4

Moves Prometheus metrics to dedicated internal observability ports, tightens OpenAPI and RBAC access controls, and fixes Codex Responses passthrough and worker recovery.

2 improvements11 fixes3 security updates3 upgrade notes1 known issue
In this release
  • Moves Prometheus /metrics off public ports to internal observability ports (8084, 8085, 8082) and locks down /api/openapi.json and /api/schemas/*.
  • Fixes Codex Responses passthrough (missing field total_tokens), /v1/responses decode errors, and stale-cache console reload loops.
  • Enforces RBAC on organization wallets and audit logs, and moves daily check-in validation off client timezones.

Breaking Upgrade Notice

  • Prometheus /metrics is now served exclusively on internal observability ports: gateway 8084, control 8085, and worker 8082. For Docker Compose deployments, set CCH_GATEWAY_OBSERVABILITY_ADDR=":8084", CCH_CONTROL_OBSERVABILITY_ADDR=":8085", and CCH_WORKER_OBSERVABILITY_ADDR=":8082" on the cchp service (unset values bind only to 127.0.0.1 inside the container) and update Prometheus scrape targets to cchp:8084, cchp:8085, and cchp:8082. Do not publish these ports externally. Reference configs in deployments/standalone/compose.yml and deployments/prometheus/scrape/standalone.yml are already updated (Internal metrics ports and PostgreSQL RLS).
  • /api/openapi.json and /api/schemas/* now require platform administrator authentication and return HTTP 401 for anonymous access.
  • Organization audit logs are restricted to organization administrators; wallet write operations (plan purchases, balance payments, etc.) require explicit role permissions granted by an administrator.
  • Displayed the specific provider key used for each request in the request log provider column (Request logs).
  • Added a context-window card to the request content preview view.
  • Removed Prometheus /metrics from public ports and served metrics exclusively on dedicated internal observability ports (8084 gateway, 8085 control, 8082 worker; see Internal metrics ports and PostgreSQL RLS).
  • Restricted /api/openapi.json and /api/schemas/* to platform administrators, returning HTTP 401 to unauthenticated callers.
  • Restricted organization audit logs to organization administrators and enforced role-based permission checks on wallet write actions such as plan purchases and balance payments (Audit logs, High-sensitivity permissions).
  • Fixed Codex clients failing with stream disconnected before completion: failed to parse ResponseCompleted: missing field total_tokens by passing same-format Responses payloads through verbatim.
  • Fixed certain Codex /v1/responses requests returning HTTP 400 (failed to decode inbound request).
  • Fixed console pages erroring and entering reload loops after an upgrade when stale browser caches were present.
  • Fixed regular members being able to purchase plans using the shared organization wallet or view organization audit logs.
  • Fixed daily check-in dates relying on client timezones, which allowed claiming rewards more than once on the same day (Daily check-in).
  • Fixed empty decision chains and pool metrics in the request preview page and detail drawer, displaying an explanation when no decision chain is present.
  • Fixed scheduled jobs remaining stuck on stale next-run timestamps and workers crash-looping after database outage recovery.
  • Fixed archive status write-backs repeatedly timing out and leaving large numbers of requests stuck in a saving state.
  • Fixed provider detail pages failing to open when an endpoint icon was missing.
  • Fixed out-of-range values in int8 and uint8 embedding arrays being silently truncated.
  • Fixed Claude Code request reassembly dropping the diagnostics field.
  • Memory usage can remain elevated under high database connection counts after importing large historical usage datasets.