主世界层直接写正文,转述与旁观改读用户展示输出。
去掉裁决包主路径,让无转述时可直出终稿、有转述时再改写镶壳。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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("用户.最新输入"),
|
||||
|
||||
Reference in New Issue
Block a user