chore(template): widen idle-loop to Market Analyst + Competitive Intelligence (wave 2)

Expands autonomous orchestration reach to Market Analyst and Competitive Intelligence roles.
This commit is contained in:
Hongming Wang 2026-04-15 20:29:41 -07:00 committed by GitHub
parent c71bd04cf1
commit 02cd80c5f6

View File

@ -273,6 +273,31 @@ workspaces:
role: Market sizing, trends, user research
files_dir: market-analyst
plugins: [browser-automation]
# Idle-loop rollout wave 2 (#216 → #285 → #304 validated on Technical
# Researcher 2026-04-16 02:40 UTC). Market Analyst gets the same
# reflection-on-completion pattern tuned for market research work.
idle_interval_seconds: 600
idle_prompt: |
You have no active task. Backlog-pull + reflect, under 60 seconds:
1. search_memory "research-backlog:market-analyst" — pull any
stashed market-research questions. If found:
- delegate_task to Research Lead with a concrete spec:
"Market research: <topic>. Target audience, TAM, pricing
comparables. Report in <N> words. Route audit_summary to
PM with category=research."
- commit_memory removing that item from the backlog.
2. If backlog empty, look at your LAST memory entry. Did a prior
task surface a market-sizing follow-up, a user-research gap,
or a pricing comparison worth doing? If yes:
- File a GH issue with the question, label `research`.
- commit_memory "research-backlog:market-analyst" for next tick.
3. If neither, write "ma-idle HH:MM — clean" to memory and stop.
No fabricating busy work.
Max 1 A2A per tick. Skip step 1 if Research Lead busy. Under 60s.
- name: Technical Researcher
role: AI frameworks and protocol evaluation
files_dir: technical-researcher
@ -348,6 +373,30 @@ workspaces:
role: Competitor tracking and feature comparison
files_dir: competitive-intelligence
plugins: [browser-automation]
# Idle-loop rollout wave 2 (sibling to Market Analyst).
idle_interval_seconds: 600
idle_prompt: |
You have no active task. Backlog-pull + reflect, under 60 seconds:
1. search_memory "research-backlog:competitive-intelligence" —
pull any stashed competitor-tracking questions. If found:
- delegate_task to Research Lead with a concrete spec:
"Competitive: <competitor/feature>. What shipped, when, who
it's aimed at, gaps vs ours. Report in <N> words. Route
audit_summary to PM with category=research."
- commit_memory removing from backlog.
2. If backlog empty, look at your LAST memory entry. Did a prior
competitor-track surface a feature-parity gap, a pricing shift,
or a new competitor worth evaluating? If yes:
- File a GH issue with the question, label `research`.
- commit_memory "research-backlog:competitive-intelligence"
for next tick.
3. If neither, write "ci-idle HH:MM — clean" to memory and stop.
No fabricating busy work.
Max 1 A2A per tick. Skip step 1 if Research Lead busy. Under 60s.
- name: Dev Lead
role: Engineering planning and team coordination