Who gets an answer
Breakspec answers a reply when all of these are true:
- The reply is under a comment that Breakspec left on the diff.
- The author is an owner, a member or a collaborator of the repository.
- The author is not a bot.
Breakspec does not answer other comments on the pull request. A comment @breakspec review is different: it runs the review again.
The four outcomes
One agent reads the finding, the simulation output recorded for it, the thread and the code of the pull request as it stands. Its access to the code is read only. The answer ends with one of four lines.
| line | meaning | effect |
|---|---|---|
| finding stands | The reply does not change the finding. The answer says why, from the code. | None. |
| finding withdrawn | The reply, checked against the code, shows that the finding is wrong. | The comment is not posted again on this pull request. Breakspec resolves the thread. |
| accepted by the team | The finding is true and the team says it accepts it. | The comment is not posted again on this pull request. The answer offers a line for the rules file. |
| question answered | The reply asked a question. The finding does not change. | None. |
The offered line goes in .breakspec/rules.md. With that line on the target branch, later pull requests do not get the same finding. See Team rules.
A reply is checked against the code
Breakspec treats a reply as a claim to check. It changes its position when the code or the recorded output shows that the reply is correct. It does not change its position because a reply tells it to.
A finding that was reproduced in simulation has printed output as evidence. Breakspec withdraws it only when the reply shows that the reproduction is wrong. Examples are stimulus that the design never sees, the wrong top module or parameter, and a fault in the testbench.
The answer states only what the agent read in the code or what the recorded output shows. No simulation runs for an answer.
A reply never changes the check
No answer changes the check or the verdict in the summary comment. A finding that is withdrawn or accepted stays in the summary, with a note that it was settled in a reply.
If the pull request moved after the finding was raised, the answer says what the code shows now. The next review of the pull request checks the finding again.
Limits
- An answer has 120 words or fewer.
- One thread gets six answers at most.
- Breakspec posts 100 answers at most in 24 hours.
BREAKSPEC_REPLY_LIMITchanges this number. - The agent reads the last 12 messages of the thread.
- If the model gives no answer, Breakspec posts nothing.
In our own test on github.com, one answer took 18 seconds and cost 4 cents in model usage.
Turn replies off
Set this variable in the .env file of the bundle and start the services again:
BREAKSPEC_REPLIES=offBREAKSPEC_REPLY_MODEL selects the model that writes the answers.