Skip to content

Make App-held role seats dispatchable #78

Closed

Description

@radiusred-cody

Goal

Fold back findings 3, 4, and 6 from #73's third live fire: GitHub cannot receive a review request for an App, so the #45 request-review obligation must be holder-kind-aware — roles/implementer.md requests review from human or team holders and stands down for App-held seats, whose review arrives by dispatch. docs/identities.md gains the dispatch recipe the operator articulated: a role App never watches; a sole rider runs the role in a fresh session with no implementation context, authenticating as the App (same model acceptable, a different model or harness better — the routing table's harness field is the declared intent), and posts its review directly. scripts/codecrew-token falls back to /user/installations so personal-account installations resolve without hand-fed IDs. The required-review counting question stays open for the on-protection rerun; nothing here claims its answer.

Requirements

M5-R1

Plan

  1. roles/implementer.md: the request-review obligation becomes holder-kind-aware — request for human/team holders, skip for ~, and stand down for App-held seats with a pointer to the dispatch section (Apps are not review-requestable; their review arrives by dispatch).
  2. docs/identities.md, new section "Dispatching a role session": the seam a crew App implies — it never watches, someone dispatches a session that acts as it. The sole-rider recipe: fresh session, no implementation context, credentials via the env-var path or codecrew-token; a different model/harness when available (harness: in the routing table is the declared intent), the same model in a clean session as the floor. Reviewer specifics: the App posts its review directly (gh pr review under its token); explicitly not claimed — whether an App approval satisfies required-review counts (open on Staff the reviewer role with a dedicated App identity #73 pending the on-protection rerun).
  3. scripts/codecrew-token: installation discovery falls back from /orgs/{owner}/installations to /user/installations so personal-account installs resolve; error message names both paths tried. Smoke-checked by minting a real token (the script has no test harness; it remains bootstrap tooling the CLI will absorb).
  4. SPEC §6 role row: one clause noting the request applies to review-requestable holders and App seats are dispatched.
  5. Housekeeping riding along: add .gitignore for the dev-loop gh-codecrew binary at the repo root (promised on Omit hook_attributes from webhook-less identity manifests #74's merge).

Ask-the-human points

None — direction given by the operator in #73 finding 6.

Activity

  1. added
    cc:task
    on Aug 24, 2026
  2. radiusred-cody commented on Aug 24, 2026

    @radiusred-cody
    ContributorAuthor

    Started by @radiusred-cody[bot].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions