qwen-code/docs/users
qqqys 4c51f8cb9c
feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002)
* 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>
2026-08-26 12:21:25 +00:00
..
configuration fix(core): keep allowlist-uncovered tools registered as deferred instead of removing them (#10075) (#10082) 2026-08-26 11:58:31 +00:00
extension fix(core): support public GitHub extensions with older Git (#9690) 2026-08-23 13:03:15 +00:00
features feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002) 2026-08-26 12:21:25 +00:00
ide-integration fix(cli): replace all emoji with Unicode text symbols in TUI rendering (#5999) 2026-06-30 15:18:01 +00:00
reference fix(cli): switch completion tabs with bare arrows (#8576) 2026-08-11 02:29:11 +00:00
support fix(cli): add ui.mouseTracking setting to restore right-click and URL clicks (#8198) 2026-08-01 14:15:42 +00:00
_meta.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
common-workflow.md docs: fix stale defaults, CLI syntax, and tool naming drift (#5158) 2026-06-15 20:06:34 +08:00
integration-github-action.md feat(web-shell): show subagent sessions in detail panel (#7380) 2026-07-22 02:31:08 +00:00
integration-jetbrains.md feat(cli): expose reasoning effort through ACP (#8526) 2026-08-11 10:32:33 +00:00
integration-vscode.md fix(core): honor NO_PROXY for model requests (#6640) 2026-07-10 10:41:04 +00:00
integration-zed.md docs(integration): use CDN URLs for images and fix formatting 2026-03-16 14:12:48 +08:00
overview.md feat(auth): add Kimi (Moonshot AI) as a built-in third-party provider (#9814) 2026-08-24 03:18:40 +00:00
quickstart.md feat(auth): add Kimi (Moonshot AI) as a built-in third-party provider (#9814) 2026-08-24 03:18:40 +00:00
qwen-serve-deploy-local.md feat: consolidate Local Control into one daemon-owned implementation (#9106) 2026-08-17 16:44:48 +00:00
qwen-serve.md fix(serve): let channel workers reach TLS-enabled daemons (#9392) 2026-08-25 13:43:39 +00:00