catalogue: Document editing (Collabora) is an add-on to Files — its card must say so and its door must open Files/Nextcloud, not a bare Collabora host #1719

Closed
opened 2026-09-22 05:22:34 +00:00 by ben · 2 comments
Owner

Ask (Ben, hand re-founding 2026-09-22)

The Document editing card (internal/catalogue/catalogue.go:536-543, slug docs-editing, Collabora Online) reads "Edit documents together, in the browser." with its own door docs-editing.<apex>. That door is Collabora's WOPI endpoint — a person opening it sees nothing usable. In reality it is an add-on to Files: once installed, members create and open documents from inside Files.

  1. Description: say what it adds and where — e.g. "Adds creating and opening documents, spreadsheets and presentations inside Files & documents." (name the Files service, not the product; keep the product line runs Collabora Online).
  2. Door: the card's Open action (and the Portal's, if it draws one) opens Files (files.<apex>), not docs-editing.<apex>; the Collabora host stays a plumbing endpoint (WOPI client, health) and is never offered as a door. Same rule for any future add-on service (a DoorOf: files / "opens inside" relation in the catalogue rather than a one-off).
  3. Dependency copy: the card states it needs Files installed (the catalogue already has the requires relation — surface it in the copy and grey Install until Files is running).
  4. Wireframe p4-provisioning catalogue card updated in the same commit (ADR 0122); the Portal must not draw a docs-editing door (#1372 class).

Two-way door, Ben asked for it directly.

## Ask (Ben, hand re-founding 2026-09-22) The **Document editing** card (`internal/catalogue/catalogue.go:536-543`, slug `docs-editing`, Collabora Online) reads *"Edit documents together, in the browser."* with its own door `docs-editing.<apex>`. That door is Collabora's WOPI endpoint — a person opening it sees nothing usable. In reality it is an add-on to Files: once installed, members create and open documents from inside Files. 1. **Description:** say what it adds and where — e.g. *"Adds creating and opening documents, spreadsheets and presentations inside Files & documents."* (name the Files service, not the product; keep the product line `runs Collabora Online`). 2. **Door:** the card's Open action (and the Portal's, if it draws one) opens **Files** (`files.<apex>`), not `docs-editing.<apex>`; the Collabora host stays a plumbing endpoint (WOPI client, health) and is never offered as a door. Same rule for any future add-on service (a `DoorOf: files` / "opens inside" relation in the catalogue rather than a one-off). 3. **Dependency copy:** the card states it needs Files installed (the catalogue already has the `requires` relation — surface it in the copy and grey Install until Files is running). 4. Wireframe `p4-provisioning` catalogue card updated in the same commit (ADR 0122); the Portal must not draw a docs-editing door (#1372 class). Two-way door, Ben asked for it directly.

swarm-claim host=elitebook-distributed-server-03 run=29839
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=29839 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1719 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1719,
  "status": "success",
  "commits": [
    "cd5305ff559df3f8d11fb8a0e6289a6096ffdf13"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/lib/serviceCatalogue.golden.json",
    "dashboard/src/lib/catalogue.ts",
    "dashboard/src/lib/provision.ts",
    "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html",
    "internal/catalogue/catalogue.go",
    "internal/catalogue/catalogue_test.go",
    "internal/controlapi/catalogue.go",
    "internal/controlapi/catalogue_read_integration_test.go",
    "internal/controlapi/me_doors.go",
    "internal/controlapi/me_doors_adapter_test.go",
    "internal/provision/health.go",
    "internal/provision/health_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/catalogue/... ./internal/provision/... ./internal/controlapi/...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/founding/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/founding -run ServiceCatalogueGolden -update",
      "exit_code": 0
    },
    {
      "command": "vitest run (dashboard: browseCatalogue, overviewCards, provisionDependencyGate)",
      "exit_code": 0
    },
    {
      "command": "vitest run (app: foundingServiceCatalogue, foundingCommunitySize)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "1. Description says what it adds and where (Files service named, product line kept)": "internal/catalogue/catalogue.go docs-editing Description = 'Adds creating and opening documents, spreadsheets and presentations inside Files & documents.'; Product stays 'Collabora Online'. Mirrored in dashboard fixtures (catalogue.ts, provision.ts), app golden (serviceCatalogue.golden.json), wireframe p4-s2b. Pinned by TestDocsEditing_IsAnAddOnToFiles.",
    "2. Door opens Files (files.<apex>), Collabora host never a door": "New generic catalogue.Service.DoorOf ('opens inside') with DoorOf: files on docs-editing; catalogue.DoorOf(slug) resolves it. P4-S5 card serviceDoor/serviceOpenTarget -> files (health.go), browse running-address -> files (catalogue.go installableEntry), member Portal draws no docs-editing door (me_doors.go liveDoors). Proven by TestServiceDoor_DocsEditingRidesTheFilesDoor, TestLiveDoors_AddOnOpensInsideHostAndDrawsNoDoor, TestCatalogueRead_DocsEditingGreysUntilFilesRunsThenRidesFilesDoor.",
    "3. Dependency copy: card states it needs Files; grey Install until Files running": "controlapi/catalogue.go dependencyGap greys Install to Unavailable (floor_met false) with 'needs Files & documents on the same fleet' until Files is placed (reads catalogue.Service.Needs, the #413 relation). Proven by TestCatalogueRead_DocsEditingGreysUntilFilesRunsThenRidesFilesDoor; wireframe card shows Unavailable + the needs-Files copy.",
    "4. Wireframe p4-provisioning catalogue card updated; Portal draws no docs-editing door": "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html catalogue-card description + Unavailable button + caption updated in the same commit (ADR 0122). Portal no-door proven by TestLiveDoors_AddOnOpensInsideHostAndDrawsNoDoor (#1372 class)."
  },
  "summary": "Document editing is made an add-on to Files: its card names what it adds and where, and a generic DoorOf 'opens inside' relation resolves every door surface to files.<apex> while the Portal draws no docs-editing door and the browse card greys Install until Files runs.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1719 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1719, "status": "success", "commits": [ "cd5305ff559df3f8d11fb8a0e6289a6096ffdf13" ], "changed_files": [ "STATUS.md", "app/src/lib/serviceCatalogue.golden.json", "dashboard/src/lib/catalogue.ts", "dashboard/src/lib/provision.ts", "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html", "internal/catalogue/catalogue.go", "internal/catalogue/catalogue_test.go", "internal/controlapi/catalogue.go", "internal/controlapi/catalogue_read_integration_test.go", "internal/controlapi/me_doors.go", "internal/controlapi/me_doors_adapter_test.go", "internal/provision/health.go", "internal/provision/health_test.go" ], "tests": [ { "command": "go test ./internal/catalogue/... ./internal/provision/... ./internal/controlapi/...", "exit_code": 0 }, { "command": "go test ./internal/founding/... ./control-plane/...", "exit_code": 0 }, { "command": "go test ./internal/founding -run ServiceCatalogueGolden -update", "exit_code": 0 }, { "command": "vitest run (dashboard: browseCatalogue, overviewCards, provisionDependencyGate)", "exit_code": 0 }, { "command": "vitest run (app: foundingServiceCatalogue, foundingCommunitySize)", "exit_code": 0 } ], "criteria": { "1. Description says what it adds and where (Files service named, product line kept)": "internal/catalogue/catalogue.go docs-editing Description = 'Adds creating and opening documents, spreadsheets and presentations inside Files & documents.'; Product stays 'Collabora Online'. Mirrored in dashboard fixtures (catalogue.ts, provision.ts), app golden (serviceCatalogue.golden.json), wireframe p4-s2b. Pinned by TestDocsEditing_IsAnAddOnToFiles.", "2. Door opens Files (files.<apex>), Collabora host never a door": "New generic catalogue.Service.DoorOf ('opens inside') with DoorOf: files on docs-editing; catalogue.DoorOf(slug) resolves it. P4-S5 card serviceDoor/serviceOpenTarget -> files (health.go), browse running-address -> files (catalogue.go installableEntry), member Portal draws no docs-editing door (me_doors.go liveDoors). Proven by TestServiceDoor_DocsEditingRidesTheFilesDoor, TestLiveDoors_AddOnOpensInsideHostAndDrawsNoDoor, TestCatalogueRead_DocsEditingGreysUntilFilesRunsThenRidesFilesDoor.", "3. Dependency copy: card states it needs Files; grey Install until Files running": "controlapi/catalogue.go dependencyGap greys Install to Unavailable (floor_met false) with 'needs Files & documents on the same fleet' until Files is placed (reads catalogue.Service.Needs, the #413 relation). Proven by TestCatalogueRead_DocsEditingGreysUntilFilesRunsThenRidesFilesDoor; wireframe card shows Unavailable + the needs-Files copy.", "4. Wireframe p4-provisioning catalogue card updated; Portal draws no docs-editing door": "docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html catalogue-card description + Unavailable button + caption updated in the same commit (ADR 0122). Portal no-door proven by TestLiveDoors_AddOnOpensInsideHostAndDrawsNoDoor (#1372 class)." }, "summary": "Document editing is made an add-on to Files: its card names what it adds and where, and a generic DoorOf 'opens inside' relation resolves every door surface to files.<apex> while the Portal draws no docs-editing door and the browse card greys Install until Files runs.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1719
No description provided.