Skip to content

Commit 70a6ea0

Browse files
committed
test(e2e): add /goal and /best-practices to wire handshake snapshot
The wire-protocol initialize handshake pins the full slash-command list; the two commands added in this branch were missing from the expected payload, failing the CI test matrix. Snapshot refixed via --inline-snapshot=fix and diff-reviewed; full tests_e2e suite green locally (65 passed, 4 skipped).
1 parent ac83750 commit 70a6ea0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

tests_e2e/test_wire_protocol.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ def test_initialize_handshake(tmp_path) -> None:
7575
"description": "Toggle plan mode. Usage: /plan [on|off|view|clear]",
7676
"aliases": [],
7777
},
78+
{
79+
"name": "goal",
80+
"description": "Set a thread goal pursued across turns until verified. Usage: /goal <objective> | view | pause | resume | clear",
81+
"aliases": [],
82+
},
83+
{
84+
"name": "best-practices",
85+
"description": "Inject engineering best practices (code changes, testing, todos, debugging) into context",
86+
"aliases": ["bp"],
87+
},
7888
{
7989
"name": "add-dir",
8090
"description": "Add a directory to the workspace. Usage: /add-dir <path>. Run without args to list added dirs",
@@ -260,6 +270,16 @@ def test_initialize_external_tool_conflict(tmp_path) -> None:
260270
"description": "Toggle plan mode. Usage: /plan [on|off|view|clear]",
261271
"aliases": [],
262272
},
273+
{
274+
"name": "goal",
275+
"description": "Set a thread goal pursued across turns until verified. Usage: /goal <objective> | view | pause | resume | clear",
276+
"aliases": [],
277+
},
278+
{
279+
"name": "best-practices",
280+
"description": "Inject engineering best practices (code changes, testing, todos, debugging) into context",
281+
"aliases": ["bp"],
282+
},
263283
{
264284
"name": "add-dir",
265285
"description": "Add a directory to the workspace. Usage: /add-dir <path>. Run without args to list added dirs",

0 commit comments

Comments
 (0)