可被多个 AI 产品调用的可信思考引擎(V1.1 Context Understanding & Illumination Engine):先理解用户所处的语境,再用多家经典形成差异化照见,最终聚焦为一个与用户有关的洞见与行动方向。底层由 V1.0 Trusted Knowledge Protocol 保证「不乱说、可回溯、可信分级」。通过统一 API(含 /api/classics/v1/illuminate 与 /api/classics/v1/trusted-query)与 MCP 服务对外提供。
10 部经典 · 11 Pack(含共享层)· 1321 条处境照见 · 36 个处境。
完整路径:Context → Question Focus → 四家照见 → 共识与差异 → 照见 Insight → 反思/行动。POST /api/classics/v1/illuminate 先理解用户(Context Model:表面问题/处境/张力/利害/限制/期望,C1/C2/C3),聚焦真问题;四家精简照见(道/儒/佛/阳明各 50–100 字、明显不同);最后聚焦为一个洞见 + 一个反思问题 + 可选一小步。protocol=FFCKK-Illumination-1.1。Evidence 退到最后,仍可回溯。
把知识调用拆为三层:证据层(Source S0–S4 / Evidence Fragment / 最小充分证据集)→ 可信层(Claim 六类 / Trust T0–T4 / Conflict / Critical Claim / Abstention)→ 表达层(五模式 + Evidence Drawer「查看依据」)。POST /api/classics/v1/trusted-query 返回可信回答(Trust Badge:已核验/高可信/有依据/尚待确认/未验证;protocol=FFCKK-TKP-1.0);无证据/重大冲突/超范围明确拒答,不伪造知识。检索复用 V0.x 智能编排(语义+处境匹配),自由措辞问题可命中。
道德经 81 章、易经 64 卦、论语 20 篇、金刚经 32 分、庄子 33 篇、传习录三卷、心经、中庸、大学、孟子全卷,全部带原文锚点(E5)与 Release 版本锁定;1321 条处境照见(36 处境)直接面向用户。
同一处境按家各取照见(道 / 儒 / 佛 / 阳明),综合回答逐家立场、指出相通与不同、给出非等同推断;缺材料时做明确标注的推演补位。
lookup / explore / compare / source / path / report_support 六种正式模式,统一请求契约 + SDK + Runtime 遥测 + 只读缓存 + 历史快照 pin;产品经 Product Adapter 契约接入(FRA/FPP/FRC/Half Atlas/Voice fixture)。
Intent 理解(16 意图 + 歧义/澄清)→ Knowledge Router(packScope 最小化 + reason codes)→ Orchestration Plan(有限步骤 DAG)→ Adaptive Assembly(10 档案 + Generated-as-Formal=0)→ Explainability(人话解释:为什么选 / 为什么没选 / 来源 / 缺家披露)。
五产品 productId:Half Atlas=graph-first、Voice=support-first、FRA=path-first、FPP=evidence-first、FRC=discussion-first;强意图不受产品偏好覆盖,跨产品 Formal Identity 15/15 一致(不同产品体验 ≠ 不同正式真相)。
Security Abuse Golden 6/6 不越权、Agent 写工具 13/13 拒绝、Intent/Route 缓存边界安全(personal/historical 不缓存)、Release 状态机(Candidate≠Release≠Active≠Production≠Ready)、restore 演练 PASS、SLO + incident/rollback 流程。
Observe → Issue → Evidence → Candidate → Impact → Human Review → Regression → Release → Observe Again;演化执行(Formal/Relation/Path/Source/Rights/Policy/Benchmark/Drift)+ Historical Snapshot/Diff/Replay + Release Impact Manifest;AI 可提议不可批准、演化不改写历史。
Exact Pin(不自动升级)、显式迁移、历史回放、VIEW/MODEL_CONTEXT/EXPORT 权限分离;跨产品 Truth Divergence=0(Scenario A-J);演化治理已获生产授权(Batch 23)。
/api/classics/v1/agent/run:按 Orchestration Plan 的有限步骤执行 Runtime 工具,每步过只读 Guard + Tool Budget,输出可审计 Run Trace;Agent 是 Runtime Orchestrator,不是 Knowledge Authority。
External Source → Discovery Signal → Discovery Candidate → Qualification → V0.7 治理 → Human Review → Release;Open Web Candidate-only、External Pack 永不 Formal、Discovery Agent 只读提议、五产品消费发现结果(AI 可发现不可批准)。
Change Detection(变化≠错误,假变化过滤/资格四问)→ Change Signal → Evolution Candidate;Knowledge State 版本追踪(不可变历史 + 回滚即新版本);Semantic Drift(四层检测 + 六类漂移,AI 相似度≠意义);Graph Evolution(节点/关系生命周期 + 强度模型 + 修正/扩展提案);Conflict Resolution(五类冲突 + perspectives + Keep Multiple,AI 中立);Evolution Agent(7 角色只读协作建议);Evolution Event Bus(事件路由 + 队列,Event≠Approval)+ Audit(只追加)+ Personal Evolution(隐私边界,不存 raw transcript)+ Metrics。AI 只发现/提议/分析,不批准不更新。
Node / Relation / Dimension / Path 四层契约:1287 条 approved 相似/差异/非等同维度 + 24 组跨经典配对,任意关系可回答"为什么相连、哪里相似、哪里不同、不能推出什么"。
金刚经宗教边界(14 类误读)、易经不预测、Path 系统级"非因果/非预测/非命运/非人格";误读输入被阻断而非迎合。
标准 MCP(Streamable HTTP):https://ffckk.halfwaylab.cn/mcp + 每用户 API Key(Authorization: Bearer <key>)。8 个工具:orchestrate / insight / compare / source / path / lookup / personal_evolution / trusted_query,用量自动记录。
同一问题三栏对比:通用 AI vs 四家照见 vs V1.0 可信回答(Trust Badge / 查看依据 / Abstention)。
图谱查询、关系浏览与解释、Impact 分析、维度审校(V0.5 可视化)。
候选收件箱、批量审校、Withdraw / Supersede(V0.4 知识生产闭环,V0.5 沿用)。
V0.7.1 演化轨迹:Issue / Candidate / Review / Approval / Regression 治理链(来自持久化快照)。
Graph API V3 / V2 / V1 契约定义(OpenAPI 3.1)。
源码、文档、Sprint 报告与契约。
一个知识节点 R1 → 收到新证据 → Issue → Evidence Bundle → Evolution Candidate → Impact Analysis → Human Review → Regression → R2。点开任何演化记录可以看到:旧版本是什么、新版本是什么、哪里变了、为什么变、引用什么证据、旧版还能不能访问。
六闭环验收:docs/V0.7/reports/V07_1_CLOSURE_EVOLUTION_REPORT.md · 跨产品 Truth:docs/V0.7/reports/V07_1_CLOSURE_CROSS_PRODUCT_REPORT.md · 演化 API:/api/classics/v1/evolution/*
MCP · https://ffckk.halfwaylab.cn/mcp — 标准 MCP(Streamable HTTP):ffckk_orchestrate / ffckk_insight / ffckk_compare / ffckk_source / ffckk_path / ffckk_lookup / ffckk_personal_evolution / ffckk_trusted_query;每用户/产品独立 API Key(Bearer),用量自动记录(鉴权强制)POST /api/classics/v1/trusted-query — V1.0 Trusted Query(协议 §42):query + knowledge_scope + expression_mode → answer / trust(T0–T4 Trust Badge)/ claims / citations / has_conflict / abstention / evidence_drawer,protocol=FFCKK-TKP-1.0(Bearer)POST /api/classics/v1/illuminate — V1.1 语境理解与照见:query(+minimal_context) → context / focused_question / perspectives(四家)/ contrast / insight / reflection / action / claims / evidence_drawer,protocol=FFCKK-Illumination-1.1(Bearer)GET /api/classics/v1/trusted-query/sources — V1.0 Source Registry(按 source_grade S0–S4,Bearer)GET /api/classics/v1/trusted-query/audit — V1.0 可信回答审计链(append-only,Bearer)POST /api/classics/v1/orchestrate — V0.6 智能编排(Intent → Route → Plan → Select → Assemble → Trace + explanation,Bearer;五产品 productId 产品化编排)GET /api/classics/v1/orchestrate/observations — 编排观测(intent/route/cacheHit/耗时,Bearer)POST /api/classics/v1/agent/run — V0.7.1 Agent 编排壳(按 plan 执行只读工具 + Guard + Budget + Run Trace,Bearer)/api/classics/v1/evolution/…V0.9… — 知识演化引擎:change-signals(检测/交接)、state(create/evolve/rollback/history/compare)、semantic-drift(检测/交接)、graph-evolution(node/relation/correction/expansion/proposals)、conflicts(register/perspectives/review/resolve)、agents(run/tools/proposals)、events(emit/transition)、audit、personal-evolution(隐私边界)、metrics(Bearer;治理写操作需 X-Actor,AI 被拒)/api/classics/v1/discovery/* — V0.8 知识发现:sources/signals/candidates/qualifications/engine(relation/conflict/gap)/handoff/auto-handoff/trust/open-web/external-packs/agent/products-matrix/observation(Bearer;Candidate-only,永不绕过治理)/api/classics/v1/evolution/* — V0.7 演化治理:signals/triage/issues、candidates/transition/revise、evidence、impact、review/approvals、regression、evolution lineage、sources/rights、policy/benchmark、drift(GET 查询 + POST 检测)、historical snapshot/replay/diff、manifests、products pins(Bearer;治理写操作需 X-Actor 头)POST /api/classics/v1/insights — 经典照见(四家视角 + 行动方案,Bearer;synthesize:true 附加跨家整合综合回答)POST /api/classics/v1/runtime — 统一 Knowledge Runtime(lookup/explore/compare/source/path/report_support,Bearer)POST /api/classics/v1/runtime/adapters/:id/execute — Product Adapter 端到端(FRA/FPP/FRC/Half Atlas/Voice fixture,Bearer)GET /api/classics/v1/runtime/observations — Runtime 遥测(按模式汇总 + 最近记录,Bearer)GET /api/classics/v2/graph/* — Graph V2(Bearer)POST /api/classics/v3/graph/runtime — Graph Runtime V3(Bearer)POST /api/classics/v3/graph/studio-query — 图谱查询(公开限流)GET /api/classics/v3/workbench/relations|dimensions — 关系/维度(公开)POST /api/classics/v3/workbench/impact — Impact 分析(公开)GET /api/classics/v3/workbench/candidates — 候选收件箱(Bearer)POST /api/classics/v3/workbench/candidates/batch-review — 批量审校(Bearer)GET /api/classics/v3/workbench/releases — 候选 Release 清单(Bearer)POST /api/demo/compare — Demo 对比(公开限流)完整契约:/openapi.json · 第三方 AI 接入指南(MCP + REST):docs/THIRD_PARTY_API_GUIDE_V1.0.md
版本口径声明
V1.1 Context Understanding & Illumination Engine(/api/classics/v1/illuminate:Context→Question Focus→四家照见→共识差异→照见 Insight→反思/行动,protocol=FFCKK-Illumination-1.1)+ V1.0 Trusted Knowledge Protocol(/api/classics/v1/trusted-query,Evidence→Trust→Expression,protocol=FFCKK-TKP-1.0);延续 V0.9 Knowledge Evolution Engine(已获生产授权,V09_PRODUCTION_AUTHORIZATION_GRANTED=true)+ V0.8 Discovery + V0.7 演化治理 + V0.6 智能编排 + V0.5 统一 Runtime;AI 只发现/提议/分析,不批准不更新;未切换 Active、未改 Formal/Rights/Historical;产品投影仅 staging,尚无默认业务调用;V1.0/V1.1 生产授权位待项目方显式授予。
「production 环境」≠「默认业务座底」:环境可生产,但产品投影仍为 staging、无默认调用。Trustware 口径以本声明与 /ready 为准。
权威事实表(/api/classics/v1/ready 同源,供外部审计复核)
| apiVersion | 1.1.0 · environment=production · productionEnabled=true |
| 经典 / Pack | 10 部 / 11 Pack |
| 处境照见 | 1321 条(36 处境) |
| 关系维度(approved) | 1287 |
| 真实 Path | 16 |
| 跨经典配对 | 24 |
| 知识关系 | 581 |
| Gate 状态(V0.7.1) | releaseGate=13/13 · redTeam=18/18 · golden=875/875 · intentRouting=13/13 (100%) · crossKnowledge=20/20 (100%) · securityAbuse=6/6 · agentForbidden=13/13 · evolution=92/92 · crossProductTruth=15/15 · closureEvolution=6/6 · evolutionV09=82/82 · evolutionBenchmark=18/18 · trustedQueryProtocol=46/46 · illumination=7/7 |
| Runtime 模式 | lookup explore compare source path report_support |
| Product Adapter | adapter:fra:fixture adapter:fpp:fixture adapter:frc:fixture adapter:half-atlas:fixture adapter:half-atlas-voice:fixture |
| Pack Gate 覆盖 | ddj / yijing / lunyu / diamond / heart / zhongyong / daxue / mencius / zhuangzi / chuanxilu |
Active Releases:
| fckk:shared:pack:main | shared-0.1.0 |
| fckk:ddj:pack:main | ddj-0.2.1 |
| fckk:lunyu:pack:main | lunyu-0.2.1 |
| fckk:diamond:pack:main | diamond-0.2.1 |
| fckk:zhuangzi:pack:main | zhuangzi-0.2.0 |
| fckk:chuanxilu:pack:main | chuanxilu-0.2.0 |
| fckk:heart:pack:main | heart-0.1.0 |
| fckk:zhongyong:pack:main | zhongyong-0.1.0 |
| fckk:daxue:pack:main | daxue-0.1.0 |
| fckk:mencius:pack:main | mencius-0.1.0 |
| fckk:yijing:pack:main | yijing-0.2.0 |
V1.1(当前,已部署) Context Understanding & Illumination
V1.1 计划与规范:docs/V1.1/FFCKK_V1.1_开发计划与实现规范.md · 验证与交接:docs/V1.1/FFCKK_V1.1_验证与交接报告.md
V1.0(已部署) Trusted Knowledge Protocol
POST /api/classics/v1/trusted-query(protocol=FFCKK-TKP-1.0);检索复用 V0.x 智能编排(语义+处境匹配),自由措辞问题可命中V1.0 规划与规范:docs/V1.0/FFCKK_V1.0_Trusted_Knowledge_Protocol_实现规划与规范.md · 验证与交接:docs/V1.0/FFCKK_V1.0_验证与交接报告.md
V0.9(当前,已获生产授权) 知识演化引擎
V0.9 结项与授权:docs/V0.9/reports/V09_PRODUCTION_AUTHORIZATION_REPORT.md · Benchmark docs/V0.9/reports/V09_EVOLUTION_BENCHMARK.md
V0.8(已发布,已获生产授权) 知识发现与可信生长
V0.8 结项与授权:docs/V0.8/reports/V08_FINAL_ACCEPTANCE.md · docs/V0.8/reports/V08_PRODUCTION_AUTHORIZATION_REPORT.md
V0.7(已发布) 知识演化与持续改进
V0.7 结项与授权:docs/V0.7/reports/V07_FINAL_ACCEPTANCE_REPORT.md · docs/V0.7/reports/V07_PRODUCTION_AUTHORIZATION_REPORT.md
V0.6(已发布) 知识智能编排与可信适配
V0.6 审计与结项:docs/V0.6/reports/V06_FINAL_ACCEPTANCE_REPORT.md · 主执行清单:docs/V0.6/四家照见知识库_FFCKK_V0.6_Codex主执行清单.md
V0.5(已发布) 知识运行层与多产品集成
V0.5 审计与差距:docs/V0.5/V05_BASELINE_RUNTIME_CONTRACT与INTEGRATION_GAP_AUDIT.md · V0.4 结项:docs/V0.4/V04_RC_SUMMARY.md
V0.4(已发布) 知识生产与发布就绪
curl -X POST https://ffckk.halfwaylab.cn/api/classics/v1/illuminate \
-H "Authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
-d '{"query":"我应该继续坚持这份工作,还是辞职?"}'
V1.1 语境理解与照见:返回 context / focused_question / perspectives(四家 50–100 字)/ contrast / insight / reflection / action / claims / evidence_drawer,protocol=FFCKK-Illumination-1.1。
curl -X POST https://ffckk.halfwaylab.cn/api/classics/v1/trusted-query \
-H "Authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
-d '{"query":"什么是知行合一?","knowledge_scope":["ffckk"],"expression_mode":"conversation"}'
V1.0 可信回答:返回 answer + trust(Trust Badge)+ claims(六类 + truth_boundary)+ citations + has_conflict + abstention + evidence_drawer(查看依据),protocol=FFCKK-TKP-1.0。
curl -X POST https://ffckk.halfwaylab.cn/api/classics/v1/insights \
-H "Authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
-d '{"productId":"half-atlas-voice-staging","scenario":"stage_report","privacyMode":"private","synthesize":true,"userText":"最近同时推进太多事情,越用力越没进展"}'
返回四家视角照见 + 行动方案 + 出处/Release 版本;synthesize:true 时附加跨家整合综合回答(schools / traditions / nonEquivalences);误读输入会被 Gate 阻断。
项目文档与交接说明(供 AI/工具深入分析):github.com/halfway-lab/Fourfold-Classics-Knowledge-Kernel · 第三方 AI 接入:docs/THIRD_PARTY_API_GUIDE_V1.0.md · V1.0 规划与规范:docs/V1.0/ · V0.9 结项与授权:docs/V0.9/reports/V09_PRODUCTION_AUTHORIZATION_REPORT.md