From d42ebbf8a1194afc1600b4e09290a88cfe7f0489 Mon Sep 17 00:00:00 2001 From: JounQin Date: Mon, 9 Nov 2026 12:45:46 +0000 Subject: [PATCH 1/2] docs: reconcile release actions with the roadmap --- .../2026-11-09-read-only-release-actions.md | 34 +++++++++++++++++++ ROADMAP.md | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .agents/notes/verified/architecture/2026-11-09-read-only-release-actions.md 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..d29f32e0 --- /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 generated permission table continues to be the source of truth for the + action permissions. +- 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: From e652858a8075983d6a1c995d79c956abf296b4f0 Mon Sep 17 00:00:00 2001 From: JounQin Date: Mon, 9 Nov 2026 13:03:37 +0000 Subject: [PATCH 2/2] docs: name the catalog as the permission source --- .../architecture/2026-11-09-read-only-release-actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 index d29f32e0..f65c692c 100644 --- 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 @@ -28,7 +28,7 @@ separate decision for it. ## Consequences -- The generated permission table continues to be the source of truth for the - action permissions. +- 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.