Skip to main content

Module pull

Module pull 

Source
Expand description

The network half of knowledge sync, run by the scheduler or lean-ctx cloud sync, never inside a tool call:

  1. send queued drafts (rebased onto the newest base when possible),
  2. pull new revisions of known projects into project knowledge.

Structs§

SyncReport
What one sync pass did.

Functions§

draft_listing
Pending and failed drafts for cloud status.
foreign_vault_refusal
Cloud refused mapping a checkout to vault (<ws>/<vault>): it is not one this account may use (rc4-57). Said in the person’s words, with the way forward.
org_salt
GET /org/salt: the salt id and bytes identity digests are made with.
resolve_for_link
resolve_project for the share of an explicit cloud link: a folder the person unlinked is mapped too, while its opt-out still keeps every sender quiet; cloud link lifts it only once Cloud took the share (bd 40060). A damaged opt-out store still refuses.
resolve_project
The vault the checkout at root is linked to, resolved in Cloud (and remembered) when this machine has no record of it yet, e.g. on the first sync after cloud link. A first share that waits for the person’s yes is MapError::Consent.
sync
Send drafts, then pull. cwd_root adds the current project to the pull even if it never drafted (for lean-ctx cloud sync in a project).

Type Aliases§

DraftLine
A draft as cloud status lists it: (outbox id, summary, last error).