Repository navigation
Description
Preflight
- I searched existing issues and discussions for this behavior.
- This report is not an unpatched security vulnerability.
- The report and attachments contain no credentials or private/internal material.
Issue origin
Observed or reproduced in a real environment
LoopX version or commit
5c62c5c (latest main at report time), Local 1.3.1
Host or runtime surface
Not host-specific (reproduced on Windows 11; the missing spelling is Windows-native)
LoopX area
Control plane (goals, todos, quota, scheduler, registry, runtime)
Problem
loopx check --scan-path <file> is the public/private boundary scan that CONTRIBUTING.md, docs/development/testing-and-quality.md and the contributor workflow tell everyone to run before publishing docs, fixtures, examples, or PR evidence. It is also the scan loopx canary premerge --from-git-diff runs over changed files.
Its local_private_path rule only recognizes the POSIX spelling of the private roots it names. A Windows host spells the same private path with backslashes, and that spelling passes the scan clean, so a Windows contributor can publish a local machine path that CONTRIBUTING.md forbids ("do not publish private benchmark traces, verifier output, raw agent sessions, credentials, internal document links, or local machine paths") with the gate reporting no hit.
Minimal reproduction
Synthetic fixtures only; alice is a placeholder, not a real machine path.
- Create two files:
win.mdcontainingSee C:\Users\alice\Documents\notes.md for details.posix.mdcontainingSee /Users/alice/Documents/notes.md for details.
- Run
loopx check --scan-path win.md --scan-path posix.md
Expected behavior
Both spellings of the same private root are reported as local_private_path, the way /Users/alice/Documents/... already is.
Actual behavior
Only the POSIX file is reported. win.md produces no hit, so loopx check exits as if the boundary were clean for that file.
The forward-slash Windows spelling C:/Users/alice/Documents/notes.md is reported, so the gap is specifically the backslash form that Explorer, cd in cmd/PowerShell, and pasted paths produce by default.
Sanitized diagnostics
$ loopx check --scan-path win.md --scan-path posix.md
- summary: errors=1, warnings=0, checks=4
## Errors
- posix.md:1: local_private_path
Additional context
- Rule:
loopx/contract.py,LEAK_RULES["local_private_path"](prefilter literals plus the compiled pattern). - The same private roots are covered in
loopx/public_safe_text.py:find_public_safe_local_pathalready treats drive-letter, UNC and backslash paths as local paths (Refs [Architecture]: two modules both claim to own "private-looking text" #5136 direction 3), so a POSIX-only spelling in the boundary scan is an inconsistency rather than an intentional limit.
Activity
chore(coordination): backfill agent-j7m4 issue loopx-project#6160 and…