Mapa design, revision 3: answer Fable's re-review of revision 2
Removed members keep their own pages under gate 5's reading; render-time enforcement of team-visible embeds; block markers minted only by edits to the target page; autosave through a sealed draft row; plaintext list completed; conformance table corrected (eight pass, doc-granted pinned).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+210
−69
docs/superpowers/specs/2026-11-12-mapa-design.md+210 −69
diff --git a/docs/superpowers/specs/2026-11-12-mapa-design.md b/docs/superpowers/specs/2026-11-12-mapa-design.md| index 12250fb..b1658ff 100644 |
| --- a/docs/superpowers/specs/2026-11-12-mapa-design.md |
| +++ b/docs/superpowers/specs/2026-11-12-mapa-design.md |
| @@ -1,12 +1,14 @@ |
| # 🤖 mapa — design |
| -**Status:** draft, revision 2, 2026-11-12. **Nothing is built.** There is |
| +**Status:** draft, revision 3, 2026-11-12. **Nothing is built.** There is |
| no module, no schema, no hub repository and no CARLOS app. This line is the |
| one to keep current. |
| **Reviews.** Fable 5.2 reviewed revision 1 (`48e72e6`) and asked for |
| -changes (5 high, 9 medium, 9 low). Revision 2 answers all 23. Appendix A |
| -maps each finding to the section that answers it. |
| +changes (5 high, 9 medium, 9 low). Revision 2 (`2345d97`) answered them. |
| +Fable re-reviewed revision 2 and asked for a narrower set of changes (1 |
| +high, 6 medium, 6 low), which revision 3 answers. Appendix A maps every |
| +finding from both rounds to the section that answers it. |
| **Consumed suite rulings.** This spec consumes `oficina/suite` |
| `docs/superpowers/specs/2026-09-05-suite-sharing-doctrine.md` at |
| @@ -53,7 +55,7 @@ proposal and has not been ruled on.** Do not read a proposal as a ruling. |
| | 6 | **One shared namespace per team.** `[[Acme]]` means one page for everyone in the team | Per-person namespaces with team pages layered on top | Paul leaned yes, 2026-11-12 ("Shared namespace makes sense?"); author recommends. **Confirm** | |
| | 7 | **Only team pages hold titles in the namespace.** Private material is daily notes and untitled scratch pages, and both may link *to* team pages | Private titled pages, which either collide with a teammate's `[[Acme]]` or reveal that a private page exists by refusing the title | **Proposed** (§3.3) | |
| | 8 | **A page's rung is fixed when it is created.** Sharing private writing creates a new team page from the chosen text. The private page is never re-ruled | Moving a page between rungs, which either makes its private-era revisions team-readable or needs per-revision rungs | **Proposed** (§3.4) | |
| -| 9 | **Bodies keep link text exactly as typed. Titles resolve through aliases at render** | Rewriting every linking page's body on rename, which mints revisions in pages nobody edited | **Proposed** (§3.2) | |
| +| 9 | **Bodies keep link text exactly as typed. Titles resolve through aliases at render.** **This is a trade-off, and it reverses revision 1:** links are keyed on text, so deleting a page or freeing an alias, then creating a page with that title, rebinds every link typed with that text, private notes included (§3.4) | Rewriting every linking page's body on rename, which mints revisions in pages nobody edited and, for private notes, in pages the renamer cannot see. Revision 1's id-keyed links, which needed exactly that rewrite to keep S3's bytes fixed (doctrine §6.6) | **Proposed** (§3.2) | |
| | 10 | **The body is Markdown. A page is a document, not an outliner** | A strict bullet outliner (Logseq, Roam) | Paul, 2026-11-12 ("Document sounds good") | |
| | 11 | **Saves are revision-checked and merged by block. There is no real-time co-editing in v1** | Docs' collaboration machinery, which is built for paginated layout | **Proposed** | |
| | 12 | **Embeds are a suite contract call, not glue between two apps.** The owning app serves a typed payload, with no markup, for a named asker. The embedding app renders it with a shared estilo partial (§7) | An iframe from the owning origin, which needs a session at every sibling and relaxes framing refusals. HTML or Markdown handed between siblings, which lets one app put markup into another | **Proposed** | |
| @@ -94,8 +96,23 @@ render time. |
| refuse a duplicate title without holding it (§4). |
| - **Daily print:** `(print, page_id)`, the HMAC of `(owner, date)`, unique. |
| It enforces one daily note per person per day without a plaintext date. |
| -- **Event:** `(id, at, actor, object, verb, revision)`, one row for every |
| - write. It feeds the in-memory index and S1 (§8). A write that logs no |
| +- **Revision store:** `(page_id, revision, at, actor)` plus the sealed |
| + body at that revision. It is kept for the history window (§5) and pruned |
| + after it. |
| +- **Draft:** `(page_id | daily print, person, base_revision, updated_at)` |
| + plus a sealed body. One per person per page. A draft for a daily note |
| + that does not exist yet is keyed by its daily print, and its first commit |
| + creates the page. A draft holds coalesced autosave text before it |
| + becomes a revision (§5). It is not an item, has no revision, and is never |
| + in S1 or S3. |
| +- **Member:** `(id, address print, sealed address, time zone setting)`. |
| + This is the lone-shape admission list's local mirror, as in Fichas. The |
| + sealed time zone is the person's setting. The team's default time zone |
| + is an instance setting in config. |
| +- **Sessions and sign-in rows:** rastrillo's own tables, unchanged from |
| + every sibling. |
| +- **Event:** `(id, nonce, at, actor, object, verb, revision)`, one row for |
| + every write. It feeds the in-memory index and S1 (§8). A write that logs no |
| event is invisible to both. Gate 8 checks this. |
| ### 3.2 Derived, in memory only |
| @@ -123,8 +140,14 @@ never does it silently. |
| Backlink context is "the block that contains the link", found at render, |
| and needs no stored id. **A block gets a stable id only when something |
| targets it.** That uses Obsidian's syntax: a `^id` marker at the end of the |
| -block, minted when someone creates a block link (`[[Acme#^k3f9]]`) or a |
| -block embed. The marker is visible text, so it survives the scriptless |
| +block. **A marker is minted only by an edit to the page that holds the |
| +block, by someone editing that page.** Minting it from elsewhere would |
| +write into the target page. If Ana links from her private note to a block |
| +in team page Acme, the marker would appear in Acme's history as an edit by |
| +Ana, telling teammates she linked to it privately. So from a private note, |
| +a block reference is a page link plus a quoted excerpt, and `[[Acme#^id]]` |
| +works only for markers that already exist. In a team page, "Link to this |
| +block" mints the marker as an ordinary attributed edit to that page. The marker is visible text, so it survives the scriptless |
| textarea. Deleting the block drops it, and links to it then resolve to the |
| page with a "block removed" note. |
| @@ -154,7 +177,17 @@ The doctrine's ladder (ruling 15) has three rungs. Mapa v1 uses two: |
| that changes what teammates can open, so it is logged with its actor. The |
| page's title and aliases are freed. Inbound `[[text]]` stays as typed and |
| becomes pending, which is honest: the text was written by its authors and |
| - still says what they wrote. |
| + still says what they wrote. If a new page later takes that title, those |
| + links bind to it (decision 9's trade-off). |
| +- **Restore a deleted page:** possible inside the history window (§5), as a |
| + **new item with a new id** at its first revision. S1 has already said |
| + `gone` for the old id, and it stays gone. If the title has been taken |
| + meanwhile, the restorer picks another. |
| +- **Update links:** after a rename, "Update links to the new title" edits |
| + **team pages and the actor's own private pages only**, as edits by the |
| + actor. It reports how many of *those* it changed, and never a count that |
| + includes anyone else's private pages. Other people's private links keep |
| + working through the alias. |
| - **Free an alias:** an explicit action on the page that owns it. It frees |
| the title for a new page, and links typed with that text become pending |
| or rebind to the new page. Aliases otherwise reserve titles until their |
| @@ -169,11 +202,16 @@ The doctrine's ladder (ruling 15) has three rungs. Mapa v1 uses two: |
| memoria may hold it until its feed pulls `gone`. A team page cannot be |
| moved to private, for the same reason, and because the move would claim |
| more than it can deliver. |
| -- **Date links:** a link whose text is a date (`[[2026-11-12]]`) is |
| - reserved. It never names a team page, and it opens **the viewer's own |
| - daily note** for that date. In a team page it means "my notes from that |
| - day" for each reader. The resolution is per viewer and reveals nothing, |
| - because each reader reaches only their own note. **Proposed.** |
| +- **Date links:** a link whose text is an ISO date (`[[2026-11-12]]`, and |
| + nothing else) is reserved. It never names a team page: a date-shaped |
| + title or alias is refused on create, on rename and when "Make team page" |
| + is used. It opens **the viewer's own daily note** for that date. The |
| + resolution is per viewer and reveals nothing, because each reader reaches |
| + only their own note. Changing your time zone changes which date "today" |
| + is from then on. It never moves or re-dates a note already written. |
| + **Proposed.** The product cost: when Ana writes "see `[[2026-11-12]]`" in |
| + a team page, Bo lands on his own note for that day, probably empty, not |
| + on Ana's. Pointing at what happened on a day means a team page. |
| ### 3.5 Document, not outliner — ruled |
| @@ -193,35 +231,56 @@ must answer a question without the key. The complete plaintext list: |
| | Column(s) | Why it must be plaintext | What it leaks | |
| |---|---|---| |
| | ids, `kind`, `rung` | rows must be addressable and S1/S2 must answer per rung | how many pages, daily notes and scratch pages exist | |
| +| page and event nonces, event ids | S1 cursors and revision nonces (§5, doctrine §6.6) | nothing beyond row counts | |
| +| revision store `(page_id, revision, at, actor)` | history lists and restore without unsealing every body | **how many times each page was saved, by whom, and when**, inside the window. Ciphertext sizes show how each body grew | |
| +| drafts `(page_id or daily print, person, base_revision, updated_at)` | the coalescing rule (§5) runs without unsealing | that a person has an uncommitted edit to a page, and when they last typed in it | |
| +| member `id`, address print | admission and S2 by address without unsealing | how many members there are. The print shows equality only | |
| +| rastrillo session and sign-in rows | inherited, as in every sibling | when each person signed in | |
| | `owner` (member row id) | S2 answers `private` → owner without unsealing | who has how many private pages | |
| | `created_at`, `updated_at`, `revision` | ordering, S1, §6.6 | **when each person writes**, including private notes. A daily note's creation time narrows its date to about a day. Creation on first edit (§6), not first open, means this records writing, not visiting | |
| | events `(at, actor, object, verb)` | S1 is the event log (Fichas §5's shape) | who did what to which object, and when. Not content | |
| | title prints, daily prints | uniqueness without the key | equality: two attempts at the same folded title are visibly the same. The number of aliases per page is a rename count. Prints are HMAC under the instance key, so they cannot be checked against a guessed title without that key | |
| -| ciphertext sizes | inherent | roughly how long each body is | |
| +| ciphertext sizes | inherent | roughly how long each body and each draft is | |
| -**Sealed:** titles, aliases, dates, bodies, and so links, pending links, |
| +**Sealed:** titles, aliases, dates, bodies, revision bodies, draft |
| +bodies, member addresses, time zone settings, and so links, pending links, |
| references and `^id` markers too. The link graph exists only in memory |
| (decision 14). |
| ## 5. History |
| Every write is logged with its actor. Page bodies keep their revisions for |
| -a bounded window, and restore works inside it, using Fichas decision 2's |
| -shape. Restore mints a **new** revision. Revisions are random int63 values, |
| +**90 days** (proposed), and restore works inside that window, using Fichas |
| +decision 2's shape. Restore mints a **new** revision. Revisions are random int63 values, |
| and cursors carry random nonces (doctrine §6.6, as Docs and Fichas adopted |
| for revision 11). |
| -**Autosave is coalesced.** One editing session, up to 2 minutes idle or |
| -leaving the page, mints one revision and one event. A keystroke pause does |
| -not. S1, memoria and the history list see edits, not pauses. |
| +**Autosave is coalesced through a draft.** While a person types, autosave |
| +writes their **draft** (§3.1): a sealed row per person per page, separate |
| +from the page. The page body and its revision are never touched in place, |
| +so `(item, revision)` always names one byte sequence (doctrine §6.6). |
| +**The draft is committed as a new revision**, with one event, after 2 |
| +minutes idle, on Save, or on the next visit to any page if the tab was |
| +closed. A closed tab therefore loses nothing. Committing is a normal |
| +revision-checked save, so a teammate's revision in between goes through |
| +the §6 block merge. Meanwhile: |
| +- A second tab of the same person reads and writes the same draft. |
| +- A teammate sees the last committed revision, plus "Ana is editing" while |
| + Ana's draft is less than 2 minutes old. The page is already team-visible, |
| + so who is editing it is not new information. |
| +- S1, memoria and the history list see revisions, not drafts. |
| + |
| +Draft writes are the one write path exempt from gate 8's "every write logs |
| +an event", **by name**, because a draft is not an item. Its commit is |
| +logged. |
| ## 6. The surface |
| The rastrillo floor applies: **every screen works with JavaScript off.** |
| - **Today.** `/` shows today's daily note. Until there is something to |
| - save, it is an empty editor and **no row exists**: the note is created by |
| - the first save, so a day on which nothing was written leaves no trace in |
| + save, it is an empty editor and **no row exists**: the note is created |
| + when its first draft is committed (§5), so a day on which nothing was written leaves no trace in |
| S1, memoria or the database file. A `GET` never writes. |
| - **The date and its time zone.** "Today" is in the person's own time zone: |
| a per-person setting, defaulting to the team's time zone (an instance |
| @@ -268,7 +327,15 @@ term and ranked BM25-style. **Every statistic a ranking uses is computed |
| over team pages only:** document frequencies, the backlink boost and the |
| average length. A viewer's own private pages are scored against those |
| team-only statistics. So nobody's private writing can change the order of |
| -anybody else's results, including the viewer's own. |
| +anybody else's results, including the viewer's own. A term that appears in |
| +no team page has document frequency 0, and is smoothed as if it appeared in |
| +one (BM25's +1). |
| + |
| +**The scope filter runs before traversal, not after.** Postings are |
| +partitioned: one team partition, plus one partition per person for their |
| +private pages. A query reads the team partition and the viewer's own |
| +partition only, so the time Bo's query takes cannot depend on what Ana's |
| +private notes contain. |
| ### 6.3 What the viewer's scope covers |
| @@ -347,7 +414,8 @@ S2's credential shape (ruling 8, doctrine §6.1). |
| - **App URLs** (every "open in app" and row URL) must be `https`, with |
| no userinfo, and a host exactly |
| `<own team>.<answering app>.oficina.works`. |
| - - **Author links** inside page spans may be `http` or `https` only. Every |
| + - **Author links** inside page spans, and Fichas card fields of kind URL |
| + (which a person typed), may be `http` or `https` only. Every |
| other scheme (`javascript:`, `data:` and the rest) is refused by the |
| decoder. They render with `rel="noopener noreferrer"`. They are not |
| team-checked, because a person may link anywhere. |
| @@ -362,7 +430,9 @@ S2's credential shape (ruling 8, doctrine §6.1). |
| siblings it embeds from when it wakes (doctrine §6.3), or the first |
| render after idle would always say "did not answer". A page with more |
| than 32 embeds makes several concurrent calls. Past 64 embeds, the rest |
| - render as plain links. |
| + render as nothing, and the page carries one note: "This page has more |
| + embeds than can be shown at once." A plain link would show where an embed |
| + the viewer may not open must render nothing (§7.1(2)). |
| - **Rendering:** one estilo partial per shape, so a Fichas card looks the |
| same inside Mapa as inside Fichas. |
| @@ -377,19 +447,49 @@ entry. It is not presented as "says less than S3". |
| Hiding a non-team embed at render cannot hide it everywhere. The reference |
| string sits in a team page's Markdown, which every member opens in the |
| -editor, and it is in history, S3 and export. So the rule applies when the |
| -embed is written: |
| - |
| -- **The embedding app asks S10 for the writer**, and reads `team_visible` |
| - from the payload. A writer who gets `VISIBLE` may open the item, so |
| - learning whether it is team-visible tells them nothing new. |
| -- **If the container is team-visible and the item is not, the embed is |
| - refused** with a plain message. A private daily note may embed anything |
| - its owner can open. |
| +editor, and it is in history, S3 and export. So the rule is enforced |
| +twice. |
| + |
| +**At render, always.** A team container renders nothing for a payload whose |
| +`team_visible` is false, even for a viewer who could open the item. This |
| +closes every path a reference can arrive by: restore, merge, "Make team |
| +page", text typed during slice 1 before the check existed, a later import, |
| +and the race between the write-time check and commit. It is also the |
| +answer for an item moved down the ladder after it was embedded. |
| + |
| +**At write, for references new in this save.** Only references that are |
| +absent from the base revision are checked. So Bo can always save a page |
| +that holds an embed Ana added, even if that item has since moved down. |
| +- **The embedding app asks S10 with the writer as asker**, and reads |
| + `team_visible`. |
| +- **`VISIBLE`, team-visible:** saved. |
| +- **`VISIBLE`, not team-visible, in a team container:** refused, with a |
| + plain message. |
| +- **`NOT_VISIBLE`:** refused with one message, identical for an unknown |
| + item and one the writer may not open. Nobody can plant a reference to |
| + something they cannot see. |
| +- **`UNKNOWN`:** the save goes through. The typed text is kept and the |
| + embed is marked unchecked, to be checked again on the next save. Render |
| + enforcement already makes an unchecked embed safe, and refusing would |
| + make every page with an embed unsavable while Fichas is cold. |
| +- **The same check runs on restore and on "Make team page"** for the |
| + references they bring into a team container. A private daily note may |
| + embed anything its owner can open. |
| + |
| +**What the writer learns.** A writer who gets `VISIBLE` may open the item. |
| +In Fichas and Mapa, learning whether it is team-visible tells them nothing |
| +new. In a future app with a `granted` rung, a grantee learns the item's |
| +rung. S1 deliberately carries no visibility flag, so `team_visible` goes in |
| +revision 12's leak-list entry. |
| - **Fichas → Mapa:** every Fichas card is team-visible (Fichas §6.1), so a |
| - card's reference field may reference **team Mapa pages only**. The |
| - picker offers no private pages, and S10's `team_visible` refuses them on |
| - save. A teammate therefore never sees an empty reference field, or |
| + card's reference field may reference **team Mapa pages only**. There is |
| + no picker: no call lets Fichas list Mapa titles, and S1 carries none. The |
| + person pastes a Mapa page URL, and S10's `team_visible` refuses a private |
| + page on save. |
| +- **While both apps are lone shape,** "the team" means each app's own |
| + admission list, and the two lists may differ. `team_visible` is the |
| + owning app's statement about its own list. Provisioning both apps for |
| + one team label from one roster (§10) is what makes the two lists agree. A teammate therefore never sees an empty reference field, or |
| history naming a change to one, that points at someone's private note. |
| - **What remains, and goes in the leak list:** an item that was |
| team-visible when embedded, and that its app later moves down the ladder, |
| @@ -432,35 +532,43 @@ Mapa serves the producer half, S1, S2 and S3, from **slice 1**. |
| - **S2** is Mapa's own read check: `team` → every admitted member; |
| `private` → its owner. The person is checked before any revision |
| (doctrine §6.6). |
| -- **S3** serves the title (team pages) and the body **exactly as stored**: |
| +- **S3** serves a fixed layout: line 1 is the title for a team page, the |
| + ISO date for a daily note (fixed at creation, so memoria can answer by |
| + day), or empty for a scratch page; then a blank line; then the body |
| + **exactly as stored**: |
| link text as typed, embeds as their reference string, never expanded. Its |
| bytes change only when that page's revision changes (§3.2). memoria gets |
| Fichas content from Fichas. |
| - **A removed member's private pages.** Doctrine §14 asks Paul whether |
| - ownership survives removal. Until he rules, gate 5's interim reading |
| - binds: a removed person holding no other grant gets `NOT_VISIBLE`, and |
| - that includes their own daily notes. Mapa keeps the rows: it decides |
| - nothing about deletion before the ruling. An app-side test removes a real |
| - member and asserts this, as doctrine §4.3 requires. |
| + ownership survives removal. **Until he rules, gate 5's reading holds** |
| + (doctrine §11 gate 5 and §14): losing team standing does not revoke |
| + ownership. So S2 keeps answering `private` → its owner, whether or not |
| + the owner is still on the roster. In the lone shape, "removed" means off |
| + the admission list. The person cannot sign in to Mapa, but S2, asked |
| + about them by name, still answers `VISIBLE` for their own pages. The |
| + doctrine's §4.3 alternative, "reaches nothing, ownership included", is |
| + marked there as an unruled proposal, and Mapa does not build it. Rows |
| + are kept: Mapa decides nothing about deletion before the ruling. |
| - **Egress** follows doctrine §8 unchanged. Until Paul rules, private pages |
| are not embedded for semantic recall. memoria finds them by their own |
| words only, and says so. |
| - **Conformance.** Mapa uses `conformance.CheckProducer` with pinned |
| - expectations, as Fichas does (Fichas §6.7). Mapa has two rungs and no |
| - grants, guests or links, so the fixture's nine cases cannot all be |
| - represented. Expected: |
| - |
| - | Case | Mapa | Expected | |
| - |---|---|---| |
| - | `doc-team`, `doc-deleted` | team page; deleted page | passes | |
| - | `doc-private` (owned by the asker) | private page owned by the asker | passes, **by design** (unlike Fichas) | |
| - | `doc-granted` | no grants | **pinned failure**: Mapa answers `NOT_VISIBLE` where the fixture wants `VISIBLE` | |
| - | `doc-guest` | no guests | depends on how the adapter seeds it. Recorded when built | |
| - | `doc-team-link`, `doc-link`, `doc-link-added-late` | no link capability | the team case passes. The link cases depend on seeding, recorded when built | |
| - | `doc-was-team` | team → private refused (§3.4) | **pinned failure** | |
| - |
| - The final table is written from the running harness when the producer is |
| - built, as Fichas §6.7 was, and sent to the suite as evidence. |
| + expectations, as Fichas does (Fichas §6.7). `fixtures/custody.json` at |
| + `91affa1` is static: each case is a state to seed, and no transition is |
| + driven. Mapa has two rungs and no grants, guests or links. Expected: |
| + |
| + | Case | Fixture state | Mapa seeds | Expected | |
| + |---|---|---|---| |
| + | `doc-team`, `doc-team-link` | team | a team page | passes, by honest representation | |
| + | `doc-private` | private, owned by the asker | a private page owned by the asker | passes, by honest representation (unlike Fichas) | |
| + | `doc-deleted` | deleted | a deleted page | passes | |
| + | `doc-was-team`, `doc-link`, `doc-link-added-late` | private, owned by someone else | someone else's private page | passes, by seeding equivalence. Mapa holds no link or move history, and the fixture asks for none | |
| + | `doc-guest` | granted to a guest only | someone else's private page | passes, by seeding equivalence: `NOT_VISIBLE` throughout, as the fixture wants | |
| + | `doc-granted` | granted to the asker | **cannot be represented** | **three pinned S2 failures**: the fixture wants `VISIBLE`, `STALE` and `UNKNOWN` at the current, prior and never-issued revisions. Mapa answers `NOT_VISIBLE` to each | |
| + |
| + That is eight passing cases and one unrepresentable case. The final table |
| + is written from the running harness, as Fichas §6.7 was, and sent to the |
| + suite as evidence. |
| - **Later, not in the contract today:** outbound links in S3, so memoria |
| can rank by the link graph. |
| @@ -496,12 +604,16 @@ The suite conformance harness (S1/S2/S3) runs in CI from slice 1, and S10 |
| from slice 2. On top of that: |
| 1. **Scope leaks nothing.** Bo's search results, their order, ⌘K's Create |
| - offer, `[[` autocomplete, backlinks and unlinked mentions are |
| - **byte-identical** whether or not Ana's private notes contain the term, |
| - link to the page, or hold a pending link with that text. A mutation |
| + offer, `[[` autocomplete, backlinks, unlinked mentions, and the report |
| + from "Update links" are **byte-identical** whether or not Ana's private |
| + notes contain the term, link to the page, hold a pending link with that |
| + text, or link to a block in it. Linking from a private note never writes |
| + to the target page. A mutation |
| test proves the gate fails when one scope check is removed. |
| 2. **Titles cannot reveal anything.** No path lets a private page claim a |
| - title. "Make team page" with a taken title asks for another. |
| + title. "Make team page" with a taken title asks for another. A |
| + date-shaped title or alias is refused on create, on rename and on "Make |
| + team page". |
| 3. **Renames keep links and keep revisions honest.** After renaming B, |
| every `[[Old]]` resolves to B. Page A's revision and S3 bytes are |
| unchanged. |
| @@ -517,12 +629,21 @@ from slice 2. On top of that: |
| 7. **Scriptless.** `make browser` walks today's note, ⌘K, create, link, |
| save and conflict with JavaScript off, then on, and fails on any console |
| error. |
| -8. **Event completeness.** Every write path logs an event, with a mutation |
| - test. |
| -9. **A removed member** (§8). Removing a real member makes their private |
| - pages `NOT_VISIBLE` to them through S2. |
| +8. **Event completeness.** Every write path logs an event, except draft |
| + writes, which are exempt by name (§5). A mutation test proves the check |
| + works. |
| +9. **A removed member** (§8). Taking a real member off the admission list |
| + stops them signing in. Under gate 5's reading, S2 still answers |
| + `VISIBLE` for their own private pages. When Paul rules on doctrine §14, |
| + this gate is rewritten to his ruling. |
| 10. **No trace of an unwritten day.** Opening today's note and leaving |
| - without saving creates no row, no event and no S1 entry. |
| + without typing creates no row, no draft, no event and no S1 entry. |
| +11. **Drafts.** Autosave never changes a page body or revision in place. |
| + Closing the tab and returning commits the draft. A conflicting commit |
| + goes through the block merge. |
| +12. **Render enforcement** (slice 2). A team page whose text holds an embed |
| + of a non-team item renders nothing for it, whatever path brought the |
| + text in. |
| ## 12. Deliberately not built |
| @@ -552,7 +673,9 @@ from slice 2. On top of that: |
| proposes breaking loudly. |
| 5. **A Fichas reference field** (§7.6): is it the same thing as the "link |
| to another card" field already open, extended to any Oficina item? |
| -6. **Date links open your own daily note** (§3.4): yes? |
| +6. **Date links open your own daily note** (§3.4): yes? The cost: a date |
| + link in a team page never shows anyone else's notes for that day. |
| +8. **History window: 90 days** (§5)? |
| 7. ~~Slice 1 without embeds~~ **Ruled: yes** (Paul, 2026-11-12: "makes |
| sense"). |
| @@ -612,3 +735,21 @@ export (decision 15). |
| | L7: deadline, pre-warm, caps, no-store | §7.3, §6 | |
| | L8: creation on open, autosave churn | §5, §6, gate 10 | |
| | L9: doctrine §6.4 | §7.3 | |
| + |
| +### Round 2 — Fable's re-review of revision 2 (`2345d97`) |
| + |
| +| Finding | Answered in | |
| +|---|---| |
| +| H1: removed member inverted | §8, gate 9: gate 5's reading, ownership holds | |
| +| M1: write-time check gaps and race | §7.4: render enforcement, base-revision diff, each S10 value, restore and Make team page; gate 12 | |
| +| M2: `^id` minted from a private note | §3.2: minted only by an edit to the target page; gate 1 | |
| +| M3: coalesced autosave storage | §3.1 draft, §5, gate 11 | |
| +| M4: plaintext list | §3.1, §4: nonces, revision store, drafts, members, sessions; 90-day window | |
| +| M5: text-keyed links trade-off; Update links scope | decision 9, §3.4, gate 1 | |
| +| M6: conformance table | §8: eight pass, one unrepresentable with three pinned failures; S3 layout | |
| +| L1: zero frequency; timing | §6.2: smoothing, partitioned postings | |
| +| L2: date link format, refusals, time zone | §3.4, gate 2, §13 item 6 | |
| +| L3: restoring a deleted page | §3.4: new id | |
| +| L4: past 64 as links | §7.3: render nothing plus a page note | |
| +| L5: URL fields, picker, lone-shape lists | §7.3, §7.4 | |
| +| L6: daily note date in S3 | §8 S3 layout | |