Repository navigation
feat(mira): first responses post without approval (decision 78) - #54
Merged
Merged
Conversation
A new auto action kind, github.first_response, posts Mira's first response to a new PR or issue once the gateway's checks pass: the target is open and the network hasn't already commented there; the text is finished, at least 80 characters, mentions no one but the author and says nothing about the network. Failures are refused so Mira redrafts. A high-risk request, or work a member set going, still goes to Matt as a card. The gateway signs the comment as posted automatically and strips the "reviewed by a maintainer" label from the draft. A redraft of an open github.comment or github.first_response from the same agent on the same target now lapses the older one, so approving both can no longer post the comment twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Matt Roberts (Agent) <code+agent@rbrts.uk>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Matt Roberts (Agent) <code+agent@rbrts.uk>
Mira's drafts have carried her note to avoid mentions into the text three times ("@-free", "@Name-Free"). Treat it as an unfinished draft. An email address or code is not matched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Roberts (Agent) <code+agent@rbrts.uk>
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.
Mira's first responses to new PRs and issues now post without a card, once the gateway's checks pass. A redraft of an open comment replaces it, so a comment can no longer be approved and posted twice.
In the first two weeks there were 105 comment cards. Most rejections came in the first week, and most were about closing rather than welcoming. Closures still need approval. In the second week, review caught one unfinished draft and let through three pairs of duplicate comments (template-playground#1105, template-playground#1106, concerto-codegen#315).
Changes
New action kind
github.first_response, set toauto. The gateway posts it at once if:Otherwise it refuses, and Mira redrafts. It still comes as a card when Mira rates it high risk or a member set the work going.
The gateway signs these comments as posted automatically, and strips the draft's "reviewed by a maintainer" label.
A new
github.commentorgithub.first_responsefrom the same agent on the same target lapses the older open one.issueStatenow also returns the author, so the mention check knows who it may allow.Updated: Mira's spec (triage step 1), the public-voice rule in
_protocol.md, rule 3 inCLAUDE.md, and decision 78.Safety
Adds an
autoaction kind (rule 3), as the owner decided. Comments that close or reply to an issue staygithub.comment, which needs approval. Settingauto: falseongithub.first_responsemakes every first response a card again.Deploy
npm run gateway:deployandnpm run deploy:agents(the deploy workflow does both).Decision
78
Checks
npm testpasses (429 tests)gateway/test/github.test.ts, "first responses (decision 78)")network.jsonregenerated ifconfig/changed🤖 Generated with Claude Code