Skip to content

fix: drop stray node_modules symlink and quote autoresearch frontmatter - #218

Merged
bbsngg merged 2 commits into
mainfrom
fix/autoresearch-frontmatter
Sep 4, 2026
Merged

fix: drop stray node_modules symlink and quote autoresearch frontmatter#218
bbsngg merged 2 commits into
mainfrom
fix/autoresearch-frontmatter

Conversation

@bbsngg

@bbsngg bbsngg commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Two small repo-hygiene fixes surfaced while working on #196 / #213.

1. Remove a committed node_modules symlink

#213 (2ef73b0a) accidentally committed a node_modules symlink pointing at a developer's local path (my mistake: git add -A in a worktree that had the symlink). It slipped past .gitignore because node_modules/ with a trailing slash matches directories only, not symlinks. This PR removes the tracked symlink and adds the slash-less node_modules pattern so the symlink form is ignored too.

Anyone who has pulled main since #213 has a dangling node_modules symlink in their checkout; after this merges, a git pull removes it.

2. Quote the autoresearch skill description

skills/autoresearch/SKILL.md had an unquoted description: containing : (9 subcommands: plan, ...), which js-yaml parses as a nested mapping and rejects. Consequences:

  • scripts/export-skills-catalog-v2.mjs aborted with a YAMLException on main, so the catalog could not be regenerated.
  • Any gray-matter based consumer that does not catch parse errors would fail on this file.

Quoting the value fixes it. Verified: all 173 SKILL.md files parse with gray-matter, and the export script runs to completion.

Note: this PR does not regenerate skills-catalog-v2.json. A regen currently produces a ~9k-line diff against the committed catalog (ordering and metadata drift), which deserves its own PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NBqmTvJRhyysMvMvL6cp7x

bbsngg and others added 2 commits September 3, 2026 14:46
… form

A node_modules symlink pointing at a developer's local path was committed
in #213 (2ef73b0). It slipped past .gitignore because `node_modules/`
with a trailing slash only matches directories, not symlinks. Drop the
tracked symlink and add the slash-less pattern so it cannot recur.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBqmTvJRhyysMvMvL6cp7x
…rses

The unquoted description contains `: `, which js-yaml reads as a nested
mapping and rejects. gray-matter therefore threw on this file, which made
scripts/export-skills-catalog-v2.mjs abort on main and left autoresearch
out of any catalog regeneration. With the value quoted, all 173 SKILL.md
files parse and the export script runs to completion.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBqmTvJRhyysMvMvL6cp7x
@bbsngg
bbsngg merged commit 39b1c0f into main Sep 4, 2026
3 checks passed
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