Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-7163 docs(skills): clarify visible issue PR linking guidance (#8190)

li-xiao-qing798f1440f13d
diff --git a/server/internal/service/builtin_skills/multica-platform/references/issues.md b/server/internal/service/builtin_skills/multica-platform/references/issues.md
index 2d6c592eb0..2f42071b8c 100644
--- a/server/internal/service/builtin_skills/multica-platform/references/issues.md
+++ b/server/internal/service/builtin_skills/multica-platform/references/issues.md
@@ -23,7 +23,7 @@ reference-only rule below: a key that appears **only** as a bare mention in the
body is linked yet hidden from that list.
```text
-MUL-123: add the thing the issue asks for # title prefix → links, shown
+MUL-123: add the thing the issue asks for # key anywhere in title → links, shown
agent/dana/mul-123-add-the-thing # branch ref → links, shown
```
@@ -40,8 +40,8 @@ Resolves MUL-123
Fix login MUL-123 # links only — keyword not adjacent
```
-Consequence: a bare title prefix or a branch reference links the PR but does not
-close the issue on merge. A closing keyword immediately adjacent to the issue key
+Consequence: a bare key in the title or a branch reference links the PR but does
+not close the issue on merge. A closing keyword immediately adjacent to the issue key
records close intent; on merge, that close intent can move the linked issue to
`done`.
@@ -68,13 +68,15 @@ an unconditional command: if no code changed, say no PR is needed; if PR creatio
is blocked by auth, failing tests, or missing remote state, report that blocker
instead of pretending the run is complete.
-Use a routable issue key in the PR title, body, or branch so the webhook can link
-the PR back to the issue. If the PR should close the issue on merge, put the key
-immediately after a closing keyword in the title or body, for example:
+To make the PR show on the issue, put a routable issue key in the PR **title**
+(preferred) or the **branch**. A key that appears only as a bare mention in the
+body is reference-only and hidden from the issue PR list. Do not use a closing
+keyword (`Closes` / `Fixes` / `Resolves`) unless the issue should auto-advance
+to `done` on merge.
```text
-MUL-123: fix login redirect # links only
-Closes MUL-123 # links and records close intent
+MUL-123: fix login redirect # key anywhere in title → links and shown
+Closes MUL-123 # only when merge should mark the issue done
```
In the final issue comment, include the PR URL when a PR exists. If the task did
diff --git a/server/internal/service/builtin_skills_test.go b/server/internal/service/builtin_skills_test.go
index 1205c51ee2..85fc9521f7 100644
--- a/server/internal/service/builtin_skills_test.go
+++ b/server/internal/service/builtin_skills_test.go
@@ -456,7 +456,9 @@ func TestPlatformSkillCoversPlatformContracts(t *testing.T) {
"Default for code-changing issue work",
"open or update a PR before posting the final Multica issue comment",
"This is a default, not",
- "Use a routable issue key in the PR title, body, or branch",
+ "put a routable issue key in the PR **title**",
+ "body is reference-only and hidden from the issue PR list",
+ "unless the issue should auto-advance",
"include the PR URL when a PR exists",
"Closes MUL-123",
"--status backlog",