Tell people's feedback from the factory's texts by the agent marker #40

Merged
dario merged 1 commit from dario/review-people-feedback into main 2026-11-20 13:49:04 +01:00 AGit
Owner

Follow-up to #38.

Evidence

The third automated review of #28 (run with #38) answered "Open feedback: None". My comment on #28 listed three missing test cases, and one is still open: "the factory commented earlier, no new comment in this run → no_result".

With a personal account, the person's comments, the factory's reports and the pull request itself all come from the same account. The skills said "feedback from people" but not how to recognize it, so the reviewer most likely treated those comments as the author's own. This is a hypothesis: the run's transcript would confirm it. The rerun below tests it.

The forge can tell the two apart: every text the factory posts carries <!-- factory:agent --> (ADR 0011). improve-factory already uses that rule (prompts/improve-factory.tmpl).

Changes

  • skills/review-pr/SKILL.md, step 1.5: who wrote what. A text with the marker, or from the bot account, is the factory's: claims to verify, not feedback. Everything else is feedback from people. With a personal account, tell them apart by the marker, not by the author.
  • skills/implement-issue/SKILL.md, step 1.4: the same rule for continuing a pull request.
  • prompts/review-pr.tmpl, prompts/implement-issue.tmpl: for a personal account, the run prompt says that texts from the account without the marker are that person's.

Verification

After the merge, factory run review-pr -repo dario/factory -pr 28 should list the missing test case as open.

🤖 Generated with Claude Code

Follow-up to #38. ## Evidence The third automated review of #28 (run with #38) answered "Open feedback: None". My comment on #28 listed three missing test cases, and one is still open: "the factory commented earlier, no new comment in this run → `no_result`". With a personal account, the person's comments, the factory's reports and the pull request itself all come from the same account. The skills said "feedback from people" but not how to recognize it, so the reviewer most likely treated those comments as the author's own. This is a hypothesis: the run's transcript would confirm it. The rerun below tests it. The forge can tell the two apart: every text the factory posts carries `<!-- factory:agent -->` (ADR 0011). `improve-factory` already uses that rule (`prompts/improve-factory.tmpl`). ## Changes - `skills/review-pr/SKILL.md`, step 1.5: who wrote what. A text with the marker, or from the bot account, is the factory's: claims to verify, not feedback. Everything else is feedback from people. With a personal account, tell them apart by the marker, not by the author. - `skills/implement-issue/SKILL.md`, step 1.4: the same rule for continuing a pull request. - `prompts/review-pr.tmpl`, `prompts/implement-issue.tmpl`: for a personal account, the run prompt says that texts from the account without the marker are that person's. ## Verification After the merge, `factory run review-pr -repo dario/factory -pr 28` should list the missing test case as open. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dario merged commit 97bcf9c784 into main 2026-11-20 13:49:04 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dario/factory!40
No description provided.