|
| 1 | +{ |
| 2 | + "version": "v0.1.0", |
| 3 | + "scenario_id": "scenario-trace-001", |
| 4 | + "profile": "auditable", |
| 5 | + "additional_profiles": [ |
| 6 | + "signed-trace" |
| 7 | + ], |
| 8 | + "title": "Trace-Integrated Review and Finalization Flow", |
| 9 | + "task": { |
| 10 | + "task_id": "task-201", |
| 11 | + "label": "Produce a trace-aware synthesis with auditable review history", |
| 12 | + "status": "finalized" |
| 13 | + }, |
| 14 | + "wings": [ |
| 15 | + { |
| 16 | + "wing_id": "wing-mem-01", |
| 17 | + "type": "memory", |
| 18 | + "capabilities": [ |
| 19 | + "retrieve", |
| 20 | + "supply-context" |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "wing_id": "wing-gen-01", |
| 25 | + "type": "generation", |
| 26 | + "capabilities": [ |
| 27 | + "draft", |
| 28 | + "synthesize", |
| 29 | + "revise" |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + "wing_id": "wing-ver-01", |
| 34 | + "type": "verification", |
| 35 | + "capabilities": [ |
| 36 | + "review", |
| 37 | + "request-revision", |
| 38 | + "approve" |
| 39 | + ] |
| 40 | + }, |
| 41 | + { |
| 42 | + "wing_id": "wing-gov-01", |
| 43 | + "type": "governance", |
| 44 | + "capabilities": [ |
| 45 | + "attach-trace", |
| 46 | + "preserve-review-chain", |
| 47 | + "record-finalization-authority", |
| 48 | + "sign-trace" |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + "wing_id": "wing-route-01", |
| 53 | + "type": "routing", |
| 54 | + "capabilities": [ |
| 55 | + "assign", |
| 56 | + "rebalance", |
| 57 | + "finalize" |
| 58 | + ] |
| 59 | + } |
| 60 | + ], |
| 61 | + "shared_context": { |
| 62 | + "context_id": "ctx-201", |
| 63 | + "coordination_state": "finalized", |
| 64 | + "artifacts": [ |
| 65 | + { |
| 66 | + "artifact_id": "artifact-201-v1", |
| 67 | + "artifact_type": "draft" |
| 68 | + }, |
| 69 | + { |
| 70 | + "artifact_id": "artifact-201-v2", |
| 71 | + "artifact_type": "revised-draft" |
| 72 | + }, |
| 73 | + { |
| 74 | + "artifact_id": "artifact-201-review-1", |
| 75 | + "artifact_type": "review-note" |
| 76 | + }, |
| 77 | + { |
| 78 | + "artifact_id": "artifact-201-final", |
| 79 | + "artifact_type": "final-output" |
| 80 | + } |
| 81 | + ], |
| 82 | + "trace_refs": [ |
| 83 | + { |
| 84 | + "trace_id": "trace-source-001", |
| 85 | + "relation_type": "source" |
| 86 | + }, |
| 87 | + { |
| 88 | + "trace_id": "trace-review-001", |
| 89 | + "relation_type": "review" |
| 90 | + }, |
| 91 | + { |
| 92 | + "trace_id": "trace-revision-001", |
| 93 | + "relation_type": "revision" |
| 94 | + }, |
| 95 | + { |
| 96 | + "trace_id": "trace-finalize-001", |
| 97 | + "relation_type": "other" |
| 98 | + } |
| 99 | + ], |
| 100 | + "policies": [ |
| 101 | + { |
| 102 | + "label": "trace-preservation", |
| 103 | + "value": "mandatory" |
| 104 | + }, |
| 105 | + { |
| 106 | + "label": "review-before-finalization", |
| 107 | + "value": true |
| 108 | + } |
| 109 | + ] |
| 110 | + }, |
| 111 | + "trace_objects": [ |
| 112 | + { |
| 113 | + "trace_id": "trace-source-001", |
| 114 | + "relation_type": "source", |
| 115 | + "source_ref": { |
| 116 | + "id": "source-doc-201", |
| 117 | + "type": "document", |
| 118 | + "uri": "urn:source:source-doc-201", |
| 119 | + "label": "Retrieved Architecture Notes" |
| 120 | + }, |
| 121 | + "artifact_ref": { |
| 122 | + "id": "artifact-201-v1", |
| 123 | + "type": "draft", |
| 124 | + "uri": "urn:artifact:artifact-201-v1", |
| 125 | + "label": "Initial Draft" |
| 126 | + }, |
| 127 | + "timestamp": "2026-05-05T12:00:00Z", |
| 128 | + "source_version": "v1.0", |
| 129 | + "signed": false |
| 130 | + }, |
| 131 | + { |
| 132 | + "trace_id": "trace-review-001", |
| 133 | + "relation_type": "review", |
| 134 | + "artifact_ref": { |
| 135 | + "id": "artifact-201-v1", |
| 136 | + "type": "draft", |
| 137 | + "uri": "urn:artifact:artifact-201-v1", |
| 138 | + "label": "Initial Draft" |
| 139 | + }, |
| 140 | + "contributor_ref": { |
| 141 | + "id": "wing-ver-01", |
| 142 | + "type": "wing", |
| 143 | + "label": "Verification Wing" |
| 144 | + }, |
| 145 | + "timestamp": "2026-05-05T12:05:00Z", |
| 146 | + "signed": false, |
| 147 | + "metadata": { |
| 148 | + "outcome": "revision-requested", |
| 149 | + "reason": "Trace continuity and execution-layer implications were incomplete." |
| 150 | + } |
| 151 | + }, |
| 152 | + { |
| 153 | + "trace_id": "trace-revision-001", |
| 154 | + "relation_type": "revision", |
| 155 | + "artifact_ref": { |
| 156 | + "id": "artifact-201-v2", |
| 157 | + "type": "revised-draft", |
| 158 | + "uri": "urn:artifact:artifact-201-v2", |
| 159 | + "label": "Revised Draft" |
| 160 | + }, |
| 161 | + "transformation_ref": { |
| 162 | + "id": "artifact-201-v1", |
| 163 | + "type": "draft", |
| 164 | + "label": "Initial Draft" |
| 165 | + }, |
| 166 | + "contributor_ref": { |
| 167 | + "id": "wing-gen-01", |
| 168 | + "type": "wing", |
| 169 | + "label": "Generation Wing" |
| 170 | + }, |
| 171 | + "timestamp": "2026-05-05T12:08:00Z", |
| 172 | + "signed": false |
| 173 | + }, |
| 174 | + { |
| 175 | + "trace_id": "trace-finalize-001", |
| 176 | + "relation_type": "other", |
| 177 | + "artifact_ref": { |
| 178 | + "id": "artifact-201-final", |
| 179 | + "type": "final-output", |
| 180 | + "uri": "urn:artifact:artifact-201-final", |
| 181 | + "label": "Final Output" |
| 182 | + }, |
| 183 | + "contributor_ref": { |
| 184 | + "id": "wing-gov-01", |
| 185 | + "type": "wing", |
| 186 | + "label": "Governance Wing" |
| 187 | + }, |
| 188 | + "timestamp": "2026-05-05T12:12:00Z", |
| 189 | + "signed": true, |
| 190 | + "signature": { |
| 191 | + "algorithm": "Ed25519", |
| 192 | + "key_id": "key-gov-01", |
| 193 | + "signature_value": "base64-example-final-signature" |
| 194 | + }, |
| 195 | + "metadata": { |
| 196 | + "authority_path": [ |
| 197 | + "wing-route-01", |
| 198 | + "wing-ver-01", |
| 199 | + "wing-gov-01" |
| 200 | + ], |
| 201 | + "finalization_basis": "accepted-review-and-governance-record" |
| 202 | + } |
| 203 | + } |
| 204 | + ], |
| 205 | + "messages": [ |
| 206 | + { |
| 207 | + "message_id": "msg-201", |
| 208 | + "message_type": "assign", |
| 209 | + "sender_wing_id": "wing-route-01", |
| 210 | + "receiver_wing_id": "wing-mem-01", |
| 211 | + "task_id": "task-201", |
| 212 | + "payload": { |
| 213 | + "assignment": "retrieve-relevant-source-material" |
| 214 | + } |
| 215 | + }, |
| 216 | + { |
| 217 | + "message_id": "msg-202", |
| 218 | + "message_type": "execute", |
| 219 | + "sender_wing_id": "wing-mem-01", |
| 220 | + "task_id": "task-201", |
| 221 | + "payload": { |
| 222 | + "result": "source-retrieved", |
| 223 | + "source_ref": "source-doc-201" |
| 224 | + } |
| 225 | + }, |
| 226 | + { |
| 227 | + "message_id": "msg-203", |
| 228 | + "message_type": "assign", |
| 229 | + "sender_wing_id": "wing-route-01", |
| 230 | + "receiver_wing_id": "wing-gen-01", |
| 231 | + "task_id": "task-201", |
| 232 | + "payload": { |
| 233 | + "assignment": "produce-trace-aware-draft" |
| 234 | + } |
| 235 | + }, |
| 236 | + { |
| 237 | + "message_id": "msg-204", |
| 238 | + "message_type": "propose", |
| 239 | + "sender_wing_id": "wing-gen-01", |
| 240 | + "task_id": "task-201", |
| 241 | + "trace_refs": [ |
| 242 | + { |
| 243 | + "trace_id": "trace-source-001", |
| 244 | + "relation_type": "source" |
| 245 | + } |
| 246 | + ], |
| 247 | + "payload": { |
| 248 | + "artifact_ref": "artifact-201-v1", |
| 249 | + "proposal_type": "draft-synthesis" |
| 250 | + } |
| 251 | + }, |
| 252 | + { |
| 253 | + "message_id": "msg-205", |
| 254 | + "message_type": "review", |
| 255 | + "sender_wing_id": "wing-ver-01", |
| 256 | + "task_id": "task-201", |
| 257 | + "trace_refs": [ |
| 258 | + { |
| 259 | + "trace_id": "trace-review-001", |
| 260 | + "relation_type": "review" |
| 261 | + } |
| 262 | + ], |
| 263 | + "review_state": "revision-requested", |
| 264 | + "payload": { |
| 265 | + "artifact_ref": "artifact-201-v1", |
| 266 | + "outcome": "revision-requested" |
| 267 | + } |
| 268 | + }, |
| 269 | + { |
| 270 | + "message_id": "msg-206", |
| 271 | + "message_type": "revise", |
| 272 | + "sender_wing_id": "wing-gen-01", |
| 273 | + "task_id": "task-201", |
| 274 | + "trace_refs": [ |
| 275 | + { |
| 276 | + "trace_id": "trace-source-001", |
| 277 | + "relation_type": "source" |
| 278 | + }, |
| 279 | + { |
| 280 | + "trace_id": "trace-review-001", |
| 281 | + "relation_type": "review" |
| 282 | + }, |
| 283 | + { |
| 284 | + "trace_id": "trace-revision-001", |
| 285 | + "relation_type": "revision" |
| 286 | + } |
| 287 | + ], |
| 288 | + "payload": { |
| 289 | + "prior_artifact_ref": "artifact-201-v1", |
| 290 | + "new_artifact_ref": "artifact-201-v2" |
| 291 | + } |
| 292 | + }, |
| 293 | + { |
| 294 | + "message_id": "msg-207", |
| 295 | + "message_type": "review", |
| 296 | + "sender_wing_id": "wing-ver-01", |
| 297 | + "task_id": "task-201", |
| 298 | + "review_state": "accepted", |
| 299 | + "payload": { |
| 300 | + "artifact_ref": "artifact-201-v2", |
| 301 | + "outcome": "accepted" |
| 302 | + } |
| 303 | + }, |
| 304 | + { |
| 305 | + "message_id": "msg-208", |
| 306 | + "message_type": "finalize", |
| 307 | + "sender_wing_id": "wing-route-01", |
| 308 | + "task_id": "task-201", |
| 309 | + "trace_refs": [ |
| 310 | + { |
| 311 | + "trace_id": "trace-source-001", |
| 312 | + "relation_type": "source" |
| 313 | + }, |
| 314 | + { |
| 315 | + "trace_id": "trace-review-001", |
| 316 | + "relation_type": "review" |
| 317 | + }, |
| 318 | + { |
| 319 | + "trace_id": "trace-revision-001", |
| 320 | + "relation_type": "revision" |
| 321 | + }, |
| 322 | + { |
| 323 | + "trace_id": "trace-finalize-001", |
| 324 | + "relation_type": "other" |
| 325 | + } |
| 326 | + ], |
| 327 | + "payload": { |
| 328 | + "artifact_ref": "artifact-201-final", |
| 329 | + "basis": "accepted-review" |
| 330 | + } |
| 331 | + } |
| 332 | + ], |
| 333 | + "review_chain": [ |
| 334 | + { |
| 335 | + "review_id": "review-201-1", |
| 336 | + "reviewer": "wing-ver-01", |
| 337 | + "artifact_ref": "artifact-201-v1", |
| 338 | + "outcome": "revision-requested", |
| 339 | + "trace_ref": "trace-review-001" |
| 340 | + }, |
| 341 | + { |
| 342 | + "review_id": "review-201-2", |
| 343 | + "reviewer": "wing-ver-01", |
| 344 | + "artifact_ref": "artifact-201-v2", |
| 345 | + "outcome": "accepted" |
| 346 | + } |
| 347 | + ], |
| 348 | + "revision_chain": [ |
| 349 | + { |
| 350 | + "from": "artifact-201-v1", |
| 351 | + "to": "artifact-201-v2", |
| 352 | + "reviser": "wing-gen-01", |
| 353 | + "trace_ref": "trace-revision-001" |
| 354 | + } |
| 355 | + ], |
| 356 | + "authority_trace": { |
| 357 | + "finalized_by": "wing-route-01", |
| 358 | + "governance_recorded_by": "wing-gov-01", |
| 359 | + "final_trace_ref": "trace-finalize-001" |
| 360 | + }, |
| 361 | + "notes": [ |
| 362 | + "This scenario illustrates auditable trace continuity across proposal, review, revision, and finalization.", |
| 363 | + "It is intended as an informative scenario example rather than an atomic schema-validation target." |
| 364 | + ] |
| 365 | +} |
0 commit comments