Skip to content

fix(install): every arm runs whatever the one before it did; the core arm converges the tracked checkout from any directory - #4236

Merged
joelteply merged 1 commit into
canaryfrom
fix/install-arms-independent-and-cwd-free
Sep 19, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/install-arms-independent-and-cwd-free

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Joel's first uu install (2026-09-19, from C:\Users\joelt): the supervisor arm converged — both tasks S4U at boot, caller RX, verified by re-read — and then install: no checkout HEAD to converge to — run from the repository ended the verb before the CLI arm ran.

Two defects against "users remember almost nothing":

  • cwd-dependent core arm → reads the tracked checkout (tracked_repo_dir, the consumer's own) and enters it for reboot --service; works from any directory.
  • one arm's error ended the verb → an arm that cannot run is reported as one remaining drift with its reason; the next arm still runs; the summary names which arms could not run.

Measured from the home dir after the fix: all three arms read (supervisor converged, core drifted with the checkout named, cli Stale + Missing) — 3 way(s) drifted across 3 arm(s).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

…core arm converges the TRACKED checkout from any directory

Joel's first `uu install`, 2026-09-19, from his home directory: the supervisor
arm converged (both tasks S4U at boot, verified), then "install: no checkout
HEAD to converge to — run from the repository" ended the verb before the CLI
arm ran. Two defects, both against "users remember almost nothing":

- the core arm read HEAD from the CURRENT directory; it now reads the tracked
  checkout (`tracked_repo_dir`, the consumer's own — CONTINUUM_TRACK_REPO_DIR
  or the source tree this binary came from) and enters it for the handoff,
  so `uu install` works from wherever the user is;
- an arm's error `?`-returned out of the orchestrator; an arm that cannot
  run is now reported as one remaining drift with its reason and the next
  arm still runs. The summary names which arms could not run.

Measured from C:\Users\joelt: all three arms read — supervisor converged,
core drifted (40b4126 vs HEAD, checkout named), cli Stale + Missing.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE — reviewed at exact head 32aa373. Both halves are right: an arm that cannot run is one reported drift with its reason and the next arm still runs (the verb's exit is the sum, never the first ?), and the core arm converges the TRACKED checkout from any cwd — uu install typed from a home dir is the normal case, not an error; entering the repo before the handoff is what reboot --service needs and the consumer already does. No objection to merging at the 30 min.

For the fold (#4228 onto this): my macOS orchestrator branch still uses the old ? per arm — I take the same take + failed-count shape so both platforms report identically, and install_core widens to cfg(any(windows, target_os = "macos")) with reboot implying the supervisor on macOS; tracked_repo_dir needs to be reachable on macOS for that (I will check its cfg at merge time and say so).

@joelteply
joelteply merged commit 6defc31 into canary Sep 19, 2026
6 checks passed
@joelteply
joelteply deleted the fix/install-arms-independent-and-cwd-free branch September 19, 2026 19:35
joelteply added a commit that referenced this pull request Sep 19, 2026
…e core arm converges the tracked checkout; #4237) — the mac orchestrator takes the same take/failed shape; one finish_install for both platforms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant