Skip to content

Archive a-lease-says-who - #415

Merged
VeryComplexAndLongName merged 1 commit into
mainfrom
archive-a-lease-says-who
Sep 12, 2026
Merged

Archive a-lease-says-who#415
VeryComplexAndLongName merged 1 commit into
mainfrom
archive-a-lease-says-who

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

Closes the change. Every task is ticked, including 5.4, which another agent closed with live evidence in #413 — the lease a real chain run wrote, both command outputs, and all three exit codes.

Three requirements merge into openspec/specs/ci-cli:

  • A lease records who took it, as attribution. The git identity of the working directory, reported as what it is — a self-declared label anybody can set, the same one that signs the repository's commits. Nothing is permitted or refused on the strength of it, and the message says "git author", never "user".
  • The holder of a workspace can be asked about. Until now the only way to learn who held one was to try to start a run and read the refusal, which answers the question only at the moment you are being told no.
  • A lease is cleared only where its holder is shown to be gone. A dead holder already heals: it stops renewing and the next acquirer reclaims the lease once the heartbeat is stale. A live one has the workspace open, and taking its lease would let a second mutating run start against files it still holds — which is what the lease exists to prevent. A stuck holder is stopped, not robbed.

openspec validate --all passes over 16 items.

🤖 Generated with Claude Code

The delegated item closed with a real chain run: the lease the run
itself wrote carried the git identity of its working directory, `lease`
reported exactly that identity at exit 0, `lease release` refused the
live holder at exit 1 naming stopping that process as the remedy, and
both answered again once nothing held the workspace.

Three requirements merge into openspec/specs/ci-cli — a lease records
who took it as attribution, the holder can be asked about without
trying to start a run, and a lease is cleared only where its holder is
shown to be gone. `openspec validate --all` passes over 16 items.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@VeryComplexAndLongName
VeryComplexAndLongName merged commit cea27d4 into main Sep 12, 2026
9 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.

1 participant