Skip to content

rax-task-runner: keep the first-run marker on the workspace volume, as AX now does - #14

Open
h0ffmann wants to merge 1 commit into
mainfrom
claude/project-thread-qrvp97
Open

h0ffmann wants to merge 1 commit into
mainfrom
claude/project-thread-qrvp97

Conversation

@h0ffmann

@h0ffmann h0ffmann commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Requested by Hoffmann · project thread

Brings RAX to parity with AX's main at 241bc4d (2026-11-05). Since the last parity point (6e970c5), AX changed two things: where the workspace's first-run marker lives, and its quick-start docs.

Workspace marker

  • The marker that records a finished first-run setup moves from the AX state directory (/ax/initialized-<path>) onto the workspace volume, so a resume that restores only the volumes doesn't rerun setup over the agent's edits: .git/.ax/initialized when the workspace is a git checkout (untouched by git add -A and git clean -fdx), .ax/initialized otherwise. The path is recomputed after cloning, so a clone into the workspace root puts the marker where the next run looks.
  • A legacy marker under the state directory is migrated, but only when it was written for the same workspace (two mount paths can share a legacy name).
  • A marker or marker directory that is a symbolic link is refused with an error, and nothing is written through it.

Tests

  • New ports of AX's tests: marker after a clone into the root, legacy marker migrated for its own workspace, ignored for another, linked .ax refused. Existing marker tests updated to the new location.
  • The local E2E replay now checks .git/.ax/initialized over ssh (as AX's suite does), so the check also runs when AX's runner is swapped in.
  • cargo test --all: 176 passed, cargo clippy clean.

Docs

  • README: parity point updated to 241bc4d, test counts, rax resume after apply in the CLI example (new tasks start Suspended), and the upstream links removed.
  • AGENTS.md: the hard rule now covers the upstream repository and its users too, not only its PRs and issues.

AX's new example WorkerPool isn't copied: just deploy already creates the ax-workers pool from AX's manifests.


Generated by Claude Code

…s AX now does

The marker that records a finished first-run setup moves from the AX state
directory to the workspace itself, so it survives a resume that restores
only the volumes: `.git/.ax/initialized` in a git checkout, `.ax/initialized`
otherwise. A legacy marker under the state directory is migrated when it was
written for the same workspace, and a marker or marker directory that is a
symbolic link is refused. The ported tests cover a clone into the workspace
root, legacy migration for this and another workspace, and a linked `.ax`;
the local E2E replay checks the marker over ssh as AX's suite does.

README: parity as of AX 241bc4d, `rax resume` after `apply` in the CLI
example, and no links to the upstream project. AGENTS.md: the rule now
covers the upstream repository and its users, not only PRs and issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp3eKXBaXrNFrVk7gQi
@h0ffmann h0ffmann self-assigned this Nov 6, 2026
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.

2 participants