@vibefield/puppeteer-imposter 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/LICENSE +21 -0
  2. package/bin/ai.mjs +17 -0
  3. package/dist/cli/argv.d.ts +40 -0
  4. package/dist/cli/argv.d.ts.map +1 -0
  5. package/dist/cli/argv.js +62 -0
  6. package/dist/cli/argv.js.map +1 -0
  7. package/dist/cli/http-persona.d.ts +15 -0
  8. package/dist/cli/http-persona.d.ts.map +1 -0
  9. package/dist/cli/http-persona.js +216 -0
  10. package/dist/cli/http-persona.js.map +1 -0
  11. package/dist/cli/main.d.ts +11 -0
  12. package/dist/cli/main.d.ts.map +1 -0
  13. package/dist/cli/main.js +671 -0
  14. package/dist/cli/main.js.map +1 -0
  15. package/dist/cli/prompt-line.d.ts +27 -0
  16. package/dist/cli/prompt-line.d.ts.map +1 -0
  17. package/dist/cli/prompt-line.js +93 -0
  18. package/dist/cli/prompt-line.js.map +1 -0
  19. package/dist/control/client.d.ts +51 -0
  20. package/dist/control/client.d.ts.map +1 -0
  21. package/dist/control/client.js +206 -0
  22. package/dist/control/client.js.map +1 -0
  23. package/dist/control/index.d.ts +10 -0
  24. package/dist/control/index.d.ts.map +1 -0
  25. package/dist/control/index.js +10 -0
  26. package/dist/control/index.js.map +1 -0
  27. package/dist/control/peer.d.ts +42 -0
  28. package/dist/control/peer.d.ts.map +1 -0
  29. package/dist/control/peer.js +174 -0
  30. package/dist/control/peer.js.map +1 -0
  31. package/dist/control/protocol.d.ts +207 -0
  32. package/dist/control/protocol.d.ts.map +1 -0
  33. package/dist/control/protocol.js +535 -0
  34. package/dist/control/protocol.js.map +1 -0
  35. package/dist/index.d.ts +36 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +36 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/persona/launch.d.ts +7 -0
  40. package/dist/persona/launch.d.ts.map +1 -0
  41. package/dist/persona/launch.js +26 -0
  42. package/dist/persona/launch.js.map +1 -0
  43. package/dist/persona/load.d.ts +28 -0
  44. package/dist/persona/load.d.ts.map +1 -0
  45. package/dist/persona/load.js +705 -0
  46. package/dist/persona/load.js.map +1 -0
  47. package/dist/persona/session-id.d.ts +4 -0
  48. package/dist/persona/session-id.d.ts.map +1 -0
  49. package/dist/persona/session-id.js +12 -0
  50. package/dist/persona/session-id.js.map +1 -0
  51. package/dist/persona/types.d.ts +265 -0
  52. package/dist/persona/types.d.ts.map +1 -0
  53. package/dist/persona/types.js +38 -0
  54. package/dist/persona/types.js.map +1 -0
  55. package/dist/session/channels/hook.d.ts +31 -0
  56. package/dist/session/channels/hook.d.ts.map +1 -0
  57. package/dist/session/channels/hook.js +114 -0
  58. package/dist/session/channels/hook.js.map +1 -0
  59. package/dist/session/channels/http-sse.d.ts +67 -0
  60. package/dist/session/channels/http-sse.d.ts.map +1 -0
  61. package/dist/session/channels/http-sse.js +212 -0
  62. package/dist/session/channels/http-sse.js.map +1 -0
  63. package/dist/session/channels/jsonrpc.d.ts +56 -0
  64. package/dist/session/channels/jsonrpc.d.ts.map +1 -0
  65. package/dist/session/channels/jsonrpc.js +196 -0
  66. package/dist/session/channels/jsonrpc.js.map +1 -0
  67. package/dist/session/channels/leader-ipc.d.ts +27 -0
  68. package/dist/session/channels/leader-ipc.d.ts.map +1 -0
  69. package/dist/session/channels/leader-ipc.js +314 -0
  70. package/dist/session/channels/leader-ipc.js.map +1 -0
  71. package/dist/session/channels/native-store.d.ts +31 -0
  72. package/dist/session/channels/native-store.d.ts.map +1 -0
  73. package/dist/session/channels/native-store.js +275 -0
  74. package/dist/session/channels/native-store.js.map +1 -0
  75. package/dist/session/channels/statusline.d.ts +20 -0
  76. package/dist/session/channels/statusline.d.ts.map +1 -0
  77. package/dist/session/channels/statusline.js +48 -0
  78. package/dist/session/channels/statusline.js.map +1 -0
  79. package/dist/session/channels/terminal.d.ts +27 -0
  80. package/dist/session/channels/terminal.d.ts.map +1 -0
  81. package/dist/session/channels/terminal.js +108 -0
  82. package/dist/session/channels/terminal.js.map +1 -0
  83. package/dist/session/channels/transcript.d.ts +16 -0
  84. package/dist/session/channels/transcript.d.ts.map +1 -0
  85. package/dist/session/channels/transcript.js +24 -0
  86. package/dist/session/channels/transcript.js.map +1 -0
  87. package/dist/session/channels/ws-unix.d.ts +57 -0
  88. package/dist/session/channels/ws-unix.d.ts.map +1 -0
  89. package/dist/session/channels/ws-unix.js +396 -0
  90. package/dist/session/channels/ws-unix.js.map +1 -0
  91. package/dist/session/http-session-server.d.ts +31 -0
  92. package/dist/session/http-session-server.d.ts.map +1 -0
  93. package/dist/session/http-session-server.js +508 -0
  94. package/dist/session/http-session-server.js.map +1 -0
  95. package/dist/session/scenario-driver.d.ts +105 -0
  96. package/dist/session/scenario-driver.d.ts.map +1 -0
  97. package/dist/session/scenario-driver.js +211 -0
  98. package/dist/session/scenario-driver.js.map +1 -0
  99. package/dist/session/scenario.d.ts +119 -0
  100. package/dist/session/scenario.d.ts.map +1 -0
  101. package/dist/session/scenario.js +299 -0
  102. package/dist/session/scenario.js.map +1 -0
  103. package/dist/session/serve.d.ts +124 -0
  104. package/dist/session/serve.d.ts.map +1 -0
  105. package/dist/session/serve.js +136 -0
  106. package/dist/session/serve.js.map +1 -0
  107. package/dist/session/session.d.ts +125 -0
  108. package/dist/session/session.d.ts.map +1 -0
  109. package/dist/session/session.js +781 -0
  110. package/dist/session/session.js.map +1 -0
  111. package/dist/session/template.d.ts +35 -0
  112. package/dist/session/template.d.ts.map +1 -0
  113. package/dist/session/template.js +133 -0
  114. package/dist/session/template.js.map +1 -0
  115. package/dist/session/timeline.d.ts +81 -0
  116. package/dist/session/timeline.d.ts.map +1 -0
  117. package/dist/session/timeline.js +155 -0
  118. package/dist/session/timeline.js.map +1 -0
  119. package/dist/tui/app.d.ts +30 -0
  120. package/dist/tui/app.d.ts.map +1 -0
  121. package/dist/tui/app.js +72 -0
  122. package/dist/tui/app.js.map +1 -0
  123. package/dist/tui/mount.d.ts +37 -0
  124. package/dist/tui/mount.d.ts.map +1 -0
  125. package/dist/tui/mount.js +88 -0
  126. package/dist/tui/mount.js.map +1 -0
  127. package/dist/tui/store.d.ts +38 -0
  128. package/dist/tui/store.d.ts.map +1 -0
  129. package/dist/tui/store.js +56 -0
  130. package/dist/tui/store.js.map +1 -0
  131. package/dist/tui/theme.d.ts +40 -0
  132. package/dist/tui/theme.d.ts.map +1 -0
  133. package/dist/tui/theme.js +54 -0
  134. package/dist/tui/theme.js.map +1 -0
  135. package/package.json +67 -3
  136. package/personas/antigravity/behavior/happy-turn.json +9 -0
  137. package/personas/antigravity/ops.json +14 -0
  138. package/personas/antigravity/persona.json +15 -0
  139. package/personas/antigravity/runflows.json +6 -0
  140. package/personas/antigravity/scenarios/happy-turn.json +25 -0
  141. package/personas/claude/behavior/happy-turn.json +19 -0
  142. package/personas/claude/ops.json +128 -0
  143. package/personas/claude/persona.json +29 -0
  144. package/personas/claude/runflows.json +45 -0
  145. package/personas/claude/scenarios/channel-disconnect.json +19 -0
  146. package/personas/claude/scenarios/crash-mid-turn.json +42 -0
  147. package/personas/claude/scenarios/cross-layer-implementation.json +488 -0
  148. package/personas/claude/scenarios/deep-research.json +494 -0
  149. package/personas/claude/scenarios/duplicate-out-of-order.json +57 -0
  150. package/personas/claude/scenarios/flood.json +11 -0
  151. package/personas/claude/scenarios/happy-turn.json +57 -0
  152. package/personas/claude/scenarios/incident-investigation.json +465 -0
  153. package/personas/claude/scenarios/late-after-exit.json +27 -0
  154. package/personas/claude/scenarios/permission-allow.json +55 -0
  155. package/personas/claude/scenarios/permission-deny.json +71 -0
  156. package/personas/claude/scenarios/token-usage-refresh.json +33 -0
  157. package/personas/claude/scenarios/unknown-event.json +14 -0
  158. package/personas/codex/behavior/approval-turn.json +15 -0
  159. package/personas/codex/behavior/happy-turn.json +10 -0
  160. package/personas/codex/ops.json +159 -0
  161. package/personas/codex/persona.json +36 -0
  162. package/personas/codex/runflows.json +45 -0
  163. package/personas/codex/scenarios/channel-disconnect.json +31 -0
  164. package/personas/codex/scenarios/crash-mid-turn.json +30 -0
  165. package/personas/codex/scenarios/cross-layer-implementation.json +725 -0
  166. package/personas/codex/scenarios/deep-research.json +684 -0
  167. package/personas/codex/scenarios/duplicate-out-of-order.json +87 -0
  168. package/personas/codex/scenarios/flood.json +22 -0
  169. package/personas/codex/scenarios/happy-turn.json +81 -0
  170. package/personas/codex/scenarios/incident-investigation.json +695 -0
  171. package/personas/codex/scenarios/late-after-exit.json +59 -0
  172. package/personas/codex/scenarios/permission-allow.json +110 -0
  173. package/personas/codex/scenarios/permission-deny.json +83 -0
  174. package/personas/codex/scenarios/token-usage-refresh.json +49 -0
  175. package/personas/codex/scenarios/unknown-event.json +17 -0
  176. package/personas/codex/serve.json +124 -0
  177. package/personas/copilot/behavior/happy-turn.json +9 -0
  178. package/personas/copilot/ops.json +28 -0
  179. package/personas/copilot/persona.json +17 -0
  180. package/personas/copilot/runflows.json +6 -0
  181. package/personas/copilot/scenarios/happy-turn.json +50 -0
  182. package/personas/grok/behavior/approval-turn.json +16 -0
  183. package/personas/grok/behavior/happy-turn.json +13 -0
  184. package/personas/grok/ops.json +330 -0
  185. package/personas/grok/persona.json +24 -0
  186. package/personas/grok/runflows.json +25 -0
  187. package/personas/grok/scenarios/agent-team-lifecycle.json +74 -0
  188. package/personas/grok/scenarios/compact-lifecycle.json +61 -0
  189. package/personas/grok/serve.json +57 -0
  190. package/personas/hermes/behavior/approval-turn.json +11 -0
  191. package/personas/hermes/behavior/happy-turn.json +9 -0
  192. package/personas/hermes/ops.json +227 -0
  193. package/personas/hermes/persona.json +15 -0
  194. package/personas/hermes/runflows.json +50 -0
  195. package/personas/hermes/scenarios/happy-turn.json +25 -0
  196. package/personas/hermes/scenarios/late-after-exit.json +21 -0
  197. package/personas/hermes/scenarios/permission-deny.json +54 -0
  198. package/personas/hermes/scenarios/unknown-event.json +14 -0
  199. package/personas/hermes/serve.json +54 -0
  200. package/personas/kimi/behavior/happy-turn.json +9 -0
  201. package/personas/kimi/ops.json +357 -0
  202. package/personas/kimi/persona.json +23 -0
  203. package/personas/kimi/runflows.json +84 -0
  204. package/personas/kimi/scenarios/compaction-lifecycle.json +20 -0
  205. package/personas/kimi/scenarios/duplicate-out-of-order.json +60 -0
  206. package/personas/kimi/scenarios/happy-turn.json +66 -0
  207. package/personas/kimi/scenarios/late-after-end.json +28 -0
  208. package/personas/kimi/scenarios/tool-failure.json +43 -0
  209. package/personas/kimi/scenarios/tool-success.json +57 -0
  210. package/personas/kimi/scenarios/unknown-record.json +15 -0
  211. package/personas/opencode/README.md +32 -0
  212. package/personas/opencode/behavior/happy-turn.json +9 -0
  213. package/personas/opencode/behavior/permission-turn.json +18 -0
  214. package/personas/opencode/http-serve.json +72 -0
  215. package/personas/opencode/ops.json +250 -0
  216. package/personas/opencode/persona.json +22 -0
  217. package/personas/opencode/runflows.json +45 -0
  218. package/personas/opencode/scenarios/duplicate-event.json +27 -0
  219. package/personas/opencode/scenarios/failure.json +30 -0
  220. package/personas/opencode/scenarios/happy-turn.json +86 -0
  221. package/personas/opencode/scenarios/late-event.json +29 -0
  222. package/personas/opencode/scenarios/out-of-order.json +42 -0
  223. package/personas/opencode/scenarios/permission-allow.json +31 -0
  224. package/personas/opencode/scenarios/permission-deny.json +31 -0
  225. package/personas/opencode/scenarios/question-reject.json +37 -0
  226. package/personas/opencode/scenarios/question-reply.json +38 -0
  227. package/personas/opencode/scenarios/reconnect.json +22 -0
  228. package/personas/opencode/scenarios/resume.json +30 -0
  229. package/personas/opencode/scenarios/unknown-event.json +15 -0
  230. package/personas/pi/behavior/happy-turn.json +9 -0
  231. package/personas/pi/ops.json +19 -0
  232. package/personas/pi/persona.json +16 -0
  233. package/personas/pi/runflows.json +6 -0
  234. package/personas/pi/scenarios/happy-turn.json +52 -0
  235. package/personas/synthetic/behavior/happy-turn.json +12 -0
  236. package/personas/synthetic/groundtruth.html +164 -0
  237. package/personas/synthetic/groundtruth.json +380 -0
  238. package/personas/synthetic/model/behavior.json +27 -0
  239. package/personas/synthetic/model/channels.json +16 -0
  240. package/personas/synthetic/model/detection.json +13 -0
  241. package/personas/synthetic/model/events/agent.action.json +16 -0
  242. package/personas/synthetic/model/events/agent.boot.json +16 -0
  243. package/personas/synthetic/model/events/agent.halt.json +16 -0
  244. package/personas/synthetic/model/events/agent.prompt.json +16 -0
  245. package/personas/synthetic/model/events/agent.reply.json +16 -0
  246. package/personas/synthetic/model/events/agent.settled.json +16 -0
  247. package/personas/synthetic/model/manifest.json +7 -0
  248. package/personas/synthetic/ops.json +18 -0
  249. package/personas/synthetic/persona.json +11 -0
  250. package/README.md +0 -3
