主世界层直接写正文,转述与旁观改读用户展示输出。

去掉裁决包主路径,让无转述时可直出终稿、有转述时再改写镶壳。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 02:18:14 +08:00
co-authored by Cursor
parent d65ebbce8b
commit 3d720f23fe
27 changed files with 290 additions and 216 deletions
+4 -4
View File
@@ -280,14 +280,14 @@ describe("context-order.v1", () => {
template: {
id: "world-simulator",
label: "主世界层",
duty: "裁决",
duty: "写正文",
suggested_context: { static: ["设计.worker集"], dynamic: ["用户.最新输入"] },
},
workerSet: parsed,
});
expect(worker.contextSegments?.some((s) => s.inline?.includes("裁决"))).toBe(
true,
);
expect(
worker.contextSegments?.some((s) => s.inline?.includes("正文")),
).toBe(true);
expect(
worker.contextSegments?.some(
(s) => s.tier === "dynamic" && s.tags.includes("用户.最新输入"),