Repository navigation
Commit b521e8c
committed
fix(server): Claude sets a /goal that also mentions a skill
makeClaudeUserMessage split a prompt mentioning a known skill into a
leading block plus a trailing /skill block. Claude only runs /goal when it
opens the prompt, so '/goal ... $skill' never set a goal while the server
still treated the message as a goal command. Send a goal command as one
string, with skill mentions rewritten inline as /name.
Fixes #29750
AI-assisted; verified with the tests and tools listed above.1 parent bee7013 commit b521e8c
1 file changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
2551 | 2552 | | |
2552 | 2553 | | |
2553 | 2554 | | |
| 2555 | + | |
| 2556 | + | |
2554 | 2557 | | |
2555 | 2558 | | |
2556 | 2559 | | |
2557 | 2560 | | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | | - | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
2566 | 2571 | | |
2567 | 2572 | | |
2568 | 2573 | | |
| |||
0 commit comments