Repository navigation
Least privilege for agents, the MVP (least-privilege-mvp) - #190
Draft
nabil-becker wants to merge 3 commits into
Draft
nabil-becker wants to merge 3 commits into
nabil-becker wants to merge 3 commits into
Conversation
…ase reviewers; gh NOTES on a fine-grained token (least-privilege-mvp) Set-RepoGovernance.ps1 adds the protect-release-tags ruleset (feature_*: no creation except by the Actions app or admins, no update, delete or force-push) and a required reviewer on the release environment (the repo owner, read at run time, or -ReleaseReviewer). protect-main is unchanged, Admin bypass kept (decision 4). gh NOTES gain "Logging in with a fine-grained token". Co-Authored-By: Claude Sonnet 5.5 <claude-sonnet-5-5@noreply.invalid> Claude-Session: https://claude.ai/code/session_01DPsHU66aDPFXShdA7RzGte Signed-off-by: devhost agent <devhost-agent@noreply.invalid>
…ege (least-privilege-mvp, agent-linux-user) Co-Authored-By: Claude Opus 5.5 <claude-opus-5-5@noreply.invalid> Claude-Session: https://claude.ai/code/session_01DPsHU66aDPFXShdA7RzGte Signed-off-by: devhost agent <devhost-agent@noreply.invalid>
…ege-mvp) Verdict: fit with changes. 25 findings and 6 open questions appended to docs/proposals/agent-least-privilege-brd-mapping.md; design sections untouched. The proposals index row gains the verdict. Co-Authored-By: Claude Opus 5.5 <claude-opus-5-5@noreply.invalid> Claude-Session: https://claude.ai/code/session_01DPsHU66aDPFXShdA7RzGte Signed-off-by: devhost agent <devhost-agent@noreply.invalid>
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.
Least privilege for agents, the MVP, from the accepted proposal
docs/proposals/agent-linux-user.md. One PR for the deliverable; later steps add commits.Steps
protect-release-tagsruleset, required reviewer on thereleaseenvironment, gh NOTES "Logging in with a fine-grained token"openbao-agent-login)Applying step 1 (Operator)
task repo:governas a repo admin, from where it runs today (the workstation with gh logged in as you). Preview with-WhatIfon the script first. It reads the release reviewer from the repo owner; pass-ReleaseReviewer <login>to override.gh auth login --with-tokenfrom your terminal in the devhost (see the gh NOTES).git push,gh pr create,gh pr readyshould work;gh apichanging a ruleset should be refused;gh pr mergeon an unapproved throwaway PR (a one-line docs change on a scratch branch, no approval) shows whether the Admin bypass lets the token merge (decision 4). Close or merge the throwaway PR afterwards.feature_*tags: the Actions app is named as bypass actor; if the API refused it, the script warned and applied admins only, so add it by hand.Not applied from here: nothing in this PR changes the repository's settings until you run step 1.
https://claude.ai/code/session_01DPsHU66aDPFXShdA7RzGte