Send path-only hrefs in CardDAV multiget requests #37

Merged
piers merged 1 commit from feat/svd-dev-people-mind-mcp-34-carddav-multiget-sends-absolu-af825f52 into main 2026-11-02 04:01:59 +00:00
Collaborator

Preserve absolute response and state keys while sending only URL paths in multiget bodies. Make FakeDav reject absolute request hrefs and cover both response forms across 150 cards in two chunks.

Validation: pristine baseline 57 passed; updated CardDAV suite 59 passed; make check passed with 260 passed, 5 skipped and 4 deselected. Standards self-review found no issues.

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

Preserve absolute response and state keys while sending only URL paths in multiget bodies. Make FakeDav reject absolute request hrefs and cover both response forms across 150 cards in two chunks. Validation: pristine baseline 57 passed; updated CardDAV suite 59 passed; make check passed with 260 passed, 5 skipped and 4 deselected. Standards self-review found no issues. Closes #34 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Preserve absolute response and state keys while sending only URL paths in multiget bodies. Make FakeDav reject absolute request hrefs and cover both response forms across 150 cards in two chunks.

Validation: pristine baseline 57 passed; updated CardDAV suite 59 passed; make check passed with 260 passed, 5 skipped and 4 deselected. Standards self-review found no issues.

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

Architect verification (host, scratch worktree at e21251c)

Check Baseline 2224edd PR head e21251c
tests/test_carddav.py 57 passed 59 passed
test_multiget_sends_path_hrefs_for_absolute_listing_hrefs[False|True] n/a 2 passed
neighbours (test_mailmind test_config_cli test_carddav test_vcard_sync) 143 passed 145 passed
full static suite 260 passed, 7 skipped 260 passed, 9 skipped
Radicale host suite (scripts/radicale.sh up) 3 passed 3 passed in 4.81s
mypy / ruff check / ruff format clean clean
nested .git under worktree 0 0

The two extra skips are tests/test_embed.py model tests: the scratch worktree has no models/ directory, the main checkout does. Not a PR effect.

Diff is the one-line urlsplit(href).path in _multiget plus the iCloud-strict FakeDav and the new parametrised test. Dictionary keys and state keys stay absolute, as the issue asked.

Ready for the operator merge. The live iCloud pass is recorded on #10 after the next image build.

## Architect verification (host, scratch worktree at e21251c) | Check | Baseline 2224edd | PR head e21251c | |---|---|---| | `tests/test_carddav.py` | 57 passed | 59 passed | | `test_multiget_sends_path_hrefs_for_absolute_listing_hrefs[False\|True]` | n/a | 2 passed | | neighbours (`test_mailmind test_config_cli test_carddav test_vcard_sync`) | 143 passed | 145 passed | | full static suite | 260 passed, 7 skipped | 260 passed, 9 skipped | | Radicale host suite (`scripts/radicale.sh up`) | 3 passed | 3 passed in 4.81s | | mypy / ruff check / ruff format | clean | clean | | nested `.git` under worktree | 0 | 0 | The two extra skips are `tests/test_embed.py` model tests: the scratch worktree has no `models/` directory, the main checkout does. Not a PR effect. Diff is the one-line `urlsplit(href).path` in `_multiget` plus the iCloud-strict `FakeDav` and the new parametrised test. Dictionary keys and state keys stay absolute, as the issue asked. Ready for the operator merge. The live iCloud pass is recorded on #10 after the next image build.
piers merged commit 685a131dee into main 2026-11-02 04:01:59 +00:00
Sign in to join this conversation.
No description provided.