Skip to content

0019: Every why is an answer that the human picked ​

Status: accepted

Date: 2026-12-05

PR: #45

Context ​

PR Prep asks the human why each commit matters, and decision 0002 makes the human the only source of a reason. Agents still wrote some commit bodies and some reasons in decision records without a question, when a plan looked clear. Nothing checked where the text of a why came from.

Options considered ​

  • GitHub checks the answers itself: GitHub cannot tell a comment of the human from a comment that an agent posts for the human.
  • Let agents tighten the wording of a picked answer: A tightened sentence is no longer the exact words that the human picked.
  • Never mark an option as recommended on a why question: A recommendation helps the human, and the ledger marks each pick of a recommended option.
  • List the questions and answers in each pull request: The ledger is enough to trace each why.
  • Name the answers with a new Why-Answer trailer: A new trailer comes only from an answer of the human, and the human did not ask for this one.

Decision ​

A hook records each option that the human picks in AskUserQuestion to a ledger in the .git folder of the clone. Each line of a commit body is the text of a picked option, word for word. So is each pull request title, and each new reason in a decision record. The check needs no new trailer. A typed answer counts only after an agent cleans it up and the human picks the cleaned text as an option. Subagents cannot ask the human, so they cannot add an answer.

The why-from-human rule of commitlint checks each commit that an agent makes. A guard hook checks each push and each new pull request, protects the ledger, and blocks the ways around the commit hooks.

Consequences ​

No agent or subagent can commit a why that the human did not pick, unless it attacks the check on purpose. Each why traces back to the question and the option that the human picked. The human answers more questions: one for each reason and each title. A typed answer takes one more question, to confirm the cleaned wording.

Code ​