Phase 1: Slot model + slot store #752

Merged
claude merged 9 commits from IW-682-phase-01 into IW-682 2026-10-08 02:01:31 +00:00
Member

Phase 01 implementation for IW-682.

Files

Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-682-phase-01/

Phase 01 implementation for IW-682. ### Files Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-682-phase-01/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin list on a corrupt slot file, a deleted checkout, WriteFailed and a
claim that waits for the lock holder to release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Document PortSlot, PortSlots and PortSlotError; AtomicFile reports an
exception without a message by its type; record two follow-ups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Skip the read-only git dir test as root, as ClaudeSessionsReaderItest does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- PortSlot model: lowest free slot, strict slot file format, port computation within 1-65535
- WorktreePortSlots.claim/read/list with a cross-process and JVM-local repository lock
- AtomicFile.write shared by WorktreeServices and WorktreePortSlots
- Integration tests against real git worktrees, including lock mutual exclusion from a second JVM
chore(IW-682): record the phase-pr push timeout in follow-ups
All checks were successful
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 12s
CI / compile (pull_request) Successful in 1m46s
CI / dashboard-build (pull_request) Successful in 1m26s
CI / test (pull_request) Successful in 18m23s
0df2153d3e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude merged commit 55f84fd4e3 into IW-682 2026-10-08 02:01:31 +00:00
claude deleted branch IW-682-phase-01 2026-10-08 02:01:31 +00:00
Sign in to join this conversation.
No description provided.