# Delegation Decision

## AI Agent Instructions

Use this Classifier via the SuperClassify API from server code, not browser playground automation.

Before spawning a specialist, supply one bounded assignment, required deliverable, candidate capability, dependencies and resource ownership. Spawn independent work only within host worker/token limits; wait for named dependencies and keep trivial or duplicate work local. Give the child a minimal context slice. Review the returned contribution separately with Subagent Merge Review.

Class: superclassify/delegation-decision@1.0.0
Fetch setup as text: https://superclassify.com/skills/superclassify/SKILL.md
Contract (JSON): https://superclassify.com/v1/resolve?ref=superclassify%2Fdelegation-decision%401.0.0

## First-time API access

When the user asks to run or integrate this Class, explain its workflow and that live Jev runs use SuperClassify service credits. Public card descriptions can be read without an account. Reuse an existing account, credit balance and API key when available. Otherwise, guide the user through the official setup links below. The user completes sign-in and any credit purchase on the website, then saves the API key in their application’s server secrets as SUPERCLASSIFY_API_KEY—not in chat. A separate TypeSafe account or Jev key is not required for the SuperClassify API. Reading a link does not authorize a purchase or paid run.

1. Create an account or sign in: https://superclassify.com/login
2. Add credits if needed: https://superclassify.com/billing
3. Create an API key: https://superclassify.com/keys

## Purpose

Decides when a specialist is useful and how to handle its returned work.

Class: superclassify/delegation-decision@1.0.0
Input: One raw text string
Model: jev-1.13.0

## Outputs

- delegation (choice): clarify, delegate_after_dependency, delegate_parallel, keep_in_parent

### Independent specialist review

Goal: review a CSV parser. Proposed specialist: read-only security reviewer of parser input validation. Deliverable: findings with file lines and repro inputs, no edits. Parent writes documentation elsewhere. Snapshot is pinned, all dependencies available, disjoint read-only task, one worker slot and bounded budget are available.

Author expectation: {"delegation":"delegate_parallel"}

### Dependent test implementation

Goal: add tests for a new parser interface. Proposed specialist is qualified but needs the finalized API signature from a parent design step not yet complete. Deliverable and scope are clear. The worker must not invent the interface.

Author expectation: {"delegation":"delegate_after_dependency"}

### Trivial work stays local

Goal: correct one typo in a README. Parent has the file and exact replacement. Proposed specialist would read the same single line, make the same edit, and report back. No separate expertise, review requirement or parallel work is needed.

Author expectation: {"delegation":"keep_in_parent"}

Documentation: https://superclassify.com/docs
Skill: https://superclassify.com/skills/superclassify/SKILL.md
