You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
follow/unfollow follow-ups: refuse bad --to before writing, --dry-run, undeclared unfollow, oplog on failure #403
Follow-ups for skillshare follow / unfollow (shipped in PR #390, see ai_docs/reports/274-follow-cmd.md "Deviations" and 274-review-fixes.md). None is a regression; each is a deliberate first-version limit.
Items
follow --to pointing at an ancestor of the source or at an active target creates the link and writes the declaration, then reports cycle / target-overlap and exits 0. Refuse before writing instead, using the same overlap checks sourcewalk applies, so a bad --to leaves nothing behind.
No --dry-run on follow / unfollow. enable has one; the commands already compute everything before writing, so a preview is cheap.
unfollow <name> for an undeclared name is a no-op with a warning (exit 0) and never removes an undeclared link. Decide whether unfollow should remove an undeclared link when asked explicitly (or document that it never will).
No oplog entry on failure.follow / unfollow log only successful changes; a partial failure (link created, declaration written, .gitignore refused) leaves no operations.log record. enable behaves the same today, so this is consistent, but backup/check record errors via statusFromErr and the follow commands change disk.
Argument errors with --json (unknown flag, missing name) print plain text rather than the JSON error object, because fail is defined after parsing. Documented in follow.md / unfollow.md; fix if scripts need a stable shape.
Closed with #390. The .skillfollow implementation is not being merged, so this follow-up no longer applies. If the need resurfaces against a new implementation, it will be filed fresh.
Activity
runkids commentedon Oct 5, 2026
Closed with #390. The
.skillfollowimplementation is not being merged, so this follow-up no longer applies. If the need resurfaces against a new implementation, it will be filed fresh.