← Back to Pull requests

docs(skills): project-coordinator-cycle with the team lead procedure #1493

Open
unknown opened this pull request with 399 lines diff across 4 files
View on GitHub
unknown unknown commented on Oct 25, 2026 13:00 UTC
Author

What

  • The coordinator skill is renamed .claude/skills/crove-coordinator-cycle → .claude/skills/project-coordinator-cycle. This is the owner's request (2026-10-25).

  • New section 6, the team lead procedure, for Agent 1-5:

  • - picking and deriving work;
    - claims;
    - subagents;
    - migration versions and two-step table landing;
    - READY and MERGED;
    - reviews for other leads;
    - message batching.
  • Section 2a gains:

  • - moving every lead under the coordinator;
    - the Desktop cap of 10 messages per owner turn;
    - idle leads as independent reviewers;
    - valid UTC version times.

    Docs only. .claude/skills is not a protected path. docs:check passes.

    🤖 Generated with Claude Code

    ---

    <!-- dos-pr-summary -->

    📌 TL;DR


    This PR renames the crove-coordinator-cycle skill to project-coordinator-cycle and significantly expands its scope to include detailed operational procedures for "Team Leads" (Agents 1-5), covering work claiming, migration versioning, protected-path reviews, and session management limits.

    🎯 Type of Change


  • 🚀 New feature

  • 🐛 Bugfix

  • 🧹 Refactor

  • ⚡ Performance

  • 📚 Documentation

  • ⚙️ CI / Configuration
  • 🔍 Changes Walkthrough


    | File | Summary of Changes |
    | :--- | :--- |
    | .claude/skills/project-coordinator-cycle/SKILL.md | Renamed from crove-coordinator-cycle/SKILL.md. <br> Updated Metadata: Changed skill name and description to reflect the dual role of Coordinator (Agent 0) and Team Leads (Agents 1-5). <br> Expanded Coordinator Logic: Added rules for managing long-lived team lead sessions (starting/archiving via start_session), handling Desktop message caps (10 sends limit), and enforcing independent reviews for protected paths. <br> Refined Migration Rules: Clarified UTC time format for migration versions and added a check for the reservation table before assigning versions. <br> New Section 6 (Team Lead Procedure): Added a comprehensive 9-step workflow for Team Leads, detailing how to pick work, claim issues, manage parallel subagents, handle migrations (reservation/renaming), execute reviews (protected vs. standard), and manage session context (/compact). |

    📊 Architectural Flow


    flowchart TD
        subgraph "GitHub / External State"
            GH[GitHub Issues & PRs]
            CI[CI Pipeline]
        end
    
        subgraph "Agent 0: Coordinator"
            Coord[Coordinator Cycle]
            Coord -->|Check Lock & Review| GH
            Coord -->|Manage Sessions| Leads
            Coord -->|Assign Migration Versions| Migrations
        end
    
        subgraph "Agents 1-5: Team Leads"
            Leads[Team Lead Session]
            Leads -->|Pick & Claim Work| GH
            Leads -->|Run Subagents| Subagents
            Leads -->|Request Version| Coord
            Leads -->|Create PR| GH
            Leads -->|Merge/Report| Coord
        end
    
        subgraph "Subagents"
            Subagents[Background Workers]
            Subagents -->|Execute Code Changes| GH
        end
    
        Migrations[Migration Versioning]
        Migrations -->|Reserve/Update| GH
    
        Coord -.->|SendMessage / start_session| Leads
        Leads -.->|READY / MERGED / RESERVE| Coord
    

    <!-- /dos-pr-summary -->

    Diff: 399 lines (+299 / -100) across 4 files Reviewer: claude[bot] Review duration: 11m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.48) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 399 lines diff across 4 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.358
    Shallow Review Depth shallow_review_depth
    0.344
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #1493"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 48.2% (MEDIUM) · Higher = larger blast radius
    48.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.7% · Safe to merge
    25.7%
    Repository