Skip to content

Add doctor suggestions for overlapping skill roots - #177

Merged
runkids merged 1 commit into
runkids:mainfrom
TIR44:feature/doctor-overlap-suggestions
May 31, 2026
Merged

runkids merged 1 commit into
runkids:mainfrom
TIR44:feature/doctor-overlap-suggestions

Conversation

@TIR44

@TIR44 TIR44 commented May 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Added optional structured suggestions to doctor check JSON output.
  • Surfaced actionable remediation guidance for shared target paths and cross-target discovery overlaps.
  • Covered both warning paths with focused tests.

Context

Related to #135. The existing doctor checks already detect duplicate roots and cross-target discovery overlaps, but the warning output did not tell users what to do next. This keeps the change narrow: it does not add adopt/claim behavior, change sync semantics, or introduce new config models.

Validation

  • go test ./cmd/skillshare -run 'TestCheckSharedTargetPaths|TestCheckCrossTargetDiscovery|TestFinalizeDoctorJSON|TestFetchDoctorUpdateResult'
  • make test-unit

The visible Vercel status points at a Vercel authorization URL; no Go test failure was observed locally.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a suggestions field to the doctor check results in the skillshare command. It adds the addCheckWithSuggestions method to doctorResult, updates the doctorCheck struct to include a JSON-serializable Suggestions slice, and populates actionable suggestions when detecting shared target paths or cross-target discovery overlaps. Corresponding unit tests have also been updated to verify these suggestions. There are no review comments, and I have no feedback to provide.

@runkids
runkids merged commit eb99118 into runkids:main May 31, 2026
7 of 8 checks passed
@runkids

runkids commented May 31, 2026

Copy link
Copy Markdown
Owner

@TIR44 Thanks!

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.

2 participants