Skip to content

fix(#562): qualify Skill("loop") in fullsolve as sequant:loop - #565

Merged
admarble merged 1 commit into
mainfrom
feature/562-bug-fullsolve-unqualified-skill-loop-resolves-
May 3, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/562-bug-fullsolve-unqualified-skill-loop-resolves-

Conversation

@admarble

@admarble admarble commented May 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the silent misroute of /fullsolve's quality loop. Unqualified Skill(skill: "loop", ...) was resolving to Anthropic's top-level recurring-prompt skill instead of sequant's quality-loop skill, so when fullsolve hit the test/QA fix branch the user got a "schedule a recurring task?" prompt instead of automated fix iteration.

  • 6 occurrences (lines 449 and 527 of each of 3 mirrored fullsolve SKILL.md files) changed from "loop" → "sequant:loop"
  • Other unqualified Skill() calls (spec/exec/qa/test) intentionally left untouched per AC-3 — no name collisions exist for those today
  • CHANGELOG entry under [Unreleased] / ### Fixed

Closes #562

Acceptance Criteria

  • AC-1: All 6 occurrences of Skill(skill: "loop", ...) in fullsolve SKILL.md mirrors changed to Skill(skill: "sequant:loop", ...). Verified: grep -c 'Skill(skill: "loop"' returns 0 in all 3 files; grep -c 'Skill(skill: "sequant:loop"' returns 2 per file.
  • AC-2: 3-dir sync preserved. Verified: pairwise diff clean across .claude/skills/fullsolve/SKILL.md, skills/fullsolve/SKILL.md, templates/skills/fullsolve/SKILL.md.
  • AC-3: Other unqualified Skill() calls untouched. Verified: git diff origin/main on .claude/skills/fullsolve/SKILL.md shows only the 4 loop-related lines changed (2 removed, 2 added) — no spec/exec/qa/test references modified.
  • AC-4: CHANGELOG entry under [Unreleased] / ### Fixed referencing bug(fullsolve): unqualified Skill("loop") resolves to recurring-prompt skill, breaking quality loop #562 and naming the symptom (silent loop misroute).
  • AC-5: Smoke test note (this section).

Smoke Test Plan (AC-5)

The bug only surfaces when /fullsolve enters the quality-loop branch (i.e., a /test or /qa phase fails and triggers fix iteration). Triggering this in a controlled fashion requires an issue whose AC will fail QA. Recommended smoke test:

  1. Pick (or create) an issue with a deliberately-incomplete AC such that /qa returns AC_NOT_MET on first pass.

  2. Run /fullsolve <N>.

  3. When the QA loop fires, expect the first line of output from the loop branch to be:

    Quality loop - Parse test/QA findings and iterate until quality gates pass

    …not the recurring-prompt skill's prompt:

    Parse the input below into [interval] <prompt…> and schedule it.

  4. Capture the first line as evidence and append to this PR / linked issue.

Verification timing: This run of /fullsolve 562 itself did not enter the quality-loop branch (QA passes on first pass for a mechanical fix), so the smoke test must be run against a separately-failing issue. Documented here per AC-5; will execute on the next loop-triggering issue and link evidence.

Test plan

  • npm run build — passes (no TS surface; markdown-only changes)
  • grep verifications above
  • pairwise diff of the 3 mirrored SKILL.md files
  • Manual smoke test on a loop-triggering issue (per AC-5)

Non-Goals

  • Not requalifying spec/exec/qa/test references — no collision exists for those names, and gratuitous churn risks introducing typos.
  • Not changing the harness skill-name resolution logic.
  • Not auditing other sequant skills for similar unqualified calls.

Unqualified Skill(skill: "loop", ...) in fullsolve SKILL.md was resolving
to Anthropic's top-level recurring-prompt loop skill instead of sequant's
quality-loop skill. When /fullsolve hit the test or QA fix branch, the
workflow silently prompted the user to schedule a recurring task instead
of running the quality loop.

Targeted fix: change all 6 occurrences (2 each across 3 mirrored
SKILL.md files) from "loop" to "sequant:loop". Other unqualified
Skill() calls (spec/exec/qa/test) are intentionally untouched per AC-3
— no name collisions exist for those today, and changing them is
needless churn.
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.

bug(fullsolve): unqualified Skill("loop") resolves to recurring-prompt skill, breaking quality loop

1 participant