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
- Moves Prometheus
/metricsoff public ports to internal observability ports (8084,8085,8082) and locks down/api/openapi.jsonand/api/schemas/*. - Fixes Codex Responses passthrough (
missing field total_tokens),/v1/responsesdecode 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
/metricsis now served exclusively on internal observability ports: gateway8084, control8085, and worker8082. For Docker Compose deployments, setCCH_GATEWAY_OBSERVABILITY_ADDR=":8084",CCH_CONTROL_OBSERVABILITY_ADDR=":8085", andCCH_WORKER_OBSERVABILITY_ADDR=":8082"on thecchpservice (unset values bind only to127.0.0.1inside the container) and update Prometheus scrape targets tocchp:8084,cchp:8085, andcchp:8082. Do not publish these ports externally. Reference configs indeployments/standalone/compose.ymlanddeployments/prometheus/scrape/standalone.ymlare already updated (Internal metrics ports and PostgreSQL RLS). /api/openapi.jsonand/api/schemas/*now require platform administrator authentication and return HTTP401for 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
/metricsfrom public ports and served metrics exclusively on dedicated internal observability ports (8084gateway,8085control,8082worker; see Internal metrics ports and PostgreSQL RLS). - Restricted
/api/openapi.jsonand/api/schemas/*to platform administrators, returning HTTP401to 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).
Fixes
11- Fixed Codex clients failing with
stream disconnected before completion: failed to parse ResponseCompleted: missing field total_tokensby passing same-format Responses payloads through verbatim. - Fixed certain Codex
/v1/responsesrequests returning HTTP400(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
int8anduint8embedding arrays being silently truncated. - Fixed Claude Code request reassembly dropping the
diagnosticsfield.
- Memory usage can remain elevated under high database connection counts after importing large historical usage datasets.