Repository navigation
Closed as not planned
Description
Summary
Small .skillfollow cleanups and known rough edges left after PR #390's internal review and /simplify pass. Each is independent and small; batch them as convenient.
Items
- Doctor re-implements the git followed-link check.
cmd/skillshare/doctor.gocheckFollowedIgnoresrepeatsFollowedLinksStaged→IsPathIndexed+IsPathIgnoredand the "indexed; run …" messages thatinternal/git/followed_links.goCheckFollowedLinksproduces, with hard-coded.skillfollow.localstrings. One helper returning per-link problems should serve both. unfollowResultstores derivable fields (NotDeclaredequals emptyFilesEditedandStillDeclaredIn;LinkKeptduplicatesStillDeclaredIn;leftDiscoverycompares a string sentinel). Deriving them changes the--jsonshape, so it needs a note inunfollow.md.PUT /api/skillfollowre-implements declaration parsing (internal/server/handler_skillfollow.go) and hard-codes the file names instead of using an exportedsourcewalk.ParseDeclarationsand shared constants (skillfollow.File/LocalFilecannot be imported bysourcewalkwithout a cycle; move the constants tosourcewalk).handlePatchSkillSourcereturns 404 on an unreadable declaration instead of the read error the other routes return (noted inai_docs/reports/274-codex-round19.md).- Audit TUI Skills tab under
audit --agentsscans the agents source as skills (cmd/skillshare/audit.goreplacessourcePathwith the agents source;auditTUIContextkeeps one path). Pre-existing, unrelated to.skillfollow; keep the skills source separately in the context. /api/skillignorereadss.cfg.EffectiveSkillsSource()while/api/skillfollowreadss.skillsSource(). They are equal in project mode (pinned byTestServerProjectUpdateAllUsesProjectSource); use one accessor for consistency.- Test seams for name folding are layered three deep (
caseInsensitiveNames,sameFollowName,sameName) andValidEntryName/SameEntryNameare export-only wrappers; export the originals and keep one switch. - Repeated
"%s: prune paused; unavailable .skillfollow entry: %s"format indiff.go,init_apply.go,sync_parallel.go,handler_sync.go; one formatter ininternal/sync. - Inline
ErrLink → 409mappings remain inhandler_trash.goandhandler_skill_content.gowith different fallbacks; afollowWriteStatus(err, fallback)form would unify them.
References
ai_docs/reports/274-review-fixes.md,274-simplify.md,274-codex-round19.md,274-discovery-entry.md
Metadata
Metadata
Assignees
Labels
No labels
Activity
fix(audit): keep the skills source when auditing agents only (#412)
runkids commentedon Oct 5, 2026
Items 5 and 6 landed in #412 (merged as d1371db): the audit TUI keeps the skills source under
audit --agents, and/api/skillignorereads the source throughskillsSource(). The remaining items (1-4, 7-9) touch.skillfollowcode and wait for #390.runkids commentedon Oct 5, 2026
Closed with #390. Items 5 and 6 landed in #412; the
.skillfollowimplementation behind the rest is not being merged, so this follow-up no longer applies. If the need resurfaces against a new implementation, it will be filed fresh.