Skip to content

Commit 8e302fe

Browse files
committed
test(commands): align learn prompt invariants with rewritten authoring standards
#129282 rewrote SKILL_AUTHORING_STANDARDS_PROMPT and updated its own tests, but the cross-lane assertion in commands-learn.test.ts still expected the deleted phrases ('first ~60 characters', 'never invent flags, commands, paths, APIs'), so it passed that PR's CI and broke on main full runs. Assert the current load-bearing phrases instead ('within the first 60 characters', 'every step comes from the observed trajectory').
1 parent 0aa318c commit 8e302fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/auto-reply/reply/commands-learn.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ describe("learn command", () => {
103103
"Revise the best pending proposal or update the best Workshop-owned skill before creating anything new.",
104104
);
105105
expect(instruction).toContain("Make at most one proposal mutation.");
106-
expect(instruction).toContain("first ~60 characters");
107-
expect(instruction).toContain("never invent flags, commands, paths, APIs");
106+
expect(instruction).toContain("within the first 60 characters");
107+
expect(instruction).toContain("every step comes from the observed trajectory");
108108
});
109109

110110
it("replies without continuing when the workshop is unavailable", async () => {

0 commit comments

Comments
 (0)