ci: use scoped GitHub App for QAR artifacts - #316
Merged
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Pigbibi
force-pushed
the
codex/m0-github-app-reader
branch
from
August 29, 2026 10:16
f1bfd60 to
cafbe61
Compare
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.
What\n- replace the static QAR artifact PAT with an ephemeral GitHub App installation token\n- scope the token to QuantStrategyLab/QuantAdvisorResearch with Actions: read\n- document the one-time App configuration and protect the credential-isolation contract with tests\n\n## Safety\n- no strategy, runtime, platform, broker, order, or lifecycle behavior changes\n- the App token is absent from the build/publish step and is revoked by the token action after the job\n- an unconfigured App fails closed before any QAR read or M0 publish\n\n## Verification\n-
python3 -m unittest python.tests.test_manual_m0_research_publisher_workflow python.tests.test_build_m0_research_publisher_envelope python.tests.test_m0_research_ledger\n-node tests/strategy_switch_worker_validation.mjs\n-git diff --check