Description
What is missing
Platform authorization behavior is currently spread across several behavior
features, including fork authorization, dispatch scenarios, and platform
trigger tests. The expected result for each actor type is therefore difficult
to inspect in one place, and related coverage can drift without making the
authorization model visibly incomplete.
Issue #8413 is adding the provider-backed bot-role lookup behavior needed by
ADR 0107. The remaining work is to exercise the complete default platform actor
authorization model through one coherent behavior-test matrix.
What should happen
Add one canonical platform authorization behavior specification covering actors
attempting to trigger a harness and the expected result for each case.
The matrix should cover, as applicable to each transition:
- human actors with insufficient, observation-level, and write-level forge
permissions; - recognized bot actors with an authorized registered role;
- the installed but unregistered
e2ebot identity; - successful bot lookup no-match and lookup failure;
- the forge-authoritative label-added exception;
- fork pull-request actors;
- event content or CEL claims that must not create authorization.
Each row must verify the observable dispatch result, not only event parsing:
- authorized rows run a minimal probe harness;
- denied rows produce an empty dispatch matrix and no agent run;
- control executions prove that the harness and trigger were loaded, so a
missing dispatch cannot be mistaken for an authorization denial; - lookup and infrastructure failures remain distinguishable from expected
authorization failures.
Converge the existing default platform authorization scenarios into this
canonical feature where they test the same authorization contract. Remove
duplicate assertions or make the ownership of each remaining feature
explicit. Keep OWNERS authorization separate because it is an alternate
provider, not the default platform-level authorization path. Keep
agent-specific trigger behavior, mint scope behavior, runtime tests, and
non-GitHub authorization outside this matrix unless they directly exercise the
same default platform authorization contract.
Go implementation scope
This issue also owns the Go changes needed to consume the mint-backed bot-role lookup in GitHub gha-event dispatch: wire botidentity.MintResolver and ApplyBotRoleResult before both CEL routing and harness dispatch authorization, preserve the label-added exception, and deny no-match or lookup failure before CEL. A lookup failure must become a denied route result rather than a CLI error that lets the workflow fall back to bash routing. Cover the Go path with focused tests and the observable behavior matrix above.
Workflow-only OIDC permissions and mint URL delivery are the prerequisite in #8814; no Go changes belong in that issue.
Context
This is a follow-up child of #8329
and complements #8413,
which provides the bot-role lookup behavior consumed by this matrix.
The result should leave the repository with one clear, reviewable behavior
specification for default platform actor authorization, including both
successful and failed dispatch outcomes.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Oct 14, 2026
🤖 Finished Triage · ✅ Success · Started 8:51 AM UTC · Completed 8:53 AM UTC
Commit:
64ba7df· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.20
fullsend-ai-triage commentedon Oct 14, 2026
The scope here is clear, but it can't start until the bot-role lookup behavior it builds on has landed. The bot rows of the matrix (recognized role, the unregistered
e2eidentity, no-match versus lookup failure) depend on the lookup API and behavior tests from #8413. The implementation PR for that, #8415, is open and not yet merged. It adds the resolver, the mint lookup endpoint, and the pre-CEL bot gate branch. It doesn't consolidate the default platform authorization scenarios, so it doesn't resolve this issue.Once #8415 merges, this issue should be ready to pick up. Re-triage then, or mention the issue again, to move it forward.
Blocked by:
fullsend-ai-triage commentedon Oct 26, 2026
🤖 Finished Triage · ✅ Success · Started 7:44 AM UTC · Completed 7:46 AM UTC
Commit:
15136eb· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.12
fullsend-ai-triage commentedon Oct 26, 2026
The two blockers from the earlier triage are now cleared: the bot-role lookup PR (#8415) has merged and #8413 is closed, so the resolver and mint lookup endpoint this work builds on are in the repository.
This issue is still blocked by #8814, which is open with no fix in flight. That issue adds the
id-token: writepermission and delivers the mint URL to therouteandharness-dispatchjobs in the reusable dispatch workflow. Without that, the Go wiring for the mint-backed bot-role lookup ingha-eventcannot work in real workflow runs, and the bot rows of the behavior matrix cannot be verified end to end. Both this issue and #8814 describe that dependency.Once #8814 lands, this issue is ready to pick up: re-triage or mention it again to move it forward.
Blocked by:
ifireball commentedon Oct 26, 2026
/fs-triage
fullsend-ai-triage commentedon Oct 26, 2026
🤖 Finished Triage · ✅ Success · Started 1:05 PM UTC · Completed 1:07 PM UTC
Commit:
c9e1d8e· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.21
1 remaining item
ifireball commentedon Oct 26, 2026
/fs-code
fullsend-ai-coder commentedon Oct 26, 2026
🤖 Finished Code · ✅ Success · Started 1:24 PM UTC · Completed 1:40 PM UTC
Commit:
c9e1d8e· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $3.84
fix: address review feedback on PR #8824
fix: add human permission-level row to actor authorization matrix
feat(#8414)!: resolve bot roles in gha-event dispatch
feat(#8414)!: resolve bot roles in gha-event dispatch
feat(#8414)!: resolve bot roles in gha-event dispatch
fix(#8414): address review feedback on PR #8824
fix(#8414): correct bot-denial scope in customizing-agents guide
feat(#8414)!: resolve bot roles in gha-event dispatch
Merge pull request fullsend-ai#8824 from fullsend-ai/agent/8414-platf…
ifireball commentedon Nov 3, 2026
PR #8824 merged this work. It wires the mint-backed bot-role lookup into GitHub
gha-eventdispatch before CEL and harness authorization, and denies lookup failures before CEL.The behavior matrix covers human actors on GitHub and GitLab, registered and unregistered GitHub role bots, lookup no-match and failure outcomes, and positive controls. The scenarios are split across the platform actor, bot actor, and bot-role lookup features, with focused Go tests for the dispatch gate.
This completes #8414. GitLab bot-role resolution remains separate work under #8329; Forgejo is deferred.