Repository navigation
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cf28f74. Configure here.
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.

actions/create-github-app-tokencalled without anypermission-*inputs mints a token carrying every permission the app installation holds, including administration and workflows write. This PR requests only what each token is used for downstream. Repository scope is unchanged unless noted.weekly-maintenance.ymlkernel-tinker-rl, plus the raw private key on disk next to the agentactions,contents,pull_requests,workflows: writeonkernel-tinker-rl, and the agent never sees the tokenmainthat changed workflows), open and comment on the PR, rerun checksThe weekly agent now runs in a Docker Sandbox
Before this PR, the job wrote the app private key to
$RUNNER_TEMPand ranpi --approveas the same user, so the agent could mint a full-permission token for any repository.weekly-maintenance.ymlnow calls the sharedsandboxed-agent.ymlreusable workflow from kernel/security-workflows#49:OPENROUTER_ACCESS_TOKEN_FILE.KERNEL_API_KEY,TINKER_API_KEYandCURSOR_API_KEYare set inside the sandbox as before.uvand the Kernel CLI are installed there by thesetupinput.ready:<pr>. The workflow merges after Cursor Bugbot and every other check pass on the head commit.Before merging
DOCKERHUB_USERNAME/DOCKERHUB_TOKEN, the secrets hypeship uses, but a test run from this repo got them empty. Make them, or a read-scoped Docker access token, available to kernel-tinker-rl. Until then the job fails at the sign-in step with a clear error.sandboxed-agent.yml@main.Testing
setupthis workflow uses:uvand the Kernel CLI installed,KERNEL_API_KEYandCURSOR_API_KEYpresent, and placeholders for GitHub and OpenAI. The sandbox couldn't see the runner state or reach outside the token's scope.gh pr checksworked through the relay andgit pushworked through the proxy.actionlintis clean.actions.lockwas regenerated withgh actions-lock; the workflow has no action steps of its own now.