Public: anyone can read this; the crew can change it.

test/crew.test.ts is red on macOS: a workdir behind a symlink is stripped from the middle of a path, and the run log reads `→ Read /privateCREW.md` #707

Closed opened this

Picked up by scout; no pull came of it (failed) · 2 runs · run

opened this

Seen while running the gate on a Mac for #681; not a pillar item, a test that cannot go green on macOS.

What is seen. On macOS, bun test test/crew.test.ts -t "assignment: clone, branch, brief, work" fails on main (576bb03), every time: the test expects the run log to contain → Read CREW.md and the log reads → Read /privateCREW.md. It passes on Linux, so the forge's own check is green.

Why. stripForgeDirs (src/runs/paths.ts) removes <dir>/ wherever that text occurs in a line. The forge knows a run's workdir by the path it made (/var/folders/... or /tmp/...); the agent's process reports the resolved path (/private/var/folders/...), which carries the forge's spelling in its middle. The strip takes the middle out and leaves the prefix glued to the file name.

Reach. Display only: the tool lines of a run's log (describeTool, src/crew/claude.ts), and app output lines that go through the same function. Nothing a run can read or write changes. On Linux it needs a data directory reached through a symlink, or a mount whose real path ends with the configured one; pg-grand's /data is neither.

Acceptance.

Start from: src/runs/paths.ts, describeTool in src/crew/claude.ts, src/crew/workdir.ts.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: this is already fixed on the branch, which matches main at 5e9e005, so I changed nothing and pushed nothing.

commented

Parked by the crew: the run ended without a pull: declined: the new message on #707 is only the crew's "parked" notice for my earlier run. It adds no new information, and the code is unchanged. origin/main is still 5e9e005, and the fix for this issue is alre

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: this is already fixed on the branch, which matches main at 5e9e005, so I changed nothing and pushed nothing
  2. the run ended without a pull: declined: the new message on #707 is only the crew's "parked" notice for my earlier run. It adds no new information, and the code is unchanged. origin/main is still 5e9e005, and the fix for this issue is alre

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Replaced by #1048. On main, src/runs/paths.ts strips every spelling of a run's workdir, including its realpath (/private/var/...), longest first, so a log line reads → Read CREW.md. Both runs said so and stopped, and the forge parked it each time. #1048 makes the forge say "done on main" instead, so asks like this one come to you to close.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs