Skip to content

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

Go

docs(skills): add --compact to squads reference comment reads (MUL-5850) (#8631)

Bohan Jiang40a48c3c0679
diff --git a/server/internal/service/builtin_skills/multica-platform/references/squads.md b/server/internal/service/builtin_skills/multica-platform/references/squads.md
index e960804b87..67a97f8ba6 100644
--- a/server/internal/service/builtin_skills/multica-platform/references/squads.md
+++ b/server/internal/service/builtin_skills/multica-platform/references/squads.md
@@ -22,8 +22,8 @@ Inspect first:
multica issue get <issue-id> --output json
multica squad get <squad-id> --output json
multica squad member list <squad-id> --output json
-multica issue comment list <issue-id> --roots-only --summary --output json
-multica issue comment list <issue-id> --thread <thread-id> --tail 30 --output json
+multica issue comment list <issue-id> --roots-only --summary --compact --output json
+multica issue comment list <issue-id> --thread <thread-id> --tail 30 --compact --output json
```
The two comment reads are a sequence: scan the roots first, then open the
@@ -89,7 +89,7 @@ Issue/comment commands often needed with squads:
```bash
multica issue get <issue-id> --output json
multica issue update <issue-id> --help
-multica issue comment list <issue-id> --roots-only --summary --output json
+multica issue comment list <issue-id> --roots-only --summary --compact --output json
multica issue comment add <issue-id> --help
```
diff --git a/server/internal/service/builtin_skills_test.go b/server/internal/service/builtin_skills_test.go
index 4875011f61..b3885e855e 100644
--- a/server/internal/service/builtin_skills_test.go
+++ b/server/internal/service/builtin_skills_test.go
@@ -597,6 +597,10 @@ func TestPlatformSkillCoversPlatformContracts(t *testing.T) {
"--roots-only --summary",
"--thread <thread-id> --tail 30",
"scan the roots first, then open the threads",
+ // MUL-5850: the reads carry --compact, matching the brief and
+ // the router's bounded-reads rule.
+ "--roots-only --summary --compact --output json",
+ "--thread <thread-id> --tail 30 --compact --output json",
},
notWant: []string{
// MUL-5696: no unbounded comment pull. Both shapes contradict