Skip to content

[exploration] 探索 IDD workflow 如何搭配 agent teams (verify ensemble / orchestration) #164

@kiki830621

Description

@kiki830621

Problem

Original text:
「我之後要看怎麼搭配agent teams」
— Source: pasted text, /idd-issue invocation 2026-05-29

Plain-language interpretation: 一條 parking-lot 探索種子 — 之後要研究 IDD workflow 如何與 agent teams(多 agent 協作編排)搭配。現階段是 capture-the-thought,scope 尚未定形,留待 pick-up 時細化。

Type

feature / exploration(種子,非具體需求)

Priority

P3 —「之後要看」明確是低優先 someday/maybe。不阻擋當前 critical-path(#155 idd-edit alt-layer)。

Background / 為什麼值得記

IDD 已經在跑 multi-agent,但沒有 first-class 的「agent teams」整合策略:

  • /idd-verify spawn 5 個 parallel Agent(subagent_type=general-purpose) + 1 Codex = 6-AI ensemble。 但這是手動 fan-out,不是 team 抽象。
  • #52 把 idd-verify 從 TeamCreate model 遷出(改成 standalone Agent calls),因為 TeamCreate 的 wait_for_idle 在 idle/wake cycle 後 context 流失 + teammate 需顯式列 Write tool。
  • #70 是 TeamCreate cleanup gap(TeamDelete fails on idle-but-active reviewers)— 遷出 team model 後 structurally 消解。
  • /idd-all / /idd-all-chain 是 sequential orchestration,沒有 team-parallel。

所以「搭配 agent teams」這個探索有真實的張力:IDD 剛離開 TeamCreate,但 ensemble verify 本質上就是一個 team。 問題是:正確的 team 抽象長什麼樣?

候選探索線索(給未來的自己,非結論)

開工時這些是起點,不是已選方向:

  1. Verify ensemble 形式化 — 目前 6-AI 是每次手刻 prompt + file-based output + polling。 是否值得抽成可重用的「review team」primitive?(但要避開 feature: idd-verify orchestration playbook (subagent_type guidance + recovery protocol) #52 遷出的 TeamCreate 痛點)
  2. idd-all-chain × team-parallel — chain 目前 sequential 解 root + spawn。 多個 independent spawn 能否 team-parallel 跑?
  3. Claude Code 原生 agent teams — 平台若有 agent-teams 機制(vs 手動 Agent fan-out),IDD 該不該採用?這需要先確認平台現況。
  4. 跨 skill 的 reviewer pool — verify 的 5 reviewer 角色(requirements/logic/security/regression/DA)能否被其他 skill(如 spectra-verify、code-review)共用?

Out of scope(明確不在此 issue)

Next(when picked up)

/idd-clarify #THIS resolve「agent teams 指什麼」的 referent 歧義(見下方 Clarity Surface),再 /idd-diagnose 評 complexity。 探索性質大概率 /spectra-discuss(多個 valid 方向 + 影響 published skill 編排契約)。


Clarity Surface

Authored inline at creation (proportionate to a terse exploration seed; run full /idd-clarify #164 when picked up for the complete three-class scan).

Type Source phrase Suggested canonical Status
terminology / missing-context 「agent teams」 Resolved: within-window parallel sub-agent / orchestration primitives (per comment 2, 2026-05-30, citing #167) — concretely the Agent tool fan-out, the experimental Agent Teams (TeamCreate), and (newly available as of 2026-06) the Workflow tool (dynamic workflows). NOT generic multi-agent. Candidates (a)/(b)/(c) collapse into this family; (d) cross-skill reviewer pool is an orthogonal downstream question, not the referent. resolved

Gate note (resolved 2026-06-01): per /idd-diagnose Step 0.5, this row was surfaced and would have refused diagnose. Referent was pinned in comment 2 (2026-05-30) and re-confirmed during /idd-diagnose 2026-06-01: "agent teams" = within-window orchestration primitive family. The 2026-06 arrival of the Workflow tool (dynamic workflows) is a new member of that same family, fully compatible with comment 2's definition — it does not re-open the referent, it expands the option set the diagnosis must weigh. Row flipped surfaced → resolved to keep the audit trail consistent with the already-existing clarification.

Linked-Context Siblings Filed

(none surfaced — clean single-seed invocation, no linked attachments / no orphan session mentions beyond the #155 alt-layer work already tracked)


Current Status

Phase: diagnosed
Last updated: 2026-06-01 by idd-diagnose → /spectra-discuss(discuss converged)

Key Decisions

  • Complexity = Spectra (Layer 2 published skill 編排契約 + Layer 3 architectural;影響 idd-verify + idd-all-chain)
  • 釘定 referent:「agent teams」= within-window orchestration primitive family,2026-06 新增成員 Workflow tool (dynamic workflows)
  • 推薦 hybrid split:workflow 擁有 deterministic「fan-out → DA verify → merge」core;skill 保留 gates + GitHub 發文 + triage + verify-fix loop
  • workflows.md canonical use case 逐字 = IDD verify ensemble(adversarial cross-review);候選線索①「reusable review-team primitive」答案 = saved workflow
  • Routing → spectra-discuss DONE(2026-06-01 converged)→ next /spectra-propose。Conclusion 落定:scope 含 verify ensemble + idd-all-chain(兩 site,分期 verify-first);Codex 包進 workflow + Phase 0 spike;新 spec idd-verify(inaugural,reference idd-pr-hitl-modes,名字 reject 掉 redundant -ensemble / mechanism-leaking -workflow

Scope Changes

Blocking

  • (none) — discuss 收斂完,等 user 自行執行 /spectra-propose(P3 parking-lot,user 主導 pacing)

Commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestparking-lotDiagnosed but deferred until trigger condition fires. /idd-list filter candidate.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions