Expand description
Whether a fact just remembered goes to the team, decided when it is
remembered (3.12.3): ctx_knowledge remember and lean-ctx knowledge remember say "local only: <reason>" with how to fix it, instead of a
plain OK that the capture gate later turns into a silent rejection.
This checks what a person or agent can fix now (the statement rules and a missing reference); the gate makes the final decision at sync (it also checks that each reference exists, screening, budget).
Structs§
- Rejected
Fact - One fact the capture gate kept on this machine.
Enums§
- Sharing
- Where a remembered fact goes.
Constants§
- MAX_
REJECTED - At most this many rejected facts are kept per vault (the newest).
Functions§
- decide
- Where
value, just remembered inproject_root, goes.Noneon a machine not connected to Cloud (nothing to say). - note
decidefor this machine, as the line under arememberanswer (None: not connected to Cloud).has_refas inproblem; a fact LeanCTX anchored to code carries that reference itself.- problem
- The statement rules and the reference rule for
value;has_ref: the call named a source (refs or anchors), or the fact already has anchors. - record_
rejected - Note what the gate refused in one sync of
vault_id(droppedascrate::knowledge::learn::LearnPlan::dropped:category/key, reason). A fact refused again replaces its earlier row. - rejected_
now - The rejected facts of
vault_idstill waiting for a fix: the fact is current inknowledgeand was not changed since (a changed fact is considered again by the next sync).