Repository navigation
Description
Parent
- Repo:
unbound-force/unbound-force - Change:
openspec/changes/delegation-skill-enforcement/ - Issue: Enforce mechanical-task skill/script compliance at tool level unbound-force#787
Background
The parent change extended uf_delegate_command -- the OpenCode
plugin tool that delegates commands and tasks to a content agent --
with a delegation parameter contract:
task_classification(deterministic|judgment)skill(a skill name resolved against the skill directories, or a
repo-relative script path, existence-verified)skill_absent_reason(the recorded justification when
deterministic work has no applicable repo skill or script)
Enforcement is fail-closed at the tool boundary, before any child
session spawns: a deterministic-classified delegation with no skill
reference and no recorded absence reason fails with
SKILL_REFERENCE_REQUIRED; an unresolvable reference fails with
SKILL_NOT_FOUND. Supplied skills are injected into the composed
prompt as a tool-rendered directive, and the classification, the
resolved reference, and any justification are recorded in the
checkpoint data and success envelope for audit.
Gap
The /uf.unleash Swarm parallel path delegates [P] tasks through
replicator_forge_spawn_subtask. Classification and skill
references currently live only inside the spawn-prompt prose -- a
template-level requirement in the command file plus Guard review
flagging (the divisor-guard Code Review checklist flags Swarm-path
spawn prompts for deterministic [P] tasks that omit them). Nothing
at the tool level validates them. This mirrors the exact prose-only
posture the parent change closed on uf_delegate_command: agent
compliance with no detection when a spawn skips the reference
(post-compaction drift, a hurried re-run, or a future command simply
repeats the defect).
Tool-level validation on the Swarm path is Replicator-owned and was
recorded as a design Non-Goal in the parent change; this issue is
its tracked closure.
Requested change
Add equivalent parameter-level validation to the forge
spawn-subtask tool, mirroring uf_delegate_command's contract:
- a
task_classification(deterministic|judgment) parameter - a skill/script reference parameter (skill name resolved against
the project's skill directories, or a repo-relative script path,
existence-verified) - an absence-reason parameter recording the justification when
deterministic work has no applicable skill or script - the deterministic-requires-reference-or-reason rule: a
deterministic-classified spawn without a verified skill/script
reference or a recorded absence reason fails closed - existence verification of supplied references before the subtask
spawns
References
- Parent change:
openspec/changes/delegation-skill-enforcement/
in unbound-force/unbound-force - Parent issue: Enforce mechanical-task skill/script compliance at tool level unbound-force#787
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
jflowers commentedon Oct 25, 2026
Consumer-side follow-up is now tracked: unbound-force/unbound-force#830 records the
/uf.unleashSwarm-path template update that passes the new spawn parameters once this ships — command template + scaffold mirror + drift tests, DE-008/Guard wording assessment, and sequencing notes (updated template against an old binary is a no-op pass-through; schema-optional parameters keep old templates working).feat!: enforce delegation contract on forge_spawn_subtask
feat!: enforce delegation contract on forge_spawn_subtask