fix: include C-style block comments in ponytail-debt grep scan by tanish19078 · Pull Request #811 · DietrichGebert/ponytail · GitHub
Skip to content

fix: include C-style block comments in ponytail-debt grep scan - #811

Open
tanish19078 wants to merge 1 commit into
DietrichGebert:mainfrom
tanish19078:fix-810-debt-grep-block-comments
Open

fix: include C-style block comments in ponytail-debt grep scan#811
tanish19078 wants to merge 1 commit into
DietrichGebert:mainfrom
tanish19078:fix-810-debt-grep-block-comments

Conversation

@tanish19078

Copy link
Copy Markdown

Fixes #810.

ponytail-debt's scan (grep -rnE '(#|//) ?ponytail:' .) silently missed ponytail: markers written as C-style block comments (/* ... */), reporting a clean ledger while real debt existed.

Changed the pattern to (#|//|/\\*) ?ponytail: in:

  • skills/ponytail-debt/SKILL.md (canonical)
  • .opencode/command/ponytail-debt.md
  • commands/ponytail-debt.toml
  • .openclaw/skills/ponytail-debt/SKILL.md (regenerated via node scripts/build-openclaw-skills.js)

Verification: regex matches #, //, /* forms and still excludes bare prose mentions; tests/openclaw-skills.test.js passes (18/18)

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.

ponytail-debt: grep pattern misses C-style block comments (/* ponytail: ... */)

1 participant