Local-first sync design
local_first_sync_designSubmits a local-first sync design record (local truth and data model, sync protocol, encryption and keys, conflicts and state UI, testing and quality gates) and returns a deterministic LOCAL_FIRST_SYNC_SOUND / LOCAL_FIRST_SYNC_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across five sections, including computed per-entity merge-semantics and silent-last-write-wins checks, with per-check evidence. Audits the declared design; it syncs nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "local_first_sync_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Application the sync design covers. | |
| testing | No | Testing and quality-gate evidence. | |
| entities | No | Declared entities: {name, per_field_merge_semantics_declared, stable_id_declared, is_user_prose, silent_last_write_wins_present}. | |
| state_ui | No | State UI evidence. | |
| conflicts | No | Conflicts evidence. | |
| data_model | No | Data model evidence. | |
| encryption | No | Encryption and keys evidence. | |
| local_truth | No | Local truth evidence. | |
| sync_protocol | No | Sync protocol evidence. | |
| personal_data_sync | No | Personal-data sync evidence (gates the encryption checks). |