Repository navigation
Description
Parent
- Repo:
unbound-force/unbound-force - Change:
openspec/changes/delegation-skill-enforcement/ - Parent issue: Enforce mechanical-task skill/script compliance at tool level #787
- Replicator issue: forge spawn-subtask: parameter-level task classification and skill/script reference validation (delegation contract parity) replicator#143
Background
The delegation-skill-enforcement change (#787) extended
uf_delegate_command with the delegation parameter contract --
task_classification (deterministic | judgment), skill
(a skill name resolved against the skill directories, or a
repo-relative script path, existence-verified), and
skill_absent_reason -- enforced fail-closed at the tool
boundary before any child session spawns.
On the /uf.unleash Swarm parallel path, [P] tasks delegate
through replicator_forge_spawn_subtask, which has no
classification parameters. The change recorded that posture in
the command template (.opencode/commands/uf.unleash.md,
implement step, parallel execution): the subtask description
MUST carry the classification and the skill/script reference,
and "The spawn tool has no classification parameters, so the
description is the contract's carrier on this path." Tool-level
validation on the Swarm path was a design Non-Goal
(Replicator-owned, cross-repo), tracked by
unbound-force/replicator#143 so the deferral has a closure path.
unbound-force/replicator#143 closes the tool-side gap: the
forge spawn-subtask tool gains the equivalent parameter-level
validation -- a task_classification parameter, an
existence-verified skill/script reference, an absence-reason
escape hatch, and the deterministic-requires-reference-or-reason
rule, fail-closed before the subtask spawns.
Gap
This issue tracks the consumer side, which currently has no
tracked closure. Once the replicator release carrying
unbound-force/replicator#143 ships, the Swarm path's
prose-only carrier is exactly the posture the parent change
closed on uf_delegate_command, and the template's statement
of fact is stale:
.opencode/commands/uf.unleash.md(implement step,
parallel execution, spawn call block): instructs the
description-carrier contract and asserts the spawn tool has
no classification parameters -- false after the replicator
release; the prose carrier bypasses the new tool contractinternal/scaffold/assets/opencode/commands/uf.unleash.md:
the scaffold mirror carries the same stale text
(drift-detection enforced); hero repos receive the fix only
viauf initscaffold sync.opencode/uf/packs/determinism.md(DE-008) and
.opencode/agents/divisor-guard.md(Deterministic
Delegation Discipline checklist): assess whether the wording
should name the spawn tool's parameter contract now that
tool-level validation exists on both delegation paths
Requested change
Implement after (or alongside) the replicator release that
ships unbound-force/replicator#143:
- Update the
/uf.unleash.mdparallel-execution spawn call
block to passtask_classificationand the verified
skill/script reference (orskill_absent_reason) to
replicator_forge_spawn_subtaskas tool parameters,
mirroring theuf_delegate_commandcall blocks; delete the
description-carrier prose and the "no classification
parameters" sentence - Update the scaffold mirror byte-identically;
drift-detection tests stay green - Assess DE-008 and the divisor-guard checklist section for
wording updates naming the spawn tool's parameter contract;
bump the pack version if rule text changes - Sequencing/compatibility notes: Go's
json.Unmarshal
ignores unknown fields, so an updated template against an
old replicator binary is a no-op pass-through. The reverse
direction is NOT compatible:task_classificationis
schema-required and fail-closed in the replicator#143
release, so an old template against a new binary fails
closed with a self-describing error
(task_classification is required (accepted values: deterministic, judgment)) until this template update
lands. The failure is non-destructive (no subtask spawns,
zero partial state), but the template update should land
alongside (or before) rollout of the replicator release so
the Swarm path does not regress in the window between the
two.
Per the spec workflow, this is an agent/template change
requiring its own OpenSpec change when picked up; this issue is
its tracking vehicle and originating issue.
References
- Parent change:
openspec/changes/delegation-skill-enforcement/
(proposal.md Task 5.5 record filed replicator#143) - Parent issue: Enforce mechanical-task skill/script compliance at tool level #787
- Replicator issue: forge spawn-subtask: parameter-level task classification and skill/script reference validation (delegation contract parity) replicator#143
- Docs-gate issue for the parent change: docs: delegation skill enforcement classification contract + Guard delegation discipline (delegation-skill-enforcement) #791
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity