feat: feature-discovery - #26
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a50719fddb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // Content must start with "---\n" | ||
| if !bytes.HasPrefix(content, []byte("---\n")) { | ||
| return nil, nil, fmt.Errorf("missing frontmatter delimiter") |
There was a problem hiding this comment.
Accept CRLF frontmatter delimiters
The parser only recognizes LF delimiters ("---\n" here and "\n---\n" later), so PRD files stored with Windows CRLF line endings ("---\r\n") will fail parsing and be skipped by discovery. This will break discovery on Windows or on repos with CRLF-normalized markdown. Consider accepting \r\n delimiters or normalizing line endings before parsing.
Useful? React with 👍 / 👎.
|
Closing duplicate - superseded by #27 |
Auto-generated PR for unit feature-discovery