Skip to content

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

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: closed
Last updated: 2026-07-18 by /idd-update(manual — stale-status sync)

Key Decisions

  • Phase 1 shipped & ungatedformalize-idd-verify-ensemble propose → apply → archive(2026-06-01);v2.77.0 gated 引入 → v2.77.1 ungate 成預設 backend7d88bf9);inaugural idd-verify spec 落地(5 requirements、real Purpose)
  • Phase 2 正式放棄(2026-06-01 re-eval comment):idd-all-chain 踩滿 workflow 四項 hard limit(stateful FS/shell、mid-run user input、共用 branch 只能 sequential、workflow 不可巢狀呼叫 workflow-verify)→ chain 維持 sequential skill-orchestration,不 port 到 workflow primitive
  • 剩餘小項(非 Spectra 級、不阻塞):severity-vocab unification(workflow CRITICAL/HIGH vs manual P1/P2)、post-fix re-verify、optional discovery-phase experiment(chain 的 read-only 平行 discovery 子步驟)
  • 2026-07-18 user 裁決:不為剩餘小項開新 propose;本次僅同步 status、清除 stale Blocking
  • 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) — 原「等 user 自行執行 /spectra-propose」為 stale 記錄:該 propose 已於 2026-06-01 消化(見 comment「Propose → parked change created」);2026-07-18 user 確認不再為剩餘小項開新 propose

Commits

  • 7d88bf9 fix(idd-verify): ungate dynamic-workflow backend (now default) + 3 self-dogfood bug fixes; v2.77.1
  • 4c860cd chore(spectra): archive formalize-idd-verify-ensemble; idd-verify spec materialized + Purpose-gap confirmed live
  • e78adce feat(idd-verify): v2.77.0 — dynamic-workflow backend (gated, component-verified) + CHANGELOG
  • 2c8b56c feat(idd-verify): 3.1 findings normalization — both backends share the master-report table
  • 3f8b385 chore(idd-verify): mark tasks 3.2/3.3 done — verified by construction
  • 6987d3a fix(idd-verify): workflow args may arrive JSON-stringified — defensive parse; live-verified ensemble catches planted findings
  • f6af489 wip(idd-verify): dynamic-workflow backend — spike + schema + script + skill section, hardened
  • b6fd718 refactor(spec): rename idd-orchestrator-modes to idd-pr-hitl-modes + fill Purpose

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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