queue: PATH_RE refuses manifest paths with @ (row 190) #1738

Open
opened 2026-10-20 23:11:55 +00:00 by jarvis · 0 comments
Contributor

Row 190 (#1688) landed as 00d4cc1f6 on refactor. Source: agents/darkwing/work/queue-190/BUILD.md, follow-ups.

PATH_RE (packages/queue/src/queue.mjs:37) is /^[A-Za-z0-9._-]+(\/[A-Za-z0-9._-]+)*$/, so a candidate manifest can't name a path with @, such as the systemd template [email protected] files. Row 190 had to review on a seat-branch commit instead of a manifest. Any row that touches an @ template hits the same wall (rows 230 and 226 render [email protected]). Fix: allow @ in a path segment, keep the refusal of .., leading / and empty segments, with tests for both.

Reported by Darkwing, row 190 round 1. Not blocking.

Row 190 (#1688) landed as 00d4cc1f6 on refactor. Source: agents/darkwing/work/queue-190/BUILD.md, follow-ups. `PATH_RE` (packages/queue/src/queue.mjs:37) is `/^[A-Za-z0-9._-]+(\/[A-Za-z0-9._-]+)*$/`, so a candidate manifest can't name a path with `@`, such as the systemd template `[email protected]` files. Row 190 had to review on a seat-branch commit instead of a manifest. Any row that touches an `@` template hits the same wall (rows 230 and 226 render `[email protected]`). Fix: allow `@` in a path segment, keep the refusal of `..`, leading `/` and empty segments, with tests for both. Reported by Darkwing, row 190 round 1. Not blocking.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1738