Skip to content

Move AX state out of /workspace into a separate durable directory #555

Closed

Description

@rkb32

Requested by @mayawang on #551, who asked for this as a follow-up to #518. @rakyll may fold it into #551 instead.

#551 merges as-is with the setup marker inside /workspace.

The agent and harness modify /workspace, so the marker there can be deleted or changed. If that happens, setup reruns on resume and can overwrite the agent's edits.

Proposal: add a second durable volume, mounted at /ax-state, alongside the existing workspace volume in internal/substrate/client.go (around lines 386–396). Move the marker into it.

Done when: the marker survives a volumes-only resume, and the agent can't remove it or prevent setup from being skipped.

Activity

  1. rakyll commented on Nov 21, 2026

    @rakyll
    Member

    This should be fixed, reopen if not.

  2. rkb32 commented on Nov 21, 2026

    @rkb32
    ContributorAuthor

    Hey @rakyll, #555 is still closed, and I can’t reopen it. I checked and it isn’t fixed: main still only mounts /workspace as a durable volume, and the setup marker is still there from #551. Could you reopen #555? If you decided on a different design that counts as the fix, point me to it and I’ll close it.

    Once we agree on the path (for example /ax-state), I can take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions