Expand description
KnowledgeBase — all 8 Public APIs.
Structs§
- Appraise
Params - Parameters for
KnowledgeBase::appraise. - Builtin
Curator - Built-in curator — implements the full §四 governance pipeline.
- Contributor
- One contributing chunk, for explainability.
- Curate
Report - Curate
Scope - Scope for a single Curate run — allows limiting governance to a subset of chunks.
- Flagged
Point - A single thing to be careful about. Comes from a caution-class chunk’s
trigger_desc— “this kind of situation tends to bite”, never a prescribed answer. - Knowledge
Base - Recall
Params - Parameters for
KnowledgeBase::recall. - Recall
Result - Record
Params - Parameters for
KnowledgeBase::record. - Situation
- The signal bundle that drives intuition. Borrowed and
Default-able. - Trace
Repair Report - Outcome of
KnowledgeBase::repair_traces. - Verdict
- The critic’s judgement. No answer-bearing field may ever be added here.
Enums§
- Abstain
Reason - 方案 A —— 弃权原因(四道门)。弃权是一等输出,不是失败:critic 的第一能力是 「说不知道」。短路顺序求值,记录第一道触发的门。
- Tier
- Strength band, from the fused score against
meta.appraise.tier_*. - Valence
- Polarity of an intuition. Derived, never stored as a column (PRD §3.4).
Constants§
- APPRAISE_
ADVISORY - 返给 agent 的固定声明:直觉只是参考信号,不是精准答案。在 MCP / CLI 的 appraise 响应里随每个 verdict 一起返回,提醒 actor「权衡、勿盲从、勿让直觉覆盖你自己对正确 答案的判断」。这是值域护栏(PRD §2.2/§5「直觉永不产出答案」)在交付层的显式表态。
Traits§
- Curator
- Replaceable governance interface (§二·六). Inject via
KnowledgeBase::open_with. Default implementation:BuiltinCurator.