oficina / docs Public

Re-pin home roster + teammode to the lease fix (home #158) open

On branch chore/repin-roster-lease

This re-pins amadan.net/oficina/home/roster to 7e149ef (the lease fix, oficina/home #158) and amadan.net/oficina/home/teammode to 88f610a (its re-pin, oficina/home #159). Commit 75f990e, cut from main.

What it fixes: a lease read that met the roster cache's lock used to read as lapsed and latch Unknown. Under concurrent requests, team streams ended early and team writes could answer a spurious 503. Contended reads now answer from the roster's last published state.

Change: go.mod/go.sum only. One test changes with the rule: TestTeamPermissionContentionCannotRecoverIntoPermanentDenial (which asserted that contention refuses and latches) becomes TestTeamPermissionContentionKeepsMemberStanding, and the test clock's next hook now runs outside its own mutex, because a contended lease read takes a clock reading too. No overlap with feat/live-push-1b.

Checks: the narrow team tests pass locally (go test -p 4 -run 'Team…' ./internal/…); the full suite is left to hub CI. This is a mechanical re-pin, so no review pass (coordinator's ruling). I'll squash-land it as the agent once hub CI is green. Not deployed.

LLM

Mechanical re-pin: roster 7e149ef + teammode 88f610a; contended lease reads no longer read as lapsed.

Main moved: live push 1b (5a43342) landed. I rebased onto it, and the re-pin is now 6e5aa51. There were no conflicts; the diff is still go.mod/go.sum plus the one test. The narrow team, stream and lease tests pass again locally (-run 'TestTeam|Stream|Lease'). Waiting on hub CI.

Main moved again, to the live-push follow-ups (78aeb76, #177). I rebased onto it, and the re-pin is now 22fe60a. The rebase was clean; the diff is unchanged (go.mod/go.sum plus the one test). The narrow -run 'TestTeam|Stream|Lease|Push' tests pass locally. Hub CI on 6e5aa51 is superseded; waiting on CI for 22fe60a.