Skip to content

Commit 237b49d

Browse files
committed
ci(fleet-write): the advisory mint comment names its four write rows and the read mint
The comment on `permission-repository-advisories` said THREE consumers. The op table has four rows that write (`advisory_report`, `advisory_create`, `advisory_collaborators_add`, `advisory_state`), and `advisory_read` gets a read-only mint through the same input. Comment only: no step, input, permission or code path changes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjYkaBE16yPTYraBmt
1 parent dd4a21f commit 237b49d

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/workflows/fleet-write.yml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,14 @@ jobs:
151151
# also reaches cancel, re-run, delete, cache and artifact endpoints; the op table has no
152152
# row for any of them, and `validate.mjs --self-test` pins that none is reachable.
153153
permission-actions: ${{ steps.validate.outputs.permission_actions }}
154-
# THREE consumers, one at a time: the advisory rows — `advisory_report` (one private report),
155-
# `advisory_collaborators_add` and `advisory_state` (one advisory's PATCH). Minted ONLY for a
156-
# stroke carrying one of them, which travels alone, the same way as `permission-actions`: the
157-
# validator writes `permission_repository_advisories=write` for it and an EMPTY value for every
158-
# other stroke. Measured 2026-11-02 with this action and a control token minted without the grant
154+
# FOUR write consumers, one at a time: the advisory rows — `advisory_report` (one private report),
155+
# `advisory_create` (one draft advisory), `advisory_collaborators_add` and `advisory_state` (one
156+
# advisory's PATCH). Minted ONLY for a stroke carrying one of them, which travels alone, the same
157+
# way as `permission-actions`: the validator writes `permission_repository_advisories=write` for it
158+
# and an EMPTY value for every other stroke. Separately, `advisory_read` (one advisory's GET, also
159+
# alone) gets a READ-ONLY mint through this same input: the validator writes
160+
# `permission_repository_advisories=read` for its stroke, never `write`. Measured 2026-11-02 with
161+
# this action and a control token minted without the grant
159162
# (run 41415522766): the narrowed mint succeeds, and the grant opens an advisory's read and PATCH.
160163
# ⚠️ EXPECTED: such a run warns "Unexpected input(s) 'permission-repository-advisories'", because
161164
# the action's `action.yml` does not declare the input; its `lib/get-permissions-from-inputs.js`

0 commit comments

Comments
 (0)