M2a:镜树域后端核心——树/节点/引文/归真/移栽全量 API 与 Kernel 完成回调(芽体固化/残答封存),8 用例钉死 PRD 场景 1/2/3/5/6/7/8

This commit is contained in:
chenxin committed 2026-08-21 23:00:07 +08:00
1 parent 1cd0069d65
commit e6a3b7121f
16 files changed
+2002 -74

No files matched your search

@@ -0,0 +1,47 @@
"""镜树域:树状对话、采用/归真分离、引文锚与移栽(data-model.md §2)。"""
from app.domains.mirror_tree.service import (
adopt,
ancestor_chain,
archive_tree,
canonize,
continue_node,
create_citation,
create_question,
create_tree,
edit_fork,
get_tree_view,
list_citations,
list_trees,
local_graph,
rename_tree,
node_view,
path_view,
resume_node,
spawn_answer,
transplant,
tree_view,
)
__all__ = [
"adopt",
"ancestor_chain",
"archive_tree",
"canonize",
"continue_node",
"create_citation",
"create_question",
"create_tree",
"edit_fork",
"get_tree_view",
"list_citations",
"list_trees",
"local_graph",
"rename_tree",
"node_view",
"path_view",
"resume_node",
"spawn_answer",
"transplant",
"tree_view",
]