Help the local model finish #28: re-check the plan after a merge, report untested code, review all feedback #36

Merged
dario merged 2 commits from dario/pr28-help into main 2026-11-20 12:56:15 +01:00 AGit
Owner

Changes for the local model to finish #28: re-check the plan after a merge, make missing tests visible, and let the review stage check all open feedback.

Changes

  • implement-issue, step 1.4:
    • After merging the default branch, regroup: git log --oneline HEAD^1..HEAD^2 lists what came in. Check the plan against it. In an interactive session, say what changed and wait if the plan changes.
    • Everything people wrote on the pull request is feedback, whatever form the forge gives it: comments count as much as reviews.
  • implement-issue, step 5: before pushing, check with git diff --stat origin/<default>...HEAD that tests cover the change. If no test file changed, add tests, or say in the test evidence why none are needed. The PR template's test evidence gets a line for that.
  • review-pr, step 1.5: comments and reviews from people are both feedback. Check point by point whether they are addressed; each open point is a blocking issue.
  • Dispatcher: after a run with a pull request, if the branch changes source files but no test file, the outcome lists them under untested, and the run report says "No test file changed, but code did: …". This works like the conflict check: whatever the agent says, check what git says. Test and source files are recognised by common naming conventions across languages. It is a hint, not a gate. Tested in TestUntestedCode and TestUntestedCodeIsReported.
  • Docs:
    • README: the untested check.
    • developing-the-factory.md: -review also works after an interactive session, and checks the open feedback.

Evidence

  • Re-check after the merge: in interactive run 20261120-103812-implement-issue-dario-factory-27-a03618 (OpenCode, Qwen3-Coder-Next-6bit, continuing #28), the merge brought in #34. #34 had changed the same code in internal/dispatch/dispatch.go that the plan was about to touch. The model went on with its old plan and lost track (see #35).
  • Tests: #28 still has no test changes after two rounds. Both reviews asked for tests explicitly, and the second gave the cases. The plan named tests last, and the run never got there. No review stage ran (-review was not used), so nothing caught it.
  • Feedback as comments: the review feedback on #28 was posted as pull request comments. The old review-pr step 1.5 checked only earlier reviews, and implement-issue called comments only "description and comments". On forges such as GitLab or Azure DevOps there is often no review object at all.

just check passes.

🤖 Generated with Claude Code

Changes for the local model to finish #28: re-check the plan after a merge, make missing tests visible, and let the review stage check all open feedback. ## Changes - **`implement-issue`, step 1.4:** - After merging the default branch, regroup: `git log --oneline HEAD^1..HEAD^2` lists what came in. Check the plan against it. In an interactive session, say what changed and wait if the plan changes. - Everything people wrote on the pull request is feedback, whatever form the forge gives it: comments count as much as reviews. - **`implement-issue`, step 5:** before pushing, check with `git diff --stat origin/<default>...HEAD` that tests cover the change. If no test file changed, add tests, or say in the test evidence why none are needed. The PR template's test evidence gets a line for that. - **`review-pr`, step 1.5:** comments and reviews from people are both feedback. Check point by point whether they are addressed; each open point is a blocking issue. - **Dispatcher:** after a run with a pull request, if the branch changes source files but no test file, the outcome lists them under `untested`, and the run report says "**No test file changed**, but code did: …". This works like the conflict check: whatever the agent says, check what git says. Test and source files are recognised by common naming conventions across languages. It is a hint, not a gate. Tested in `TestUntestedCode` and `TestUntestedCodeIsReported`. - **Docs:** - README: the `untested` check. - `developing-the-factory.md`: `-review` also works after an interactive session, and checks the open feedback. ## Evidence - **Re-check after the merge:** in interactive run `20261120-103812-implement-issue-dario-factory-27-a03618` (OpenCode, Qwen3-Coder-Next-6bit, continuing #28), the merge brought in #34. #34 had changed the same code in `internal/dispatch/dispatch.go` that the plan was about to touch. The model went on with its old plan and lost track (see #35). - **Tests:** #28 still has no test changes after two rounds. Both reviews asked for tests explicitly, and the second gave the cases. The plan named tests last, and the run never got there. No review stage ran (`-review` was not used), so nothing caught it. - **Feedback as comments:** the review feedback on #28 was posted as pull request comments. The old `review-pr` step 1.5 checked only earlier reviews, and `implement-issue` called comments only "description and comments". On forges such as GitLab or Azure DevOps there is often no review object at all. `just check` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- dispatch: after a run that has a pull request, list the source files its
  branch changes when it changes no test file (naming conventions), as
  "untested" in the outcome and in the run report.
- implement-issue: comments count as much as reviews; before pushing, check
  that tests cover the change or say why none are needed.
- review-pr: comments and reviews from people are feedback; each open point
  is a blocking issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dario merged commit 00562be1a3 into main 2026-11-20 12:56:15 +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!36
No description provided.