{ "schemaVersion": "agent-modpack.component/v0.2-draft", "id": "handoff-protocol", "displayName": "Handoff Protocol Discovery Skill", "kind": "skill", "executionModel": "discipline-document", "release": {"version": "1.3.0", "channel": "beta", "license": "PolyForm-Noncommercial-1.0.0", "deprecated": false}, "declaredMaturity": "partial", "problem": "Apply evidence-backed handoff rules while keeping host execution mode separate from persistence obligations, distinguishing bounded subagents from resumable independent tasks, and reporting missing host capabilities honestly.", "interface": { "inputs": [{"id": "collaboration-request", "type": "document", "required": true, "sideEffects": [], "dataOwner": "task-owner"}], "outputs": [{"id": "handoff-guidance", "type": "document", "required": true, "sideEffects": [], "dataOwner": "task-owner"}] }, "source": {"type": "filesystem", "location": ".", "revision": "sha256:278467f159fcd59e614315927e1f640beb3ba70cfc022e728c30fc599e28d6be", "integrity": {"algorithm": "sha256", "value": "278467f159fcd59e614315927e1f640beb3ba70cfc022e728c30fc599e28d6be"}}, "authority": {"ssot": "component-repository", "entrypoint": "SKILL.md", "registryBackpointer": "registry:agent-modpack#handoff-protocol", "capabilityMap": "doc:references/adapter-contracts.md", "owner": "repository-owner", "support": "Repository issue tracker"}, "capabilities": { "provides": [{"id": "collaboration.handoff-discovery", "version": "1.3.0"}, {"id": "collaboration.copyable-handoff", "version": "1.3.0"}], "dependencies": [ {"target": "component", "id": "handoff-rule-pack", "versionRange": ">=1.3.0", "level": "required", "providers": ["handoff-rule-pack"], "selection": "exactly-one"}, {"target": "capability", "id": "agent.registry.read", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "agent.spawn", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "agent.task.create", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "agent.message", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "workspace.authoritative.resolve", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "collaboration.log.append", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"}, {"target": "capability", "id": "agent.inbox.deliver", "versionRange": "*", "level": "optional", "providers": [], "selection": "none"} ] }, "consumers": [{"type": "role", "id": "delegating-agents", "uses": ["capability:collaboration.handoff-discovery"], "versionRange": ">=1.3.0"}], "compatibility": {"os": ["any"], "requiresHarnessCapabilities": [], "minimumEvidenceLevel": "documented"}, "attachment": {"mode": "native", "targetSlot": "skills/handoff-protocol", "mergeStrategy": "copy-new", "secretRefsOnly": true}, "lifecycle": { "install": {"support": "partial", "entrypoint": null, "preconditions": ["A host supports complete Skill package installation"], "writeset": ["host skill package/handoff-protocol"], "idempotency": "guarded", "transactionality": "transactional", "backup": "required", "rollbackAction": "restore previous package", "expectedExitCodes": [], "receiptSchema": null}, "verify": {"support": "supported", "entrypoint": "python evals/run_evals.py", "preconditions": ["Python 3.9 or newer", "jsonschema and referencing packages"], "writeset": ["temporary workspace only"], "idempotency": "idempotent", "transactionality": "read-only", "backup": "none", "rollbackAction": null, "expectedExitCodes": [0, 1, 2], "receiptSchema": "artifact:evals/result.schema.json"}, "upgrade": {"support": "partial", "entrypoint": null, "preconditions": ["Host package manager owns the installed copy"], "writeset": ["host skill package/handoff-protocol"], "idempotency": "guarded", "transactionality": "transactional", "backup": "required", "rollbackAction": "restore previous package", "expectedExitCodes": [], "receiptSchema": null}, "revert": {"support": "partial", "entrypoint": null, "preconditions": ["A previous package copy exists"], "writeset": ["host skill package/handoff-protocol"], "idempotency": "guarded", "transactionality": "transactional", "backup": "none", "rollbackAction": null, "expectedExitCodes": [], "receiptSchema": null}, "uninstall": {"support": "partial", "entrypoint": null, "preconditions": ["Host package manager owns the installed copy"], "writeset": ["host skill package/handoff-protocol"], "idempotency": "guarded", "transactionality": "transactional", "backup": "required", "rollbackAction": "restore removed package", "expectedExitCodes": [], "receiptSchema": null} }, "permissions": {"filesystemRead": ["repository rule and contract files", "task-provided artifact references"], "filesystemWrite": [], "network": [], "process": [], "secrets": "none", "telemetry": "none"}, "data": {"classification": "PUBLIC", "publicSafe": true, "owner": "task-owner", "residency": "component", "retention": "No task data retained by the Skill", "redactionRequired": false}, "degradation": {"whenUnavailable": "core-floor", "userVisibleLoss": "The Skill can prepare a copyable handoff packet but cannot create a durable task, dispatch, follow up, resolve a workspace, deliver, or append logs.", "machineState": "degraded", "fallbackCapability": "collaboration.copyable-handoff", "fallbackOwner": "calling agent"}, "conflicts": [], "verification": {"tests": [{"id": "T-HANDOFF-V13-SUITE", "kind": "behavioral", "fixture": "test:evals/fixtures.json", "expected": "All twenty-four compatibility, positive, and controlled-failure cases pass with schema, receipt, version, linkage, and parent-readback evidence.", "status": "pass", "lastRunAt": "2026-07-30T10:04:12Z", "evidenceRef": "test:evals/results/2026-07-30.json"}]}, "docs": {"quickstart": "doc:README.md", "verify": "doc:README.md#verify", "troubleshoot": "doc:references/adapter-contracts.md", "uninstall": "doc:README.md#install", "firstSuccess": "Discover the rule pack and produce a copyable handoff without claiming an unavailable adapter."}, "evidence": {"design": [{"uri": "doc:SKILL.md", "integrity": null}], "implementation": [{"uri": "artifact:SKILL.md", "integrity": {"algorithm": "sha256", "value": "278467f159fcd59e614315927e1f640beb3ba70cfc022e728c30fc599e28d6be"}}], "tests": [{"uri": "test:evals/results/2026-07-30.json", "integrity": {"algorithm": "sha256", "value": "69bd301c1b6bb01ccb3e684983e62be3a525841dbdb07035833bbb70bdb71df2"}, "observedAt": "2026-07-30T10:04:12Z"}]}, "notes": ["Documentation Skill only. Host adapters and runtimes are not bundled.", "Install the complete Skill package; a lone SKILL.md is invalid because references, contracts, evals, and manifests are required.", "source.revision and source.integrity pin the current filesystem entrypoint; replace them with a released git revision only after commit."] }