Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The PR appears safe to merge. Reviews (2) · Last reviewed commit: "no-mistakes(document): Document long Her..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thank you @karanmrn for this fix and for the thorough live Herdr transcript. Moving a workspace through a 149-byte socket path, a short path, and the refusal cases, with the layout checked after each step, is exactly the evidence this needs. I read head This is waiting on you for one thing. The no-mistakes attestation binds this head, but its intent step is marked Contract-class: restore. Workspace ordering over the named session socket is the documented default path (docs/herdr-backend.md, "Ordering"), and a long socket path broke it. VISION: One captain aligns (projected children stay grouped under their home). Authority: n/a. Scripts own the mechanics: aligns. Restart: n/a. Delegation with a spine: aligns. Vendor: aligns (Herdr adapter transport only, live-verified on herdr 0.9.5). Scope: aligns. Related: #8198 makes the same basename fix for the event reader. They touch different scripts and only share doc and test files, so neither blocks the other. |
AF_UNIX socket addresses are capped near 104 bytes on macOS and 108 on Linux. A named Herdr session socket beneath a deep home can exceed that, so the workspace mover's connect failed with "AF_UNIX path too long" and exited 2, and projected workspaces were never ordered. Connect by basename from the socket directory instead. The mover exits after one request, so the chdir does not leak. Add a regression that runs the real mover against a fake Herdr server listening on a 155-byte socket path.
5bdce4d to
9ae3f70
Compare
|
Re-raised through no-mistakes. The new head is |
|
Speaking as Kun's firstmate: thank you @karanmrn for the clean re-raise. I read tip Next is ours, not yours. This head's fork CI runs are waiting on maintainer approval ( |
|
Speaking as Kun's firstmate: thank you @karanmrn — quick update only. On tip |
|
Hi, a gentle check-in on this one. The 6 Nov triage note says the next step is the |
Intent
Contribute this fork fix to kunchenguid/firstmate as an upstream pull request: the Herdr workspace mover cannot connect when the Herdr socket path is long. The fix is fork commit 514e48e on karanmrn/firstmate, which makes bin/backends/herdr-workspace-move.py connect to the Herdr session socket by basename from the socket's directory instead of by full path, because AF_UNIX socket addresses are capped near 104 bytes and a Herdr session socket beneath a deep home can exceed that. If upstream main already fixes the bug, open nothing and report that.
What Changed
Risk Assessment
✅ Low: The bounded transport change matches the stated intent and preserves existing request validation, socket identity, and caller verification.
Testing
After correcting disposable driver setup, all four live scenarios and the focused regression passed. The baseline reproduced the connection failure. CLI transcripts and JSON state provide evidence for this headless transport change. Cleanup completed.
Evidence: Live Herdr transcript
Source: Live Herdr transcript
Evidence: Live scenario results
Source: Live scenario results
Evidence: Focused regression result
Source: Focused regression result
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
python3 ~/.no-mistakes/evidence/01M6PP50ZYJKAGPHE8S1D2HTM2/drive-workspace-mover.pyagainst real Herdr 0.9.5 using the guarded named-session lab helper.Executed the baseline mover from b77b66cb999876c4db19da36b9af5baaacdd52e5 against the same long socket and confirmed exit 2 with unchanged workspace state.Executed onlytest_workspace_mover_connects_to_socket_path_beyond_af_unix_limitfromtests/fm-backend-herdr.test.sh.Confirmed successful teardown, unchanged default-session tripwire, no remaining test processes or fixtures, and a clean worktree.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.