Skip to content

fix(sync): show unmatched include warnings in every sync view - #328

Merged
runkids merged 1 commit into
mainfrom
fix/unmatched-include-followups
Oct 2, 2026
Merged

runkids merged 1 commit into
mainfrom
fix/unmatched-include-followups

Conversation

@runkids

@runkids runkids commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Follow-up to #326. Refs #325

Why

  • The unmatched include warning was written straight to DiagOutput. A dashboard sync only wrote it to the server log, and an interactive CLI sync could redraw its progress area over it.
  • The message did not say which target it was about.
  • Suggestions for a top-level skill cut off the first character of the name. For example, lpha got the suggestion "alpha".

Change

  • Merge and copy sync return the warnings in their results. SyncSkillTarget adds them to the target's warnings with the target name as a prefix. The CLI and /api/sync already report those warnings.
  • A name with no __ separator is now compared in full.
  • --json output is unchanged.

CLI output after the change (interactive terminal):

✓ claude: merged (no skills)
→   include: dev, lpha
!   claude: include pattern "dev" matches no skill in the source (filters use the source path name; did you mean "frontend__dev"?)
!   claude: include pattern "lpha" matches no skill in the source

Tests

  • New unit tests for the top-level typo, for the prefixed warnings in merge and copy mode, and for the warning in the /api/sync response. Each failed before the fix.
  • The integration test now checks for the target prefix.
  • make check passes in the devcontainer.

The unmatched include warning from #326 was written straight to
DiagOutput. The dashboard sync never showed it because DiagOutput is the
server's stdout, and an interactive CLI sync could redraw its progress
area over it. Return the warnings with the merge and copy results so
SyncSkillTarget adds them to the target's warnings, which both the CLI
and the API already report. Prefix them with the target name, since the
API returns one list for all targets.

A top-level skill name has no path separator, so the suggestion cut off
its first character and suggested "alpha" for a typo like "lpha". Compare
the whole name in that case.

Refs #325
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T08:17:44.749674Z 77d1bab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 80ac109 into main Oct 2, 2026
7 checks passed
@runkids
runkids deleted the fix/unmatched-include-followups branch October 2, 2026 10:51
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