Expand description
Answering what an issue asks of you.
An issue that names you and asks you something is waiting on you and on nobody else. This finds the places on an issue that mention the viewer, has one agent draft an answer to each question put to the viewer with the code open, and has the other check every one. A question of fact both agents agree on is answered, all of them in one comment. Anything that asks the viewer to decide, commit, or give a view is never answered in their name: it is left for them, with what the agents found.
spar listen runs this unattended, under the viewer’s account, so the
guards against it answering itself are the design rather than a detail. A
mention is judged once, whatever moves the thread afterwards. Nothing spar
composed, on anybody’s account, is ever taken for a question. The reply
mentions nobody. And the listener stops after max_answers runs on one
issue until a person runs this by hand.
Structs§
- Mention
- One place on an issue that names the viewer and has not been judged.
- Mode
- Settled
- One question, and what the pair decided about it.
Functions§
- answer_
issue - answered_
keys - The mention keys every answered marker in
textnames. - compose
- The comment that answers the questions spar may answer, and names every mention this run judged. None when there is nothing to say: a mention that asked nothing, or asked only what is the viewer’s, gets no reply, since a reply saying so invites one back.
- note_
posted - Record the mentions a saved answer names as judged, once
spar posthas put it up. True when the text is an answer at all. - open_
mentions - The mentions of the viewer on an issue that nobody has answered.
- outstanding
- What
spar listenreads before it runs anything here, with gh alone: how many mentions on the issue are still open, and how many times the listener has already run this on it. - read_
record - settle
- Whether spar may answer one question, and if not, why it is the viewer’s.