mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3919] [Issue]: Prompt regression falsely reports missing agents on CRLF checkouts #2119
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (Jul 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3919
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The prompt regression suite falsely reports that the public agent reference is missing
Prose Guardianon a Windows checkout whose Markdown files use CRLF line endings. The heading exists; the assertion is line-ending-sensitive.Expected behavior
pnpm regression:promptshould accept the documented agent headings on both LF and CRLF worktrees and continue past the public-agent-reference check.Actual behavior
The suite fails with:
docs/agents/built-in-agents.mdcontains the exact### Prose Guardianheading, but it is followed by CRLF (13, 10). The assertion inscripts/regressions/prompt.regression.tssearches for a literal LF-only string:Steps to reproduce
docs/agents/built-in-agents.mdhas CRLF working-tree line endings (git ls-files --eol docs/agents/built-in-agents.mdreportsi/lf w/crlf).pnpm regression:prompt.Public agent reference is missing Prose Guardian./\r?\n/uand compare exact heading lines; all 29 official agent headings are present.Environment
bb19b393e6795c3c25139936906665f32b485963Logs, screenshots, or video
Observed assertion:
Byte-level check after the heading:
The first pair is CRLF after
### Prose Guardian.Additional context
.gitattributesuses* text=autoand does not force an EOL for Markdown files, so the test must tolerate a valid CRLF worktree.b03318e2c1eb8bd13a0874de7cf5427522c15b82.publicReference.split(/\r?\n/u)and assert that it contains### ${entry.name}.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Claimed by @SpicyMarinara for the current all-open-issues sweep in draft PR #3927.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Addressed in draft PR #3927. The public-agent heading check now accepts both LF and CRLF worktrees, and the prompt regression passes.