mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-29 11:34:40 +00:00
* feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals `/goal` accepts any string, but the Goal verifier only accepts transcript evidence, so objectives like "all tests pass and the lint is clean" or "clean up the auth module" never accumulate proof and loop until a limit. `/goal-draft <intent>` is a read-only bundled skill that checks whether a Goal is warranted, reads the workspace for the real check commands, asks at most one round of multiple-choice questions, drafts the objective in a fixed Outcome / Done when / Must not / Budget / On block / Context contract, runs a self-check against the verifier rules, and prints a `/goal set …` line the user can run as-is. It never starts the work and never sets the Goal. Also adds docs/users/features/goals.md (how a Goal is judged, how to write one), rows in commands.md, a pointer from headless.md, a design note under docs/design/, and a web-shell Goals dialog placeholder that shows a check, a guardrail, and a budget. Claude-Session: https://claude.ai/code/session_01FV7i3w7egJ2kMw4AhQC38Z * fix: resolve goal-draft review findings on docs accuracy and web-shell i18n (#10002) * fix(core): drop ask_user_question from goal-draft allowedTools grant (#10002) * fix(core): make the goal-draft hand-off headless-safe and copy-safe (#10002) The `/goal-draft` slash path injects the skill body, but the model could then call the `skill` tool a second time; in headless runs that call needs an approval nobody can give, so the session stopped without drafting anything. The body now states it is already loaded and must not be re-invoked. The hand-off line could also be wrapped in inline code with escaped backticks, so copying it verbatim pasted backslashes into the objective. Step 5 now requires the line as plain text. Both wording changes are pinned by SKILL.test.ts assertions. --------- Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com> |
||
|---|---|---|
| .. | ||
| configuration | ||
| extension | ||
| features | ||
| ide-integration | ||
| reference | ||
| support | ||
| _meta.ts | ||
| common-workflow.md | ||
| integration-github-action.md | ||
| integration-jetbrains.md | ||
| integration-vscode.md | ||
| integration-zed.md | ||
| overview.md | ||
| quickstart.md | ||
| qwen-serve-deploy-local.md | ||
| qwen-serve.md | ||