feat(FN-2950): merge fusion/fn-2950
- Updated routing policy documentation in `docs/architecture.md` and `docs/settings-reference.md` - Revised docs reflect the latest routing configuration options and behavior Commits merged: - feat(FN-2950): complete Step 6 — update routing policy documentation Files changed: docs/architecture.md | 19 ++++++++++--------- docs/settings-reference.md | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) Fusion-Task-Id: FN-2950
This commit is contained in:
@@ -265,7 +265,7 @@ describe("buildSpecificationPrompt", () => {
|
||||
);
|
||||
|
||||
expect(prompt).toContain("## Subtask Consideration");
|
||||
expect(prompt).toContain("MORE THAN 7 implementation steps");
|
||||
expect(prompt).toContain("more than 10 implementation steps");
|
||||
expect(prompt).toContain("GOOD TO SPLIT");
|
||||
expect(prompt).not.toContain("## Subtask Breakdown Requested");
|
||||
});
|
||||
@@ -543,22 +543,22 @@ describe("TRIAGE_SYSTEM_PROMPT", () => {
|
||||
"Even when `breakIntoSubtasks` is not set to `true`",
|
||||
);
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain(
|
||||
"Size S tasks should generally NOT be split",
|
||||
"Size S tasks should NOT be split",
|
||||
);
|
||||
});
|
||||
|
||||
it("includes explicit subtask breakdown thresholds", () => {
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("MORE THAN 7 implementation steps");
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("more than 10 implementation steps");
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain(
|
||||
"MORE THAN 3 different packages/modules",
|
||||
"more than 5 different packages/modules",
|
||||
);
|
||||
});
|
||||
|
||||
it("includes anti-pattern warning for oversized tasks", () => {
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("ANTI-PATTERN");
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("10+ steps");
|
||||
it("biases toward keeping tasks whole and acknowledges coordination overhead", () => {
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("Default to keeping the task whole");
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain("Coordination overhead");
|
||||
expect(TRIAGE_SYSTEM_PROMPT).toContain(
|
||||
"Only keep a task as one unit if it genuinely has 5 or fewer focused steps",
|
||||
"7-10 focused steps within a coherent scope is fine as one unit",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user