Skip to content

Commit 0e8feb1

Browse files
Create review-loop scenario with revision requests
Added a new scenario for review loop with revision requests, including task details, wings, shared context, messages, and notes.
1 parent 4de1afc commit 0e8feb1

1 file changed

Lines changed: 159 additions & 0 deletions

File tree

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"version": "v0.1.0",
3+
"scenario_id": "scenario-review-001",
4+
"profile": "cooperative",
5+
"title": "Review Loop with Revision Request",
6+
"task": {
7+
"task_id": "task-101",
8+
"label": "Prepare a concise architecture summary with review",
9+
"status": "finalized"
10+
},
11+
"wings": [
12+
{
13+
"wing_id": "wing-route-01",
14+
"type": "routing",
15+
"capabilities": [
16+
"assign",
17+
"rebalance",
18+
"escalate"
19+
]
20+
},
21+
{
22+
"wing_id": "wing-gen-01",
23+
"type": "generation",
24+
"capabilities": [
25+
"draft",
26+
"synthesize",
27+
"revise"
28+
]
29+
},
30+
{
31+
"wing_id": "wing-ver-01",
32+
"type": "verification",
33+
"capabilities": [
34+
"check-consistency",
35+
"request-revision",
36+
"approve"
37+
]
38+
}
39+
],
40+
"shared_context": {
41+
"context_id": "ctx-101",
42+
"coordination_state": "finalized",
43+
"artifacts": [
44+
{
45+
"artifact_id": "artifact-101-v1",
46+
"artifact_type": "draft"
47+
},
48+
{
49+
"artifact_id": "artifact-101-v2",
50+
"artifact_type": "revised-draft"
51+
},
52+
{
53+
"artifact_id": "artifact-101-review-1",
54+
"artifact_type": "review-note"
55+
}
56+
],
57+
"policies": [
58+
{
59+
"label": "review-required",
60+
"value": true
61+
}
62+
]
63+
},
64+
"messages": [
65+
{
66+
"message_id": "msg-101",
67+
"message_type": "assign",
68+
"sender_wing_id": "wing-route-01",
69+
"receiver_wing_id": "wing-gen-01",
70+
"task_id": "task-101",
71+
"payload": {
72+
"assignment": "produce-initial-summary"
73+
}
74+
},
75+
{
76+
"message_id": "msg-102",
77+
"message_type": "execute",
78+
"sender_wing_id": "wing-gen-01",
79+
"task_id": "task-101",
80+
"payload": {
81+
"artifact_ref": "artifact-101-v1",
82+
"result": "initial-summary-produced"
83+
}
84+
},
85+
{
86+
"message_id": "msg-103",
87+
"message_type": "assign",
88+
"sender_wing_id": "wing-route-01",
89+
"receiver_wing_id": "wing-ver-01",
90+
"task_id": "task-101",
91+
"payload": {
92+
"assignment": "review-initial-summary",
93+
"artifact_ref": "artifact-101-v1"
94+
}
95+
},
96+
{
97+
"message_id": "msg-104",
98+
"message_type": "review",
99+
"sender_wing_id": "wing-ver-01",
100+
"task_id": "task-101",
101+
"review_state": "revision-requested",
102+
"payload": {
103+
"artifact_ref": "artifact-101-v1",
104+
"review_note_ref": "artifact-101-review-1",
105+
"outcome": "revision-requested",
106+
"reason": "The summary omits the execution-layer implications."
107+
}
108+
},
109+
{
110+
"message_id": "msg-105",
111+
"message_type": "revise",
112+
"sender_wing_id": "wing-route-01",
113+
"receiver_wing_id": "wing-gen-01",
114+
"task_id": "task-101",
115+
"payload": {
116+
"prior_artifact_ref": "artifact-101-v1",
117+
"target_artifact_ref": "artifact-101-v2",
118+
"trigger": "review-request"
119+
}
120+
},
121+
{
122+
"message_id": "msg-106",
123+
"message_type": "execute",
124+
"sender_wing_id": "wing-gen-01",
125+
"task_id": "task-101",
126+
"payload": {
127+
"artifact_ref": "artifact-101-v2",
128+
"result": "revised-summary-produced",
129+
"revised_from": "artifact-101-v1"
130+
}
131+
},
132+
{
133+
"message_id": "msg-107",
134+
"message_type": "review",
135+
"sender_wing_id": "wing-ver-01",
136+
"task_id": "task-101",
137+
"review_state": "accepted",
138+
"payload": {
139+
"artifact_ref": "artifact-101-v2",
140+
"outcome": "accepted",
141+
"reason": "The revised summary covers structure, protocol, and execution layers."
142+
}
143+
},
144+
{
145+
"message_id": "msg-108",
146+
"message_type": "finalize",
147+
"sender_wing_id": "wing-route-01",
148+
"task_id": "task-101",
149+
"payload": {
150+
"artifact_ref": "artifact-101-v2",
151+
"basis": "accepted-review"
152+
}
153+
}
154+
],
155+
"notes": [
156+
"This scenario demonstrates review as a path-altering event.",
157+
"The revised artifact preserves continuity from the first draft."
158+
]
159+
}

0 commit comments

Comments
 (0)