diff --git a/.agents/notes/verified/architecture/2026-11-09-read-only-release-actions.md b/.agents/notes/verified/architecture/2026-11-09-read-only-release-actions.md new file mode 100644 index 00000000..f65c692c --- /dev/null +++ b/.agents/notes/verified/architecture/2026-11-09-read-only-release-actions.md @@ -0,0 +1,34 @@ +# Read-only release actions are allowed + +## Context + +`ROADMAP.md` listed `release` as a built-in hard deny. #85 then asked for a release +domain, and #114 added `release:list` and `release:view`; the release shipped in 0.7. +Leaving the roadmap unchanged would make the code and the authoritative plan disagree. + +## Decision + +`release:list` and `release:view` are catalogued, read-only actions. They request +`contents: read` and cannot publish, edit, upload or delete anything. + +The hard deny is narrowed to the write side: + +- `release create` +- `release edit` +- `release upload` +- `release download` +- `release delete` + +## Why + +Reading releases is the same permission and risk class as reading repository +contents, which the catalog already allows. Publishing a release creates or replaces +an artifact outside the pull-request lifecycle, so it stays denied until there is a +separate decision for it. + +## Consequences + +- The action catalog remains the source of truth for broker permissions; the + generated README permission table is documentation derived from it. +- Any future release write action needs a new decision and roadmap update; it is not + opened by this note. diff --git a/ROADMAP.md b/ROADMAP.md index 1c777c94..788f5d3e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -221,7 +221,7 @@ host_broker: - [ ] Deny rules evaluated before allow. Unknown command, unknown flag, or missing whitelist entry is refused. - [ ] Built-in hard denies (not configurable on): `api`, `auth`, `extension`, `alias`, `config`, - `secret`, `repo delete`, `release`, `gist`, `ssh-key`, `gpg-key`, `codespace`, + `secret`, `repo delete`, `release create/edit/upload/download/delete`, `gist`, `ssh-key`, `gpg-key`, `codespace`, `run download`, `workflow run`, `pr checkout`, `pr merge`; flags `--web`, `--hostname`, `--input`, `--template-file`, `--body-file` (the client converts a body file to `--body`). - [ ] Resolve the repository: