Skill: Arcanum Orchestrate
SkillDev toolsRoute repository work through installed Arcanum capabilities and execute validated capability-bound dispatches through host-native operations.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Skill: Arcanum Orchestrate skill
What this skill tells your AI
The instructions your AI receives, as published by cyberalchemyai/arcanum in runtime/orchestrate/SKILL.md and read by ahel’s review.
- an explicit repository route declared by the active repository instructions;
- an explicitly user-named skill, normalized through a declared repository alias;
- a matching repository-local capability package;
- a user-global or catalog candidate only when the repository package is absent and repository policy permits fallback.
For Codex, the repository package is .agents/skills/<capability>/SKILL.md.
For Claude, it is .claude/skills/<capability>/SKILL.md. The legacy alias
arcanum-orchestrate normalizes to repository capability orchestrate; it must
never cause a probe for .agents/skills/arcanum-orchestrate/ or
.claude/skills/arcanum-orchestrate/, and it cannot override an installed local
orchestrate package. Catalog metadata may be present in host context, but it is
not consulted when an earlier repository-owned route resolves.
orchestrate execute <dispatch.json>
Accept exactly one repository-local dispatch JSON path. Extra positional arguments, a missing path, or another verb return a blocked preflight receipt and perform no host action.
Native execution after preflight uses
scripts/native_dispatch_driver.py. Its prepare-spawn and prepare-wait
commands append the required pre-call events before making a host request
artifact available. record-spawn and append-event record host-owned results.
advance-wave admits the exact current-wave receipt set, appends receipt joins
and the reducer-owned gate decision, validates the causal stream, and only then
persists dependent actions. prepare-next-wave-plan binds those exact actions
to an exclusively created current-wave plan without changing the causal stream.
orchestrate rehearse <dispatch.json>
For an authorization-required v0.2 dispatch, run the deterministic coordinator
rehearse command before requesting execution authority. Rehearsal validates
the dispatch and compiles every wave and typed gate in memory. It emits no
action documents, makes no host calls, records spawn_attempt_count: 0, and
grants no execution authority.
- Parse the exact execute grammar.
- Run the canonical Dispatch Spec validator. Continue only when the result is
pass;flagandblockemit a blocked receipt. - Read
subagent_strategy.authorization. Legacy v0.2 continues only forapprovedornot_needed. A v0.3 run instead requires the canonical dispatch to remainrequires_user_permissionand one separate execution entry carryingauthorization: approved; the coordinator applies that approval only to an in-memory execution projection. Useauthorization_pendingwhen neither contract supplies valid authority; useblockedfor blocked or missing authority. - Load the selected host profile and compare every
required_execute_operationwith the active host tool catalog. The active host catalog is runtime evidence; a shell executable or prose claim is not a substitute. - If any required operation is missing, emit
state=blocked, name the missing operations, setspawn_attempt_count=0, and stop. - Ask the deterministic coordinator to verify registration against the canonical append-only strategy ledger. Legacy v0.2 verifies embedded exact-sheet registration unchanged. V0.3 verifies the run-local execution entry, exact immutable canonical dispatch, runtime profile, confirmation binding, optional equivalence and required admission receipts, raw adapter-normalized ledger row, executable projection, registered topology, source lifecycle, consumed registration envelope, and temporary close path. Missing, stale, mismatched, duplicate, or unconsumed registration blocks before actions are emitted.
- Ask the deterministic coordinator to compile the first eligible wave. A passing preflight persists
strategy-registration.jsonbeside the state and run plan and ends atstate=wave_readywith action documents andspawn_attempt_count=0.
Preflight never invokes spawn, wait, join, close, message delivery, or a model-backed CLI.
- command, dispatch ID, and caller-supplied run ID;
- status and state;
- validation and authorization status;
- host ID, required/available/missing native operations;
- action count and whether a run plan was emitted;
spawn_attempt_count, which must equal zero;- blockers.
The deterministic coordinator's reduce command remains an offline reducer
and fixture surface. Its result alone is not live execution evidence and cannot
justify a resolved closeout. A live native path must use the driver handshake
and a validator-clean causal stream. If a pre-call append blocks, do not make
the host call. If a post-call append or terminal validation blocks, preserve
the partial stream and close with error; never reconstruct the missing event.
- Admit the action only when its
action_idexists in the current run plan, its persisted document matches that plan entry, and no attempt event already exists for the identifier. - Revalidate the action's canonical
briefing_bindingdigest and exact read/write-policy equality, then build bounded host context from the action's role, capability, target, mode, mutation policy, references, and complete typed briefing. Preserve task-completion status separately from domain-gate status. Never infer forbidden reads from forbidden-write scopes. The host task name must be an opaque deterministic function of dispatch ID, run ID, and action ID. It must differ across fresh runs and must not include raw role, target, reference, dispatch, or run prose. - Run driver
prepare-spawn; it must block on missing, changed, or incomplete briefing material before appendingaction_attempted, then append that event before exposing the exact host request. If preparation blocks, do not invoke the host. - Invoke that operation exactly once. Do not retry implicitly.
- On return, run driver
record-spawn --request <prepared-request> --agent-id <id>to appendhost_spawn_returnedand bind the returnedagent_idto theaction_id. The returned identifier's basename must equal the exact deterministictask_namein the persisted prepared request. A missing or mismatched identifier blocks before append. - On host error, run driver
record-spawn --failedto appendhost_spawn_failed, persist the failure in the non-causal residue stream when useful, and stop dependent execution.
An unknown, non-persisted, mismatched, duplicate, or replayed action blocks before a host call. Waiting, joining, result normalization, and gate reduction are separate execution steps.
Use correct-agent-binding only against an owner-accepted correction batch.
The command binds the admitted action and exact persisted spawn request; names
the prior host-result and wait-registration sequences; preserves both original
events; and appends one v0.2 correction whose corrected identifier basename
equals the prepared task_name. The validator makes that corrected binding
effective for later terminal, cleanup, join, and gate checks.
A correction fails closed when the action, wave, prior identifier, prepared task name, superseded sequences, reason code, or uniqueness check differs. It also fails after any same-wave terminal, timeout, interrupt, close, receipt join, or gate evidence. A prior mailbox-wide wait attempt may remain because the causal wait event carries no target identifier, but its derived request artifact becomes audit residue and must be replaced by a corrected audit-only binding projection. Never replay the host wait solely to repair that artifact.
- Reject bindings that are absent, duplicated, outside the selected wave, or inconsistent with the persisted actions.
- Run driver
prepare-wait; it derives every successful native binding from the causal stream, appends oneagent_wait_registeredper expected action andwait_attempted, then exposes the mailbox-wide wait request. - Invoke the host's mailbox-wide wait operation, then reconcile returned completions and the host inventory against only the pending identifiers. Repeat only within the declared bounded wait policy, appending another
wait_attemptedbefore each call. - For a terminal known agent, validate its declared action and agent identities, normalize its bounded result to
schemas/receipt.schema.json, appendagent_terminal, and mark it logically closed exactly once withagent_closed. - For an unresolved known agent when the wait policy expires, append
wait_timed_out, invoke the mapped interrupt operation once, appendagent_interrupted, and normalize an explicittimed_outreceipt for its expected action. - Persist normalized receipts in a directory containing exactly one
<action_id>.jsonfile per current-wave action and no other entries. - Persist exactly one raw task-result JSON object per current-wave action, then
run driver
advance-wavewith that exact directory. It validates every briefing-required field and task-completion status before receipt admission, requires a blocked task result to normalize asstatus=block, and under execution contract v0.2 verifies every normalized domain field/value against the raw task result rather than trusting normalized output alone. For v0.2 it also requires each normalized receipt'sartifactsto equal that action's declaredoutput_refs, and the admitted wave artifact union to equal the bound gate'srequires_role_receipts. It validates closed receipt shape and identity, and only then appendsreceipt_joined, invokes the reducer, appendsgate_decided, and exposes dependents. A failed task-result validation writes blocking evidence and emits no join or gate. - When a passing gate exposes dependents, run driver
prepare-next-wave-planwith the exact dispatch, prior run plan, gate decision, next action set, next state, causal prefix, and action directory emitted byadvance-wave. Continue only with its exclusively created current-wave plan.
Under arcanum.capability-bound-execution.v0.2, every wave has a non-null gate
ID and exactly one typed evaluation. gate_pass may unlock the declared next
wave. gate_block unlocks nothing. gate_resolved is a valid final domain
resolution, unlocks nothing, and preserves the exact field/value/classification
in terminal state and final gate_decided event even when orchestration state
is complete. Legacy schema versions remain validate-only and unchanged.
An unknown result, duplicate terminal result, missing binding, identity mismatch, non-pass result, or missing result is blocking evidence. It cannot open a dependent gate. Multi-wave progression and closeout are separate execution steps.
Invoke it as prepare-next-wave-plan <dispatch.json> --prior-run-plan <plan> --gate-decision <gate> --next-actions <action-set> --next-state <state> --events <events.jsonl> --actions-dir <actions> --output <next-plan>.
Pass the emitted plan to prepare-spawn with the matching
--depends-on-gate-id. A dependent-wave spawn without one passed gate from its
declared dependency waves blocks before appending action_attempted.
- Stop every later spawn in that wave.
- Run driver
prepare-partial-recovery; it derives only successful native bindings, appends their registrations plus one mailbox-wide wait event, and exposes the exact host wait request. - Reconcile only those known identifiers with the host inventory. Record a
completed sibling through
record-partial-terminal; for an unresolved one, runprepare-partial-interrupt, invoke its exact interrupt request once, then record it withrecord-partial-interrupt. - Append separate
evidence_closureresidue for every cleaned sibling. - Run
close-partial-wave. It requires all known siblings to be cleaned, appends a terminal typedrun_blocked, validates the complete stream, and emits no joins, gates, dependent actions, or retry.
Partial-wave recovery is scoped to the selected failed wave. Earlier completed
waves retain their joins and gate decisions, while run_blocked remains unique
and globally terminal for the run.
The blocked closeout preserves the failed run as evidence only. A fresh run requires a distinct run ID and explicit retry authority; it must not replay an action in the closed stream.
Residue is read-only collaboration or diagnostic evidence. It cannot satisfy a spawn, wait, terminal, join, gate, closeout, authority, or promotion obligation. Historical mixed logs remain historical failure evidence and must not be rewritten into a passing causal stream.
Signals
- GitHub stars
- 25
- Forks
- 3
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
orchestrate-cyberalchemyai- Source
- github.com/cyberalchemyai/arcanum