Skip to content

Preserve carriage returns in Git paths - #1805

Merged
mergify[bot] merged 9 commits into
mainfrom
lean178/1713-carriage-return-paths
Nov 26, 2026
Merged

mergify[bot] merged 9 commits into
mainfrom
lean178/1713-carriage-return-paths

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Git checkout and metadata paths containing a carriage return were decoded with newline translation. Start, local check, review, and trusted workflow loading now use one lossless path reader.

Closes #1713
Closes #1715

Supersedes #1765. The current target reached the source cap while that PR was running checks. This version simplifies the path readers and registration check so the change adds zero net source or test lines.

Validation

Recorded for 455642268141

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0
  • Reproduced the start and sandbox failures before applying the fix.
  • Existing start, sandbox metadata, and review replays cover carriage-return paths. The existing checkpoint replay exercises the explicit path mode.
  • The previous head passed the full check. The simplified head is undergoing a new full check and review.

Review

(filled by loopzero review)


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

  • primary, claude, 4556422, approve

eowca and others added 9 commits November 26, 2026 09:37
Architecture-Review: unchanged; Git still owns path discovery and the existing subprocess boundary now preserves its path records.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; callers select the shared Git path reader through the existing subprocess boundary.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; trusted workflow reuse still checks the common Git directory and now uses the shared path reader.
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
…-return-paths

# Conflicts:
#	tests/test_cli.py
…-return-paths

# Conflicts:
#	src/loopzero/cli.py
#	src/loopzero/config.py
Architecture-Review: unchanged; Git path output still uses one shared reader and callers resolve the same directories.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; worktree registration and review metadata checks retain their existing matching and fallback behavior.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero primary review by claude on 4556422681414f68136bafaeaeb83905e14e8559, 24.7s: approve (0 critical, 0 important, 0 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

@eowca
eowca marked this pull request as ready for review November 26, 2026 10:35
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 0b9588e at 10:41 UTC

6 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 10:36 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1814
  • ✅ Merged 10:41 · 0b9588e · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 0b9588e into main Nov 26, 2026
18 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/1713-carriage-return-paths branch November 26, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve carriage returns in Git metadata paths for check and review Resume loopzero start when the checkout path contains a carriage return

1 participant