oficina / fichas Public

Spec: pin suite revision 10 after review (53b79d5); twelve inexpressible failures

The suite branch moved to 53b79d5 after its review pass: the harness now
asks S2 one revision ahead, S3 at superseded revisions, and checks S1
rows. The four ladder cases Fichas cannot represent now fail at three
revisions each (§6.7); S1, S3 and every stranger question pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ea3a49104610707ba15c436d16eb43980084b67c parent 808fa62
1 file changed, +16 −11
  • docs/superpowers/specs/2026-09-19-fichas-design.md +16 −11
diff --git a/docs/superpowers/specs/2026-09-19-fichas-design.md b/docs/superpowers/specs/2026-09-19-fichas-design.md
index 76ed7eb..9d66122 100644
--- a/docs/superpowers/specs/2026-09-19-fichas-design.md
+++ b/docs/superpowers/specs/2026-09-19-fichas-design.md
@@ -334,10 +334,12 @@ server**, with memoria as the waiting consumer — a real end-to-end exercise
of the contract, and the first-server design tax, both.
**Amended 2026-11-01 (this session, implementing the ruling below).** The
-contract this section builds against is suite doctrine **revision 10** at
-`amadan.net/oficina/suite` commit `12848f8` (branch `feat/server-half`,
-under review): its status block, the revision-10 notes at §4.2 and §4.3,
-and §6.5, the producer half `amadan.net/oficina/suite/server`. What they
+contract this section builds against is suite doctrine **revision 10** —
+introduced at `amadan.net/oficina/suite` commit `12848f8` and pinned at
+`53b79d5`, the same revision after its review pass (branch
+`feat/server-half`, not yet landed): its status block, the revision-10
+notes at §4.2 and §4.3, and §6.5, the producer half
+`amadan.net/oficina/suite/server`. What they
say is cited, not restated (suite AGENTS.md: "cite, never restate"). What
follows is only what is particular to Fichas. Built on branch
`feat/suite-producer`, which sits on `feat/contract-demo` — the build that
@@ -476,11 +478,11 @@ every other route keeps the check.
- **Conformance.** `conformance.Check` runs in `make ci` against
`server.Routes` over the real producer and a real database, through a
test-only naming adapter: the fixture's item ids map to the card ids
- seeded for them (one Customer card per case, its name the case's
+ seeded for them (and feed rows map back) (one Customer card per case, its name the case's
`s3_body`, edited up to the case's revision; the deleted case deleted),
and its `person_ref` askers map to an admitted address (`asker`) and a
non-admitted one (`stranger`). The adapter renames; it decides nothing.
- The test asserts the failures are **exactly** the eight listed in §6.7
+ The test asserts the failures are **exactly** the twelve listed in §6.7
— no more, no fewer — so a fixture change on the suite branch fails
loudly here rather than being absorbed.
- **Fichas-native tests** (`suite_test.go`, `fichastest/suite_test.go`):
@@ -496,8 +498,8 @@ every other route keeps the check.
Evidence for the suite, where its AGENTS.md says fixtures are corrected by
the second implementation. Not changed there from here.
-The fixture (`fixtures/custody.json` at `12848f8`) describes a world with a
-sharing ladder. Fichas has none:
+The fixture (`fixtures/custody.json` at `53b79d5`) describes a world with
+a sharing ladder. Fichas has none:
| Case | Fixture state | Fichas | Result |
|---|---|---|---|
@@ -505,7 +507,7 @@ sharing ladder. Fichas has none:
| `doc-deleted` | deleted | a gone card | passes |
| `doc-private` | private, the asker owns it | no private state; every member sees it | passes, **by coincidence**: VISIBLE because every member sees every card, not because of ownership |
| `doc-granted` | granted to the asker | no grants | passes, **by coincidence**, as above |
-| `doc-guest` | granted to a guest only | no guests, no grants | **fails** S2 current (VISIBLE, wants NOT_VISIBLE) and behind (STALE, wants NOT_VISIBLE) |
+| `doc-guest` | granted to a guest only | no guests, no grants | **fails** S2 for the asker at the current revision (VISIBLE), one behind (STALE) and one ahead (UNKNOWN); the fixture wants NOT_VISIBLE at all three |
| `doc-link` | private to someone else, link-shared | no private state, no links | **fails**, as above |
| `doc-was-team` | moved from team to private | no private state | **fails**, as above |
| `doc-link-added-late` | private, link added later | no private state, no links | **fails**, as above |
@@ -520,7 +522,10 @@ Two more gaps, neither a failure because the adapter bridges them:
- **Item ids are names, not an app's ids.** `doc-team` is not a card id;
an app whose ids it allocates itself cannot seed them as given.
-S3 and S1 pass in full. The four failures are not bugs to fix in Fichas:
+S3 (current and superseded revisions) and S1 (every live item at its
+current revision, the deleted one gone) pass in full, as does every
+stranger question. The twelve failures — four cases, three revisions each
+— are not bugs to fix in Fichas:
bending the producer to refuse cards that every member can open in the app
would make memoria hide what Fichas shows.
@@ -686,7 +691,7 @@ In order, and small:
4. The S1/S2/S3 server half and the conformance harness in CI (§6), so
memoria indexes fichas like a Doc. **Built 2026-11-01** on
`feat/suite-producer` (over `feat/contract-demo`) against suite
- revision 10 at `12848f8`, under Paul's ruling of that day (§6.1): S1
+ revision 10 at `53b79d5`, under Paul's ruling of that day (§6.1): S1
from the events table, S2 as admission, S3 as the card's text, mounted
only when `FICHAS_SUITE_CONSUMERS` is set. Conformance runs in CI with
the inexpressible cases asserted (§6.7). Not deployed, not merged.