carlos / platform Public

ha-generations point: approved copy

Task 14 R2 (Astra READY, Fable READY): Luna approved every new string
verbatim except head_changed, whose last sentence becomes "run point
again.". Fable P3: the step 5 comment says the lock write is
conditional on the step 1 ETag because step 3 proved it unchanged.
No golden case shows the refusal text; the golden replays unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 1ab3b731eaf8822bc27b9376a0b91a0013c7739a parent 1d9c676
2 files changed, +4 −3
  • internal/lease/genpoint.go +3 −2
  • internal/ops/hagenerations.go +1 −1
diff --git a/internal/lease/genpoint.go b/internal/lease/genpoint.go
index 167c51307..b9abde1d4 100644
--- a/internal/lease/genpoint.go
+++ b/internal/lease/genpoint.go
@@ -343,8 +343,9 @@ func (e *PointWriteError) Unwrap() error { return e.Err }
// exact bound makes the next take refuse any plan that ends below the
// TXID the operator accepted.
// 5. With Write: head.json first, If-Match the ETag step 1 read, then
-// lock.json, If-Match the ETag step 1 read; one PUT each, the SDK's
-// retries off. head.json goes first so that a bound is never set while
+// lock.json, If-Match the ETag step 1 read (which step 3 proved still
+// current: its re-read found the same ETag, so step 1's is the one the
+// lock has now); one PUT each, the SDK's retries off. head.json goes first so that a bound is never set while
// head.json still names a generation the operator did not choose, and
// its write always changes head.json's ETag, so a switch an expired
// holder already sent (conditional on the old ETag) can no longer
diff --git a/internal/ops/hagenerations.go b/internal/ops/hagenerations.go
index 146df8f19..dcaff58be 100644
--- a/internal/ops/hagenerations.go
+++ b/internal/ops/hagenerations.go
@@ -421,7 +421,7 @@ func (r haGenRun) refusal(pr *lease.PointRefusal, a haGenArgs, loc string) strin
case lease.PointLockChanged:
return "lock.json changed while the point was verifying. Nothing was written; run it again."
case lease.PointHeadChanged:
- return "head.json changed while the point was verifying. Nothing was written; run it again."
+ return "head.json changed while the point was verifying. Nothing was written; run point again."
case lease.PointNoHead:
return fmt.Sprintf("%s has no head.json, so there is no generation a point can return it to.", a.host)
case lease.PointNotRetained: