Skip to content

drzero-execution

Execute a specific WorkItem through domain specialist routing with security review

experimental
IDE:
codex
Version:
0.1.0
Owner:epic-platform-sre
drzero
execution
workitem
implementation

DrZero Execution Mode

Execute a single WorkItem through the appropriate domain specialist(s). Use this when you have a specific, well-defined task to accomplish.

Installation Prerequisite

Install the DrZero Codex bundle before using this skill:

make codex-install-drzero SCOPE=repo

Workflow

1. WorkItem Validation

  • Parse the WorkItem (from user input or session state)
  • Validate required fields: id, description, domain, scope_boundary, acceptance_test
  • Assess estimated_difficulty and confirm scope_boundary

2. Domain Routing

  • Dispatch agent: drzero-solver
  • Route to domain specialist based on WorkItem.domain:
    • Dispatch the specialist matching the domain value
  • Domain-to-agent mapping uses drzero-{domain} naming

3. Implementation

  • Dispatch agent: drzero-implementation (or domain specialist)
  • Execute the changes specified in the WorkItem
  • Stay within scope constraints
  • Run acceptance_test command from WorkItem

4. Security Review

  • Dispatch agent: drzero-security
  • Three-headed review: Security (Paranoid), Quality (Pedantic), Savage (Brutal)
  • Block on CRITICAL findings
  • WARN on HIGH findings (user can override)

5. Verification

  • Run the acceptance_test command from WorkItem
  • Confirm all changes are within scope
  • Report outcome (PASS/FAIL with details)

Input Format

Provide a WorkItem as JSON or describe the task naturally:

  • "Fix the ESLint errors in scripts/build-metadata.js"
  • "Add unit tests for the validate-schemas module"
  • "Update the README with new installation instructions"

Related Assets