Repository navigation
queen(app): t27-bees reacts to issue events, so a new issue is dispatched on the webhook, not the next poll (Closes #10399) - #10476
Merged
Conversation
…ched on the webhook, not the next poll (Closes #10399) specs/queen/app.t27 gains the issue events: issues.opened, issues.reopened, issues.labeled and issues.closed in EVENT_PAIRS, codes 13..16 appended after APP_EVENTS_CI (no earlier code moves), and dispatch_reaction answering DISPATCH / DROP / IGNORE (never for a bot sender or an unserved repository). APP_SUBSCRIBED_EVENTS and tools/bees/manifest.json default_events add `issues`. Five new tests (24/24, 0 vacuous), two new invariants; the 19 existing tests are unchanged. Seal queen_QueenApp remade on the Railway lab. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 18, 2026 13:34
This was referenced Oct 18, 2026
Merged
Contributor
This was referenced Oct 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10399
Lane 6 of the TRI CLAW queue epic (#10393). t27-bees is the App that has a server; its card now knows the issue events, so a new or relabelled issue is a dispatch reaction when GitHub sends it, and the poll becomes the backstop.
What changed
specs/queen/app.t27:EVENT_PAIRSgainsissues.opened,issues.reopened,issues.labeled,issues.closed. CodesGE_ISSUE_OPENED..GE_ISSUE_CLOSED= 13..16 are appended afterAPP_EVENTS_CI(APP_EVENTS_ISSUES= 17); no earlier code moves.dispatch_reaction(event, from_a_bot, served)answersDR_DISPATCH(opened, reopened, labeled),DR_DROP(closed) orDR_IGNORE(a bot sender, an unserved repository, any other event).APP_SUBSCRIBED_EVENTSandtools/bees/manifest.jsondefault_eventsaddissues(APP_PERMISSIONSalready hasissues:write).tools/bees/README.mdprose updated..trinity/seals/queen_QueenApp.jsonremade. The card has no tracked gen output (seal hashes only,gen=c,rust,verilog,zig).Evidence (Railway lab)
t27c test specs/queen/app.t27exit 0;t27c test-report: 24/24 pass, 0 vacuous, 5 invariants proved. The 19 existing tests are untouched and pass unchanged.app_reactionandci_reaction; old webhooks keep their codes. 1 new invariant pins codes 13..17 and the DR codes.tri mutate spec --fn dispatch_reaction: 12/12 killed.--fn app_event_of: 11/14 killed, 3 hung, all three the mutant's own endless loop (lines 225 x2 and 238, the pair walker, unchanged by this PR); 0 survived.t27c seal --verify: all hashes MATCH after the save.Not changed
dispatch_reaction) is out of scope; until it lands, the new codes are ignored by a supervisor that does not know them, and the poll still serves as the path.Inherited reds that also fail on other recent PRs (claw-sarif, Corpus ratchet, Verilog widths, t27b-native-*, withdrawn-live) are not from this change.
🤖 Generated with Claude Code