Datasets:
File size: 7,443 Bytes
f24bcdf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | {
"$schema": "handoff-protocol.skill-fixtures/v1.3",
"status": "runnable",
"rules": {
"network": "none",
"filesystem": "temporary-workspace-only",
"pii": "fictional-only",
"pass_claim": "runner evidence and expected rejection required"
},
"fixtures": [
{
"id": "SK-HP-P-001",
"polarity": "positive",
"given": "An independent task has a real task receipt, an authoritative root, and four required persistence targets.",
"then": ["Validate all packet and receipt Schemas", "Write or propose all four targets", "Parent re-reads all four from the authoritative root"]
},
{
"id": "SK-HP-P-002",
"polarity": "positive",
"given": "Concurrent events use an adapter that serializes atomic journal appends.",
"then": ["Every append returns an exit-zero receipt", "All events and positions are unique", "No event is lost"]
},
{
"id": "SK-HP-P-003",
"polarity": "positive",
"given": "Both independent-task and bounded-subagent adapters are available.",
"then": ["An independent-task request uses task.create", "No nested spawn is used"]
},
{
"id": "SK-HP-P-004",
"polarity": "positive",
"given": "Independent tasks are unavailable but the packet explicitly permits degradation and continuity is not required.",
"then": ["Use bounded spawn", "Receipt records both modes and the reason"]
},
{
"id": "SK-HP-P-005",
"polarity": "positive",
"given": "A bounded subtask has no durable facts.",
"then": ["All four targets may be N/A only with reasons", "Parent verification reports four N/A checks"]
},
{
"id": "SK-HP-P-006",
"polarity": "positive",
"given": "A v1.2 caller sends the original four-field dispatch and return packets.",
"then": ["Both legacy packets remain schema-valid", "The omitted execution mode routes as bounded_subagent"]
},
{
"id": "SK-HP-P-007",
"polarity": "positive",
"given": "No independent-task adapter exists and degradation is not permitted.",
"then": ["Return a schema-valid undelivered outcome", "Do not invent dispatch/task IDs or provider evidence"]
},
{
"id": "SK-HP-P-008",
"polarity": "positive",
"given": "A bounded subagent has four required persistence targets while both spawn and independent-task adapters are available.",
"then": ["Use bounded agent.spawn rather than task.create", "Write memory, worklog, and journal and return a board proposal", "Parent verifies all four targets without claiming an independently resumable task/thread"]
},
{
"id": "SK-HP-N-001",
"polarity": "negative",
"given": "No follow-up adapter or artifact exists.",
"then": ["Keep missing fields pending", "Make zero follow-up claims"]
},
{
"id": "SK-HP-N-002",
"polarity": "negative",
"given": "A persistence contract has an empty target list.",
"then": ["Schema validation rejects the empty set"]
},
{
"id": "SK-HP-N-003",
"polarity": "negative",
"given": "An independent dispatch workspace or closure receipt points to a decoy root.",
"then": ["Dispatch linkage binds the workspace receipt to the contract root", "Parent readback rejects the wrong closure root"]
},
{
"id": "SK-HP-N-004",
"polarity": "negative",
"given": "Three targets landed but the worklog file is absent.",
"then": ["Parent readback rejects partial landing"]
},
{
"id": "SK-HP-N-005",
"polarity": "negative",
"given": "The team-journal adapter exits nonzero.",
"then": ["Expose the nonzero error", "Do not issue a success receipt"]
},
{
"id": "SK-HP-N-006",
"polarity": "negative",
"given": "Children try to update a central board concurrently.",
"then": ["Reject child writes", "Allow the named single writer to serialize proposals without loss"]
},
{
"id": "SK-HP-N-007",
"polarity": "negative",
"given": "Only SKILL.md is copied, or a copied package contains an unresolved local Schema reference or malformed Schema.",
"then": ["Package validation reports invalid_install", "The copied Schemas and their local references are validated"]
},
{
"id": "SK-HP-N-008",
"polarity": "negative",
"given": "A manifest version drifts from the plugin and Skill declaration.",
"then": ["Version validation rejects the drift"]
},
{
"id": "SK-HP-N-009",
"polarity": "negative",
"given": "Four array entries repeat the same persistence target, or required targets reuse one evidence nonce.",
"then": ["Persistence, closure, and parent-verification Schemas reject duplicate target sets", "Semantic validation rejects reused target nonces"]
},
{
"id": "SK-HP-N-010",
"polarity": "negative",
"given": "A parent trace claims pass while one target check is failed.",
"then": ["Parent-verification Schema rejects the inconsistent status"]
},
{
"id": "SK-HP-N-011",
"polarity": "negative",
"given": "An accepted dispatch lacks provider evidence.",
"then": ["Dispatch-receipt Schema rejects the fake acceptance"]
},
{
"id": "SK-HP-N-012",
"polarity": "negative",
"given": "A child claims it directly updated the central board, or marks an employee-owned target as a parent proposal.",
"then": ["Closure-receipt Schema requires a central-board proposal or reasoned N/A instead", "Only central_board may use proposed_for_parent"]
},
{
"id": "SK-HP-N-013",
"polarity": "negative",
"given": "A closure has an empty log provider, wrong writer, counterfeit journal receipt, fake SHA-256, or mismatched verification method.",
"then": ["Schema and parent verification reject all five forgeries"]
},
{
"id": "SK-HP-N-014",
"polarity": "negative",
"given": "Closure receipts from task A are inserted into task B's return packet, or receipts from a prior dispatch are replayed under a second dispatch of the same contract.",
"then": ["Handoff, contract, dispatch, return, closure, and verification IDs prevent cross-task mixing", "Return execution mode matches the dispatch effective mode", "Fresh nonce-and-dispatch-bound evidence anchors reject relabelled stale artifacts even under the same root and paths", "Independent task IDs are unique"]
},
{
"id": "SK-HP-N-015",
"polarity": "negative",
"given": "A dispatch receipt claims an unauthorized bounded-to-independent upgrade, or claims execution details while undelivered.",
"then": ["Reject unauthorized mode upgrade", "Reject effective mode, workspace, and degradation evidence on undelivered"]
},
{
"id": "SK-HP-N-016",
"polarity": "negative",
"given": "A bounded subagent has a persistence contract but returns no closure receipts.",
"then": ["Persistence obligations still apply even though execution_mode is bounded_subagent", "Return Schema requires four receipts when contract_id is present", "Cross-object linkage requires four receipts whenever a persistence contract exists"]
}
]
}
|