catalogue port: Calendar & contacts (Radicale) — Files-gated, the Collabora pattern #1151
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#1151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Feature #1073; Ben's promotion ruling 2026-09-02, recorded in
docs/research/2026-09-01-catalogue-candidate-seed-list.md(the port-queuetable — read this ticket's service section there first; per-claim citations).
What to build
Service: Calendar & contacts · runs Radicale · category Work together.
services.radicaleexists — LOW cost. Ben's ruling 2026-09-02: this service is DEPENDENCY-GATED on Files & documents exactly as Document editing is (#413 / DDR 0146 gated-needs-files pattern) — it deploys only alongside a placed Files service; the S2 card greys with 'needs Files & documents' until then. Port-time wiring decision (research open question 11): which DAV endpoint external calendar/contacts clients point at (Radicale beside Nextcloud's own DAV) and how IdP accounts provision — decide at port time, record the decision on this ticket.An ADR 0062 catalogue port, shipped through the update channel, touching no
provisioning code: (1) the declarative NixOS unit + secrets via the clan
seam's AttachService; (2) the out-of-band reconciler for post-start
imperative provisioning (the Garage pattern) where the service needs one;
(3) the service's OWN HealthCheck proving real function (safe to re-run —
P4-S5x retry; Summary in operator vocabulary, never a stack trace) — plus
the catalogue Service entry: slug, name, MEASURED floor and steady-state
memory (never guessed — ADR 0030 discipline), roles (helper), access facts,
Product + ProductURL, and the DDR 0220 display facts (category, one-line
description, glyph; logo asset if curated).
Acceptance criteria
Blocked by
Blocked — needs a human design ruling (two crux decisions)
Attempted this port; it is blocked on two decisions I do not believe are mine
to rule as two-way doors under ADR 0174. Asked via
ask-human(thread
p75k8n3aqf8nxrres19e1mri9h) — no reply within the window, so parkinghere per the runbook. A late reply resumes that same thread.
1. DAV/IdP account provisioning — the load-bearing decision (research open question 11)
Radicale has no OIDC support. The IdP is Kanidm. Every existing
member-facing IDSS service authenticates through the IdP (OIDC / front-door
forward_auth). External CalDAV/CardDAV clients (phone calendar/contacts apps)cannot do interactive OIDC — they need a non-interactive credential path.
The realistic shapes:
out-of-band reconciler maintains (a new per-member credential store);
standalone Radicale daemon (then the port is essentially "enable Nextcloud
Calendar/Contacts", not a Radicale port at all).
Both (a) and (b) open a new credential surface / auth-posture — on
ADR 0174's one-way-door list (security-posture widening + personal
credentials). This also contradicts the docs-editing port's proud invariant
that a member-facing service "holds no non-OIDC credential". Which shape do
you want, and does it revise that invariant? This must be recorded here
before the card ships (the ticket says so, AC 7).
2. The dependency gate — the AC assumes a mechanism that does not exist
AC asks the S2 card to grey with "needs Files & documents" via "the same
mechanism as docs-editing, no parallel implementation." But there is no
such mechanism:
internal/provision/assess_test.go:199asserts docs-editing is ungated andselectable in P4-S2 with no Files placed (
"fits: 4 GB"). docs-editingis gated only by device headroom, never by a Files dependency.
dashboard fixture (
dashboard/src/lib/catalogue.ts:187), not a computedgate.
AttachDocsEditing/attachDocsEditing), with no selection-surface gate.So "the same mechanism as docs-editing" literally means deploy-time coupling,
no S2 gate. A real S2 dependency gate would be new provisioning/assess
code, which directly contradicts this ticket's declared scope ("touching no
provisioning code", "no provisioning/monitoring code change"). Which do you
want: (i) widen scope to build a generic Files-dependency gate in
provisioning, or (ii) match docs-editing literally (deploy-time coupling only;
the greyed card stays a dashboard fixture)?
Why human
Both are one-way-door calls: (1) picks a member-facing credential/auth-posture
for external DAV clients (new credential surface — not revertible-by-commit
without a security review), and (2) is a scope ruling on whether to build new
provisioning machinery the ticket explicitly excludes. Neither is provable by a
test I can run without first being told the intended shape. Re-arm by recording
the (1) auth shape and the (2) scope answer on this issue and re-adding
ready-for-agent.What I verified while here (so a re-arm starts warm)
services.radicaleexists (nixpkgs) — the declarative part is genuinely LOW cost.internal/clan/docsediting.go(render),
docsediting_attach.go(attach seam),internal/docseditingsvc/(member orbit — declares "no reconciler needed"),
servicehealth.go(healthcheck), catalogue entry in
internal/catalogue/catalogue.go, routing ininternal/provision/deploy.go(routedRenderService/renderShippingService/attachCatalogueService). Note the routing edits ARE provisioning code — theticket's "no provisioning code" scope claim does not hold for a genuinely
deployable/selectable port; that is part of decision (2).
measured directly once the auth shape (which decides whether a reconciler +
LDAP/htpasswd process runs beside it) is fixed.
Ruled by Ben (2026-09-03) — both cruxes:
This ticket is superseded: the Calendar & contacts promotion continues as #1174 (Nextcloud-DAV shape), the gate as #1173. Closing. Thank you for the honest park — both cruxes were exactly one-way doors, and the "same mechanism as docs-editing does not exist" finding was the sharper catch.