@@ -0,0 +1,380 @@
1
+ {
2
+ "format": "puppeteer-groundtruth/1",
3
+ "manifest": {
4
+ "asmVersion": 1,
5
+ "vendor": "synthetic",
6
+ "vendorVersion": "0.0.0",
7
+ "generatedAt": "2026-08-08",
8
+ "source": "INVENTED. This vendor does not exist and nothing here was captured. It is a fixture whose only job is to be structurally unlike claude, so the persona contract cannot quietly assume claude's shape. Never treat it as evidence; surface:audit must never see it."
9
+ },
10
+ "detection": {
11
+ "binaryNames": [
12
+ "synthetic"
13
+ ],
14
+ "versionFlag": "-V",
15
+ "versionOutput": "synthetic 0.0.0 (not a real agent)",
16
+ "helpFlag": "-h",
17
+ "probedFlags": {
18
+ "sessionId": "--sid",
19
+ "settings": "--config",
20
+ "name": "--label",
21
+ "permissionMode": "--guard",
22
+ "model": "--brain"
23
+ }
24
+ },
25
+ "channels": {
26
+ "channels": {
27
+ "argv": {
28
+ "kind": "argv-env",
29
+ "notes": "Deliberately different flag names from claude: --sid rather than --session-id."
30
+ },
31
+ "event": {
32
+ "kind": "hook-http",
33
+ "notes": "Named `event`, not `hook` — the imposter must not hard-code claude's channel names."
34
+ },
35
+ "transcript": {
36
+ "kind": "transcript",
37
+ "notes": "Present so the transcript channel is exercised. Note there is NO statusline channel: a persona that omits one must not break the session."
38
+ }
39
+ }
40
+ },
41
+ "events": [
42
+ {
43
+ "surface": "synthetic",
44
+ "surfaceVersion": "0.0.0",
45
+ "event": "agent.action",
46
+ "channel": "event",
47
+ "transport": "http",
48
+ "trigger": "tool invoked",
49
+ "payloadSchema": {
50
+ "type": "object",
51
+ "required": [
52
+ "kind",
53
+ "sid",
54
+ "workdir",
55
+ "action",
56
+ "ref"
57
+ ],
58
+ "properties": {
59
+ "kind": {
60
+ "type": "string"
61
+ },
62
+ "sid": {
63
+ "type": "string"
64
+ },
65
+ "workdir": {
66
+ "type": "string"
67
+ },
68
+ "action": {
69
+ "type": "string"
70
+ },
71
+ "ref": {
72
+ "type": "string"
73
+ },
74
+ "args": {
75
+ "type": "object"
76
+ }
77
+ }
78
+ },
79
+ "firstSeen": "0.0.0",
80
+ "confidence": "unverified",
81
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
82
+ "channels": [
83
+ "event"
84
+ ]
85
+ },
86
+ {
87
+ "surface": "synthetic",
88
+ "surfaceVersion": "0.0.0",
89
+ "event": "agent.boot",
90
+ "channel": "event",
91
+ "transport": "http",
92
+ "trigger": "process start",
93
+ "payloadSchema": {
94
+ "type": "object",
95
+ "required": [
96
+ "kind",
97
+ "sid",
98
+ "workdir",
99
+ "label"
100
+ ],
101
+ "properties": {
102
+ "kind": {
103
+ "type": "string"
104
+ },
105
+ "sid": {
106
+ "type": "string"
107
+ },
108
+ "workdir": {
109
+ "type": "string"
110
+ },
111
+ "label": {
112
+ "type": "string"
113
+ }
114
+ }
115
+ },
116
+ "firstSeen": "0.0.0",
117
+ "confidence": "unverified",
118
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
119
+ "channels": [
120
+ "event"
121
+ ]
122
+ },
123
+ {
124
+ "surface": "synthetic",
125
+ "surfaceVersion": "0.0.0",
126
+ "event": "agent.halt",
127
+ "channel": "event",
128
+ "transport": "http",
129
+ "trigger": "process ending",
130
+ "payloadSchema": {
131
+ "type": "object",
132
+ "required": [
133
+ "kind",
134
+ "sid",
135
+ "workdir",
136
+ "why"
137
+ ],
138
+ "properties": {
139
+ "kind": {
140
+ "type": "string"
141
+ },
142
+ "sid": {
143
+ "type": "string"
144
+ },
145
+ "workdir": {
146
+ "type": "string"
147
+ },
148
+ "why": {
149
+ "type": "string"
150
+ }
151
+ }
152
+ },
153
+ "firstSeen": "0.0.0",
154
+ "confidence": "unverified",
155
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
156
+ "channels": [
157
+ "event"
158
+ ]
159
+ },
160
+ {
161
+ "surface": "synthetic",
162
+ "surfaceVersion": "0.0.0",
163
+ "event": "agent.prompt",
164
+ "channel": "event",
165
+ "transport": "http",
166
+ "trigger": "user prompt accepted",
167
+ "payloadSchema": {
168
+ "type": "object",
169
+ "required": [
170
+ "kind",
171
+ "sid",
172
+ "workdir",
173
+ "utterance"
174
+ ],
175
+ "properties": {
176
+ "kind": {
177
+ "type": "string"
178
+ },
179
+ "sid": {
180
+ "type": "string"
181
+ },
182
+ "workdir": {
183
+ "type": "string"
184
+ },
185
+ "utterance": {
186
+ "type": "string"
187
+ }
188
+ }
189
+ },
190
+ "firstSeen": "0.0.0",
191
+ "confidence": "unverified",
192
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
193
+ "channels": [
194
+ "event"
195
+ ]
196
+ },
197
+ {
198
+ "surface": "synthetic",
199
+ "surfaceVersion": "0.0.0",
200
+ "event": "agent.reply",
201
+ "channel": "event",
202
+ "transport": "http",
203
+ "trigger": "assistant replied",
204
+ "payloadSchema": {
205
+ "type": "object",
206
+ "required": [
207
+ "kind",
208
+ "sid",
209
+ "workdir",
210
+ "utterance",
211
+ "turn"
212
+ ],
213
+ "properties": {
214
+ "kind": {
215
+ "type": "string"
216
+ },
217
+ "sid": {
218
+ "type": "string"
219
+ },
220
+ "workdir": {
221
+ "type": "string"
222
+ },
223
+ "utterance": {
224
+ "type": "string"
225
+ },
226
+ "turn": {
227
+ "type": "string"
228
+ }
229
+ }
230
+ },
231
+ "firstSeen": "0.0.0",
232
+ "confidence": "unverified",
233
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
234
+ "channels": [
235
+ "event"
236
+ ]
237
+ },
238
+ {
239
+ "surface": "synthetic",
240
+ "surfaceVersion": "0.0.0",
241
+ "event": "agent.settled",
242
+ "channel": "event",
243
+ "transport": "http",
244
+ "trigger": "turn finished",
245
+ "payloadSchema": {
246
+ "type": "object",
247
+ "required": [
248
+ "kind",
249
+ "sid",
250
+ "workdir",
251
+ "turn"
252
+ ],
253
+ "properties": {
254
+ "kind": {
255
+ "type": "string"
256
+ },
257
+ "sid": {
258
+ "type": "string"
259
+ },
260
+ "workdir": {
261
+ "type": "string"
262
+ },
263
+ "turn": {
264
+ "type": "string"
265
+ }
266
+ }
267
+ },
268
+ "firstSeen": "0.0.0",
269
+ "confidence": "unverified",
270
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly.",
271
+ "channels": [
272
+ "event"
273
+ ]
274
+ }
275
+ ],
276
+ "behavior": {
277
+ "behaviorVersion": 1,
278
+ "title": "Synthetic native event lifecycle",
279
+ "description": "The synthetic persona has no external vendor; these are nevertheless its exact native event names and ordering contract.",
280
+ "source": "packages/imposter/personas/synthetic/behavior/happy-turn.json",
281
+ "lanes": [
282
+ {
283
+ "id": "session",
284
+ "label": "Session"
285
+ },
286
+ {
287
+ "id": "turn",
288
+ "label": "Turn"
289
+ }
290
+ ],
291
+ "nodes": [
292
+ {
293
+ "id": "boot",
294
+ "event": "agent.boot",
295
+ "confidence": "unverified",
296
+ "lane": "session",
297
+ "order": 0
298
+ },
299
+ {
300
+ "id": "settled",
301
+ "event": "agent.settled",
302
+ "confidence": "unverified",
303
+ "lane": "session",
304
+ "order": 1
305
+ },
306
+ {
307
+ "id": "halt",
308
+ "event": "agent.halt",
309
+ "confidence": "unverified",
310
+ "lane": "session",
311
+ "order": 5
312
+ },
313
+ {
314
+ "id": "prompt",
315
+ "event": "agent.prompt",
316
+ "confidence": "unverified",
317
+ "lane": "turn",
318
+ "order": 2
319
+ },
320
+ {
321
+ "id": "reply",
322
+ "event": "agent.reply",
323
+ "confidence": "unverified",
324
+ "lane": "turn",
325
+ "order": 3
326
+ },
327
+ {
328
+ "id": "action",
329
+ "event": "agent.action",
330
+ "confidence": "unverified",
331
+ "lane": "turn",
332
+ "order": 4
333
+ }
334
+ ],
335
+ "relations": [
336
+ {
337
+ "from": "boot",
338
+ "to": "settled",
339
+ "kind": "sequence",
340
+ "confidence": "unverified"
341
+ },
342
+ {
343
+ "from": "settled",
344
+ "to": "prompt",
345
+ "kind": "sequence",
346
+ "confidence": "unverified"
347
+ },
348
+ {
349
+ "from": "prompt",
350
+ "to": "reply",
351
+ "kind": "sequence",
352
+ "confidence": "unverified"
353
+ },
354
+ {
355
+ "from": "reply",
356
+ "to": "action",
357
+ "kind": "conditional",
358
+ "confidence": "unverified"
359
+ },
360
+ {
361
+ "from": "action",
362
+ "to": "prompt",
363
+ "kind": "loop",
364
+ "confidence": "unverified"
365
+ },
366
+ {
367
+ "from": "reply",
368
+ "to": "prompt",
369
+ "kind": "loop",
370
+ "confidence": "unverified"
371
+ },
372
+ {
373
+ "from": "prompt",
374
+ "to": "halt",
375
+ "kind": "conditional",
376
+ "confidence": "unverified"
377
+ }
378
+ ]
379
+ }
380
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "behaviorVersion": 1,
3
+ "title": "Synthetic native event lifecycle",
4
+ "description": "The synthetic persona has no external vendor; these are nevertheless its exact native event names and ordering contract.",
5
+ "source": "packages/imposter/personas/synthetic/behavior/happy-turn.json",
6
+ "lanes": [
7
+ { "id": "session", "label": "Session" },
8
+ { "id": "turn", "label": "Turn" }
9
+ ],
10
+ "nodes": [
11
+ { "id": "boot", "event": "agent.boot", "confidence": "unverified", "lane": "session", "order": 0 },
12
+ { "id": "settled", "event": "agent.settled", "confidence": "unverified", "lane": "session", "order": 1 },
13
+ { "id": "halt", "event": "agent.halt", "confidence": "unverified", "lane": "session", "order": 5 },
14
+ { "id": "prompt", "event": "agent.prompt", "confidence": "unverified", "lane": "turn", "order": 2 },
15
+ { "id": "reply", "event": "agent.reply", "confidence": "unverified", "lane": "turn", "order": 3 },
16
+ { "id": "action", "event": "agent.action", "confidence": "unverified", "lane": "turn", "order": 4 }
17
+ ],
18
+ "relations": [
19
+ { "from": "boot", "to": "settled", "kind": "sequence", "confidence": "unverified" },
20
+ { "from": "settled", "to": "prompt", "kind": "sequence", "confidence": "unverified" },
21
+ { "from": "prompt", "to": "reply", "kind": "sequence", "confidence": "unverified" },
22
+ { "from": "reply", "to": "action", "kind": "conditional", "confidence": "unverified" },
23
+ { "from": "action", "to": "prompt", "kind": "loop", "confidence": "unverified" },
24
+ { "from": "reply", "to": "prompt", "kind": "loop", "confidence": "unverified" },
25
+ { "from": "prompt", "to": "halt", "kind": "conditional", "confidence": "unverified" }
26
+ ]
27
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "channels": {
3
+ "argv": {
4
+ "kind": "argv-env",
5
+ "notes": "Deliberately different flag names from claude: --sid rather than --session-id."
6
+ },
7
+ "event": {
8
+ "kind": "hook-http",
9
+ "notes": "Named `event`, not `hook` — the imposter must not hard-code claude's channel names."
10
+ },
11
+ "transcript": {
12
+ "kind": "transcript",
13
+ "notes": "Present so the transcript channel is exercised. Note there is NO statusline channel: a persona that omits one must not break the session."
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "binaryNames": ["synthetic"],
3
+ "versionFlag": "-V",
4
+ "versionOutput": "synthetic 0.0.0 (not a real agent)",
5
+ "helpFlag": "-h",
6
+ "probedFlags": {
7
+ "sessionId": "--sid",
8
+ "settings": "--config",
9
+ "name": "--label",
10
+ "permissionMode": "--guard",
11
+ "model": "--brain"
12
+ }
13
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.action",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "tool invoked",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "action", "ref"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "action": { "type": "string" }, "ref": { "type": "string" }, "args": { "type": "object" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.boot",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "process start",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "label"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "label": { "type": "string" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.halt",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "process ending",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "why"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "why": { "type": "string" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.prompt",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "user prompt accepted",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "utterance"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "utterance": { "type": "string" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.reply",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "assistant replied",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "utterance", "turn"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "utterance": { "type": "string" }, "turn": { "type": "string" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "surface": "synthetic",
3
+ "surfaceVersion": "0.0.0",
4
+ "event": "agent.settled",
5
+ "channel": "event",
6
+ "transport": "http",
7
+ "trigger": "turn finished",
8
+ "payloadSchema": {
9
+ "type": "object",
10
+ "required": ["kind", "sid", "workdir", "turn"],
11
+ "properties": {"kind": { "type": "string" }, "sid": { "type": "string" }, "workdir": { "type": "string" }, "turn": { "type": "string" }}
12
+ },
13
+ "firstSeen": "0.0.0",
14
+ "confidence": "unverified",
15
+ "notes": "Invented. Field names deliberately differ from claude's so a claude-shaped assumption fails loudly."
16
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "asmVersion": 1,
3
+ "vendor": "synthetic",
4
+ "vendorVersion": "0.0.0",
5
+ "generatedAt": "2026-08-08",
6
+ "source": "INVENTED. This vendor does not exist and nothing here was captured. It is a fixture whose only job is to be structurally unlike claude, so the persona contract cannot quietly assume claude's shape. Never treat it as evidence; surface:audit must never see it."
7
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "session.start": [{ "channel": "hook", "event": "agent.boot", "with": { "label": "$sessionTitle" } }],
3
+ "session.ready": [{ "channel": "hook", "event": "agent.boot", "with": { "label": "ready" } }],
4
+ "session.end": [{ "channel": "hook", "event": "agent.halt", "with": { "why": "$op.reason" } }],
5
+ "turn.start": [
6
+ { "channel": "hook", "event": "agent.prompt", "with": { "utterance": "$op.text" } },
7
+ { "channel": "transcript", "with": { "role": "user", "said": "$op.text", "at": "$now" } }
8
+ ],
9
+ "assistant.delta": [
10
+ { "channel": "hook", "event": "agent.reply", "with": { "utterance": "$op.text", "turn": "$op.turnId" } },
11
+ { "channel": "transcript", "with": { "role": "agent", "said": "$op.text", "at": "$now" } }
12
+ ],
13
+ "tool.start": [
14
+ { "channel": "hook", "event": "agent.action", "with": { "action": "$op.tool", "ref": "$op.toolId", "args": "$op.input" } }
15
+ ],
16
+ "tool.end": [{ "channel": "hook", "event": "agent.action", "with": { "action": "$op.tool", "ref": "$op.toolId" } }],
17
+ "turn.end": [{ "channel": "hook", "event": "agent.settled", "with": { "turn": "$op.turnId" } }]
18
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "vendor": "synthetic",
3
+ "asm": { "path": "." },
4
+ "shimNames": ["synthetic"],
5
+ "envelope": {
6
+ "sid": "$sessionId",
7
+ "workdir": "$cwd"
8
+ },
9
+ "eventNameField": "kind",
10
+ "boot": [{ "op": "session.start" }, { "op": "session.ready" }]
11
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.