Skip to content

Commit 8587226

Browse files
committed
docs(changeset): say a queue position spec now contributes nobody on a sys_user_position outage
On a sys_user_position outage a queue position specification used to contribute the position's sys_member.role transition-source holders; it now contributes nobody. That is the queue's declared posture, reached for the first time. Prose only. Claude-Session: https://claude.ai/code/session_01ADHkmT6XzrVS2iPpNyXNYL Co-authored-by: Claude <noreply@anthropic.com>
1 parent 38c6247 commit 8587226

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/29503-recipient-reads-complete.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This completes the family the role and membership-tier fix started. The team and
2121
- Sharing, whole-rule passes: the expansion rejects, so that rule's reconcile or revoke pass fails, its callers log their existing per-rule warning, and the grants it already holds stay. Before, a failed team read answered `[]`, and a failed assignment read answered the `sys_member.role` holders alone, so the retired-recipient revoke took grants away from people who still held the recipient.
2222
- Sharing, per-user recompute (a write to `sys_team_member` or `sys_user_position`): the holder checks `teamHasMember`, `holdsRole` and `PositionGraphService.holdsPosition` now refuse a failed read instead of answering `false`. The recompute logs `recipient membership re-evaluation failed` for that rule and user, and the user's grants stay. Before, an outage revoked that user's grants.
2323
- Approvals: the approver slot falls back to its literal (`team:ID` or `position:NAME`) and logs `could not be expanded — a directory or read-filter lookup failed` with its `error`. Before, a failed team read logged "expanded to nobody", and a failed assignment read routed a `position` approver to its membership-tier holders alone, which looked like a complete slate.
24-
- **Ownership queues keep their declared posture.** A queue member specification whose team or position read fails still contributes nobody, on the expansion and on the queue's holder check alike, and now logs it once. Whether a queue should refuse too is left to a ruling.
24+
- **Ownership queues: a position specification now contributes nobody on a `sys_user_position` outage.** A queue team specification whose `sys_team_member` read fails still contributes nobody, as before. A queue position specification whose `sys_user_position` read fails now contributes nobody too, on the expansion and on the queue's holder check alike, where before it contributed that position's `sys_member.role` transition-source holders. That is the posture the queue declares for a failed member-table read, reached here for the first time. Both now log once. Whether a queue should refuse instead is left to a ruling.
2525
- **A missing object is still no holders.** A stack that never registers, or never creates, `sys_team_member`, `sys_user_position` or `sys_member` keeps answering no holders through it. That is judged by the new `isObjectAbsentError(error, readObject)` in `@objectstack/types`: the shared missing-table predicate for that object, or the engine's `OBJECT_NOT_FOUND` naming that object. Any other error, including an absence of a different object, stays loud.
2626

2727
**The remedy.** None is needed. A refusal means the membership table could not be read: fix that read, and the next expansion succeeds. A failed read is never cached.

0 commit comments

Comments
 (0)