catalogue port: Calendar & contacts via Nextcloud's own DAV — no Radicale daemon (supersedes #1151) #1174

Closed
opened 2026-09-02 23:14:56 +00:00 by ben · 2 comments
Owner

Parent

Feature #1073; Ben's ruling 2026-09-03 on #1151 (question 1, option c): drop the standalone Radicale daemon — external CalDAV/CardDAV clients point at Nextcloud's own DAV. Supersedes #1151 (closed with the ruling recorded).

What to build

The Calendar & contacts catalogue entry stays (Ben's installable-today promotion stands) but its substance becomes: enable Nextcloud's built-in Calendar and Contacts apps on the placed Files & documents service, and surface the DAV endpoints for external clients. No new daemon, no new credential surface: members reach Calendar/Contacts in the browser via the existing IdP-gated files door, and external phone/desktop DAV clients authenticate with Nextcloud app passwords minted in Nextcloud's own settings (within the files service's existing posture — no htpasswd store, no LDAP bind, nothing copied outside).

  • Catalogue entry: Product = Nextcloud (built-in apps), Category = Work together, declares needs: files for the dependency gate (#1173)
  • Render/reconciler: enabling the two apps on the files node (occ-style reconciler step per the files port's pattern), idempotent
  • HealthCheck (real function): create a fixture calendar event over CalDAV as an authenticated member and read it back; a keeps-nothing DAV and an anonymous read both fail the check
  • The S5 card's door row points at the calendar UI; card copy names the DAV endpoints for external clients honestly

Acceptance criteria

  • Ticking Calendar & contacts with Files placed deploys nothing new besides the app-enable reconciliation — and with no Files placed the S2 card greys via the real gate (#1173)
  • HealthCheck writes and reads back a fixture event over CalDAV (member-authenticated); safe to re-run
  • External-client path documented on the card: DAV URL + app-password minting in Nextcloud settings; no credential exists outside the files service/IdP posture
  • Catalogue entry carries measured-or-provisional-marked steady numbers per the arc convention (this is app-enable on an existing service — expected ~0 admission delta, say so honestly)

Blocked by

  • #1173 (the dependency gate is the selection-surface mechanism this card relies on)
## Parent Feature #1073; Ben's ruling 2026-09-03 on #1151 (question 1, option c): drop the standalone Radicale daemon — external CalDAV/CardDAV clients point at **Nextcloud's own DAV**. Supersedes #1151 (closed with the ruling recorded). ## What to build The **Calendar & contacts** catalogue entry stays (Ben's installable-today promotion stands) but its substance becomes: enable Nextcloud's built-in **Calendar and Contacts apps** on the placed Files & documents service, and surface the DAV endpoints for external clients. No new daemon, no new credential surface: members reach Calendar/Contacts in the browser via the existing IdP-gated files door, and external phone/desktop DAV clients authenticate with **Nextcloud app passwords** minted in Nextcloud's own settings (within the files service's existing posture — no htpasswd store, no LDAP bind, nothing copied outside). - Catalogue entry: Product = Nextcloud (built-in apps), Category = Work together, declares `needs: files` for the dependency gate (#1173) - Render/reconciler: enabling the two apps on the files node (occ-style reconciler step per the files port's pattern), idempotent - HealthCheck (real function): create a fixture calendar event over CalDAV as an authenticated member and read it back; a keeps-nothing DAV and an anonymous read both fail the check - The S5 card's door row points at the calendar UI; card copy names the DAV endpoints for external clients honestly ## Acceptance criteria - [ ] Ticking Calendar & contacts with Files placed deploys nothing new besides the app-enable reconciliation — and with no Files placed the S2 card greys via the real gate (#1173) - [ ] HealthCheck writes and reads back a fixture event over CalDAV (member-authenticated); safe to re-run - [ ] External-client path documented on the card: DAV URL + app-password minting in Nextcloud settings; no credential exists outside the files service/IdP posture - [ ] Catalogue entry carries measured-or-provisional-marked steady numbers per the arc convention (this is app-enable on an existing service — expected ~0 admission delta, say so honestly) ## Blocked by - #1173 (the dependency gate is the selection-surface mechanism this card relies on)

swarm-claim host=matou-dev-server-01 run=16672
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=16672 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1174 — status success

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

envelope
{
  "issue": 1174,
  "status": "success",
  "commits": [
    "57d701c5"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/calendarhealth.go",
    "control-plane/cmd/control-plane/compose.go",
    "control-plane/cmd/control-plane/main.go",
    "control-plane/cmd/control-plane/provision_calendar_health_test.go",
    "control-plane/cmd/control-plane/whole_composition.go",
    "dashboard/src/components/provisioning/ActiveScreen.vue",
    "dashboard/src/lib/provision.ts",
    "dashboard/tests/unit/provisionActive.test.ts",
    "internal/catalogue/catalogue.go",
    "internal/clan/files.go",
    "internal/clan/files_attach.go",
    "internal/clan/files_attach_test.go",
    "internal/clan/files_test.go",
    "internal/provision/deploy.go",
    "internal/provision/deploy_test.go",
    "internal/provision/health.go",
    "internal/provision/health_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command gofmt -l internal/ control-plane/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go vet ./internal/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm vitest run",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm vue-tsc --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Ticking Calendar & contacts with Files placed deploys nothing new besides the app-enable reconciliation — and with no Files placed the S2 card greys via the real gate (#1173)": "Catalogue entry declares Needs:[{files,...}] so the generic #1173 gate greys the S2 card with no gate change (internal/catalogue/catalogue.go); the deploy re-runs the files render with FilesConfig.Calendar to grow only the nextcloud-calendar occ app-enable oneshot — no new daemon/module (internal/clan/files.go renderNextcloudCalendar; internal/provision/deploy.go attachCalendar). Pins: TestRenderFiles_CalendarEnablesBuiltinApps (+ no new daemon), TestRenderFiles_NoCalendarNoAppEnable (files-alone byte-identical), TestDeploy_CalendarDrivesTheFilesRenderNotAPhantomInventory (no phantom clan-core instance).",
    "HealthCheck writes and reads back a fixture event over CalDAV (member-authenticated); safe to re-run": "calendarHealthCheck authenticates as the member with a Nextcloud app password, MKCALENDAR + PUTs a fixture VEVENT, GETs it back, and confirms an anonymous read is refused (control-plane/cmd/control-plane/calendarhealth.go; registered in whole_composition.go). Pins: TestCalendarHealthCheck_KeepsAnEventAndRefusesAnonymous, _KeepsNothingFails, _AnonymousReadServedFails, _WrongCredentialFails, _ReRunSafe (provision_calendar_health_test.go).",
    "External-client path documented on the card: DAV URL + app-password minting in Nextcloud settings; no credential exists outside the files service/IdP posture": "ServiceHealth.ExternalClients (serviceExternalClients, internal/provision/health.go) names files.<apex>/remote.php/dav + app-password minting in Nextcloud settings; the S5 door row points at files.<apex>/apps/calendar (serviceDoor/serviceOpenTarget special-case). The health check uses the member's Nextcloud app password (no new credential surface). Pins: TestServiceDoor_CalendarRidesTheFilesDoorAndNamesTheDAV (Go), provisionActive.test.ts calendar card (dashboard, external-clients note + door).",
    "Catalogue entry carries measured-or-provisional-marked steady numbers per the arc convention (this is app-enable on an existing service — expected ~0 admission delta, say so honestly)": "The calendar Service sets SteadyMemBytes: 0 with the honest comment that app-enable on the running Nextcloud is a ~0 admission delta (provisional, ADR 0030), and floor = the files floor since it rides the files node (internal/catalogue/catalogue.go)."
  },
  "summary": "Calendar & contacts ships as Nextcloud's built-in Calendar/Contacts apps enabled on the files node (needs:files), with a CalDAV health check and an S5 card door + DAV-endpoint copy — no standalone Radicale daemon.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1174 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1174, "status": "success", "commits": [ "57d701c5" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/calendarhealth.go", "control-plane/cmd/control-plane/compose.go", "control-plane/cmd/control-plane/main.go", "control-plane/cmd/control-plane/provision_calendar_health_test.go", "control-plane/cmd/control-plane/whole_composition.go", "dashboard/src/components/provisioning/ActiveScreen.vue", "dashboard/src/lib/provision.ts", "dashboard/tests/unit/provisionActive.test.ts", "internal/catalogue/catalogue.go", "internal/clan/files.go", "internal/clan/files_attach.go", "internal/clan/files_attach_test.go", "internal/clan/files_test.go", "internal/provision/deploy.go", "internal/provision/deploy_test.go", "internal/provision/health.go", "internal/provision/health_test.go" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/... ./control-plane/...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command gofmt -l internal/ control-plane/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go vet ./internal/... ./control-plane/...", "exit_code": 0 }, { "command": "CI=true pnpm vitest run", "exit_code": 0 }, { "command": "CI=true pnpm vue-tsc --noEmit", "exit_code": 0 } ], "criteria": { "Ticking Calendar & contacts with Files placed deploys nothing new besides the app-enable reconciliation — and with no Files placed the S2 card greys via the real gate (#1173)": "Catalogue entry declares Needs:[{files,...}] so the generic #1173 gate greys the S2 card with no gate change (internal/catalogue/catalogue.go); the deploy re-runs the files render with FilesConfig.Calendar to grow only the nextcloud-calendar occ app-enable oneshot — no new daemon/module (internal/clan/files.go renderNextcloudCalendar; internal/provision/deploy.go attachCalendar). Pins: TestRenderFiles_CalendarEnablesBuiltinApps (+ no new daemon), TestRenderFiles_NoCalendarNoAppEnable (files-alone byte-identical), TestDeploy_CalendarDrivesTheFilesRenderNotAPhantomInventory (no phantom clan-core instance).", "HealthCheck writes and reads back a fixture event over CalDAV (member-authenticated); safe to re-run": "calendarHealthCheck authenticates as the member with a Nextcloud app password, MKCALENDAR + PUTs a fixture VEVENT, GETs it back, and confirms an anonymous read is refused (control-plane/cmd/control-plane/calendarhealth.go; registered in whole_composition.go). Pins: TestCalendarHealthCheck_KeepsAnEventAndRefusesAnonymous, _KeepsNothingFails, _AnonymousReadServedFails, _WrongCredentialFails, _ReRunSafe (provision_calendar_health_test.go).", "External-client path documented on the card: DAV URL + app-password minting in Nextcloud settings; no credential exists outside the files service/IdP posture": "ServiceHealth.ExternalClients (serviceExternalClients, internal/provision/health.go) names files.<apex>/remote.php/dav + app-password minting in Nextcloud settings; the S5 door row points at files.<apex>/apps/calendar (serviceDoor/serviceOpenTarget special-case). The health check uses the member's Nextcloud app password (no new credential surface). Pins: TestServiceDoor_CalendarRidesTheFilesDoorAndNamesTheDAV (Go), provisionActive.test.ts calendar card (dashboard, external-clients note + door).", "Catalogue entry carries measured-or-provisional-marked steady numbers per the arc convention (this is app-enable on an existing service — expected ~0 admission delta, say so honestly)": "The calendar Service sets SteadyMemBytes: 0 with the honest comment that app-enable on the running Nextcloud is a ~0 admission delta (provisional, ADR 0030), and floor = the files floor since it rides the files node (internal/catalogue/catalogue.go)." }, "summary": "Calendar & contacts ships as Nextcloud's built-in Calendar/Contacts apps enabled on the files node (needs:files), with a CalDAV health check and an S5 card door + DAV-endpoint copy — no standalone Radicale daemon.", "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.

Reference
Matou/idss#1174
No description provided.