feat: mumuni-delegation-prose-contract — manager operating doctrine for worker delegation #12

Merged
jerome merged 3 commits from feat/delegation-prose-contract into master 2026-07-09 07:43:26 +00:00
Owner

What This Does

Creates a pattern kind prose contract defining when Mumuni (the manager) must delegate work to worker profiles instead of executing it directly. Addresses the iteration exhaustion issue where Mumuni blew through the 60-call budget on single-turn tasks.

Mumuni-specific — other agents have different architectures and worker profiles, so this contract only applies to Mumuni.

Contents

  • Trigger conditions — When delegation is mandatory (2+ tool calls, >5K token output, cross-domain, infra changes, code builds)
  • Worker selection matrix — All 6 Mumuni profiles with model, toolsets, role mapping
  • Delegation protocol — Decompose → Dispatch → Verify → Deliver
  • Kanban board~/.hermes/kanban/kanban.json with status tracking
  • Failure handling — 900s timeout, retry with narrower scope
  • Anti-patterns — No pretending-to-delegate, no skipping verification, max 3 parallel
  • Emergency exception — Delegate diagnosis, execute fix, verify after

Approved Rules (from Kwame)

  • Triggers when context will fill up
  • Use worker profiles for their designed roles
  • Single tool stays at manager level
  • Max 3 parallel workers
  • Verify infra changes, code builds, research findings
  • Emergency tasks still delegated for separation of concerns
  • Kanban board at ~/.hermes/kanban/kanban.json

Lint

Lint passed — no new warnings introduced.

## What This Does Creates a `pattern` kind prose contract defining when Mumuni (the manager) must delegate work to worker profiles instead of executing it directly. Addresses the iteration exhaustion issue where Mumuni blew through the 60-call budget on single-turn tasks. **Mumuni-specific** — other agents have different architectures and worker profiles, so this contract only applies to Mumuni. ## Contents - **Trigger conditions** — When delegation is mandatory (2+ tool calls, >5K token output, cross-domain, infra changes, code builds) - **Worker selection matrix** — All 6 Mumuni profiles with model, toolsets, role mapping - **Delegation protocol** — Decompose → Dispatch → Verify → Deliver - **Kanban board** — `~/.hermes/kanban/kanban.json` with status tracking - **Failure handling** — 900s timeout, retry with narrower scope - **Anti-patterns** — No pretending-to-delegate, no skipping verification, max 3 parallel - **Emergency exception** — Delegate diagnosis, execute fix, verify after ## Approved Rules (from Kwame) - Triggers when context will fill up - Use worker profiles for their designed roles - Single tool stays at manager level - Max 3 parallel workers - Verify infra changes, code builds, research findings - Emergency tasks still delegated for separation of concerns - Kanban board at `~/.hermes/kanban/kanban.json` ## Lint ✅ Lint passed — no new warnings introduced.
mumuni-bot added 2 commits 2026-07-09 06:57:50 +00:00
Defines when to delegate, worker selection matrix, verification protocol,
kanban board, and failure handling. Addresses the context overflow and
iteration exhaustion issues where the manager was doing all work itself
instead of delegating to the 6 worker profiles.
fix: add topology section to satisfy lint checks
PR Pipeline — Authorize → Validate → Review → Merge / auth (pull_request) Failing after 14m6s
PR Pipeline — Authorize → Validate → Review → Merge / validate (pull_request) Has been skipped
PR Pipeline — Authorize → Validate → Review → Merge / lint (pull_request) Has been skipped
PR Pipeline — Authorize → Validate → Review → Merge / ai-review (pull_request) Has been skipped
PR Pipeline — Authorize → Validate → Review → Merge / gate (pull_request) Has been skipped
98d8ce6772
Added cluster/node topology section referencing all 5 Proxmox nodes and
clarifying that the contract is infrastructure-agnostic — defines the who
and when, not the where.
mumuni-bot added 1 commit 2026-07-09 07:18:31 +00:00
rename: delegation-prose-contract → mumuni-delegation-prose-contract
PR Pipeline — Authorize → Validate → Review → Merge / auth (pull_request) Successful in 3s
PR Pipeline — Authorize → Validate → Review → Merge / validate (pull_request) Successful in 3s
PR Pipeline — Authorize → Validate → Review → Merge / lint (pull_request) Successful in 2s
PR Pipeline — Authorize → Validate → Review → Merge / ai-review (pull_request) Successful in 3s
PR Pipeline — Authorize → Validate → Review → Merge / gate (pull_request) Successful in 1s
a8354e88bc
Contract is Mumuni-specific operating doctrine — different agents have
different architectures and don't need this. Renamed file and frontmatter
to reflect that.
mumuni-bot changed title from feat: delegation-prose-contract — manager operating doctrine for worker delegation to feat: mumuni-delegation-prose-contract — manager operating doctrine for worker delegation 2026-07-09 07:19:38 +00:00
jerome merged commit dc829bb09d into master 2026-07-09 07:43:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyslogSolution/prose-contracts#12