Skip to content

chore(docker): pass OPERATOR_CYCLE_SCORECARD / OFFICE_SCORECARD_* through to office (R5d) - #181

Merged
alexnikolskiy merged 1 commit into
mainfrom
feat/r5d-compose-scorecard-passthrough
Jul 15, 2026
Merged

chore(docker): pass OPERATOR_CYCLE_SCORECARD / OFFICE_SCORECARD_* through to office (R5d)#181
alexnikolskiy merged 1 commit into
mainfrom
feat/r5d-compose-scorecard-passthrough

Conversation

@alexnikolskiy

Copy link
Copy Markdown
Collaborator

R5d deploy passthrough — office cycle-scorecard flag

Deploy-surface companion to office consumer PR trdlabs/office#30 (R5d). Passes the R5d env vars through to the office-server service in the demo stack, so the feature flag can actually be flipped in demo/VPS — without this the flag exists in Office's config but is unreachable at the deploy surface.

  • Adds to docker-compose.demo.ymloffice-server.environment: OPERATOR_CYCLE_SCORECARD (off by default) + OFFICE_SCORECARD_TTL_MS / _BOOTSTRAP_RETRIES / _BOOTSTRAP_INTERVAL_MS / _FETCH_RETRIES / _FETCH_INTERVAL_MS, all ${VAR:-<default>} so an operator can override per environment.
  • The base docker-compose.yml already puts office-server in OFFICE_CONNECTOR_MODE: trading-lab with TRADING_LAB_READ_URL/TOKEN, so the flag is live once set (same mode dependency as the adjacent OPERATOR_DOWNSTREAM_BACKTESTS).
  • Additive config only — no service/behavior change.

Rollout gate

Enable at staging: set OPERATOR_CYCLE_SCORECARD=true, close a cycle, confirm cycle.scorecard.built → the scorecard Markdown appears in the same Office conversation. Merge order: Lab R5c-lab #180 → office#30 → this → staging E2E.

🤖 Generated with Claude Code

…ough to office (R5d)

Deploy-surface for the R5d office cycle-scorecard consumer (office#30): without
these the flag exists in office config but cannot be flipped in demo/VPS. Off by
default; operator sets OPERATOR_CYCLE_SCORECARD=true at the staging E2E gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexnikolskiy
alexnikolskiy merged commit 04b8885 into main Jul 15, 2026
1 check passed
@alexnikolskiy
alexnikolskiy deleted the feat/r5d-compose-scorecard-passthrough branch July 15, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant