Move the GitHubHookDoctor binder out of core/model/ #430
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#430
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
core/CLAUDE.md:24states thatmodel/takes no imports fromadapters/,output/ordashboard/. One file still breaks it:The cause is the same one fixed in
TerminalWorkspaceChecks(commit45c3b02):a pure decision and its impure binder live in the same file, so the binder's
dependency on
adapters/is charged tomodel/.Fix
Split the same way. Keep the pure verdict in
core/model/, taking its processprobe and client as injected parameters. Move the binder to
commands/github.hook-doctor.scala, which is where the checks are alreadyassembled and which may import
adapters/.commands/github.hook-doctor.scalacurrently reads:Both would bind explicitly, as
start.hook-doctor.scalanow does.Acceptance
rg 'import iw\.core\.(adapters|output|commands)' core/model/returns nothing.Origin
Found while triaging LESSONS.md for IW-422. Review finding W11 flagged the same
violation in
TerminalWorkspaceChecksand accepted it because this file had setthe precedent. That file is now fixed, so this is the last instance and the rule
can be enforced again.
Intake: agent-ready
Workflow: waterfall
Reason: all gates passed
Analysis: project-management/issues/IW-430/analysis.md on branch IW-430
Implement: needs-human
Reason: batch-implement exit 1 — the kanon plugin does not compile against the iw-cli core of current main.
fetchPullRequestForBranchnow returnsEither[TrackerError, …](#778), andForgeCatchUp.scalain the kanon plugin still expectsEither[String, …]. No phase ran, and no batch-implement.log was written. The cause is in the plugin, not in this issue: update the kanon plugin to the current core, then release this issue toagent-readyagain.Release: the implement loop failed this issue for a reason outside it. The kanon plugin did not compile against iw-cli main, because the tracker port now returns TrackerError (iw-cli #778). The plugin fix is dev-docs #484, and iw-cli 0.22.1 carries the core change. The issue goes back to the implement loop.