Skip to content

fix(doctor): Verify-loop check agrees with the wired --loop hook (v0.7.1)#30

Merged
youcefzemmar merged 1 commit into
veltiq:mainfrom
youcefzemmar:fix/doctor-loop-consistency
May 31, 2026
Merged

fix(doctor): Verify-loop check agrees with the wired --loop hook (v0.7.1)#30
youcefzemmar merged 1 commit into
veltiq:mainfrom
youcefzemmar:fix/doctor-loop-consistency

Conversation

@youcefzemmar
Copy link
Copy Markdown
Collaborator

Follow-up to #29. An independent verification pass found that doctor's Verify loop check read only config.loop.enabled, so after setup (which installs hook --loop) it could print "Verify loop: off" directly below "Stop hook: … verify loop on" — a contradiction in a brand-new headline command.

Now it reports the loop on when the wired hook carries --loop OR config enables it (on (hook --loop) / on (config)). Cosmetic only; +1 regression test. 151 tests pass. Ships as 0.7.1.

🤖 Generated with Claude Code

The "Verify loop" check read only config.loop.enabled, so after `setup`
(which installs `hook --loop`) doctor could print "Verify loop: off" right
below "Stop hook: ... verify loop on" — a contradiction. It now reports the
loop on when the wired hook command carries --loop or config enables it.
Caught by an independent verification pass. +1 test (151 pass).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@youcefzemmar youcefzemmar merged commit 2e60d94 into veltiq:main May 31, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant