-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
P3-lowLow: extended features, operational docsLow: extended features, operational docsfollow-upFollow-up task from PR reviewFollow-up task from PR reviewfrom-reviewIssue originated from PR reviewIssue originated from PR review
Description
Context
This follow-up task was identified during the review of PR #145.
Source PR: #145
PR Title: feat: auto-interactive markdown checkboxes
Suggested by: @claude-bot
Priority: Low
Task Description
Currently there are two independent slug functions:
slugifyHeading()inauto_tasks.go(root package)slugify()ininternal/source/markdown.go
Both convert heading text to URL-safe anchors (GitHub-style), and they must produce identical output for anchor matching to work. Currently this is documented with a comment warning, but there's no enforcement.
Options:
- Extract to a shared internal package (e.g.,
internal/slug) - Add a test that compares both implementations against a test matrix
- Have one call the other via import
Original Comment
The comment warns about keeping this in sync, but there's no enforcement. Consider extracting to a shared package, adding a test that compares both implementations, or using the same function via import.
This issue was automatically created by prmonitor from PR review comments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3-lowLow: extended features, operational docsLow: extended features, operational docsfollow-upFollow-up task from PR reviewFollow-up task from PR reviewfrom-reviewIssue originated from PR reviewIssue originated from PR review