chore(agents): consolidate UAT supervisor progress reports into comments #1545
@@ -83,6 +83,10 @@ set timeout explicitly. You MUST NOT voluntarily exit — sleep and re-poll.
|
||||
|
||||
### Pool Supervision Loop
|
||||
|
||||
**IMPORTANT: Progress reports MUST be posted as comments on a single tracking
|
||||
issue — NEVER as separate new issues.** At startup, create ONE tracking issue
|
||||
and reuse it for ALL progress updates throughout the session.
|
||||
|
||||
```
|
||||
N = max_workers
|
||||
ref_summary = load via ca-ref-reader
|
||||
@@ -92,6 +96,19 @@ bugs_found_total = 0
|
||||
cycle = 0
|
||||
SERVER = "http://localhost:4096"
|
||||
|
||||
# ── Create ONE tracking issue for all progress reports ───────────
|
||||
tracking_issue = create Forgejo issue via API:
|
||||
title: "[CA-AUTO] UAT Pool Supervisor — <milestone> — Session Tracker"
|
||||
body: |
|
||||
This issue tracks the UAT pool supervisor for this session.
|
||||
All progress reports will be posted as comments here.
|
||||
|
||||
---
|
||||
**Automated by CleverAgents Bot**
|
||||
Supervisor: UAT Testing | Agent: ca-uat-tester
|
||||
labels: ["Type/Automation"]
|
||||
TRACKING_ISSUE_NUMBER = tracking_issue.number
|
||||
|
||||
# ── RESUME: Adopt existing UAT worker sessions from previous run ─
|
||||
EXISTING_WORKERS = bash("curl -s ${SERVER}/session | python3 -c \"
|
||||
import sys, json
|
||||
@@ -175,13 +192,27 @@ LOOP:
|
||||
NEW_SID = create session + prompt_async for next_area
|
||||
active[next_area] = NEW_SID
|
||||
|
||||
# ── Step 4: Post progress ────────────────────────────────────
|
||||
if cycle % 2 == 0:
|
||||
post comment on session state issue:
|
||||
"UAT pool supervisor progress:
|
||||
- Feature areas tested: <len(tested_areas)>/<len(feature_areas)>
|
||||
- Total bugs filed: <bugs_found_total>
|
||||
- Test cycle: <cycle>"
|
||||
# ── Step 4: Post progress (as COMMENT on tracking issue) ─────
|
||||
# NEVER create a new Forgejo issue for progress reports.
|
||||
# Always post as a comment on TRACKING_ISSUE_NUMBER.
|
||||
if cycle % 10 == 0:
|
||||
post comment on issue #TRACKING_ISSUE_NUMBER:
|
||||
"## UAT Pool Supervisor — Progress Report (Cycle <cycle>)
|
||||
|
||||
**Time**: <current UTC timestamp>
|
||||
**HEAD**: <last_master_sha[:12]>
|
||||
|
||||
### Worker Status
|
||||
- Active: <len(active)>/<N>
|
||||
- Tested areas: <len(tested_areas)>/<len(feature_areas)>
|
||||
- Coverage: <len(tested_areas)/len(feature_areas)*100>%
|
||||
|
||||
### UAT Bugs Filed (<bugs_found_total> total)
|
||||
<list recent bug issue numbers>
|
||||
|
||||
---
|
||||
**Automated by CleverAgents Bot**
|
||||
Supervisor: UAT Testing | Agent: ca-uat-tester"
|
||||
|
||||
# ── IMMEDIATELY loop back ────────────────────────────────────
|
||||
```
|
||||
@@ -397,6 +428,10 @@ No exceptions — every comment, every issue body, every PR description.
|
||||
|
||||
## Important Rules
|
||||
|
||||
- **NEVER create new Forgejo issues for progress reports.** In Pool
|
||||
Supervisor Mode, create ONE tracking issue at startup and post ALL
|
||||
progress updates as comments on that single issue. Creating separate
|
||||
issues for each progress report pollutes the issue tracker.
|
||||
- **NEVER work in /app.** Always use your isolated clone (Worker Mode) or
|
||||
Forgejo API only (Pool Supervisor Mode).
|
||||
- **NEVER modify code.** You are a tester, not a fixer. File issues only.
|
||||
|
||||
Reference in New Issue
Block a user