awf v0.1.3
Fixes concurrent anthropic/claude-code runs on the native backend that failed
when 2+ ran in parallel. No workflow-format or CLI changes. (Supersedes the v0.1.2
tag, whose release build failed a formatting check and published nothing.)
Fixed
- Concurrent native Claude runs no longer contend on claude-code's version lock.
0.1.1 gave each run its ownCLAUDE_CONFIG_DIR, but claude-code keeps a per-version
single-instance lock at$XDG_STATE_HOME/claude/locks/<version>.lock— outside the
config dir. On thenativebackend every run inherits the shared host$HOME(and
therefore$XDG_STATE_HOME), so two or more concurrent runs of the same claude version
contended on the same lock and the loser exited non-zero. Bothanthropic/claude-code
andanthropic/claude-code-sessionnow also relocateXDG_STATE_HOMEand
XDG_CACHE_HOMEto per-run directories alongsideCLAUDE_CONFIG_DIR, isolating the
lock and cache per run.HOMEandXDG_DATA_HOMEare intentionally left shared
(claude's versioned binary lives underXDG_DATA_HOMEand must stay resolvable).