Detect removed vCards and retire vanished CardDAV collections #18

Merged
piers merged 1 commit from feat/svd-dev-peoplemind-mcp-14-vcard-deletion-detection-and-v-07336e07 into main 2026-11-01 09:40:11 +00:00
Collaborator

Tombstone missing vCard links after readable, nonempty imports and append deletion counts to vCard summaries. Retire CardDAV collections after three successful absent passes, reset counters on return, and preserve shared records. Reuse existing link revival and group-tag refresh paths.

Add offline regression coverage for deletion, guards, retirement, discovery failures, revival, and group tags.

Validation: baseline 153 passed, 3 skipped; final 162 passed, 3 skipped. Target suites: 71 passed; filtered tests: 10 passed. Ruff lint/format, mypy, native build, and diff checks passed. Radicale tests skipped without host configuration.

Closes #14
Co-Authored-By: gpt-6.1-sol noreply@openai.com

Tombstone missing vCard links after readable, nonempty imports and append deletion counts to vCard summaries. Retire CardDAV collections after three successful absent passes, reset counters on return, and preserve shared records. Reuse existing link revival and group-tag refresh paths. Add offline regression coverage for deletion, guards, retirement, discovery failures, revival, and group tags. Validation: baseline 153 passed, 3 skipped; final 162 passed, 3 skipped. Target suites: 71 passed; filtered tests: 10 passed. Ruff lint/format, mypy, native build, and diff checks passed. Radicale tests skipped without host configuration. Closes #14 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Tombstone missing vCard links after readable, nonempty imports and append deletion counts to vCard summaries. Retire CardDAV collections after three successful absent passes, reset counters on return, and preserve shared records. Reuse existing link revival and group-tag refresh paths.

Add offline regression coverage for deletion, guards, retirement, discovery failures, revival, and group tags.

Validation: baseline 153 passed, 3 skipped; final 162 passed, 3 skipped. Target suites: 71 passed; filtered tests: 10 passed. Ruff lint/format, mypy, native build, and diff checks passed. Radicale tests skipped without host configuration.

Closes #14
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Owner

Architect verification on a scratch worktree at 7c3a167 (host voyager, 08:55Z):

  • Full suite: 162 passed, 3 skipped (Radicale, skipped without the env). mypy strict clean. ruff check and ruff format clean. uv lock --check clean. No nested .git.
  • Radicale host run with scripts/radicale.sh up (podman) and the three PEOPLEMIND_RADICALE_* exports: 3 passed in 4.93 s, none skipped, including deleted=1 in test_radicale_deletion_tombstones_link_keeps_person.
  • Combined with PR #19 on main: 173 passed, 3 skipped; mypy and ruff clean. No file overlap between the two PRs.

Review notes: the retirement path subtracts remaining from removed, so a record that still lives in a discovered collection is never tombstoned. The empty-import guard (and records) and the unreadable guard are both in run_pass. The vCard summary line gains deleted=D at its end only.

Ready for the operator to merge. ADR 0004 Amendment 1 (the N-pass rule and the empty-import guard) follows from the architect after merge.

Architect verification on a scratch worktree at 7c3a167 (host voyager, 08:55Z): - Full suite: 162 passed, 3 skipped (Radicale, skipped without the env). mypy strict clean. ruff check and ruff format clean. `uv lock --check` clean. No nested `.git`. - Radicale host run with `scripts/radicale.sh up` (podman) and the three `PEOPLEMIND_RADICALE_*` exports: 3 passed in 4.93 s, none skipped, including `deleted=1` in `test_radicale_deletion_tombstones_link_keeps_person`. - Combined with PR #19 on main: 173 passed, 3 skipped; mypy and ruff clean. No file overlap between the two PRs. Review notes: the retirement path subtracts `remaining` from `removed`, so a record that still lives in a discovered collection is never tombstoned. The empty-import guard (`and records`) and the `unreadable` guard are both in `run_pass`. The vCard summary line gains ` deleted=D` at its end only. Ready for the operator to merge. ADR 0004 Amendment 1 (the N-pass rule and the empty-import guard) follows from the architect after merge.
piers merged commit 2522123c69 into main 2026-11-01 09:40:11 +00:00
Sign in to join this conversation.
No description provided.