From 11ddf7a49c1f259a7e6d5863cd505ec1660cb5b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Sun, 5 Apr 2026 06:15:16 +0000 Subject: [PATCH] chore(agents): add mandatory labels to supervisor tracking issue creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved proposal: #3070 Pattern: prompt_improvement — label compliance enforcement Evidence: System watchdog consistently reports missing labels on tracking issues created directly by supervisors (bypassing ca-new-issue-creator). Fix: Add Type/Automation, State/In Progress, Priority/Medium labels to UAT tester tracking issue creation and to all pool supervisor launch prompts in product-builder. ISSUES CLOSED: #3070 --- .opencode/agents/ca-uat-tester.md | 2 +- .opencode/agents/product-builder.md | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.opencode/agents/ca-uat-tester.md b/.opencode/agents/ca-uat-tester.md index 0c7c3df28..c3936a6d2 100644 --- a/.opencode/agents/ca-uat-tester.md +++ b/.opencode/agents/ca-uat-tester.md @@ -125,7 +125,7 @@ tracking_issue = create Forgejo issue via API: --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester - labels: ["Type/Automation"] + labels: ["Type/Automation", "State/In Progress", "Priority/Medium"] TRACKING_ISSUE_NUMBER = tracking_issue.number # ── RESUME: Adopt existing UAT worker sessions from previous run ─ diff --git a/.opencode/agents/product-builder.md b/.opencode/agents/product-builder.md index 3592a0b31..3124bfd5e 100644 --- a/.opencode/agents/product-builder.md +++ b/.opencode/agents/product-builder.md @@ -547,6 +547,13 @@ rm -f /tmp/ca-supervisor-sessions.env # Launch each with its specific prompt containing all needed parameters: # (Forgejo PAT, git identity, repo info, N, etc.) +# +# LABEL REQUIREMENTS FOR TRACKING ISSUES: +# When supervisors create their own tracking issues (e.g., session trackers, +# pool state issues), they MUST include these labels to comply with +# CONTRIBUTING.md: +# Type/Automation, State/In Progress, Priority/Medium +# This is included in each supervisor's launch prompt below. launch_supervisor("issue-implementor", "implementor-pool", "You are the implementation pool supervisor. @@ -565,19 +572,25 @@ launch_supervisor("ca-uat-tester", "tester-pool", "You are the UAT testing pool supervisor. Repo: /. Instance ID: uat-pool-1. Forgejo PAT: . Git: . Username: . - max_workers: N_QUARTER.") + max_workers: N_QUARTER. + When creating tracking issues, ALWAYS include these labels: + Type/Automation, State/In Progress, Priority/Medium.") launch_supervisor("ca-bug-hunter", "hunter-pool", "You are the bug hunting pool supervisor. Repo: /. Instance ID: hunter-pool-1. Forgejo PAT: . Git: . Username: . - max_workers: N_QUARTER.") + max_workers: N_QUARTER. + When creating tracking issues, ALWAYS include these labels: + Type/Automation, State/In Progress, Priority/Medium.") launch_supervisor("ca-test-infra-improver", "test-infra-pool", "You are the test infrastructure improvement pool supervisor. Repo: /. Instance ID: test-infra-pool-1. Forgejo PAT: . Git: . Username: . - max_workers: N_QUARTER.") + max_workers: N_QUARTER. + When creating tracking issues, ALWAYS include these labels: + Type/Automation, State/In Progress, Priority/Medium.") launch_supervisor("ca-architect", "architect", "You are the continuous architecture designer. -- 2.52.0