Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This branch has not been deployed
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.
AI assistance
Claude Sonnet 4.5 via Claude Code (writer session authored the change; the coordinator verified the diff, ran the test suites, and opened this PR after the writer session hit its limit).
What changed
Repointed the hard-coded console host pins from
qsl-strategy-switch-console.pigbibi-e06.workers.devtoqsl-strategy-switch-console.quantstrategylab.workers.dev(path/api/account-facts/syncunchanged):src/firstrade_platform/application/account_facts_publisher.py:17—_APPROVED_SYNC_URL, and:80netloc checkscripts/account_facts_config_sync.py:17—APPROVED_SYNC_URLscripts/inspect_account_data_readiness.py:24—ACCOUNT_FACTS_DESTINATION.github/workflows/ft-adopt-facts-revision.yml:105— expected URL in the revision check?next=otherquery) keep rejecting for those reasons and now use the new host too.scripts/publish_runtime_daily.py:17imports_APPROVED_SYNC_URL as _FACTS_URL, so the daily origin check is fixed by the same repoint — no separate pin there. No guard, workflow logic, variable, or token changed. No remainingpigbibi-e06reference in the repo.How verified
uv run --no-sync python -m pytest -q— 1856 passed, 1 skipped, 118 subtests passed.uv run --no-sync ruff check --exclude external .— all checks passed.git diff --check— clean.Why
The 2026-11-24 observation found the 2026-11-21 repoint (PR #547) NOT confirmed: the console moved a second time to the quantstrategylab host and the repo variables followed, but the code pins still said
-e06, so the exact-match guards failed closed — account-facts publish rejected asdestination_not_approvedand the daily projection failed as{"status":"unavailable"}(the origin check raises before the preflight POST). Repointing the pins makes code and variables agree.Risk
Low. String-constant change only; the publish destination is the only behaviour affected, and it now matches the already-live repo variables. Guards, live-order gates, and tokens are untouched.