Skip to content

Review the bot's answers

The bot posts nothing in a server until a person has read thirty of its answers to real questions and agreed they are worth posting there. This is how to produce those answers and review them.

Answers reviewed on a stage server count towards production's thirty, as long as the two servers share the corpus, the model and the settings that shape an answer. Asking test questions on stage lets you see each answer posted in the open, as a member would, while production stays in shadow. review and review status read one server at a time, so add the two counts yourself. Once production is given its own corpus or ai.model, only its own answers count. forum_scopes does not change that: it only shapes answers to questions asked in a forum, so forum targeting is judged from production's forum questions alone (spec 0029 D4, revised 2026-10-05).

1. Give it questions to answer

Run the daemon against the test guild, as in run the bot, and ask it questions there by mentioning it. In shadow mode it composes each answer and stores it, and the channel stays quiet.

Real questions count: anyone's, and your own. What does not count is a question copied from the benchmark or calibration sets under test/corpus/, because those have been answered so often that another answer proves nothing.

2. Review what it would have said

On the machine that runs the daemon, or anywhere with the same database:

$ phpbotscout review

With more than one server configured, name the one you are reviewing:

$ phpbotscout review --server 1519629968768897075

The command refuses to guess. With one server configured, it is implied.

Each answer is shown exactly as it would have been posted, under the thread title it opened, with the pages it cited and the commit each was read at. A title that misnames the subject is worth a note. For each one, say whether it was correct and whether its citations were apt, and add a note if something is worth remembering. Skip an answer you want to come back to, and exclude one that turns out to be a replayed benchmark question. The command reference has the detail.

Judge the answer a user would have seen. A correct answer resting on the wrong page is a citation problem, and a decline is correct only if the documentation really does not answer the question.

3. Read the tally

review status takes the same --server, and counts that server's answers only.

$ phpbotscout review status
Reviewed:      12 of 30 (answers 9, declines 3; posted 4, shadow 8)
Correct:       10 of 12
Citations apt: 8 of 9 judged
Excluded:      1
Waiting:       4
Feedback:      3 helpful, 1 not, on 3 answers
Clarifications: 2 reviewed, 1 right to ask, 0 excluded, 3 waiting

The last line is the clarify queue (below). It never counts towards the thirty.

At thirty the gate can be met, but status will not say so. Whether the bot is ready to post is a judgement about those verdicts, and lifting shadow mode is a code change made afterwards.

Review the questions it asked back

When a question could be about more than one module, the bot sometimes asks which was meant instead of answering. Those clarifying questions are not in review. They have a queue of their own, so whether asking back was right is judged on its own terms and never moves the thirty:

$ phpbotscout review clarify

Each one shows the question, what the bot asked, whether the asker replied, and what it decided on: the passages each module held, the top two shares against clarify.split_share, and any bare word against clarify.name_passages. Choose one verdict: asking back was right, or it was wrong because one module was plainly meant, or because the modules offered missed the one meant. Then add a note if you like.

The answer the bot gave after the asker replied is an ordinary answer, in review, and it does count towards the thirty.

Answers expire

An answer's text is kept for 120 days, and an answer past that is no longer offered. Review within a few weeks of asking.