refactor: make Delegate Kit a universal orchestration policy - #1
refactor: make Delegate Kit a universal orchestration policy#1tomastaker wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee4b1dbf32
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| --- | ||
| name: delegate-kit | ||
| description: Delegate work to fresh workers from Claude Code or Codex, with the review always on the other model family. Use for multi-module changes, anything that needs an independent review, parallel independent work, a preset ("main-claude", "main-codex") to choose which subscription pays, or when the user says "delegate", "subagent", "worker", "plan this", "review this". | ||
| description: Use before repository work to choose a consistent execution shape: work directly, ask one read-only scout, delegate one coherent task, parallelize 2-3 independent tasks, or request independent review. Works with any capable coding agent or harness; use the host's native agent and worker tools when available. |
There was a problem hiding this comment.
Quote the description so the frontmatter parses
When a skill host parses this frontmatter as YAML, the embedded shape: work contains a colon followed by a space inside an unquoted scalar, causing parsing to abort with mapping values are not allowed in this context; consequently, Delegate Kit cannot be discovered or loaded by standards-compliant skill loaders. Quote or fold the description, and consider having CI parse the frontmatter as YAML rather than checking substrings.
Useful? React with 👍 / 👎.
|
Superseded by the policy + external-runtime rework (new PR from rework/policy-plus-external): keeps the shape vocabulary from this PR, moves the runtime behind references instead of removing it, and makes cross-family review a preference with a same-family fallback. |
Summary
This rewrites Delegate Kit from a Claude/Codex-specific execution package into a compact, host-neutral orchestration policy for capable coordinator models.
The current session remains the coordinator. Delegate Kit now teaches it to choose the smallest useful execution shape:
DIRECTfor localized or tightly coupled work;SCOUTfor one bounded read-only investigation;SINGLEfor one coherent delegated outcome;PARALLELfor 2–3 genuinely independent outcomes;SEQUENTIALwhen dependencies or shared state forbid parallelism;Design decisions
Removed
The active skill package no longer ships:
claude -p/codex execorchestration;Those mechanisms remain available in Git history. Modern harnesses already provide much of this runtime functionality, while keeping it in the core skill made the policy heavier and less portable.
Documentation
The README now explains the decision model, scaling behavior, coordinator ownership, worker briefs, independent review, optional model tiers, installation, and examples for small repositories and large monorepos.
The design borrows selected principles from Superpowers, Orca, and Hyperskills without adopting large default swarms or a mandatory development ceremony.
Validation
CI now validates that:
SKILL.mdexists and has required frontmatter;Expected outcome
Delegate Kit becomes suitable for routine, effectively always-on use across Claude Code, Codex, T3 Code, Orca, Pi, OpenCode, and future harnesses. Small tasks should remain single-agent; large repositories should trigger targeted scouting; parallel workers should appear only where outcomes and mutable state are genuinely independent.