Run vCard sync continuously on configurable intervals #27

Merged
piers merged 1 commit from feat/svd-dev-peoplemind-mcp-25-vcard-only-sync-runs-forever-o-63b362b7 into main 2026-11-01 21:12:54 +00:00
Collaborator

Reuse boot-time vCard sources in interval workers and cache parsed files by mtime and size while preserving full snapshots and unreadable counts. Allow vCard-only continuous sync, retain the zero-source refusal, remove the deployment fixture override, and update the README and regression tests.

Validation: filtered tests passed (157); make check passed (258 passed, 5 skipped, 4 deselected). Standards self-review found no issues.

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

Reuse boot-time vCard sources in interval workers and cache parsed files by mtime and size while preserving full snapshots and unreadable counts. Allow vCard-only continuous sync, retain the zero-source refusal, remove the deployment fixture override, and update the README and regression tests. Validation: filtered tests passed (157); make check passed (258 passed, 5 skipped, 4 deselected). Standards self-review found no issues. Closes #25 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Reuse boot-time vCard sources in interval workers and cache parsed files by mtime and size while preserving full snapshots and unreadable counts. Allow vCard-only continuous sync, retain the zero-source refusal, remove the deployment fixture override, and update the README and regression tests.

Validation: filtered tests passed (157); make check passed (258 passed, 5 skipped, 4 deselected). Standards self-review found no issues.

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

Architect verification (host, scratch worktree at 60114e3, 2026-11-02)

codex-svd integrate for run 20261101T210627Z-63b362b7: readyForMerge true, no probe defects, 0 rework rounds. Host checks under podman 5.8.7 (podman machine, rootless), with the Nix store docker-compose 5.5.1 as the compose provider:

Check Result
uv run python3 -m pytest -m "not integration" 258 passed, 5 skipped, 4 deselected (baseline 252 plus the 6 new tests)
Spec fast lane (vcard_sync, config_cli, carddav, mailmind, embed) 157 passed, 2 skipped (baseline 151)
uv run mypy / ruff check / ruff format --check clean, 32 source files, 41 files formatted
uv lock --check unchanged, 107 packages
make image RUNTIME=podman built, model=ok
make test-integration RUNTIME=podman 4 passed with the sync --once override removed
sync container lifetime (podman events) started with api, ran until the fixture's down -v; no early exit

Review against the spec and the 8 gate rulings: met. Write set is exactly the ten Primary Files; tests/test_embed.py needed no edit. The per-file cache stats before reading, carries cached unreadable counts, never caches a failed read, and evicts vanished files, so the full snapshot and Amendment 1 deletion detection hold. The vCard worker reuses the boot instance and waits first; carddav and mailmind workers are unchanged. The CLI refuses only with zero Sources with the ruled message. One sync_log row per pass is kept (Open Risk 3). No ADR text (Open Risk 2: the architect records ADR 0004 Amendment 2 after merge). No secrets, logs unchanged.

Nit, not blocking: the PR body does not carry the "integration deferred to the architect host" sentence the gate asked for; the deviations list in the run result does. Integration is now proven above.

Ready for the operator merge.

## Architect verification (host, scratch worktree at 60114e3, 2026-11-02) `codex-svd integrate` for run `20261101T210627Z-63b362b7`: readyForMerge true, no probe defects, 0 rework rounds. Host checks under podman 5.8.7 (podman machine, rootless), with the Nix store docker-compose 5.5.1 as the compose provider: | Check | Result | |---|---| | `uv run python3 -m pytest -m "not integration"` | 258 passed, 5 skipped, 4 deselected (baseline 252 plus the 6 new tests) | | Spec fast lane (vcard_sync, config_cli, carddav, mailmind, embed) | 157 passed, 2 skipped (baseline 151) | | `uv run mypy` / `ruff check` / `ruff format --check` | clean, 32 source files, 41 files formatted | | `uv lock --check` | unchanged, 107 packages | | `make image RUNTIME=podman` | built, `model=ok` | | `make test-integration RUNTIME=podman` | 4 passed with the `sync --once` override removed | | sync container lifetime (podman events) | started with api, ran until the fixture's `down -v`; no early exit | **Review against the spec and the 8 gate rulings:** met. Write set is exactly the ten Primary Files; `tests/test_embed.py` needed no edit. The per-file cache stats before reading, carries cached unreadable counts, never caches a failed read, and evicts vanished files, so the full snapshot and Amendment 1 deletion detection hold. The vCard worker reuses the boot instance and waits first; carddav and mailmind workers are unchanged. The CLI refuses only with zero Sources with the ruled message. One `sync_log` row per pass is kept (Open Risk 3). No ADR text (Open Risk 2: the architect records ADR 0004 Amendment 2 after merge). No secrets, logs unchanged. Nit, not blocking: the PR body does not carry the "integration deferred to the architect host" sentence the gate asked for; the deviations list in the run result does. Integration is now proven above. Ready for the operator merge.
piers merged commit 60af04ea55 into main 2026-11-01 21:12:54 +00:00
Sign in to join this conversation.
No description provided.