qwen-code/docs/users/features
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
..
channels feat(channels): add DingTalk Workspace channel (#9394) 2026-08-25 06:40:47 +00:00
_meta.ts feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002) 2026-08-26 12:21:25 +00:00
approval-mode.md feat(cli): change default approval mode from default to auto (#6899) 2026-07-15 04:55:32 +00:00
arena.md feat(cli): add native multi-agent coordination (#8804) 2026-08-12 17:39:03 +00:00
auto-mode.md fix: ask when auto classifier is unavailable (#7331) 2026-07-21 03:27:17 +00:00
code-review.md fix(cli): graft the review anchor forward across fail-closed rounds (#9932) 2026-08-25 12:22:44 +00:00
commands.md feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002) 2026-08-26 12:21:25 +00:00
computer-use.md feat(computer-use): replace built-in tools with bundled skill (#9856) 2026-08-24 11:05:23 +00:00
dual-output.md fix(cli): bound headless tool result content (#9012) 2026-08-12 16:22:36 +00:00
followup-suggestions.md feat(cli): show follow-up suggestion in input placeholder (#5145) 2026-06-19 13:39:12 +08:00
goals.md feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002) 2026-08-26 12:21:25 +00:00
headless.md feat(core): add a bundled goal-draft skill that writes verifier-judgeable Goals (#10002) 2026-08-26 12:21:25 +00:00
hooks.md fix(core): separate hook context from transcript display (#7948) 2026-08-08 02:03:20 +00:00
language.md refactor(cli): revert dynamic slash command LLM translation (#4145) 2026-05-15 16:01:16 +08:00
lsp.md fix(lsp): expose status and startup diagnostics (#3649) 2026-05-17 01:42:28 +08:00
markdown-rendering.md docs: document inline terminal image previews (#8656) 2026-08-21 07:24:20 +00:00
mcp.md feat(mcp): add MCP 2026 core and WebShell Apps host (#8992) 2026-08-23 18:34:30 +00:00
memory.md feat(memory): protect pinned files during forked Dream (#7714) 2026-08-01 00:55:45 +00:00
multi-agent-coordination.md feat(cli): add native multi-agent coordination (#8804) 2026-08-12 17:39:03 +00:00
sandbox.md fix(cli): avoid updating active CLI processes (#6874) 2026-07-15 00:33:17 +00:00
scheduled-tasks.md docs(channels): Document loops and proactive delivery (#7628) 2026-07-26 07:32:18 +00:00
skills.md docs: document skill learning and live reload (#8298) 2026-08-01 15:23:08 +00:00
status-line.md docs: consolidate assorted documentation corrections (#9855) 2026-08-26 08:52:13 +00:00
structured-output.md docs: user + design docs for --json-schema structured output (#4051) 2026-05-17 23:10:34 +08:00
sub-agents.md docs(agent): clarify parameter preconditions (#9580) 2026-08-24 02:27:09 +00:00
terminal-images.md docs: document inline terminal image previews (#8656) 2026-08-21 07:24:20 +00:00
tips.md feat: add contextual tips system with post-response context awareness (#2904) 2026-04-13 17:40:27 +08:00
token-caching.md feat: update docs 2025-12-12 19:37:36 +08:00
tool-use-summaries.md fix(cli): stabilize thinking block height, replace transcript overlay with inline Ctrl+O toggle (#8077) 2026-08-01 02:39:53 +00:00
worktree.md docs(agent): clarify parameter preconditions (#9580) 2026-08-24 02:27:09 +00:00