Decker lesser 1995 gpgp taems

From curiositech/windags-skills · View interactive version

Decker lesser 1995 gpgp taems is an AI agent skill from the GitHub repository curiositech/windags-skills. Generalized Partial Global Planning with TAEMS task structures for multi-agent coordination

How to use this skill

Skill file

SKILL: GPGP Multi-Agent Coordination

Overview

Build coordination mechanisms for distributed systems using task structure analysis and commitment protocols. Select minimal coordination mechanisms based on specific task relationship types rather than universal approaches.

Decision Points

Primary Mechanism Selection Decision Tree

IF analyzing new coordination requirement THEN:

1. Identify task relationship type:
   ├─ Enables (B cannot start until A completes)
   │  └─ Use strict deadline commitments, low negotiability
   ├─ Facilitates (A helps B but B can proceed without A)  
   │  └─ Use opportunistic information sharing, high negotiability
   ├─ Hinders (A competes with B for resources)
   │  └─ Use deconfliction protocols, resource allocation
   └─ Redundancy (A and B achieve same goal)
      └─ Use result sharing, early termination triggers

2. Assess relationship strength (power factor 0.0-1.0):
   ├─ > 0.7: Coordinate with full protocol
   ├─ 0.3-0.7: Coordinate with lightweight mechanisms  
   └─ < 0.3: Skip coordination, act independently

Commitment Protocol Decision Tree

IF establishing commitment between agents THEN:

1. Determine commitment type needed:
   ├─ Hard deadline + quality requirement
   │  └─ Use C(DL(T,q,tdl)): "achieve quality q by time tdl"
   └─ Quality achievement without strict timing
      └─ Use C(Do(T,q)): "achieve quality q when feasible"

2. Set negotiability index:
   ├─ Critical path task: negotiability = 0.1-0.3
   ├─ Important but flexible: negotiability = 0.4-0.7
   └─ Nice-to-have: negotiability = 0.8-1.0

3. Establish renegotiation triggers:
   ├─ Resource availability changes > 20%
   ├─ Task priority shifts
   └─ Blocking dependencies emerge

Information Sharing Decision Tree

IF deciding what information to share THEN:

1. Calculate sharing value:
   ├─ IF information affects another agent's task success > 10%
   │  └─ Share immediately
   ├─ IF information enables better resource allocation
   │  └─ Share if communication cost < expected utility gain
   └─ IF information is local status update
      └─ Share only to committed partners

2. Determine sharing mechanism:
   ├─ Urgent commitment changes: Direct notification
   ├─ Task structure updates: Broadcast to affected agents
   └─ Status updates: Periodic bulletin

Failure Modes

Schema Bloat

Symptoms: Coordination mechanisms handle too many task types, slow decision-making, high overhead

Detection: IF coordination overhead > 30% of total compute time OR mechanism has >20 conditional branches

Fix: Decompose into specialized mechanisms, each handling 1-2 relationship types

Rubber Stamp Commitments

Symptoms: Agents make commitments they cannot keep, frequent commitment breaks, cascading failures

Detection: IF commitment break rate > 15% OR agents consistently miss deadlines by >50%

Fix: Add negotiability indices, implement realistic resource estimation, create commitment verification protocols

Information Hoarding

Symptoms: Agents act on stale information, redundant work, missed coordination opportunities

Detection: IF agents request same information multiple times OR duplicate work detected

Fix: Implement strategic information sharing based on expected value calculation, create information marketplaces

Commitment Cascade Failures

Symptoms: Breaking one commitment forces breaking many others, system-wide coordination collapse

Detection: IF single commitment break causes >5 secondary breaks OR system cannot reach quiescence

Fix: Design commitment networks with circuit breakers, prioritize commitments, implement graceful degradation

Premature Coordination Termination

Symptoms: Coordination stops while agents still have pending work, incomplete task execution

Detection: IF agents terminate with unfinished commitments OR coordination ends before all constraints satisfied

Fix: Implement explicit quiescence detection, track commitment lifecycle states, add termination protocols

Worked Examples

Example 1: Microservice SLA Design

Scenario: Designing coordination between payment service (A) and order service (B) in e-commerce system.

Task Analysis:

Mechanism Selection Process:

  1. Strong enables relationship → strict deadline commitments required
  2. High power factor (0.9) → full coordination protocol needed
  3. Apply decision tree: Use C(DL(T,q,tdl)) commitment type

Implementation:

Payment Service commits to Order Service:
- Commitment: C(DL(ProcessPayment, 0.95, order_timeout-30sec))  
- Quality: 95% success rate
- Deadline: 30 seconds before order timeout
- Negotiability: 0.2 (low - critical path)
- Renegotiation triggers: fraud_score > threshold, payment_gateway_down

Expert vs Novice:

Example 2: Multi-Robot Task Scheduling with Trade-offs

Scenario: Three robots (A, B, C) cleaning warehouse with overlapping patrol zones.

Task Analysis:

Decision Tree Navigation:

  1. A-B (facilitates, power=0.4) → lightweight coordination, high negotiability
  2. B-C (hinders, power=0.8) → deconfliction protocol needed
  3. A-C (redundancy, power=0.6) → result sharing mechanism

Mechanism Implementation:

A-B Coordination:
- Opportunistic info sharing: "cleaned zone X at quality 0.8"
- Negotiability: 0.7 (flexible timing)

B-C Coordination:  
- Resource allocation: charging station scheduler
- Strict deconfliction: mutex on station access
- Negotiability: 0.3 (safety critical)

A-C Coordination:
- Result sharing: "central zone cleaned, terminating redundant task" 
- Early termination trigger on result quality > 0.9

Trade-off Analysis:

Quality Gates

Task Structure Analysis Complete:

Mechanism Selection Justified:

Commitment Protocol Design:

Information Sharing Strategy:

Failure Mode Coverage:

Performance Validation:

NOT-FOR Boundaries

This skill should NOT be used for:

Delegate to other skills:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.