calendar & contacts: prove the removal actually LEAVES the guest — an occ app:list before/after leg on a files-bearing drive (#1589 is seam-proven only for calendar) #1599

Closed
opened 2026-09-18 19:15:41 +00:00 by matou-build-agent · 3 comments

Why

#1595 gave docs-editing a real install-then-remove drive leg (the v2-fleet two-machine build). Its sibling slug Calendar & contacts got the same seam-level removal in #1589 (771736b3 — the files render re-runs with Calendar:false), but it is still seam-proven only: no drive places calendar at all, so nothing installs-then-removes it live (the GOTCHAS #207 class — a removal that greens on the card while the app stays enabled on the guest).

#1595 deliberately did not add calendar to journey.v2-fleet.spec.ts (out of that slice's scope) and asked whether a drive can cheaply tick it beside files.

The cheap path (why this is small)

Calendar & contacts ships no module — it is a pair of Nextcloud apps toggled in the files render (Calendar / Contacts), not a <slug>.nix. So the proof is not a systemd-unit read like docs-editing's coolwsd; it is Nextcloud's own occ app:list on the guest, before and after:

  • a files-bearing drive (any of the rented-services / droplet drives that stand up files) ticks Calendar & contacts beside files;
  • occ app:list on the guest shows calendar + contacts enabled after the tick;
  • the change-journey (or card) removal unticks it;
  • occ app:list shows them disabled/absent after — the #1589 Calendar:false re-render actually reached the box.

This is cheap because it needs no second machine and no new door: the app toggle rides the existing files placement on whatever drive already stands files up.

What to build

Pick the cheapest host drive that already places files (candidate: journey.rented-services.spec.ts, which signs in and drives service ops on the gateway co-host) and add a small calendar install→occ app:list→remove→occ app:list leg pair, reusing that spec's existing guestExec/sshDroplet transport and its sign-in dash. Harness-pin any new pure helper (the brandreach.test.ts pattern).

Notes

  • Filed by #1595 per its close-report instruction ("if a drive can cheaply tick calendar beside files, file it as its own ticket").
  • docs-editing's live removal is proven by #1595's uninstall-from-card-docs-editing leg; this is the same GOTCHAS #207 closure for the last remaining seam-proven-only removal slug.
## Why #1595 gave `docs-editing` a real install-then-remove drive leg (the v2-fleet two-machine build). Its sibling slug **Calendar & contacts** got the same seam-level removal in #1589 (`771736b3` — the files render re-runs with `Calendar:false`), but it is **still seam-proven only**: no drive places `calendar` at all, so nothing installs-then-removes it live (the GOTCHAS #207 class — a removal that greens on the card while the app stays enabled on the guest). #1595 deliberately did **not** add calendar to `journey.v2-fleet.spec.ts` (out of that slice's scope) and asked whether a drive can *cheaply* tick it beside `files`. ## The cheap path (why this is small) Calendar & contacts **ships no module** — it is a pair of Nextcloud apps toggled in the files render (`Calendar` / `Contacts`), not a `<slug>.nix`. So the proof is not a systemd-unit read like docs-editing's coolwsd; it is **Nextcloud's own `occ app:list` on the guest, before and after**: - a files-bearing drive (any of the rented-services / droplet drives that stand up `files`) ticks Calendar & contacts beside `files`; - `occ app:list` on the guest shows `calendar` + `contacts` **enabled** after the tick; - the change-journey (or card) removal unticks it; - `occ app:list` shows them **disabled/absent** after — the #1589 `Calendar:false` re-render actually reached the box. This is cheap because it needs no second machine and no new door: the app toggle rides the existing files placement on whatever drive already stands `files` up. ## What to build Pick the cheapest host drive that already places `files` (candidate: `journey.rented-services.spec.ts`, which signs in and drives service ops on the gateway co-host) and add a small `calendar` install→`occ app:list`→remove→`occ app:list` leg pair, reusing that spec's existing `guestExec`/`sshDroplet` transport and its sign-in `dash`. Harness-pin any new pure helper (the `brandreach.test.ts` pattern). ## Notes - Filed by #1595 per its close-report instruction ("if a drive can cheaply tick calendar beside files, file it as its own ticket"). - `docs-editing`'s live removal is proven by #1595's `uninstall-from-card-docs-editing` leg; this is the same GOTCHAS #207 closure for the last remaining seam-proven-only removal slug.
Author
Member

This was generated by AI during triage.

Agent Brief

Category: enhancement
Summary: Add a live install→occ app:list→remove→occ app:list leg pair for Calendar & contacts on a files-bearing drive, so the last seam-proven-only removal slug (#1589) is proven to actually leave the guest (closes the GOTCHAS #207 class for this slug).

Current behavior:
Calendar & contacts ships no <slug>.nix module — it is a pair of Nextcloud apps (Calendar / Contacts) toggled by the files render's FilesConfig.Calendar app-enable oneshot. Its removal is seam-proven only: #1589 (771736b3) re-runs the files render with Calendar:false, and the deploy-side unit tests (TestDeploy_CalendarRemovalRerendersFilesWithoutTheApps, TestDeploy_FilesDocsCalendarRemovedTogetherEvaluates) assert the re-render. But no drive places calendar on a real guest, so nothing proves the Calendar:false re-render actually reaches the box and disables the apps — the exact #207 hazard (a removal that greens on the card while the app stays enabled on the guest). docs-editing's sibling removal got its live proof in #1595's uninstall-from-card-docs-editing leg; calendar is the remaining gap.

Desired behavior:
A drive that already stands files up on a guest also ticks Calendar & contacts beside it, and asserts against Nextcloud's own occ app:list on the guest before and after removal:

  • after the tick, occ app:list shows calendar and contacts enabled;
  • the change-journey (or card) removal unticks Calendar & contacts;
  • after the removal, occ app:list shows calendar and contacts disabled/absent — i.e. the Calendar:false re-render actually reached the guest.

This is the cheap path deliberately: no second machine and no new door — the app toggle rides the existing files placement, and the proof is an occ app:list read (not a systemd-unit read like docs-editing's coolwsd).

Key interfaces / where to build:

  • Pick the cheapest existing drive that already places files on a guest. Candidate: the rented-services journey spec (it signs in and drives service ops on the gateway co-host) — confirm it stands files up before reusing it; if not, pick whichever rented-services / droplet drive does.
  • Reuse that spec's existing guest-exec / SSH-to-droplet transport and its signed-in dashboard handle rather than standing up new plumbing.
  • The assertion is occ app:list run inside the guest (Nextcloud's occ CLI), parsed for calendar / contacts presence in the enabled set.
  • Harness-pin any new pure helper you extract, following the brandreach.test.ts fixture pattern already in the e2e tree.

Acceptance criteria:

  • A files-bearing drive ticks Calendar & contacts beside files on a real guest.
  • The drive asserts occ app:list on the guest shows calendar and contacts enabled after the tick.
  • The drive removes Calendar & contacts via the change-journey/card removal path.
  • The drive asserts occ app:list shows calendar and contacts disabled/absent after removal.
  • Any new pure helper is harness-pinned (the brandreach.test.ts pattern); existing tests stay green.

Out of scope:

  • Adding calendar to journey.v2-fleet.spec.ts (#1595 deliberately kept it out of that slice's scope).
  • Introducing a second machine or a new door — this must ride the existing files placement and transport.
  • Re-proving the seam-level Calendar:false re-render (already covered by #1589's deploy tests); this ticket is only the live guest-side proof.
  • docs-editing's removal (already live-proven by #1595).

Filed by #1595 per its close-report instruction. Referenced specs (journey.rented-services.spec.ts, journey.v2-fleet.spec.ts) and the brandreach.test.ts fixture pattern all exist in app/tests/e2e/; GOTCHAS #1589/#207 confirm the seam-proven-only status. No design-tier artifact is referenced, and there is no human-only residue — this is straightforward drive-coverage work → ready-for-agent.

> *This was generated by AI during triage.* ## Agent Brief **Category:** enhancement **Summary:** Add a live install→`occ app:list`→remove→`occ app:list` leg pair for **Calendar & contacts** on a files-bearing drive, so the last seam-proven-only removal slug (#1589) is proven to actually leave the guest (closes the GOTCHAS #207 class for this slug). **Current behavior:** Calendar & contacts ships no `<slug>.nix` module — it is a pair of Nextcloud apps (`Calendar` / `Contacts`) toggled by the files render's `FilesConfig.Calendar` app-enable oneshot. Its removal is **seam-proven only**: #1589 (`771736b3`) re-runs the files render with `Calendar:false`, and the deploy-side unit tests (`TestDeploy_CalendarRemovalRerendersFilesWithoutTheApps`, `TestDeploy_FilesDocsCalendarRemovedTogetherEvaluates`) assert the re-render. But **no drive places `calendar` on a real guest**, so nothing proves the `Calendar:false` re-render actually reaches the box and disables the apps — the exact #207 hazard (a removal that greens on the card while the app stays enabled on the guest). `docs-editing`'s sibling removal got its live proof in #1595's `uninstall-from-card-docs-editing` leg; calendar is the remaining gap. **Desired behavior:** A drive that already stands `files` up on a guest also ticks Calendar & contacts beside it, and asserts against Nextcloud's own `occ app:list` on the guest before and after removal: - after the tick, `occ app:list` shows `calendar` **and** `contacts` **enabled**; - the change-journey (or card) removal unticks Calendar & contacts; - after the removal, `occ app:list` shows `calendar` and `contacts` **disabled/absent** — i.e. the `Calendar:false` re-render actually reached the guest. This is the cheap path deliberately: no second machine and no new door — the app toggle rides the existing `files` placement, and the proof is an `occ app:list` read (not a systemd-unit read like docs-editing's coolwsd). **Key interfaces / where to build:** - Pick the cheapest existing drive that already places `files` on a guest. Candidate: the rented-services journey spec (it signs in and drives service ops on the gateway co-host) — confirm it stands `files` up before reusing it; if not, pick whichever rented-services / droplet drive does. - Reuse that spec's existing guest-exec / SSH-to-droplet transport and its signed-in dashboard handle rather than standing up new plumbing. - The assertion is `occ app:list` run inside the guest (Nextcloud's occ CLI), parsed for `calendar` / `contacts` presence in the enabled set. - Harness-pin any new pure helper you extract, following the `brandreach.test.ts` fixture pattern already in the e2e tree. **Acceptance criteria:** - [ ] A files-bearing drive ticks Calendar & contacts beside `files` on a real guest. - [ ] The drive asserts `occ app:list` on the guest shows `calendar` and `contacts` **enabled** after the tick. - [ ] The drive removes Calendar & contacts via the change-journey/card removal path. - [ ] The drive asserts `occ app:list` shows `calendar` and `contacts` **disabled/absent** after removal. - [ ] Any new pure helper is harness-pinned (the `brandreach.test.ts` pattern); existing tests stay green. **Out of scope:** - Adding calendar to `journey.v2-fleet.spec.ts` (#1595 deliberately kept it out of that slice's scope). - Introducing a second machine or a new door — this must ride the existing `files` placement and transport. - Re-proving the seam-level `Calendar:false` re-render (already covered by #1589's deploy tests); this ticket is only the live guest-side proof. - `docs-editing`'s removal (already live-proven by #1595). --- Filed by #1595 per its close-report instruction. Referenced specs (`journey.rented-services.spec.ts`, `journey.v2-fleet.spec.ts`) and the `brandreach.test.ts` fixture pattern all exist in `app/tests/e2e/`; GOTCHAS #1589/#207 confirm the seam-proven-only status. No design-tier artifact is referenced, and there is no human-only residue — this is straightforward drive-coverage work → `ready-for-agent`.
Author
Member

swarm-claim host=bens-mac-04 run=26715
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=26715 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1599 — status success

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

envelope
{
  "issue": 1599,
  "status": "success",
  "commits": [
    "03c9a4e0"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/calendarRemoval.test.ts",
    "app/tests/e2e/fixtures/calendarRemoval.ts",
    "app/tests/e2e/fixtures/rentedServices.test.ts",
    "app/tests/e2e/fixtures/rentedServices.ts",
    "app/tests/e2e/journey.rented-services.spec.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/e2e/fixtures/calendarRemoval.test.ts tests/e2e/fixtures/rentedServices.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/e2e/fixtures/ (all 30 e2e-fixture pins, 516 tests)",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A files-bearing drive ticks Calendar & contacts beside files on a real guest": "journey.rented-services.spec.ts calendar-install leg: openGatewayChange(dash) + selectServiceOnGateway(dash, 'calendar') (roleDoors slug form, no headroom assert) + confirmPlainDeploy + waitForDeployActive, riding the files placement the standing drive already stands up on the rented gateway co-host",
    "The drive asserts occ app:list on the guest shows calendar and contacts enabled after the tick": "calendar-install leg ends with expectCalendarAppsEnabledOnGuest(occOnGuest) — calendarRemoval.ts runs `nextcloud-occ app:list --output=json` over sshDropletStdout(dropletIP, rentOperatorKey) and rules calendar+contacts both in the enabled set",
    "The drive removes Calendar & contacts via the change-journey/card removal path": "calendar-remove leg: unselectServiceOnGateway(dash, CALENDAR_SERVICE) + confirmRemoveDeploy(dash, CALENDAR_SERVICE) (a no-loss plain deploy with a REMOVES row, #1281) + waitForDeployActive + expectServiceGone(dash, CALENDAR_SERVICE)",
    "The drive asserts occ app:list shows calendar and contacts disabled/absent after removal": "calendar-remove leg ends with expectCalendarAppsGoneFromGuest(occOnGuest) IN THE SAME LEG as the untick (GOTCHAS #207 / #1351) — appGone treats both absent and disabled as gone; pinned in calendarRemoval.test.ts",
    "Any new pure helper is harness-pinned (the brandreach.test.ts pattern); existing tests stay green": "calendarRemoval.test.ts pins occAppListCommand/parseOccAppList/appEnabled/appGone/the two verdict rulers + the spec leg wiring & ordering; rentedServices.test.ts updated (20->22 legs, calendar leg ordering); all 30 e2e-fixture pin files green (516 tests), vue-tsc 0 errors"
  },
  "summary": "Added standing-drive calendar-install/calendar-remove legs to the rented-services drive that tick Calendar & contacts beside Files and prove enable/disable against the guest's own occ app:list, closing the GOTCHAS #207 seam-proven-only class for the last removal slug.",
  "blockers": []
}
**close-report** for #1599 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1599, "status": "success", "commits": [ "03c9a4e0" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/calendarRemoval.test.ts", "app/tests/e2e/fixtures/calendarRemoval.ts", "app/tests/e2e/fixtures/rentedServices.test.ts", "app/tests/e2e/fixtures/rentedServices.ts", "app/tests/e2e/journey.rented-services.spec.ts" ], "tests": [ { "command": "npx vitest run tests/e2e/fixtures/calendarRemoval.test.ts tests/e2e/fixtures/rentedServices.test.ts", "exit_code": 0 }, { "command": "npx vitest run tests/e2e/fixtures/ (all 30 e2e-fixture pins, 516 tests)", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 } ], "criteria": { "A files-bearing drive ticks Calendar & contacts beside files on a real guest": "journey.rented-services.spec.ts calendar-install leg: openGatewayChange(dash) + selectServiceOnGateway(dash, 'calendar') (roleDoors slug form, no headroom assert) + confirmPlainDeploy + waitForDeployActive, riding the files placement the standing drive already stands up on the rented gateway co-host", "The drive asserts occ app:list on the guest shows calendar and contacts enabled after the tick": "calendar-install leg ends with expectCalendarAppsEnabledOnGuest(occOnGuest) — calendarRemoval.ts runs `nextcloud-occ app:list --output=json` over sshDropletStdout(dropletIP, rentOperatorKey) and rules calendar+contacts both in the enabled set", "The drive removes Calendar & contacts via the change-journey/card removal path": "calendar-remove leg: unselectServiceOnGateway(dash, CALENDAR_SERVICE) + confirmRemoveDeploy(dash, CALENDAR_SERVICE) (a no-loss plain deploy with a REMOVES row, #1281) + waitForDeployActive + expectServiceGone(dash, CALENDAR_SERVICE)", "The drive asserts occ app:list shows calendar and contacts disabled/absent after removal": "calendar-remove leg ends with expectCalendarAppsGoneFromGuest(occOnGuest) IN THE SAME LEG as the untick (GOTCHAS #207 / #1351) — appGone treats both absent and disabled as gone; pinned in calendarRemoval.test.ts", "Any new pure helper is harness-pinned (the brandreach.test.ts pattern); existing tests stay green": "calendarRemoval.test.ts pins occAppListCommand/parseOccAppList/appEnabled/appGone/the two verdict rulers + the spec leg wiring & ordering; rentedServices.test.ts updated (20->22 legs, calendar leg ordering); all 30 e2e-fixture pin files green (516 tests), vue-tsc 0 errors" }, "summary": "Added standing-drive calendar-install/calendar-remove legs to the rented-services drive that tick Calendar & contacts beside Files and prove enable/disable against the guest's own occ app:list, closing the GOTCHAS #207 seam-proven-only class for the last removal slug.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1599
No description provided.