Skip to content

Conversation

@amintt2
Copy link

@amintt2 amintt2 commented Dec 27, 2025

Root cause: Windows uses \r\n (CRLF) line endings. When splitting by \n, each line retained the trailing \r, causing the regex pattern /^###\s+(\d+).\s*(.+)$/ to fail matching.

Changes:

Changed md.split('\n') to md.split(/\r?\n/) to split on both line ending types
Added .trim() to each line to remove any remaining whitespace including \r

- Changed split('\n') to split(/\r?\n/) to handle both Unix and Windows line endings
- Added .trim() to each line to remove any remaining whitespace including \r
cabana8471-arch added a commit to cabana8471-arch/design-os that referenced this pull request Dec 29, 2025
…ons (6 fixes)

FIXES:
- export-product.md: Added Rule 4 abbreviation note in example prompts
- agents.md: Added INCLUDE_SHELL note to Foundation Milestone Definition
- agents.md: Added hookify/README.md reference in Full Documentation
- agents.md: Documented SKILL.md custom format (non-standard frontmatter)
- section/clarifying-questions.md: Renamed to "Section-Specific Backend Logic"
- data-model.md: Added cross-reference to agents.md Four Pillars

FALSE POSITIVES IDENTIFIED (11):
- Issues buildermethods#1, buildermethods#2, buildermethods#4-7, buildermethods#10, buildermethods#12, buildermethods#14, buildermethods#15, buildermethods#17 already properly implemented

MODIFIED FILES:
- .claude/commands/design-os/export-product.md
- .claude/commands/design-os/data-model.md
- .claude/templates/design-os/section/clarifying-questions.md
- agents.md
- FORK_CHANGELOG.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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