skills/FORGE-cross-agent-handoff/SKILL.md
Structured handoff protocol between federation agents. Packages task context, evidence, floor state, and provenance into a transferable artifact. Prevents context loss during agent transitions. USE WHEN: "hand off to", "transfer task", "escalate to agent", "delegate to".
npx skillsauth add ariffazil/openclaw-workspace FORGE-cross-agent-handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When Agent A cannot complete a task and must transfer to Agent B, context is lost. This skill packages the full task state into a structured handoff artifact that preserves:
{
"handoff_id": "uuid",
"from_agent": "agent-id",
"to_agent": "agent-id",
"task_intent": "original user request",
"constraints": ["F1", "F2", ...],
"evidence": [{"source": "...", "rung": "OBS|DER|INT|SPEC", "confidence": 0.0-1.0}],
"reasoning_chain": [{"step": 1, "action": "...", "result": "...", "status": "done|failed|pending"}],
"floor_state": {"F01": "PASS", "F02": "CHECKING", ...},
"provenance": [{"agent": "...", "action": "...", "timestamp": "..."}],
"next_actions": ["action1", "action2"],
"escalation_note": "why handoff was needed"
}
Handoff artifact is sent via tasks/send with handoff=true metadata.
Receiving agent runs handoff-verify before accepting task ownership.
Agents are already writing durable context artifacts: boot documents, NEXT_AGENT_INIT handoffs, canonical protocols, memory summaries, deprecation registries, instructions for future agents. The next agent inherits whatever the prior agent left. That is policy mutation through documentation unless governance is explicit.
An agent can write a guidance document into a privileged initialization path (NEXT_AGENT_INIT.md, system prompt directory, canonical docs, memory bootstrap, agent definition) and the next agent treats it as if it were ratified policy. The current path has no provenance gate.
| Class | Meaning | Authority | Loaded as |
|---|---|---|---|
| observation | Evidence about current state | Append-only | Reference |
| operational_handoff | Temporary work continuation | Scoped, expiring | Reference |
| guidance | Non-binding recommendation | Agents may propose | Advisory |
| policy | Binding behavioral rule | Kernel-governed review | Binding |
| constitution | Changes authority or floors | F13 ratification | Binding |
| memory | Historical record | Append-only with provenance | Reference |
context_manifest for every durable artifactcontext_manifest:
artifact_id: <sha256-or-uuid>
class: observation | operational_handoff | guidance | policy | constitution | memory
author: <actor_id>
source_commit: <git sha>
authority_level: T1 | T2 | T3
approved_by: <actor_id> | null
binding: true | false
created_at: <unix_ms>
expires_at: <unix_ms> | null
constitution_compatibility: <hash of current F1-F13 baseline>
supersedes: [<artifact_id>, ...]
content_hash: <sha256>
class: policy and class: constitution artifacts require approved_by ≠ null.INIT, NEXT_AGENT_INIT, system prompt directories, canonical docs, memory bootstrap, agent definitions) MUST be scanned for class: policy | constitution artifacts without approved_by → reject or quarantine.Before loading any artifact into boot context:
class matches the actual content intent (an "observation" cannot bind behavior)approved_by for class: policy | constitutionexpires_at — expired artifacts load as observation even if originally policyconstitution_compatibility matches current F1-F13 baselineWAJIB 8 is T2 — context-loader enforcement can be implemented as T1 (no F13 needed) because it operates on the loader, not the constitution. The constitution class artifacts still need F13; the loader just enforces the existing F13 path.
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.