chore(docker): pass OPERATOR_CYCLE_SCORECARD / OFFICE_SCORECARD_* through to office (R5d) - #181
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-serverservice 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.docker-compose.demo.yml→office-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.docker-compose.ymlalready putsoffice-serverinOFFICE_CONNECTOR_MODE: trading-labwithTRADING_LAB_READ_URL/TOKEN, so the flag is live once set (same mode dependency as the adjacentOPERATOR_DOWNSTREAM_BACKTESTS).Rollout gate
Enable at staging: set
OPERATOR_CYCLE_SCORECARD=true, close a cycle, confirmcycle.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