Skip to content

fix(#1489): a skills-only install is told to run init --force for a missing AGENTS.md, which installs hooks, agents and settings it skipped - #1516

Merged
admarble merged 2 commits into
mainfrom
feature/1489-fix-doctor-a-skills-only-install-is-told-to-run-in
Oct 19, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/1489-fix-doctor-a-skills-only-install-is-told-to-run-in

Conversation

@admarble

@admarble admarble commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On a skills-only install (groups: ["skills"]) with no AGENTS.md, doctor no longer warns and no longer suggests sequant init --force, which would install hooks, agents and settings the install skipped. The check passes and says AGENTS.md is outside this install scope. A full install with no AGENTS.md keeps today's warning and remedy. A present AGENTS.md keeps the #990 ownership result on any scope.

Fixes #1489

Verification

  • AC-1: npx vitest run src/commands/doctor.test.ts -t "missing AGENTS.md on a skills-only install" → 1 passed, 0 failed.
  • AC-2: -t "missing AGENTS.md on a full install" → 1 passed, 0 failed.
  • AC-3: -t "existing AGENTS.md on a skills-only install" → 1 passed; -t "990 AC-7" → 5 passed, 0 failed.

Mutation-verified: AC-1 — deleted the skills-only branch so the unconditional init --force warning returns; src/commands/doctor.test.ts > doctor command > AGENTS.md on a skills-only install (#1489) > missing AGENTS.md on a skills-only install is not a warning and names no command failed (1 failed, 83 passed); restored.

QA findings

  • A legacy manifest (no groups) with nothing but skills installed still gets the init --force warning next to the Install Scope advice to add groups. AC-2 requires this; adding groups as advised clears it.
  • The Hooks and Settings checks still warn on a skills-only install. They name no command, so they don't widen it, and the issue lists them as a non-goal.
  • The message says "skills-only" for any partial scope; skills is the only install group that exists today.

🤖 Generated with Claude Code

…--force for a missing AGENTS.md

Entire-Checkpoint: d8afb7bf1171
Entire-Checkpoint: 4670fbd83959
@admarble
admarble merged commit 8e1d8ea into main Oct 19, 2026
10 checks passed
@admarble
admarble deleted the feature/1489-fix-doctor-a-skills-only-install-is-told-to-run-in branch October 19, 2026 00:35
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.

fix(doctor): a skills-only install is told to run init --force for a missing AGENTS.md, which installs hooks, agents and settings it skipped

1 participant