carlos / platform Public

group verb: say when a cut read's terminate is journaled (Astra P3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 41af60b08b9c9801d3ed3c5feb54a98762ce845a parent 9b61e49
3 files changed, +5 −4
  • docs/superpowers/specs/2026-11-09-group-roll-verb-design.md +1 −1
  • internal/grouproll/roll.go +3 −2
  • internal/provision/testdata/plan14-root-reads-group-revoke-readback-1255.tsv +1 −1
diff --git a/docs/superpowers/specs/2026-11-09-group-roll-verb-design.md b/docs/superpowers/specs/2026-11-09-group-roll-verb-design.md
index 8038ac9ac..eaabec038 100644
--- a/docs/superpowers/specs/2026-11-09-group-roll-verb-design.md
+++ b/docs/superpowers/specs/2026-11-09-group-roll-verb-design.md
@@ -381,7 +381,7 @@ build to it.
| V18 | A request that gets no response is one failed call | A read whose request got no response at all (the SDK's RequestSendError: a reset or EOF on a reused connection, no call in CloudTrail) is retried as a throttle is (V17's budget); a timeout is not, and stays one bound. A failure to get credentials (AssumeRole, SSO), throttled or unanswered, is never retried, so no credential call repeats. Writes and sessions are never retried | G5 release 1, dev, 2026-11-11: the post-prepare group describe failed in 14 ms with no CloudTrail call; resume closed it (8a3d302) |
| V19 | The provider observation names one launch template version; any other pinned version refuses `observation` | The observation carries across a re-pin that changes only user data (§7.1). A launch template version other than the observation's, with the same template id and name, is accepted when the two versions' launch template data are identical once UserData is removed; anything else refuses `observation` as before | G5 release 1, 2026-11-11: every release's re-pin left the next roll needing a pin-back (Paul approved option b, 11-11) |
| V20 | close-lost reads the group and EC2 only | After the group and EC2 checks, close-lost lists `control/edges/` once (journaled, like the floor's listing; a failure refuses and leaves the transaction open). If the member's edges record is still listed it records `edges_published: true` and says so, naming the record. It never deletes it: the boxes' termination recovery retires it once every host naming the member is settled, and a drain does not wait for a member whose departure the box has enrolled | #1192, dev IE 2026-11-17: a member closed with close-lost kept its edges record (its departure was held by a trashed app's host) and the next drain failed waiting on it (8a3d302: report, never delete) |
-| V21 | The status read after a revoke (finish_return, and rollback's revoke of a remaining apply permit) is one session; an Uncertain read stops the verb with the transaction open | That read alone is asked once more when it is Uncertain (a session cut at its 15 s bound, a plugin that did not run): status writes nothing on the box, the first session's error and its terminate are journaled, and the revoke already answered. A Refusal, or a second Uncertain, stops the verb as before; resume reads it again. Other box sessions stay single-attempt (V17) | Flagship v0.39.0 window 2026-11-19, US move 2 (#1255): one post-revoke status session timed out at 15 s, where 74 others took 0.6 to 2.6 s; the verb refused and one resume closed the move |
+| V21 | The status read after a revoke (finish_return, and rollback's revoke of a remaining apply permit) is one session; an Uncertain read stops the verb with the transaction open | That read alone is asked once more when it is Uncertain (a session cut at its 15 s bound, a plugin that did not run): status writes nothing on the box, the first session's error stays journaled (with its terminate, when it was cut at its bound with a known session id), and the revoke already answered. A Refusal, or a second Uncertain, stops the verb as before; resume reads it again. Other box sessions stay single-attempt (V17) | Flagship v0.39.0 window 2026-11-19, US move 2 (#1255): one post-revoke status session timed out at 15 s, where 74 others took 0.6 to 2.6 s; the verb refused and one resume closed the move |
Not deviations, recorded so nobody "fixes" them in the port: the drain-rerun
backoff and the TakeHost `wake_timeout` follow-ups from the held build stay
diff --git a/internal/grouproll/roll.go b/internal/grouproll/roll.go
index 1fa66c746..6999a0fd6 100644
--- a/internal/grouproll/roll.go
+++ b/internal/grouproll/roll.go
@@ -1524,8 +1524,9 @@ func (e *Engine) finishReturn(ctx context.Context, ready *readiness) error {
// revokeReadBack is the status read that proves a revoke (V21, #1255). A
// read that is Uncertain (a session cut at its bound, a plugin that did
// not run) is asked once more: status writes nothing on the box, the
-// first session's error and its terminate are journaled, and the revoke
-// already answered. Any other failure, and a second Uncertain, stops the
+// first session's error stays journaled (with its terminate, when it was
+// cut at its bound with a known session), and the revoke already
+// answered. Any other failure, and a second Uncertain, stops the
// verb with the transaction open, as before; resume reads it again.
func (e *Engine) revokeReadBack(ctx context.Context, iid string) (map[string]any, error) {
s, err := e.status(ctx, iid)
diff --git a/internal/provision/testdata/plan14-root-reads-group-revoke-readback-1255.tsv b/internal/provision/testdata/plan14-root-reads-group-revoke-readback-1255.tsv
index d13b87279..019065575 100644
--- a/internal/provision/testdata/plan14-root-reads-group-revoke-readback-1255.tsv
+++ b/internal/provision/testdata/plan14-root-reads-group-revoke-readback-1255.tsv
@@ -1,3 +1,3 @@
# Census overlay group-revoke-readback-1255, written by census-propose (#369). census-ruling-group-revoke-readback-1255, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-group-revoke-readback-1255.md.
# 0 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@coverage internal/grouproll 5320f12228e6c716b3b79c6c34c33966288e4982beb05ce78d8d7841ead3b5b0
+@coverage internal/grouproll c0c2c2c5f57d67db0257b88eed8be1901bb7511b2e71ca4385a8dec7a97b250f