Skip to content

rax: parity with AX 6887762 (profiles, workspace setup, gateway egress, rpc spans) - #19

Merged
h0ffmann merged 4 commits into
mainfrom
claude/project-thread-s9yeqj
Nov 14, 2026
Merged

h0ffmann merged 4 commits into
mainfrom
claude/project-thread-s9yeqj

Conversation

@h0ffmann

Copy link
Copy Markdown
Collaborator

Requested by Hoffmann · project thread

ports what AX changed between f3e6ecc and 6887762 (2026-11-14).

what changed

  • api: task spec gets profile (image, resources, ateActorTemplate), commands, goal, retry, sessionId; status gets a TaskState, statusDetail, outcome, attempt, actorUid; deleteTime replaces the Terminating phase. workspaces move to spec.setup (git with ref, files, skills, commands, gateway) and an optional profile.
  • server: CreateWorkspace is immutable and idempotent; bound gateways are checked; fields not enforced yet (spec.retry, ateActorTemplate profiles, workspace profiles, spec.setup.gateway) return Unimplemented; actor UIDs are read live; server and client spans plus duration histograms for every rpc (rax-otelenv::rpc).
  • controller: effective profile (task over workspace, never merged), profile template naming and workspace tag names, a bound gateway's rules as the actor's default egress policy, the egress trust bundle.
  • substrate: actor egress policies and tags.
  • task-runner: setup fails hard and stops the command: clone at a ref (abbreviated sha falls back to a full fetch), relative files only, skills, setup commands with a 5-minute timeout that kills the process group. default env trusts the egress CA bundle; GIT_ASKPASS points at a placeholder answerer.
  • cli: describe/get show the new fields and state; ssh requires Working and dials the guest through the atenet router.
  • deploy/docs: hack/local credential provider and gateway e2e setup, example task, observability doc, README parity table and test counts.

not ported: AX's hack/hero-demo harness.

tests

230 tests pass (cargo test --workspace); cargo clippy --workspace --all-targets -- -D warnings and cargo fmt --all --check are clean.


Generated by Claude Code

… AX now has them

Tasks take spec.profile, spec.commands and a TaskState, with
deleteTime instead of a Terminating phase. Workspaces move to spec.setup
(git at a ref, files, skills, setup commands), are immutable once
created, and fail setup hard. A bound gateway's rules become the actor's
default egress policy. The runner trusts the egress CA bundle and gives
git a placeholder askpass. Every served and Substrate RPC gets a span and
a duration histogram. rax ssh dials the guest through the atenet router.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp5WhT3vGdvHBjP6gLb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp5WhT3vGdvHBjP6gLb
@h0ffmann h0ffmann self-assigned this Nov 14, 2026
task.proto now imports google/rpc/status.proto; without it buf lint
cannot resolve google.rpc.Status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193yhp5WhT3vGdvHBjP6gLb
@h0ffmann
h0ffmann merged commit c88b53b into main Nov 14, 2026
3 checks passed
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