Train AO: contact notes ⇄ vCard, lossless (calternaldav contacts piece 1) #653

Closed
kayg wants to merge 0 commits from train/2026-10-21ao into dev
Owner

Train AO ran the full suite at 80f0516 (run ao4): fmt, clippy, workspace tests, the build, svelte-check, every Playwright project in parallel shards: admin 39, cr1440 298, cr390 233+197, wk1440 136+162, wk390 141+180+112, small 19 — all passed, 0 failed.

Earlier runs: ao1 failed notes_crash kill_nine_never_loses_or_doubles (500); ao2 and the shard rerun ao3 had scattered browser crashes and ENOSPC. Cause: the build host's /tmp tmpfs was 87% full and / was 98% full (host cleanup, not a code issue). The 500 is tracked on #652 (history write failing with SQLITE_FULL; fix in review). This train changes no web or server code.

Contents (#645, ADR 0063):

  • New pure crate crates/contacts: contact note ⇄ vCard, lossless. Card = first bullet list under the H1; single facts one line; repeatable kinds only in grouped form; one line per address; links Name; ISO dates (--MM-DD year-less); everything from ## Notes to EOF is the phone's NOTE byte-exact.
  • Unknown vCard lines are kept from the original card bytes (app data) and go back unchanged; ambiguous edits: the phone's group wins, the replaced lines go to history with a notice.
  • Break-tested: round trips, hand edits, conflicts, generated cards; 1,000 contacts in ~40 ms.
  • Not wired to the server or CardDAV yet; production is unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk

Train AO ran the full suite at 80f0516 (run ao4): fmt, clippy, workspace tests, the build, svelte-check, every Playwright project in parallel shards: admin 39, cr1440 298, cr390 233+197, wk1440 136+162, wk390 141+180+112, small 19 — all passed, 0 failed. Earlier runs: ao1 failed notes_crash kill_nine_never_loses_or_doubles (500); ao2 and the shard rerun ao3 had scattered browser crashes and ENOSPC. Cause: the build host's /tmp tmpfs was 87% full and / was 98% full (host cleanup, not a code issue). The 500 is tracked on #652 (history write failing with SQLITE_FULL; fix in review). This train changes no web or server code. Contents (#645, ADR 0063): - New pure crate crates/contacts: contact note ⇄ vCard, lossless. Card = first bullet list under the H1; single facts one line; repeatable kinds only in grouped form; one line per address; links [Name](<Name.md>); ISO dates (--MM-DD year-less); everything from ## Notes to EOF is the phone's NOTE byte-exact. - Unknown vCard lines are kept from the original card bytes (app data) and go back unchanged; ambiguous edits: the phone's group wins, the replaced lines go to history with a notice. - Break-tested: round trips, hand edits, conflicts, generated cards; 1,000 contacts in ~40 ms. - Not wired to the server or CardDAV yet; production is unaffected. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
kayg added 58 commits 2026-10-21 01:52:11 +00:00
Train AO: contact notes ⇄ vCard, lossless (calternaldav contacts piece 1, #645)
Some checks failed
CI / server (pull_request) Successful in 34s
CI / web (pull_request) Failing after 48s
CI / rust (pull_request) Failing after 1m32s
80f0516af8
Author
Owner

This PR's commits are on dev (landed). Forgejo kept it open and its merge endpoint answers 405, so it is closed by hand.

This PR's commits are on dev (landed). Forgejo kept it open and its merge endpoint answers 405, so it is closed by hand.
kayg closed this pull request 2026-10-21 11:32:24 +00:00
Some checks failed
CI / server (pull_request) Successful in 34s
CI / web (pull_request) Failing after 48s
CI / rust (pull_request) Failing after 1m32s

Pull request closed

Sign in to join this conversation.
No reviewers
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
kayg/calternal!653
No description provided.