memindex 1.4.4 → 1.4.6

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 (149) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.qoder-plugin/plugin.json +1 -1
  5. package/README.md +9 -1
  6. package/dist/bug-report/index.js +94 -83
  7. package/dist/npx-cli/index.js +250 -249
  8. package/dist/pi-extension/TYPEBOX-PROVENANCE.json +4 -4
  9. package/dist/pi-extension/index.js +9 -9
  10. package/integrations/dsh/package.json +1 -1
  11. package/integrations/openclaw/openclaw.plugin.json +1 -5
  12. package/integrations/pi/TYPEBOX-PROVENANCE.json +4 -4
  13. package/package.json +5 -5
  14. package/plugin/.claude-plugin/plugin.json +1 -1
  15. package/plugin/.codex-plugin/plugin.json +1 -1
  16. package/plugin/.qoder-plugin/plugin.json +1 -1
  17. package/plugin/package.json +1 -1
  18. package/plugin/scripts/context-generator.cjs +62 -61
  19. package/plugin/scripts/context-generator.cjs.map +3 -3
  20. package/plugin/scripts/mcp-server.cjs +2 -2
  21. package/plugin/scripts/transcript-watcher.cjs +2 -2
  22. package/plugin/scripts/transcript-watcher.cjs.map +1 -1
  23. package/plugin/scripts/worker-service.cjs +677 -669
  24. package/plugin/scripts/worker-service.cjs.map +3 -3
  25. package/plugin/skills/distill/SKILL.md +22 -0
  26. package/plugin/skills/how-it-works/SKILL.md +1 -1
  27. package/plugin/skills/how-it-works/onboarding-explainer.md +1 -1
  28. package/plugin/skills/import-chats/SKILL.md +22 -0
  29. package/plugin/skills/import-jira/SKILL.md +22 -0
  30. package/plugin/skills/import-reviews/SKILL.md +22 -0
  31. package/plugin/skills/pin/SKILL.md +26 -0
  32. package/plugin/skills/savings/SKILL.md +22 -0
  33. package/integrations/openclaw/skills/agent-cost-report/CHECKSUMS.txt +0 -50
  34. package/integrations/openclaw/skills/agent-cost-report/SKILL.md +0 -241
  35. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/__init__.py +0 -1
  36. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/behavior.py +0 -303
  37. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/classify.py +0 -83
  38. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/costs.py +0 -119
  39. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/devices.py +0 -88
  40. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/evidence.py +0 -160
  41. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/labels.py +0 -115
  42. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/measure.py +0 -89
  43. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/mistakes.py +0 -310
  44. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/patterns.py +0 -391
  45. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/period.py +0 -98
  46. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/prices.py +0 -95
  47. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/render.py +0 -586
  48. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/rollup.py +0 -355
  49. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/rules.json +0 -4
  50. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/rules.py +0 -76
  51. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/sample.py +0 -45
  52. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/snapshot.py +0 -53
  53. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/sync.py +0 -79
  54. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/transcripts.py +0 -126
  55. package/integrations/openclaw/skills/agent-cost-report/scripts/acr/wins.py +0 -341
  56. package/integrations/openclaw/skills/agent-cost-report/scripts/acr.py +0 -219
  57. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/_db.py +0 -49
  58. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/_paths.py +0 -9
  59. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/codex/sessions/2026/09/18/rollout-codex-1.jsonl +0 -4
  60. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/make_report_fixtures.py +0 -46
  61. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/prices_sample.json +0 -6
  62. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/projects/-workspace-proj-a/sess-aaaa.jsonl +0 -8
  63. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/projects/-workspace-proj-b/sess-bbbb.jsonl +0 -1
  64. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/report-1day.json +0 -823
  65. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/report-30day.json +0 -2213
  66. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/report-7day.json +0 -1252
  67. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/report-empty.json +0 -536
  68. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/fixtures/report-session.json +0 -662
  69. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_behavior.py +0 -299
  70. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_devices.py +0 -99
  71. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_labels.py +0 -96
  72. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_measure.py +0 -120
  73. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_pdf_windows.py +0 -54
  74. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_period.py +0 -137
  75. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_prices.py +0 -126
  76. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_render.py +0 -238
  77. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_render_encoding.py +0 -70
  78. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_rollup.py +0 -263
  79. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_snapshot.py +0 -63
  80. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_sync.py +0 -52
  81. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_transcript_encoding.py +0 -109
  82. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_transcripts.py +0 -151
  83. package/integrations/openclaw/skills/agent-cost-report/scripts/tests/test_wins.py +0 -222
  84. package/plugin/skills/agent-cost-report/CHECKSUMS.txt +0 -50
  85. package/plugin/skills/agent-cost-report/SKILL.md +0 -241
  86. package/plugin/skills/agent-cost-report/scripts/acr/__init__.py +0 -1
  87. package/plugin/skills/agent-cost-report/scripts/acr/behavior.py +0 -303
  88. package/plugin/skills/agent-cost-report/scripts/acr/classify.py +0 -83
  89. package/plugin/skills/agent-cost-report/scripts/acr/costs.py +0 -119
  90. package/plugin/skills/agent-cost-report/scripts/acr/devices.py +0 -88
  91. package/plugin/skills/agent-cost-report/scripts/acr/evidence.py +0 -160
  92. package/plugin/skills/agent-cost-report/scripts/acr/labels.py +0 -115
  93. package/plugin/skills/agent-cost-report/scripts/acr/measure.py +0 -89
  94. package/plugin/skills/agent-cost-report/scripts/acr/mistakes.py +0 -310
  95. package/plugin/skills/agent-cost-report/scripts/acr/patterns.py +0 -391
  96. package/plugin/skills/agent-cost-report/scripts/acr/period.py +0 -98
  97. package/plugin/skills/agent-cost-report/scripts/acr/prices.py +0 -95
  98. package/plugin/skills/agent-cost-report/scripts/acr/render.py +0 -586
  99. package/plugin/skills/agent-cost-report/scripts/acr/rollup.py +0 -355
  100. package/plugin/skills/agent-cost-report/scripts/acr/rules.json +0 -4
  101. package/plugin/skills/agent-cost-report/scripts/acr/rules.py +0 -76
  102. package/plugin/skills/agent-cost-report/scripts/acr/sample.py +0 -45
  103. package/plugin/skills/agent-cost-report/scripts/acr/snapshot.py +0 -53
  104. package/plugin/skills/agent-cost-report/scripts/acr/sync.py +0 -79
  105. package/plugin/skills/agent-cost-report/scripts/acr/transcripts.py +0 -126
  106. package/plugin/skills/agent-cost-report/scripts/acr/wins.py +0 -341
  107. package/plugin/skills/agent-cost-report/scripts/acr.py +0 -219
  108. package/plugin/skills/agent-cost-report/scripts/tests/_db.py +0 -49
  109. package/plugin/skills/agent-cost-report/scripts/tests/_paths.py +0 -9
  110. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/codex/sessions/2026/09/18/rollout-codex-1.jsonl +0 -4
  111. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/make_report_fixtures.py +0 -46
  112. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/prices_sample.json +0 -6
  113. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/projects/-workspace-proj-a/sess-aaaa.jsonl +0 -8
  114. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/projects/-workspace-proj-b/sess-bbbb.jsonl +0 -1
  115. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/report-1day.json +0 -823
  116. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/report-30day.json +0 -2213
  117. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/report-7day.json +0 -1252
  118. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/report-empty.json +0 -536
  119. package/plugin/skills/agent-cost-report/scripts/tests/fixtures/report-session.json +0 -662
  120. package/plugin/skills/agent-cost-report/scripts/tests/test_behavior.py +0 -299
  121. package/plugin/skills/agent-cost-report/scripts/tests/test_devices.py +0 -99
  122. package/plugin/skills/agent-cost-report/scripts/tests/test_labels.py +0 -96
  123. package/plugin/skills/agent-cost-report/scripts/tests/test_measure.py +0 -120
  124. package/plugin/skills/agent-cost-report/scripts/tests/test_pdf_windows.py +0 -54
  125. package/plugin/skills/agent-cost-report/scripts/tests/test_period.py +0 -137
  126. package/plugin/skills/agent-cost-report/scripts/tests/test_prices.py +0 -126
  127. package/plugin/skills/agent-cost-report/scripts/tests/test_render.py +0 -238
  128. package/plugin/skills/agent-cost-report/scripts/tests/test_render_encoding.py +0 -70
  129. package/plugin/skills/agent-cost-report/scripts/tests/test_rollup.py +0 -263
  130. package/plugin/skills/agent-cost-report/scripts/tests/test_snapshot.py +0 -63
  131. package/plugin/skills/agent-cost-report/scripts/tests/test_sync.py +0 -52
  132. package/plugin/skills/agent-cost-report/scripts/tests/test_transcript_encoding.py +0 -109
  133. package/plugin/skills/agent-cost-report/scripts/tests/test_transcripts.py +0 -151
  134. package/plugin/skills/agent-cost-report/scripts/tests/test_wins.py +0 -222
  135. package/plugin/skills/babysit/SKILL.md +0 -87
  136. package/plugin/skills/design-is/SKILL.md +0 -312
  137. package/plugin/skills/do/SKILL.md +0 -45
  138. package/plugin/skills/learn-codebase/SKILL.md +0 -21
  139. package/plugin/skills/make-plan/SKILL.md +0 -67
  140. package/plugin/skills/oh-my-issues/SKILL.md +0 -226
  141. package/plugin/skills/pathfinder/SKILL.md +0 -111
  142. package/plugin/skills/screenpipe/SKILL.md +0 -78
  143. package/plugin/skills/screenpipe/screenpipe.mjs +0 -196
  144. package/plugin/skills/smart-explore/SKILL.md +0 -193
  145. package/plugin/skills/standup/SKILL.md +0 -142
  146. package/plugin/skills/standup/agent-brief.md +0 -47
  147. package/plugin/skills/standup/standup.mjs +0 -586
  148. package/plugin/skills/what-the/SKILL.md +0 -6
  149. package/plugin/skills/wowerpoint/SKILL.md +0 -205
