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
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1599
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?
Why
#1595 gave
docs-editinga 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 withCalendar:false), but it is still seam-proven only: no drive placescalendarat 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 besidefiles.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 ownocc app:liston the guest, before and after:files) ticks Calendar & contacts besidefiles;occ app:liston the guest showscalendar+contactsenabled after the tick;occ app:listshows them disabled/absent after — the #1589Calendar:falsere-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
filesup.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 smallcalendarinstall→occ app:list→remove→occ app:listleg pair, reusing that spec's existingguestExec/sshDroplettransport and its sign-indash. Harness-pin any new pure helper (thebrandreach.test.tspattern).Notes
docs-editing's live removal is proven by #1595'suninstall-from-card-docs-editingleg; this is the same GOTCHAS #207 closure for the last remaining seam-proven-only removal slug.Agent Brief
Category: enhancement
Summary: Add a live install→
occ app:list→remove→occ app:listleg 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>.nixmodule — it is a pair of Nextcloud apps (Calendar/Contacts) toggled by the files render'sFilesConfig.Calendarapp-enable oneshot. Its removal is seam-proven only: #1589 (771736b3) re-runs the files render withCalendar:false, and the deploy-side unit tests (TestDeploy_CalendarRemovalRerendersFilesWithoutTheApps,TestDeploy_FilesDocsCalendarRemovedTogetherEvaluates) assert the re-render. But no drive placescalendaron a real guest, so nothing proves theCalendar:falsere-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'suninstall-from-card-docs-editingleg; calendar is the remaining gap.Desired behavior:
A drive that already stands
filesup on a guest also ticks Calendar & contacts beside it, and asserts against Nextcloud's ownocc app:liston the guest before and after removal:occ app:listshowscalendarandcontactsenabled;occ app:listshowscalendarandcontactsdisabled/absent — i.e. theCalendar:falsere-render actually reached the guest.This is the cheap path deliberately: no second machine and no new door — the app toggle rides the existing
filesplacement, and the proof is anocc app:listread (not a systemd-unit read like docs-editing's coolwsd).Key interfaces / where to build:
fileson a guest. Candidate: the rented-services journey spec (it signs in and drives service ops on the gateway co-host) — confirm it standsfilesup before reusing it; if not, pick whichever rented-services / droplet drive does.occ app:listrun inside the guest (Nextcloud's occ CLI), parsed forcalendar/contactspresence in the enabled set.brandreach.test.tsfixture pattern already in the e2e tree.Acceptance criteria:
fileson a real guest.occ app:liston the guest showscalendarandcontactsenabled after the tick.occ app:listshowscalendarandcontactsdisabled/absent after removal.brandreach.test.tspattern); existing tests stay green.Out of scope:
journey.v2-fleet.spec.ts(#1595 deliberately kept it out of that slice's scope).filesplacement and transport.Calendar:falsere-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 thebrandreach.test.tsfixture pattern all exist inapp/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.swarm-claim host=bens-mac-04 run=26715
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1599 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
calendar-removered on the rented-services drive: a PLACED Calendar & contacts is forgotten by the change picker —deployedModuleFileshas nocalendarentry, somachineServicesnever derives it and P4-S2 opens with it unticked (the operator c… #1823