| 1 | { |
| 2 | "comment": [ |
| 3 | "Gate 3. One fixture per rung of the sharing ladder (doctrine §4.2), plus", |
| 4 | "the cases the reviews asked for: an item on the team rung that also", |
| 5 | "carries a link, and an item whose link or rung changed after it was", |
| 6 | "ingested.", |
| 7 | "", |
| 8 | "REVISION 10 (Paul, 2026-11-01): custody is every live item, not only", |
| 9 | "team-visible ones. A consumer holds private and granted items too, and", |
| 10 | "S2 decides per person, from the app's own read check, with no", |
| 11 | "intersection with custody. So every live item answers S3 200 with its", |
| 12 | "own bytes at its current revision; a deleted item, one that never", |
| 13 | "existed, and any revision that is not current answer the identical 404.", |
| 14 | "", |
| 15 | "The asker is the same person for every case, and the item id is quoted", |
| 16 | "in every case, so a server cannot pass by answering differently for", |
| 17 | "different ids. `owner` says who owns the item (the asker or someone", |
| 18 | "else) and `asker_grant` whether the asker holds a live individual grant", |
| 19 | "on it, so an app can seed the world. What must differ is whether the", |
| 20 | "asker may open the item today; the rung decides that only through the", |
| 21 | "app's own read check.", |
| 22 | "", |
| 23 | "REVISION 11 (this session, 2026-11-01, answering Fable's review of", |
| 24 | "c38e3ad): revisions are names, not counts (doctrine §6.6). Each case", |
| 25 | "carries prior_revision — a revision its log holds that is not current —", |
| 26 | "and unknown_revision — one its log never issued. An app seeds its log", |
| 27 | "with prior_revision then revision, and never issues unknown_revision.", |
| 28 | "s2_result_superseded is the answer at prior_revision: STALE for a person", |
| 29 | "who may open the item, NOT_VISIBLE for one who may not.", |
| 30 | "s2_result_ahead is the answer at unknown_revision: UNKNOWN for a person", |
| 31 | "who may open the item (§4.3), NOT_VISIBLE for one who may not — a person", |
| 32 | "with no right to the item learns nothing about its revisions. Some", |
| 33 | "cases put unknown_revision BELOW the current one (doc-team, doc-private", |
| 34 | "and doc-team-link among those the asker may open) and the rest above,", |
| 35 | "so a producer comparing numbers (the counter's habit) says STALE where", |
| 36 | "it owes UNKNOWN, and one saying STALE for anything not current fails", |
| 37 | "too. Both S3 revisions are refused with the identical 404.", |
| 38 | "", |
| 39 | "WITHDRAWN 2026-11-02 (answering Fable's review of 0a59e7d, H1): the", |
| 40 | "case doc-owner-left — private, owned by a member who has since lost", |
| 41 | "team standing, NOT_VISIBLE to everybody — was revision 11's proposal", |
| 42 | "and Paul has not ruled on it. It contradicted gate 5's reading (a", |
| 43 | "removed member keeps what their own grant reaches). It is out of the", |
| 44 | "binding cases until he rules (doctrine §14, NEEDS PAUL). The stranger", |
| 45 | "below owns nothing in this fixture and holds no grant on any of it." |
| 46 | ], |
| 47 | "team": "acme", |
| 48 | "asker": { |
| 49 | "kind": "person_ref", |
| 50 | "value": "pers_ana" |
| 51 | }, |
| 52 | "stranger": { |
| 53 | "kind": "person_ref", |
| 54 | "value": "pers_bo" |
| 55 | }, |
| 56 | "cases": [ |
| 57 | { |
| 58 | "name": "team rung: every member may open it", |
| 59 | "item_id": "doc-team", |
| 60 | "s3_body": "the Q3 plan, shared with the whole team", |
| 61 | "revision": 7, |
| 62 | "prior_revision": 6, |
| 63 | "unknown_revision": 5, |
| 64 | "rung": "team", |
| 65 | "link": null, |
| 66 | "owner": "other", |
| 67 | "asker_grant": false, |
| 68 | "s3_status": 200, |
| 69 | "s2_result": "VISIBLE", |
| 70 | "s2_result_superseded": "STALE", |
| 71 | "s2_result_ahead": "UNKNOWN", |
| 72 | "s2_result_stranger": "NOT_VISIBLE" |
| 73 | }, |
| 74 | { |
| 75 | "name": "private, and the asker owns it", |
| 76 | "item_id": "doc-private", |
| 77 | "s3_body": "my own notes, private to me", |
| 78 | "revision": 4, |
| 79 | "prior_revision": 3, |
| 80 | "unknown_revision": 2, |
| 81 | "rung": "private", |
| 82 | "link": null, |
| 83 | "owner": "asker", |
| 84 | "asker_grant": false, |
| 85 | "s3_status": 200, |
| 86 | "s2_result": "VISIBLE", |
| 87 | "s2_result_superseded": "STALE", |
| 88 | "s2_result_ahead": "UNKNOWN", |
| 89 | "s2_result_stranger": "NOT_VISIBLE" |
| 90 | }, |
| 91 | { |
| 92 | "name": "private to someone else, granted to the asker by name", |
| 93 | "item_id": "doc-granted", |
| 94 | "s3_body": "the board pack, shared with me by name", |
| 95 | "revision": 9, |
| 96 | "prior_revision": 8, |
| 97 | "unknown_revision": 10, |
| 98 | "rung": "granted", |
| 99 | "link": null, |
| 100 | "owner": "other", |
| 101 | "asker_grant": true, |
| 102 | "s3_status": 200, |
| 103 | "s2_result": "VISIBLE", |
| 104 | "s2_result_superseded": "STALE", |
| 105 | "s2_result_ahead": "UNKNOWN", |
| 106 | "s2_result_stranger": "NOT_VISIBLE" |
| 107 | }, |
| 108 | { |
| 109 | "name": "granted to a guest only: held, and the asker may not open it", |
| 110 | "item_id": "doc-guest", |
| 111 | "s3_body": "the contractor brief, shared with a guest only", |
| 112 | "revision": 2, |
| 113 | "prior_revision": 1, |
| 114 | "unknown_revision": 3, |
| 115 | "rung": "granted", |
| 116 | "link": null, |
| 117 | "owner": "other", |
| 118 | "asker_grant": false, |
| 119 | "s3_status": 200, |
| 120 | "s2_result": "NOT_VISIBLE", |
| 121 | "s2_result_superseded": "NOT_VISIBLE", |
| 122 | "s2_result_ahead": "NOT_VISIBLE", |
| 123 | "s2_result_stranger": "NOT_VISIBLE" |
| 124 | }, |
| 125 | { |
| 126 | "name": "private to someone else and link-shared: a link is not a grant", |
| 127 | "item_id": "doc-link", |
| 128 | "s3_body": "the press draft, private with a read link", |
| 129 | "revision": 5, |
| 130 | "prior_revision": 4, |
| 131 | "unknown_revision": 6, |
| 132 | "rung": "private", |
| 133 | "link": "read", |
| 134 | "owner": "other", |
| 135 | "asker_grant": false, |
| 136 | "s3_status": 200, |
| 137 | "s2_result": "NOT_VISIBLE", |
| 138 | "s2_result_superseded": "NOT_VISIBLE", |
| 139 | "s2_result_ahead": "NOT_VISIBLE", |
| 140 | "s2_result_stranger": "NOT_VISIBLE" |
| 141 | }, |
| 142 | { |
| 143 | "name": "team-shared and link-shared: team-visible because of the rung", |
| 144 | "item_id": "doc-team-link", |
| 145 | "s3_body": "the launch checklist, team-shared and link-shared", |
| 146 | "revision": 3, |
| 147 | "prior_revision": 2, |
| 148 | "unknown_revision": 1, |
| 149 | "rung": "team", |
| 150 | "link": "read", |
| 151 | "owner": "other", |
| 152 | "asker_grant": false, |
| 153 | "s3_status": 200, |
| 154 | "s2_result": "VISIBLE", |
| 155 | "s2_result_superseded": "STALE", |
| 156 | "s2_result_ahead": "UNKNOWN", |
| 157 | "s2_result_stranger": "NOT_VISIBLE" |
| 158 | }, |
| 159 | { |
| 160 | "name": "deleted, with a former grant held by the asker", |
| 161 | "item_id": "doc-deleted", |
| 162 | "s3_body": "", |
| 163 | "revision": 6, |
| 164 | "prior_revision": 5, |
| 165 | "unknown_revision": 7, |
| 166 | "rung": "deleted", |
| 167 | "link": null, |
| 168 | "owner": "other", |
| 169 | "asker_grant": true, |
| 170 | "s3_status": 404, |
| 171 | "s2_result": "NOT_VISIBLE", |
| 172 | "s2_result_superseded": "NOT_VISIBLE", |
| 173 | "s2_result_ahead": "NOT_VISIBLE", |
| 174 | "s2_result_stranger": "NOT_VISIBLE" |
| 175 | }, |
| 176 | { |
| 177 | "name": "ingested on the team rung, since moved to private by its owner", |
| 178 | "item_id": "doc-was-team", |
| 179 | "s3_body": "the old roadmap, moved back to private", |
| 180 | "revision": 8, |
| 181 | "prior_revision": 7, |
| 182 | "unknown_revision": 9, |
| 183 | "rung": "private", |
| 184 | "link": null, |
| 185 | "owner": "other", |
| 186 | "asker_grant": false, |
| 187 | "s3_status": 200, |
| 188 | "s2_result": "NOT_VISIBLE", |
| 189 | "s2_result_superseded": "NOT_VISIBLE", |
| 190 | "s2_result_ahead": "NOT_VISIBLE", |
| 191 | "s2_result_stranger": "NOT_VISIBLE" |
| 192 | }, |
| 193 | { |
| 194 | "name": "a link added after ingest changes nothing either way", |
| 195 | "item_id": "doc-link-added-late", |
| 196 | "s3_body": "the hiring plan, private, link added later", |
| 197 | "revision": 11, |
| 198 | "prior_revision": 10, |
| 199 | "unknown_revision": 12, |
| 200 | "rung": "private", |
| 201 | "link": "read", |
| 202 | "owner": "other", |
| 203 | "asker_grant": false, |
| 204 | "s3_status": 200, |
| 205 | "s2_result": "NOT_VISIBLE", |
| 206 | "s2_result_superseded": "NOT_VISIBLE", |
| 207 | "s2_result_ahead": "NOT_VISIBLE", |
| 208 | "s2_result_stranger": "NOT_VISIBLE" |
| 209 | } |
| 210 | ] |
| 211 | } |
| 212 | |