Expand description
Facts imported from the repository itself (K1: lean-ctx import docs|git) → import drafts in the outbox (C0 1.9 import addendum).
An import draft is a learning draft with origin: import and the import
source of each fact (import:docs:<path>#<slug>, import:git:<sha>):
the same planning against the last pulled base and the same screening,
queued only, sent by super::pull. A draft carries at most 16 sources
and MAX_PATCH_OPS facts, so a large import becomes several drafts.
Functions§
- enqueue_
import_ drafts - Plan, screen and queue the imported facts of the project at
rootthat changed since its last import draft. Returns the outbox ids (none when there is nothing to propose, Cloud is not set up here, or the Cloud speaks C0 2.0: it takes the imported facts from the knowledge store as signed events through capture, never as a 1.x draft).