Skip to content

2.0.1-beta5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 May 18:32
test(sync2/F): drop brackets from spaces+parens round-trip case

The F-series "spaces + parentheses + brackets in filename
round-trip" test was created in 4846ccd (May 2026) and predates
the cross-platform sanitize work (edc3eae). Square brackets
were later added to FORBIDDEN_REGEX in cross-platform.ts per
PSEUDO-MERGE-MODE §11, so a pushed `[v1]` now arrives on remote
as `[v1]` (full-width replacement). The test still expected the
original path on remote, which started failing when the
integration suite was actually run end-to-end.

Brackets are already exhaustively covered by the next case in
the same file, "push-side sanitize: covers the 11 forbidden
chars reachable on push", which uses every forbidden char and
asserts the sanitized canonical form. Removing brackets from
this round-trip test eliminates the contradiction without
losing coverage.

Test renamed to "spaces + parentheses in filename round-trip"
to match the trimmed scope, and a comment in the body points
forward at the canonical sanitize-coverage test for brackets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>