Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(prompts): remove status wire details from operational guidance (#8401)
Jiayuan Zhangd77a1c5ea75a
diff --git a/CLAUDE.md b/CLAUDE.mdindex 2b0ffb94f7..fc389ca156 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -127,7 +127,6 @@ These are hard requirements for every new or modified database design and produc- If a flow or API is being replaced and the product is not live, prefer removing the old path instead of preserving both.- New global pre-workspace routes must be a single word (`/login`, `/inbox`) or `/{noun}/{verb}` (`/workspaces/new`). Do not add hyphenated root routes like `/new-workspace`.- Reserved slugs live in `server/internal/handler/reserved_slugs.json`. Edit it, run `pnpm generate:reserved-slugs`, and commit the generated `packages/core/paths/reserved-slugs.ts`.-- When changing CLI commands/flags, API fields, or product behavior documented by built-in skills under `server/internal/service/builtin_skills/*`, update the relevant `references/<domain>.md` in the same PR.## API Compatibilitydiff --git a/server/internal/daemon/execenv/runtime_config_issue_status_test.go b/server/internal/daemon/execenv/runtime_config_issue_status_test.goindex 907654e76a..f2de89b7e8 100644--- a/server/internal/daemon/execenv/runtime_config_issue_status_test.go+++ b/server/internal/daemon/execenv/runtime_config_issue_status_test.go@@ -61,7 +61,7 @@ func TestBriefStatusCatalogRendered(t *testing.T) {t.Errorf("catalog brief missing %q\n---\n%s", want, out)}}- if strings.Contains(out, "custom statuses not listed") {+ if strings.Contains(out, "custom statuses not listed") || strings.Contains(out, "Custom statuses omitted") {t.Errorf("no truncation disclosure may appear when nothing was omitted")}}@@ -165,7 +165,7 @@ func TestBriefStatusCatalogUnknownCategoriesDisclosed(t *testing.T) {}out := buildMetaSkillContent("claude", TaskContextForEnv{IssueStatuses: entries, IssueStatusesOmitted: 4})for _, want := range []string{- " - 2 custom statuses not listed because this daemon does not recognize their categories; upgrade the daemon to display them.\n",+ " - Custom statuses omitted due to unrecognized categories: 2.\n"," - …and 4 more custom statuses not listed; an invalid status errors with the full valid list.\n",} {if !strings.Contains(out, want) {diff --git a/server/internal/daemon/execenv/runtime_config_sections.go b/server/internal/daemon/execenv/runtime_config_sections.goindex 6c17aba3fe..f7beed7cbc 100644--- a/server/internal/daemon/execenv/runtime_config_sections.go+++ b/server/internal/daemon/execenv/runtime_config_sections.go@@ -351,7 +351,7 @@ func writeIssueStatusCommand(b *strings.Builder, ctx TaskContextForEnv) {// Count only otherwise renderable entries, without echoing untrusted// category values or conflating these omissions with the server's cap.if unknownCategories > 0 {- fmt.Fprintf(b, " - %d custom statuses not listed because this daemon does not recognize their categories; upgrade the daemon to display them.\n", unknownCategories)+ fmt.Fprintf(b, " - Custom statuses omitted due to unrecognized categories: %d.\n", unknownCategories)}if ctx.IssueStatusesOmitted > 0 {fmt.Fprintf(b, " - …and %d more custom statuses not listed; an invalid status errors with the full valid list.\n", ctx.IssueStatusesOmitted)diff --git a/server/internal/service/builtin_skills/multica-platform/references/issues.md b/server/internal/service/builtin_skills/multica-platform/references/issues.mdindex 2c5ca1cf22..058fec7bfd 100644--- a/server/internal/service/builtin_skills/multica-platform/references/issues.md+++ b/server/internal/service/builtin_skills/multica-platform/references/issues.md@@ -237,15 +237,6 @@ Backlog parking, In Review completion, Blocked failure, or In Progress recovery.Use the built-in key when its special behavior is needed. Built-in definitionscannot be edited or archived.-Task claims send custom status categories using the legacy wire enum so older-daemons can display the catalog: unstarted → todo, started → in_progress,-done → done, closed → cancelled. This presentation mapping does not restore-built-in automation behavior. Older daemon instructions may still describe-inheritance; upgrading the daemon is required for current behavior guidance.-If the brief reports unrecognized categories, upgrade the daemon to display-those entries. That omission count is separate from the server's 30-custom-status-catalog limit.-Archive a custom status only after moving every issue off it, includingcompleted/canceled issues. An occupied status returns HTTP 409 with code`issue_status_in_use` and `issue_count`; it remains active. Use Settings >