Repository navigation
#3235: Infra GA5: the token service runs as a main-only Actions workflow in the owner's private repository, sealed per #3085 - #3301
Open
jparker2006 wants to merge 3 commits into
Open
jparker2006 wants to merge 3 commits into
jparker2006 wants to merge 3 commits into
Conversation
Member
Author
|
First successful push: 93e1955 at 2026-11-25T04:42:28Z |
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.
Closes #3235
Summary
Adds the
actionsroute for the token service so cloud agents can mint sealedopenwiz[bot]installation tokens through amain-only GitHub Actions workflow in the owner's private repository:Evidence
5f360ee4,test_mint_workflow.pyfailed becausetools/github-app/mint-workflow.ymlwas missing,test_agent_token.py ActionsRoutefailed becauseagent-token.pyhad noactionsroute, andtest_fixtures.pyfailed on the missingactionsroute and key-location rules (docs/evidence/3235/red-run.txt).After: At head
93e1955b5ca381286d731783866ccbaf5d273d13, all 3 tests intest_mint_workflow.py, all 4 tests (including 8 failure subTests) intest_agent_token.py ActionsRoute, all 19 tests intest_fixtures.py, all 14 tests intest_token_service.py, and all 5 tests intest_app_select.pypass (docs/evidence/3235/green-run.txt).Merge danger
Door: two-way
Blast radius: narrow
Existing
pairingandlocalroutes are unchanged; theactionsroute activates only whenOPENWIZ_TOKEN_SERVICE_ROUTE=actionsandOPENWIZ_TOKEN_SERVICE_REPOSITORYare explicitly configured, and live execution waits on the owner's GA5 (#1849) setup steps.Facts
builder/3235-actions-token-service. Head:93e1955b5ca381286d731783866ccbaf5d273d13. Tree:cf7b7c35a1f8e55e7206b81accfc035255576bf8tools/github-app/mint-workflow.yml,tools/github-app/agent-token.py,tools/github-app/test_agent_token.py,tools/github-app/test_mint_workflow.py,contracts/token-service.v1.md,contracts/fixtures/token-service/fallback.json,contracts/fixtures/token-service/test_fixtures.py,docs/github-app.md,changes/3235.mddocs/agents/fleet.mditem 3):docs/evidence/3235/red-run.txt,docs/evidence/3235/green-run.txtpython3 -I tools/github-app/test_mint_workflow.py -v(3 tests, OK)python3 -I tools/github-app/test_agent_token.py ActionsRoute -v(4 tests, OK)python3 -I contracts/fixtures/token-service/test_fixtures.py -v(19 tests, OK)python3 -I tools/github-app/test_token_service.py(14 tests, OK)python3 -I tools/github-app/test_app_select.py(5 tests, OK)python3 -I tools/owned-paths/check.py --ticket 3235(ok: 11 files)python3 -I tools/privacy-check/check.py --tree .(exit 0)test_mint_workflow.py(240),test_agent_token.py(+223), andtest_fixtures.py(+19). Why: covers both the full fake GitHub Actions HTTP server (dispatch, runs, redirect-checked artifact download, deletion, 403/429 backoff, 8 fallback modes, never-exposed check) and the security-critical template guard + planted-violation + end-to-end pipe-signing execution proof.docs/evidence/3235/red-run.txt(committed at5f360ee4before the implementation)test_agent_token.py ActionsRoute)test_agent_token.py ActionsRoute,test_mint_workflow.py)test_mint_workflow.py)test_fixtures.py,test_token_service.py) and reviewtools/github-app/mint-workflow.ymlandOPENWIZ_TOKEN_SERVICE_ROUTE=actions+OPENWIZ_TOKEN_SERVICE_REPOSITORYfor GA5 (Infra GA5: live: the owner installs the App and a cloud agent writes as openwiz[bot] #1849) live check93e1955b5ca381286d731783866ccbaf5d273d13(requiredciandprivacychecks must pass)Built with Cloudroom