@@ -1,536 +0,0 @@
1
- {
2
- "attention": [],
3
- "behavior": {
4
- "author_tags": {
5
- "bot": 0,
6
- "human": 0,
7
- "unknown": 0
8
- },
9
- "classifier": {
10
- "cap_usd": 2.0,
11
- "model": null,
12
- "note": "off by default (G8); enable with --classify",
13
- "ran": false,
14
- "sampled_n": 0,
15
- "spend_usd": null
16
- },
17
- "coverage": {
18
- "box": "measured",
19
- "grok_bot": "unavailable",
20
- "mac": "unavailable (no Phase 5 export)"
21
- },
22
- "default_model": "anthropic/claude-sonnet-5",
23
- "episodes": [],
24
- "episodes_status": "measured",
25
- "high_turns_n": 0,
26
- "human_message_counts": "computed from human-tagged turns",
27
- "label_sources": {},
28
- "mistake_clusters": [],
29
- "not_in_mistakes_line": "session-level keyword failure signals with no turn span stay in Details (2B.9)",
30
- "outbound": {
31
- "incidents": 0,
32
- "recipients": 0,
33
- "user_minutes": null
34
- },
35
- "patterns": [
36
- {
37
- "agent_minutes": null,
38
- "confidence": "medium",
39
- "count": 0,
40
- "count_basis": "heuristic",
41
- "detection": "H",
42
- "examples": [],
43
- "failure_type": "Unnecessary escalation",
44
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
45
- "high_usd": 0.0,
46
- "key": "P1_invented_gates",
47
- "low_usd": 0.0,
48
- "name": "Invented human gates / asking instead of doing",
49
- "never_answered_n": 0,
50
- "overlaps": true,
51
- "placement": "tile",
52
- "source_ref": "metrics-ideas.md:16",
53
- "unconfirmed_n": 0,
54
- "unmeasured_n": 0,
55
- "user_minutes": 0,
56
- "waiting_minutes": 0
57
- },
58
- {
59
- "agent_minutes": null,
60
- "confidence": "medium",
61
- "count": 0,
62
- "count_basis": "heuristic",
63
- "detection": "H",
64
- "examples": [],
65
- "failure_type": "Regression",
66
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
67
- "high_usd": 0.0,
68
- "key": "P2_broke_things",
69
- "low_usd": 0.0,
70
- "name": "Broke working things",
71
- "overlaps": true,
72
- "placement": "tile",
73
- "source_ref": "metrics-ideas.md:17",
74
- "unmeasured_n": 0,
75
- "user_minutes": 0,
76
- "waiting_minutes": null
77
- },
78
- {
79
- "agent_minutes": null,
80
- "confidence": "high",
81
- "count": 0,
82
- "count_basis": "heuristic",
83
- "default_model": "anthropic/claude-sonnet-5",
84
- "delta_usd": 0.0,
85
- "detection": "H",
86
- "examples": [],
87
- "failure_type": "Model thrash",
88
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
89
- "high_usd": 0.0,
90
- "key": "P3_wrong_model",
91
- "low_usd": 0.0,
92
- "model_not_logged": 0,
93
- "name": "Wrong or expensive model",
94
- "overlaps": true,
95
- "placement": "tile",
96
- "source_ref": "metrics-ideas.md:18",
97
- "unmeasured_n": 0,
98
- "user_minutes": 0,
99
- "waiting_minutes": null
100
- },
101
- {
102
- "agent_minutes": null,
103
- "confidence": "medium",
104
- "count": 0,
105
- "count_basis": "heuristic",
106
- "detection": "H",
107
- "examples": [],
108
- "failure_type": "Suboptimal path",
109
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
110
- "high_usd": 0.0,
111
- "key": "P4_over_engineering",
112
- "low_usd": 0.0,
113
- "name": "Over-engineering / overthinking",
114
- "overlaps": true,
115
- "placement": "details",
116
- "source_ref": "metrics-ideas.md:19",
117
- "unmeasured_n": 0,
118
- "user_minutes": 0,
119
- "waiting_minutes": null
120
- },
121
- {
122
- "agent_minutes": null,
123
- "confidence": "medium",
124
- "count": 0,
125
- "count_basis": "heuristic",
126
- "detection": "H",
127
- "examples": [],
128
- "failure_type": "Missed requirement",
129
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
130
- "high_usd": 0.0,
131
- "key": "P5_not_asked",
132
- "low_usd": 0.0,
133
- "name": "Did something not asked",
134
- "overlaps": true,
135
- "placement": "details",
136
- "source_ref": "metrics-ideas.md:20",
137
- "unmeasured_n": 0,
138
- "user_minutes": 0,
139
- "waiting_minutes": null
140
- },
141
- {
142
- "agent_minutes": null,
143
- "confidence": "medium",
144
- "count": 0,
145
- "count_basis": "heuristic",
146
- "detection": "H",
147
- "examples": [],
148
- "failure_type": "Premature completion",
149
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
150
- "high_usd": 0.0,
151
- "key": "P6_fake_output",
152
- "low_usd": 0.0,
153
- "name": "Fake or invented output",
154
- "overlaps": true,
155
- "placement": "tile",
156
- "source_ref": "metrics-ideas.md:21",
157
- "unmeasured_n": 0,
158
- "user_minutes": 0,
159
- "waiting_minutes": null
160
- },
161
- {
162
- "agent_minutes": null,
163
- "confidence": "medium",
164
- "count": 0,
165
- "count_basis": "heuristic",
166
- "detection": "H",
167
- "examples": [],
168
- "failure_type": "Premature completion",
169
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
170
- "high_usd": 0.0,
171
- "key": "P7_false_done",
172
- "low_usd": 0.0,
173
- "name": "Skipped steps / false done",
174
- "overlaps": true,
175
- "placement": "tile",
176
- "source_ref": "metrics-ideas.md:22",
177
- "unmeasured_n": 0,
178
- "user_minutes": 0,
179
- "waiting_minutes": null
180
- },
181
- {
182
- "agent_minutes": null,
183
- "confidence": "medium",
184
- "count": 0,
185
- "count_basis": "heuristic",
186
- "detection": "H",
187
- "examples": [],
188
- "failure_type": "Suboptimal path",
189
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
190
- "high_usd": 0.0,
191
- "key": "P8_wrong_tool",
192
- "low_usd": 0.0,
193
- "name": "Wrong tool, account, or contact",
194
- "overlaps": true,
195
- "placement": "details",
196
- "source_ref": "metrics-ideas.md:23",
197
- "unmeasured_n": 0,
198
- "user_minutes": 0,
199
- "waiting_minutes": null
200
- },
201
- {
202
- "agent_minutes": null,
203
- "confidence": "high",
204
- "cost_note": "incidents \u00d7 recipients, never dollars",
205
- "count": 0,
206
- "count_basis": "heuristic",
207
- "detection": "H",
208
- "examples": [],
209
- "failure_type": "Unauthorized action",
210
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
211
- "high_usd": null,
212
- "incidents": 0,
213
- "key": "P9_bad_outbound",
214
- "low_usd": null,
215
- "name": "Bad outbound",
216
- "overlaps": true,
217
- "placement": "details",
218
- "recipients": 0,
219
- "source_ref": "metrics-ideas.md:24",
220
- "unmeasured_n": 0,
221
- "user_minutes": 0,
222
- "waiting_minutes": null
223
- },
224
- {
225
- "agent_minutes": null,
226
- "confidence": "medium",
227
- "count": 0,
228
- "count_basis": "heuristic",
229
- "detection": "H",
230
- "examples": [],
231
- "failure_type": "",
232
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
233
- "high_usd": 0.0,
234
- "key": "P10_memory_loss",
235
- "low_usd": 0.0,
236
- "name": "Memory or rule loss",
237
- "overlaps": true,
238
- "placement": "details",
239
- "source_ref": "metrics-ideas.md:25",
240
- "unmeasured_n": 0,
241
- "user_minutes": 0,
242
- "waiting_minutes": null
243
- },
244
- {
245
- "agent_minutes": null,
246
- "confidence": "medium",
247
- "cost_note": "user-minutes = words \u00f7 200; dollars only for a clarification round trip",
248
- "count": 0,
249
- "count_basis": "heuristic",
250
- "detection": "H",
251
- "examples": [],
252
- "failure_type": "",
253
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
254
- "high_usd": 0.0,
255
- "key": "P11_jargon",
256
- "low_usd": 0.0,
257
- "name": "Jargon / walls of text",
258
- "overlaps": true,
259
- "placement": "details",
260
- "source_ref": "metrics-ideas.md:26",
261
- "unmeasured_n": 0,
262
- "user_minutes": 0,
263
- "waiting_minutes": null
264
- },
265
- {
266
- "agent_minutes": null,
267
- "confidence": "medium",
268
- "count": 0,
269
- "count_basis": "heuristic",
270
- "detection": "base detector; M attributes when it can",
271
- "examples": [],
272
- "failure_type": "",
273
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
274
- "high_usd": 0.0,
275
- "key": "P12_unclear",
276
- "low_usd": 0.0,
277
- "name": "Unclear cause",
278
- "overlaps": true,
279
- "placement": "details",
280
- "source_ref": "metrics-ideas.md:27",
281
- "unmeasured_n": 0,
282
- "user_minutes": 0,
283
- "waiting_minutes": null
284
- },
285
- {
286
- "agent_minutes": null,
287
- "confidence": "high",
288
- "count": 0,
289
- "count_basis": "heuristic",
290
- "detection": "H",
291
- "error_chains": 0,
292
- "examples": [],
293
- "failure_type": "Recovery after miss",
294
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
295
- "high_usd": 0.0,
296
- "key": "S1_tool_errors",
297
- "loops": 0,
298
- "low_usd": 0.0,
299
- "name": "Tool errors and retries",
300
- "overlaps": true,
301
- "placement": "details",
302
- "recovered_usd": 0.0,
303
- "source_ref": "plan 2B.3 supporting metric",
304
- "unmeasured_n": 0,
305
- "user_minutes": 0,
306
- "waiting_minutes": null
307
- },
308
- {
309
- "agent_minutes": null,
310
- "availability_unknown_n": 0,
311
- "confidence": "medium",
312
- "cost_note": "text only, not priced",
313
- "count": 0,
314
- "count_basis": "heuristic",
315
- "detection": "H",
316
- "examples": [],
317
- "failure_type": "Hedging",
318
- "high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
319
- "high_usd": 0.0,
320
- "key": "S2_hedging",
321
- "low_usd": 0.0,
322
- "name": "Hedging",
323
- "overlaps": true,
324
- "placement": "details",
325
- "source_ref": "plan 2B.3 supporting metric",
326
- "unmeasured_n": 0,
327
- "user_minutes": 0,
328
- "waiting_minutes": null
329
- }
330
- ],
331
- "permission_denials": {
332
- "count": 0,
333
- "examples": [],
334
- "note": "blocked by a rule; not priced as agent waste"
335
- },
336
- "prompt_rows_n": 0,
337
- "rule_effectiveness": [],
338
- "scan": {
339
- "files_seen": 0
340
- },
341
- "session_tags": {},
342
- "tagger_ran": true,
343
- "unconfirmed": {
344
- "P1_candidates": []
345
- },
346
- "union_high_usd": 0.0,
347
- "union_low_usd": 0.0,
348
- "union_turns_n": 0
349
- },
350
- "by_category": [],
351
- "by_day": [
352
- {
353
- "agent_calls": 0,
354
- "agent_estimated_usd": 0.0,
355
- "day_pt": "2026-08-01",
356
- "events": 0,
357
- "extrapolated_usd": 0.0,
358
- "finished_outcomes": 0,
359
- "no_agent_work": true,
360
- "sessions_started": 0,
361
- "ship_events": 0,
362
- "tokens": 0
363
- },
364
- {
365
- "agent_calls": 0,
366
- "agent_estimated_usd": 0.0,
367
- "day_pt": "2026-08-02",
368
- "events": 0,
369
- "extrapolated_usd": 0.0,
370
- "finished_outcomes": 0,
371
- "no_agent_work": true,
372
- "sessions_started": 0,
373
- "ship_events": 0,
374
- "tokens": 0
375
- }
376
- ],
377
- "by_device": [],
378
- "by_model": [],
379
- "devices": [
380
- {
381
- "device": "local",
382
- "id_hash": "local"
383
- }
384
- ],
385
- "failure_economics": [],
386
- "generated_at_pt": "2026-09-25 12:00 PT",
387
- "labels": {
388
- "reviewed": 0,
389
- "total": 0
390
- },
391
- "line_items": [],
392
- "observer": {
393
- "basis": "ESTIMATED: observer model's own tokens (deduped per reply) x its input list price; kept separate from the agent figures above",
394
- "est_usd": 0.0,
395
- "models": [],
396
- "rows_in_scope": {},
397
- "tokens_dedup": 0,
398
- "unpriced_tokens": {}
399
- },
400
- "pricing": {
401
- "fetched": "2026-09-25T17:00:00-07:00",
402
- "loaded_from": null,
403
- "models_listed": 7,
404
- "rule_1h": "explicit input_cache_write_1h when listed, else 2 x input (weekly_report.py:95)",
405
- "source": "https://openrouter.ai/api/v1/models"
406
- },
407
- "scope": {
408
- "kind": "period",
409
- "project": null,
410
- "session": null
411
- },
412
- "spend": {
413
- "agent_estimated_label": "ESTIMATED",
414
- "agent_estimated_usd": 0.0,
415
- "agent_measured_usd": null,
416
- "extrapolated_label": "EXTRAPOLATED (low confidence)",
417
- "extrapolated_unmeasured_usd": null,
418
- "extrapolation_basis": "n/a (no measured session to derive a ratio from)",
419
- "grok_bot_usage": {
420
- "status": "unavailable"
421
- },
422
- "headline_label": "estimated at OpenRouter list prices from measured tokens",
423
- "headline_usd": 0.0,
424
- "measured_status": "unavailable",
425
- "mistakes_basis": "same-session wasted turns, each turn once",
426
- "mistakes_episodes_n": 0,
427
- "mistakes_estimated_usd": 0.0,
428
- "mistakes_high_label": "upper bound, likely 5\u201310\u00d7 too high (behavior study)",
429
- "mistakes_high_usd": 0.0,
430
- "mistakes_label": "ESTIMATED",
431
- "mistakes_turns_n": 0,
432
- "mistakes_unmatched_usd": 0.0,
433
- "mistakes_unmeasured_n": 0,
434
- "mistakes_user_minutes": 0,
435
- "mistakes_user_minutes_known_n": 0,
436
- "observer_note_taker_est_usd": 0.0,
437
- "total_estimate_usd": 0.0
438
- },
439
- "timeline": {
440
- "mistakes_by_day": [
441
- {
442
- "by_pattern": {},
443
- "day_pt": "2026-08-01",
444
- "high_usd": 0.0,
445
- "outbound_incidents": 0,
446
- "top_examples": [],
447
- "turns_n": 0,
448
- "unmeasured_n": 0,
449
- "usd": 0.0,
450
- "user_minutes": 0.0
451
- },
452
- {
453
- "by_pattern": {},
454
- "day_pt": "2026-08-02",
455
- "high_usd": 0.0,
456
- "outbound_incidents": 0,
457
- "top_examples": [],
458
- "turns_n": 0,
459
- "unmeasured_n": 0,
460
- "usd": 0.0,
461
- "user_minutes": 0.0
462
- }
463
- ],
464
- "wins_by_day": [
465
- {
466
- "count": 0,
467
- "day_pt": "2026-08-01",
468
- "usd": null,
469
- "win_ids": []
470
- },
471
- {
472
- "count": 0,
473
- "day_pt": "2026-08-02",
474
- "usd": null,
475
- "win_ids": []
476
- }
477
- ]
478
- },
479
- "totals": {
480
- "agent_hours": 0.0,
481
- "cost_per_completed_outcome": null,
482
- "devices": 0,
483
- "finished_outcomes": 0,
484
- "hours_method": "sum of gaps <=15 min between consecutive events (prompts, observations, summaries, tool calls, transcript API calls); parallel sessions add up in agent_hours but not in wall_clock_hours",
485
- "projects": 0,
486
- "real_work_sessions": 0,
487
- "recovery_share": null,
488
- "recovery_usd": 0,
489
- "repos": 0,
490
- "sessions": 0,
491
- "ship_events": 0,
492
- "tokens": {
493
- "api_calls": 0,
494
- "cache_read": 0,
495
- "cache_write_1h": 0,
496
- "cache_write_5m": 0,
497
- "input": 0,
498
- "output": 0,
499
- "total": 0
500
- },
501
- "trivial_sessions": 0,
502
- "wall_clock_hours": 0.0,
503
- "waste_rate": null,
504
- "wasted_usd": 0
505
- },
506
- "trivial_definition": "no observations, no transcript on this box, and <1 active minute",
507
- "trivial_sessions": [],
508
- "unmatched_transcripts": {
509
- "by_dir": {},
510
- "count": 0,
511
- "note": "transcripts on this box that matched no sdk_sessions row (work memindex never saw); counted in the totals above",
512
- "sessions": [],
513
- "tokens": 0,
514
- "usd": 0
515
- },
516
- "unpriced_models": [],
517
- "window": {
518
- "end_epoch_ms": 1785740400000,
519
- "end_exclusive_pt": "2026-08-03",
520
- "generated_at_pt": "2026-09-25 12:00 PT",
521
- "partial_last_day": false,
522
- "start_epoch_ms": 1785567600000,
523
- "start_pt": "2026-08-01"
524
- },
525
- "wins": {
526
- "attribution_method": null,
527
- "cost_status": "unmeasured",
528
- "dropped": [],
529
- "gh_unconfirmed": [],
530
- "items": [],
531
- "note": "finished line items (shipped/completed) are outcomes, not wins (G12); praise detection is a Phase 2B hook",
532
- "praise_n": 0,
533
- "total_attributed_usd": null,
534
- "unattributed_usd": null
535
- }
536
- }