Delegate a bounded task to a Luna worker
delegate_taskDelegate a substantial, bounded coding task to an isolated worker with enforced file scopes and automated verification. Returns evidence-backed pass/fail results so you keep architectural control.
Instructions
Delegate ONE substantial, bounded executable seam to gpt-5.6-luna; no second seam is required. Keep small, simple, or tightly coupled work solo. Tasks may be implementation, tests, bug fixing, refactoring, investigation, or chores. The parent owns architecture, decomposition, unresolved design, sequencing, interfaces, scope, acceptance, and final judgement. Luna owns scoped exploration, implementation, verification, and bounded repair; it cannot see the conversation or delegate.
Provide a self-contained objective, effortReason, acceptanceCriteria, verificationCommands, changeIntent, and honest scopes; add a concise activityLabel when safe and only repository-unavailable context. automaticRepair permits at most one conservative same-thread repair. Results include one evidence-derived failureDecision; parent owns nonautomatic actions. resultDetail=handoff is the default.
The runtime reruns declared checks and reconciles observed edits. A clean PASS returns a text-only VERIFIED_COMPLETE handoff: finish without rereading worker-owned files or rerunning passed checks unless a listed risk changes architecture. FAILED/BLOCKED, untrustworthy, discrepant, scope-violating, refused/skipped, or runtime-error results expand with evidence. Worker claims are not authoritative.
Delegate only when ownership, isolation, context, verification, latency, coordination risk, quality, and current parent-conditional credit economics beat fixed overhead; raw tokens are not credit cost and no saving is guaranteed. While pending with no meaningful new state, remain silent; do not narrate waiting or polling. Report only a result, error, cancellation, timeout, or actionable state change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effort | No | high | |
| context | No | ||
| objective | Yes | ||
| allowedFiles | No | ||
| changeIntent | No | required | |
| effortReason | Yes | ||
| resultDetail | No | handoff | |
| taskCategory | No | ||
| activityLabel | No | ||
| computePolicy | No | Optional per-call compute envelope. Narrows this installation's operator-owned baseline only and can never widen it. Omit to use the baseline. | |
| contextCapsule | No | ||
| forbiddenFiles | No | ||
| timeoutSeconds | No | ||
| automaticRepair | No | ||
| handoffReference | No | ||
| previousAttempts | No | ||
| routingPreflight | No | Optional advisory routing declaration. Solo advice never blocks execution; declarations gate: every surface refuses empty seams, parallel also refuses mutable sharedState, shared-core coreOverlap, or tasks > seams. "unknown" biases advice solo, never refuses. | |
| workingDirectory | No | ||
| acceptanceCriteria | Yes | ||
| verificationCommands | No |