Skip to content

feat: count verdicts from the qa role holder, routed or operator-held - #43

Merged
radiusred-cody[bot] merged 3 commits into
mainfrom
task/42-let-a-solo-operator-satisfy-the-verdict
Aug 22, 2026
Merged

radiusred-cody[bot] merged 3 commits into
mainfrom
task/42-let-a-solo-operator-satisfy-the-verdict

Conversation

@radiusred-cody

Copy link
Copy Markdown
Contributor

Closes #42. Delivers M4-R1: a pure-solo project can pass milestone close's verdict gate — because solo is a routing configuration, not a degraded tier.

Design was decided at this milestone's first checkpoint gate (resolution and a follow-up Decision recorded on #42, both gatherable at close — the M3 machinery in anger):

  • Every role is always staffed. The verdict gate now asks "does this author hold the qa role?" via new config.HoldsRole: a routed role is held exactly by its identity — a GitHub App slug or a human's GitHub username (new, string-matching already supported it); an unrouted role (~/absent) is held by the human operator — any human identity not routed to a different role. Crew identities can never stand in for a role they are not routed to, in any configuration.
  • No waiver semantics. A solo operator's verdicts count because they hold the role, not because the gate degraded — same format, same gate, per the amended roles/qa.md. When qa is unrouted, close output notes the role was operator-held and nudges toward declaring routing.
  • Routing is expected at onboarding (second Decision on Let a solo operator satisfy the verdict gate #42): the hub config should declare all four roles explicitly; an orchestrator finding no table should prompt for one. The CLI tolerates absence but says so; the onboarding prompt itself lands with M4-R2/R3.
  • Plumbing: ctx memoizes the governing routing table (local or hub-fetched) so per-verdict resolution costs one fetch, not N. Test-first: TestHoldsRole table covers routed-App, routed-human, unrouted, empty-table, and crew-identity-never cases.
  • SPEC §5 (role staffing + identity-as-username), §6 close row, roles/qa.md, and docs/identities.md updated. Also carries the M4 ROADMAP row.

Deviations: none.

🤖 Generated with Claude Code

@radiusred-cody radiusred-cody Bot linked an issue Aug 22, 2026 that may be closed by this pull request
@radiusred-cody
radiusred-cody Bot enabled auto-merge (rebase) August 22, 2026 09:39
@radiusred-cody

Copy link
Copy Markdown
Contributor Author

Added one commit beyond the plan: SPEC §5 now reserves slash-containing identity: values for future team routing (org/team-slug, backlog #44), so the namespace cannot be claimed by accident in the meantime.

@radiusred-cody
radiusred-cody Bot merged commit 1c4105a into main Aug 22, 2026
2 checks passed
@radiusred-testy radiusred-testy Bot mentioned this pull request Aug 23, 2026
@davison
davison deleted the task/42-let-a-solo-operator-satisfy-the-verdict branch August 26, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let a solo operator satisfy the verdict gate

1 participant