[MUDA] 無駄 — Waste elimination. Detect and kill dead work across the fleet. #350

Closed
opened 2026-04-07 14:30:12 +00:00 by Timmy · 0 comments
Owner

Part of Epic: #345

Principle

Muda means waste. Toyota identified 7 wastes: overproduction, waiting, transport, overprocessing, inventory, motion, defects. Every waste is a resource that could have been value.

Our Seven Wastes (mapped to AI fleet)

Toyota Waste Our Waste Example
Overproduction Filing issues nobody reads Groq created issues while closing others, timmy-home grew
Waiting Rate-limited loops retrying endlessly Gemini hitting rate limit every 10 seconds, zero output
Transport Moving work between repos Issues on hermes-agent that belong on timmy-config
Overprocessing Doing more than the issue asks Agent writes 500-line PR for a 5-line fix
Inventory Open issues that will never be worked 276 open issues in timmy-home, many stale
Motion Agents cloning/rebasing same repo repeatedly Grok rebasing the-nexus 50 times for one issue
Defects PRs that can't merge, empty commits 4 PRs with conflicts, zero review

Implementation: muda-audit.sh

Weekly waste audit:

  1. Overproduction: Count issues CREATED by agents vs issues CLOSED. Ratio > 1.0 = waste.
  2. Waiting: Count rate-limit entries per agent. If > 50% of attempts are rate-limited, agent is wasting cycles.
  3. Transport: Count issues closed-and-redirected (like our hermes-agent cleanup). Should be 0.
  4. Overprocessing: Check PR diff sizes. Average lines changed per issue. Flag outliers (>500 lines for non-epic).
  5. Inventory: Count issues open > 30 days with no activity. These are dead inventory.
  6. Motion: Count git clone/rebase operations per issue from logs. Flag issues requiring > 3 clones.
  7. Defects: Count PRs closed without merge vs PRs merged. High close rate = defect production.

Post waste report to Telegram. Suggest eliminations.

Acceptance Criteria

  • muda-audit.sh measures all 7 wastes
  • Runs weekly (Sunday night)
  • Posts waste report to Telegram with specific numbers
  • Suggests concrete eliminations for top 3 wastes
  • Over time: waste metrics decrease week over week
Part of Epic: #345 ## Principle Muda means waste. Toyota identified 7 wastes: overproduction, waiting, transport, overprocessing, inventory, motion, defects. Every waste is a resource that could have been value. ## Our Seven Wastes (mapped to AI fleet) | Toyota Waste | Our Waste | Example | |-------------|-----------|---------| | Overproduction | Filing issues nobody reads | Groq created issues while closing others, timmy-home grew | | Waiting | Rate-limited loops retrying endlessly | Gemini hitting rate limit every 10 seconds, zero output | | Transport | Moving work between repos | Issues on hermes-agent that belong on timmy-config | | Overprocessing | Doing more than the issue asks | Agent writes 500-line PR for a 5-line fix | | Inventory | Open issues that will never be worked | 276 open issues in timmy-home, many stale | | Motion | Agents cloning/rebasing same repo repeatedly | Grok rebasing the-nexus 50 times for one issue | | Defects | PRs that can't merge, empty commits | 4 PRs with conflicts, zero review | ## Implementation: muda-audit.sh Weekly waste audit: 1. **Overproduction**: Count issues CREATED by agents vs issues CLOSED. Ratio > 1.0 = waste. 2. **Waiting**: Count rate-limit entries per agent. If > 50% of attempts are rate-limited, agent is wasting cycles. 3. **Transport**: Count issues closed-and-redirected (like our hermes-agent cleanup). Should be 0. 4. **Overprocessing**: Check PR diff sizes. Average lines changed per issue. Flag outliers (>500 lines for non-epic). 5. **Inventory**: Count issues open > 30 days with no activity. These are dead inventory. 6. **Motion**: Count git clone/rebase operations per issue from logs. Flag issues requiring > 3 clones. 7. **Defects**: Count PRs closed without merge vs PRs merged. High close rate = defect production. Post waste report to Telegram. Suggest eliminations. ## Acceptance Criteria - [ ] muda-audit.sh measures all 7 wastes - [ ] Runs weekly (Sunday night) - [ ] Posts waste report to Telegram with specific numbers - [ ] Suggests concrete eliminations for top 3 wastes - [ ] Over time: waste metrics decrease week over week
Timmy self-assigned this 2026-04-07 14:30:12 +00:00
Timmy closed this issue 2026-04-07 15:34:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-config#350