fix(sessions-pipeline-worker): raise native brief default daily caps to 2000/10

Merged
KH
5d ago
+78-23

Why

On a live self-hosted install, dashboard sessions showed "No summary yet": the brief worker hit the chart default SESSION_BRIEF_GLOBAL_DAILY_CAP=20, so every new brief went rate_limited / session_brief_global_capped. 20 briefs a day across a whole install is far too low.

Change

  • charts/sessions-pipeline-worker/values.yaml: nativeBrief.globalDailyCap 20 -> 2000, sessionDailyCap 3 -> 10. Template validation maxima (10000000 / 10000) unchanged. Added a values comment: the caps bound model spend, and how to size them.
  • Versions: sessions-pipeline-worker 0.7.11, sessions-pipeline 0.8.44, agent-relay 0.7.49 (both Chart.lock files regenerated).
  • self-hosted/requirements.yaml: new current sessions-pipeline-0.8.44 and agent-relay-0.7.48 entries; docs/self-hosted-requirements.md re-rendered.
  • Docs: docs/gcp-install/0-START-HERE.md limits paragraph, docs/repository-guide.md defaults sentence.
  • ci/sessions-pipeline-native-brief/test_native_brief.py expects the new defaults.

Renders with nativeBrief.enabled=false (the default) differ only in the helm.sh/chart labels.

Checks run locally

  • python3 -m unittest ci/sessions-pipeline-native-brief/test_native_brief.py: 21 OK
  • scripts/ci/charts.sh static sessions-pipeline-worker sessions-pipeline agent-relay: pass
  • node ci/self-hosted-requirements/registry.mjs check OK; render regenerated the doc
  • scripts/ci/version-bump.sh origin/main: all three charts bumped

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes self-hosted dashboards showing "No summary yet" for new sessions by raising the native brief default daily caps from 20 to 2000 per install and from 3 to 10 per session; the old default rate-limited every brief after the first 20 per UTC day.

  • The caps still bound model spend, and the template validation maxima are unchanged.
  • Bumps sessions-pipeline-worker to 0.7.11, sessions-pipeline to 0.8.44, and agent-relay to 0.7.49, and updates the compatibility registry, docs, and CI test to match.