@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.
- package/LICENSE +21 -0
- package/bin/ai.mjs +17 -0
- package/dist/cli/argv.d.ts +40 -0
- package/dist/cli/argv.d.ts.map +1 -0
- package/dist/cli/argv.js +62 -0
- package/dist/cli/argv.js.map +1 -0
- package/dist/cli/http-persona.d.ts +15 -0
- package/dist/cli/http-persona.d.ts.map +1 -0
- package/dist/cli/http-persona.js +216 -0
- package/dist/cli/http-persona.js.map +1 -0
- package/dist/cli/main.d.ts +11 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +671 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/prompt-line.d.ts +27 -0
- package/dist/cli/prompt-line.d.ts.map +1 -0
- package/dist/cli/prompt-line.js +93 -0
- package/dist/cli/prompt-line.js.map +1 -0
- package/dist/control/client.d.ts +51 -0
- package/dist/control/client.d.ts.map +1 -0
- package/dist/control/client.js +206 -0
- package/dist/control/client.js.map +1 -0
- package/dist/control/index.d.ts +10 -0
- package/dist/control/index.d.ts.map +1 -0
- package/dist/control/index.js +10 -0
- package/dist/control/index.js.map +1 -0
- package/dist/control/peer.d.ts +42 -0
- package/dist/control/peer.d.ts.map +1 -0
- package/dist/control/peer.js +174 -0
- package/dist/control/peer.js.map +1 -0
- package/dist/control/protocol.d.ts +207 -0
- package/dist/control/protocol.d.ts.map +1 -0
- package/dist/control/protocol.js +535 -0
- package/dist/control/protocol.js.map +1 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -0
- package/dist/persona/launch.d.ts +7 -0
- package/dist/persona/launch.d.ts.map +1 -0
- package/dist/persona/launch.js +26 -0
- package/dist/persona/launch.js.map +1 -0
- package/dist/persona/load.d.ts +28 -0
- package/dist/persona/load.d.ts.map +1 -0
- package/dist/persona/load.js +705 -0
- package/dist/persona/load.js.map +1 -0
- package/dist/persona/session-id.d.ts +4 -0
- package/dist/persona/session-id.d.ts.map +1 -0
- package/dist/persona/session-id.js +12 -0
- package/dist/persona/session-id.js.map +1 -0
- package/dist/persona/types.d.ts +265 -0
- package/dist/persona/types.d.ts.map +1 -0
- package/dist/persona/types.js +38 -0
- package/dist/persona/types.js.map +1 -0
- package/dist/session/channels/hook.d.ts +31 -0
- package/dist/session/channels/hook.d.ts.map +1 -0
- package/dist/session/channels/hook.js +114 -0
- package/dist/session/channels/hook.js.map +1 -0
- package/dist/session/channels/http-sse.d.ts +67 -0
- package/dist/session/channels/http-sse.d.ts.map +1 -0
- package/dist/session/channels/http-sse.js +212 -0
- package/dist/session/channels/http-sse.js.map +1 -0
- package/dist/session/channels/jsonrpc.d.ts +56 -0
- package/dist/session/channels/jsonrpc.d.ts.map +1 -0
- package/dist/session/channels/jsonrpc.js +196 -0
- package/dist/session/channels/jsonrpc.js.map +1 -0
- package/dist/session/channels/leader-ipc.d.ts +27 -0
- package/dist/session/channels/leader-ipc.d.ts.map +1 -0
- package/dist/session/channels/leader-ipc.js +314 -0
- package/dist/session/channels/leader-ipc.js.map +1 -0
- package/dist/session/channels/native-store.d.ts +31 -0
- package/dist/session/channels/native-store.d.ts.map +1 -0
- package/dist/session/channels/native-store.js +275 -0
- package/dist/session/channels/native-store.js.map +1 -0
- package/dist/session/channels/statusline.d.ts +20 -0
- package/dist/session/channels/statusline.d.ts.map +1 -0
- package/dist/session/channels/statusline.js +48 -0
- package/dist/session/channels/statusline.js.map +1 -0
- package/dist/session/channels/terminal.d.ts +27 -0
- package/dist/session/channels/terminal.d.ts.map +1 -0
- package/dist/session/channels/terminal.js +108 -0
- package/dist/session/channels/terminal.js.map +1 -0
- package/dist/session/channels/transcript.d.ts +16 -0
- package/dist/session/channels/transcript.d.ts.map +1 -0
- package/dist/session/channels/transcript.js +24 -0
- package/dist/session/channels/transcript.js.map +1 -0
- package/dist/session/channels/ws-unix.d.ts +57 -0
- package/dist/session/channels/ws-unix.d.ts.map +1 -0
- package/dist/session/channels/ws-unix.js +396 -0
- package/dist/session/channels/ws-unix.js.map +1 -0
- package/dist/session/http-session-server.d.ts +31 -0
- package/dist/session/http-session-server.d.ts.map +1 -0
- package/dist/session/http-session-server.js +508 -0
- package/dist/session/http-session-server.js.map +1 -0
- package/dist/session/scenario-driver.d.ts +105 -0
- package/dist/session/scenario-driver.d.ts.map +1 -0
- package/dist/session/scenario-driver.js +211 -0
- package/dist/session/scenario-driver.js.map +1 -0
- package/dist/session/scenario.d.ts +119 -0
- package/dist/session/scenario.d.ts.map +1 -0
- package/dist/session/scenario.js +299 -0
- package/dist/session/scenario.js.map +1 -0
- package/dist/session/serve.d.ts +124 -0
- package/dist/session/serve.d.ts.map +1 -0
- package/dist/session/serve.js +136 -0
- package/dist/session/serve.js.map +1 -0
- package/dist/session/session.d.ts +125 -0
- package/dist/session/session.d.ts.map +1 -0
- package/dist/session/session.js +781 -0
- package/dist/session/session.js.map +1 -0
- package/dist/session/template.d.ts +35 -0
- package/dist/session/template.d.ts.map +1 -0
- package/dist/session/template.js +133 -0
- package/dist/session/template.js.map +1 -0
- package/dist/session/timeline.d.ts +81 -0
- package/dist/session/timeline.d.ts.map +1 -0
- package/dist/session/timeline.js +155 -0
- package/dist/session/timeline.js.map +1 -0
- package/dist/tui/app.d.ts +30 -0
- package/dist/tui/app.d.ts.map +1 -0
- package/dist/tui/app.js +72 -0
- package/dist/tui/app.js.map +1 -0
- package/dist/tui/mount.d.ts +37 -0
- package/dist/tui/mount.d.ts.map +1 -0
- package/dist/tui/mount.js +88 -0
- package/dist/tui/mount.js.map +1 -0
- package/dist/tui/store.d.ts +38 -0
- package/dist/tui/store.d.ts.map +1 -0
- package/dist/tui/store.js +56 -0
- package/dist/tui/store.js.map +1 -0
- package/dist/tui/theme.d.ts +40 -0
- package/dist/tui/theme.d.ts.map +1 -0
- package/dist/tui/theme.js +54 -0
- package/dist/tui/theme.js.map +1 -0
- package/package.json +67 -3
- package/personas/antigravity/behavior/happy-turn.json +9 -0
- package/personas/antigravity/ops.json +14 -0
- package/personas/antigravity/persona.json +15 -0
- package/personas/antigravity/runflows.json +6 -0
- package/personas/antigravity/scenarios/happy-turn.json +25 -0
- package/personas/claude/behavior/happy-turn.json +19 -0
- package/personas/claude/ops.json +128 -0
- package/personas/claude/persona.json +29 -0
- package/personas/claude/runflows.json +45 -0
- package/personas/claude/scenarios/channel-disconnect.json +19 -0
- package/personas/claude/scenarios/crash-mid-turn.json +42 -0
- package/personas/claude/scenarios/cross-layer-implementation.json +488 -0
- package/personas/claude/scenarios/deep-research.json +494 -0
- package/personas/claude/scenarios/duplicate-out-of-order.json +57 -0
- package/personas/claude/scenarios/flood.json +11 -0
- package/personas/claude/scenarios/happy-turn.json +57 -0
- package/personas/claude/scenarios/incident-investigation.json +465 -0
- package/personas/claude/scenarios/late-after-exit.json +27 -0
- package/personas/claude/scenarios/permission-allow.json +55 -0
- package/personas/claude/scenarios/permission-deny.json +71 -0
- package/personas/claude/scenarios/token-usage-refresh.json +33 -0
- package/personas/claude/scenarios/unknown-event.json +14 -0
- package/personas/codex/behavior/approval-turn.json +15 -0
- package/personas/codex/behavior/happy-turn.json +10 -0
- package/personas/codex/ops.json +159 -0
- package/personas/codex/persona.json +36 -0
- package/personas/codex/runflows.json +45 -0
- package/personas/codex/scenarios/channel-disconnect.json +31 -0
- package/personas/codex/scenarios/crash-mid-turn.json +30 -0
- package/personas/codex/scenarios/cross-layer-implementation.json +725 -0
- package/personas/codex/scenarios/deep-research.json +684 -0
- package/personas/codex/scenarios/duplicate-out-of-order.json +87 -0
- package/personas/codex/scenarios/flood.json +22 -0
- package/personas/codex/scenarios/happy-turn.json +81 -0
- package/personas/codex/scenarios/incident-investigation.json +695 -0
- package/personas/codex/scenarios/late-after-exit.json +59 -0
- package/personas/codex/scenarios/permission-allow.json +110 -0
- package/personas/codex/scenarios/permission-deny.json +83 -0
- package/personas/codex/scenarios/token-usage-refresh.json +49 -0
- package/personas/codex/scenarios/unknown-event.json +17 -0
- package/personas/codex/serve.json +124 -0
- package/personas/copilot/behavior/happy-turn.json +9 -0
- package/personas/copilot/ops.json +28 -0
- package/personas/copilot/persona.json +17 -0
- package/personas/copilot/runflows.json +6 -0
- package/personas/copilot/scenarios/happy-turn.json +50 -0
- package/personas/grok/behavior/approval-turn.json +16 -0
- package/personas/grok/behavior/happy-turn.json +13 -0
- package/personas/grok/ops.json +330 -0
- package/personas/grok/persona.json +24 -0
- package/personas/grok/runflows.json +25 -0
- package/personas/grok/scenarios/agent-team-lifecycle.json +74 -0
- package/personas/grok/scenarios/compact-lifecycle.json +61 -0
- package/personas/grok/serve.json +57 -0
- package/personas/hermes/behavior/approval-turn.json +11 -0
- package/personas/hermes/behavior/happy-turn.json +9 -0
- package/personas/hermes/ops.json +227 -0
- package/personas/hermes/persona.json +15 -0
- package/personas/hermes/runflows.json +50 -0
- package/personas/hermes/scenarios/happy-turn.json +25 -0
- package/personas/hermes/scenarios/late-after-exit.json +21 -0
- package/personas/hermes/scenarios/permission-deny.json +54 -0
- package/personas/hermes/scenarios/unknown-event.json +14 -0
- package/personas/hermes/serve.json +54 -0
- package/personas/kimi/behavior/happy-turn.json +9 -0
- package/personas/kimi/ops.json +357 -0
- package/personas/kimi/persona.json +23 -0
- package/personas/kimi/runflows.json +84 -0
- package/personas/kimi/scenarios/compaction-lifecycle.json +20 -0
- package/personas/kimi/scenarios/duplicate-out-of-order.json +60 -0
- package/personas/kimi/scenarios/happy-turn.json +66 -0
- package/personas/kimi/scenarios/late-after-end.json +28 -0
- package/personas/kimi/scenarios/tool-failure.json +43 -0
- package/personas/kimi/scenarios/tool-success.json +57 -0
- package/personas/kimi/scenarios/unknown-record.json +15 -0
- package/personas/opencode/README.md +32 -0
- package/personas/opencode/behavior/happy-turn.json +9 -0
- package/personas/opencode/behavior/permission-turn.json +18 -0
- package/personas/opencode/http-serve.json +72 -0
- package/personas/opencode/ops.json +250 -0
- package/personas/opencode/persona.json +22 -0
- package/personas/opencode/runflows.json +45 -0
- package/personas/opencode/scenarios/duplicate-event.json +27 -0
- package/personas/opencode/scenarios/failure.json +30 -0
- package/personas/opencode/scenarios/happy-turn.json +86 -0
- package/personas/opencode/scenarios/late-event.json +29 -0
- package/personas/opencode/scenarios/out-of-order.json +42 -0
- package/personas/opencode/scenarios/permission-allow.json +31 -0
- package/personas/opencode/scenarios/permission-deny.json +31 -0
- package/personas/opencode/scenarios/question-reject.json +37 -0
- package/personas/opencode/scenarios/question-reply.json +38 -0
- package/personas/opencode/scenarios/reconnect.json +22 -0
- package/personas/opencode/scenarios/resume.json +30 -0
- package/personas/opencode/scenarios/unknown-event.json +15 -0
- package/personas/pi/behavior/happy-turn.json +9 -0
- package/personas/pi/ops.json +19 -0
- package/personas/pi/persona.json +16 -0
- package/personas/pi/runflows.json +6 -0
- package/personas/pi/scenarios/happy-turn.json +52 -0
- package/personas/synthetic/behavior/happy-turn.json +12 -0
- package/personas/synthetic/groundtruth.html +164 -0
- package/personas/synthetic/groundtruth.json +380 -0
- package/personas/synthetic/model/behavior.json +27 -0
- package/personas/synthetic/model/channels.json +16 -0
- package/personas/synthetic/model/detection.json +13 -0
- package/personas/synthetic/model/events/agent.action.json +16 -0
- package/personas/synthetic/model/events/agent.boot.json +16 -0
- package/personas/synthetic/model/events/agent.halt.json +16 -0
- package/personas/synthetic/model/events/agent.prompt.json +16 -0
- package/personas/synthetic/model/events/agent.reply.json +16 -0
- package/personas/synthetic/model/events/agent.settled.json +16 -0
- package/personas/synthetic/model/manifest.json +7 -0
- package/personas/synthetic/ops.json +18 -0
- package/personas/synthetic/persona.json +11 -0
- 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
|
+
}
|
package/README.md
DELETED