Skip to content

notes: Cumora 多 Agent 防撞车机制卡 - #127

Open
joyehuang wants to merge 2 commits into
mainfrom
0926-cumora-multi-agent-coordination
Open

notes: Cumora 多 Agent 防撞车机制卡#127
joyehuang wants to merge 2 commits into
mainfrom
0926-cumora-multi-agent-coordination

Conversation

@joyehuang

@joyehuang joyehuang commented Sep 1, 2026

Copy link
Copy Markdown
Owner

两大失败模式 / 七层防御 / 十二条反模式(全带 commit 号)/ 能用代码机制修的别加 prompt 规则 / 对记忆钩子与多 agent 接力的借鉴。

止步 PR 不合并。bun run check 0 errors。


Summary by cubic

Adds a reference note distilling Cumora's multi-agent coordination playbook, plus a small SiteStats.astro type fix so branches cut from main pass type checks. This PR is for reference review and is not intended to be merged.

Note content

  • Documents two failure modes — race collisions (code-fixable) and brain misjudgment (prompt-level) — and the rule to fix with code mechanisms before adding prompt rules.
  • Covers seven defense layers: model pinning, concurrency gates, deterministic spawn spacing, freshness preflight, atomic in-transaction de-duplication, and a small standing prompt.
  • Lists twelve anti-patterns with commit references, including only capping one layer of a shared provider and piling scenario examples into prompts.
  • Maps lessons to our memory hooks and herdr multi-agent relay, and references the seen-cursor contract and diff-against-last-good-baseline debugging.

Written for commit 8f86087. Summary will update on new commits.

Review in cubic

includes SiteStats.astro neon type fix (same as #118) for clean check on
branches cut from main
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blog Ready Ready Preview Sep 3, 2026 2:41am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="src/content/notes/0926-cumora-multi-agent-coordination.md">

<violation number="1" location="src/content/notes/0926-cumora-multi-agent-coordination.md:3">
P3: The description claims the note covers 十二条反模式 (twelve anti-patterns), but the 反模式清单 section enumerates only seven bullets: only-cap-one-layer, piling scene examples into prompts, pouring persona/CLI-directory into standing prompt, fixing infra with prompt changes, hammering converged LLM judgment, treating absent members as faults-to-fix, and diff-vs-last-good baseline. Either the count is wrong or five anti-patterns are missing from the body. Reconcile the number with the enumerated list so the note's summary matches its content.</violation>

<violation number="2" location="src/content/notes/0926-cumora-multi-agent-coordination.md:3">
P3: The `description` (and intro framing) claims "十二条反模式", but the 反模式清单 section lists only 7 anti-patterns (counting the bullets). The note never acknowledges the remaining 5. Either drop the count from the description or note that the section extracts a subset, so the summary matches the body.</violation>

<violation number="3" location="src/content/notes/0926-cumora-multi-agent-coordination.md:15">
P3: This note is published without a `.en.md` mirror, while all 22 existing notes ship as Chinese `.md` + English `.en.md` pairs (the config keeps the pair in sync). If a mirror is intended, create `0926-cumora-multi-agent-coordination.en.md`; otherwise document why the note is Chinese-only.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

@@ -0,0 +1,61 @@
---
title: Cumora COORDINATION.md:多 Agent 协作的失败模式与防御分层
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: The description claims the note covers 十二条反模式 (twelve anti-patterns), but the 反模式清单 section enumerates only seven bullets: only-cap-one-layer, piling scene examples into prompts, pouring persona/CLI-directory into standing prompt, fixing infra with prompt changes, hammering converged LLM judgment, treating absent members as faults-to-fix, and diff-vs-last-good baseline. Either the count is wrong or five anti-patterns are missing from the body. Reconcile the number with the enumerated list so the note's summary matches its content.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-cumora-multi-agent-coordination.md, line 3:

<comment>The description claims the note covers 十二条反模式 (twelve anti-patterns), but the 反模式清单 section enumerates only seven bullets: only-cap-one-layer, piling scene examples into prompts, pouring persona/CLI-directory into standing prompt, fixing infra with prompt changes, hammering converged LLM judgment, treating absent members as faults-to-fix, and diff-vs-last-good baseline. Either the count is wrong or five anti-patterns are missing from the body. Reconcile the number with the enumerated list so the note's summary matches its content.</comment>

<file context>
@@ -0,0 +1,61 @@
+---
+title: Cumora COORDINATION.md:多 Agent 协作的失败模式与防御分层
+description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。
+date: 2026-09-02
+updatedDate: 2026-09-02
</file context>
Suggested change
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、七条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。

@@ -0,0 +1,61 @@
---

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: This note is published without a .en.md mirror, while all 22 existing notes ship as Chinese .md + English .en.md pairs (the config keeps the pair in sync). If a mirror is intended, create 0926-cumora-multi-agent-coordination.en.md; otherwise document why the note is Chinese-only.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-cumora-multi-agent-coordination.md, line 15:

<comment>This note is published without a `.en.md` mirror, while all 22 existing notes ship as Chinese `.md` + English `.en.md` pairs (the config keeps the pair in sync). If a mirror is intended, create `0926-cumora-multi-agent-coordination.en.md`; otherwise document why the note is Chinese-only.</comment>

<file context>
@@ -0,0 +1,61 @@
+type: reference
+status: ready
+source: https://github.com/yetone/cumora
+draft: false
+---
+
</file context>

@@ -0,0 +1,61 @@
---
title: Cumora COORDINATION.md:多 Agent 协作的失败模式与防御分层
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: The description (and intro framing) claims "十二条反模式", but the 反模式清单 section lists only 7 anti-patterns (counting the bullets). The note never acknowledges the remaining 5. Either drop the count from the description or note that the section extracts a subset, so the summary matches the body.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/content/notes/0926-cumora-multi-agent-coordination.md, line 3:

<comment>The `description` (and intro framing) claims "十二条反模式", but the 反模式清单 section lists only 7 anti-patterns (counting the bullets). The note never acknowledges the remaining 5. Either drop the count from the description or note that the section extracts a subset, so the summary matches the body.</comment>

<file context>
@@ -0,0 +1,61 @@
+---
+title: Cumora COORDINATION.md:多 Agent 协作的失败模式与防御分层
+description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。
+date: 2026-09-02
+updatedDate: 2026-09-02
</file context>
Suggested change
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、十二条反模式,以及「能用代码机制修的别加 prompt 规则」这条总原则。
description: yetone 的 Cumora(多 agent 团队聊天)COORDINATION.md 精读——两大失败模式(竞态碰撞 vs 大脑误判)、七层防御(模型 pin、并发闸、spawn 间隔、新鲜度 preflight、原子去重 HOLD、triage 门、standing prompt)、反模式清单(文中摘录部分),以及「能用代码机制修的别加 prompt 规则」这条总原则。

… 演进)、反模式全文、五条原则与数数字面主义级联、T1-T10 排障记录
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant