ECC/rules/common
someiyoshino-lab 4a4fa907f5
docs(rules): add Delegation Completion Contract to agent orchestration rules (#2471)
The 'Parallel Task Execution' rule encourages agents to spawn subagents,
but defines no completion contract. Observed failure mode: subagents
followed the rule, spawned their own children, and returned 'waiting
for background agents' as their final answer. All children completed
successfully, but their results were orphaned because a parent whose
turn has ended cannot receive completion notifications - leaving
zombie 'running' tasks and lost work.

Adds three rules that apply at every delegation depth:
1. Your final message IS the deliverable (never end with 'waiting')
2. If you delegate, you own collection (no fire-and-forget)
3. Decompose only when work cannot fit in one context
2026-07-20 15:39:55 -04:00
..
agents.md docs(rules): add Delegation Completion Contract to agent orchestration rules (#2471) 2026-07-20 15:39:55 -04:00
code-review.md fix: address review feedback from PR #929 2026-03-26 04:37:08 +00:00
coding-style.md docs: fold stocktake rule guidance into common rules 2026-04-05 15:49:43 -07:00
development-workflow.md fix: address review feedback from PR #929 2026-03-26 04:37:08 +00:00
git-workflow.md fix: resolve open-issue cluster (#2295, #2298, #2303–#2306, #2340) + createdTime fallback bug (#2408) 2026-07-03 21:10:45 -07:00
hooks.md refactor(rules): restructure into common + language-specific directories 2026-02-05 05:58:06 -08:00
patterns.md refactor(rules): restructure into common + language-specific directories 2026-02-05 05:58:06 -08:00
performance.md Remove model version numbers (#2144) 2026-06-15 13:48:58 -04:00
security.md refactor(rules): restructure into common + language-specific directories 2026-02-05 05:58:06 -08:00
testing.md docs: fold stocktake rule guidance into common rules 2026-04-05 15:49:43 -07:00