stratagate-dsh 0.3.28 → 0.3.29

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.
@@ -0,0 +1,466 @@
1
+ {
2
+ "passed": true,
3
+ "database": "C:\\Users\\19007\\AppData\\Local\\Temp\\stratagate-profile-save-WhgOOg\\memory.sqlite",
4
+ "node": "v24.19.0",
5
+ "browser": "155.0.8059.86",
6
+ "checks": [
7
+ "clicking the value replaces it with a focused input at the same horizontal position; edit button uses the same editor",
8
+ "normal save: captured request, one PATCH, real SQLite updated, inline saved ~2s, no focus transfer",
9
+ "definite failure retains input and field-local error across successful background poll; retry persists and clears error",
10
+ "validation error shows specific correction; cancel clears save error",
11
+ "confirmed save survives follow-up read failure and 2s timer; reread performs no PATCH",
12
+ "connection loss before write stays unknown after polling/check; input retained, no automatic retry",
13
+ "lost success response: explicit GET confirms persisted value/revision, retains newer draft, next save uses confirmed revision",
14
+ "unknown check and real HTTP 409 retain drafts and existing conflict/reload protection",
15
+ "late manual read after cancel/switch cannot touch new editor or feedback",
16
+ "old success timer cannot clear later save error in the same field",
17
+ "15s timeout is unknown; late response cannot alter the next field",
18
+ "unmount aborts requests and timers; remount has no stale feedback; no modal dialogs"
19
+ ],
20
+ "requests": [
21
+ {
22
+ "method": "GET",
23
+ "url": "/api/stratagate/profile",
24
+ "status": 200
25
+ },
26
+ {
27
+ "method": "GET",
28
+ "url": "/api/stratagate/profile",
29
+ "status": 200
30
+ },
31
+ {
32
+ "method": "PATCH",
33
+ "url": "/api/stratagate/profile",
34
+ "body": {
35
+ "field": "preferredLanguage",
36
+ "value": "中文,保留专业术语",
37
+ "expectedValue": "中文",
38
+ "expectedRevision": 1
39
+ },
40
+ "status": 200
41
+ },
42
+ {
43
+ "method": "GET",
44
+ "url": "/api/stratagate/profile",
45
+ "status": 200
46
+ },
47
+ {
48
+ "method": "GET",
49
+ "url": "/api/stratagate/profile",
50
+ "status": 200
51
+ },
52
+ {
53
+ "method": "PATCH",
54
+ "url": "/api/stratagate/profile",
55
+ "body": {
56
+ "field": "preferredLanguage",
57
+ "value": "优先用中文解释,保留我的输入",
58
+ "expectedValue": "中文,保留专业术语",
59
+ "expectedRevision": 3
60
+ }
61
+ },
62
+ {
63
+ "method": "GET",
64
+ "url": "/api/stratagate/profile",
65
+ "status": 200
66
+ },
67
+ {
68
+ "method": "GET",
69
+ "url": "/api/stratagate/profile",
70
+ "status": 200
71
+ },
72
+ {
73
+ "method": "PATCH",
74
+ "url": "/api/stratagate/profile",
75
+ "body": {
76
+ "field": "preferredLanguage",
77
+ "value": "优先用中文解释,保留我的输入",
78
+ "expectedValue": "中文,保留专业术语",
79
+ "expectedRevision": 3
80
+ },
81
+ "status": 200
82
+ },
83
+ {
84
+ "method": "GET",
85
+ "url": "/api/stratagate/profile",
86
+ "status": 200
87
+ },
88
+ {
89
+ "method": "GET",
90
+ "url": "/api/stratagate/profile",
91
+ "status": 200
92
+ },
93
+ {
94
+ "method": "PATCH",
95
+ "url": "/api/stratagate/profile",
96
+ "body": {
97
+ "field": "preferredLanguage",
98
+ "value": "需要修正的输入",
99
+ "expectedValue": "优先用中文解释,保留我的输入",
100
+ "expectedRevision": 4
101
+ }
102
+ },
103
+ {
104
+ "method": "GET",
105
+ "url": "/api/stratagate/profile",
106
+ "status": 200
107
+ },
108
+ {
109
+ "method": "GET",
110
+ "url": "/api/stratagate/profile",
111
+ "status": 200
112
+ },
113
+ {
114
+ "method": "GET",
115
+ "url": "/api/stratagate/profile"
116
+ },
117
+ {
118
+ "method": "PATCH",
119
+ "url": "/api/stratagate/profile",
120
+ "body": {
121
+ "field": "preferredLanguage",
122
+ "value": "成功保存后模拟读取故障",
123
+ "expectedValue": "优先用中文解释,保留我的输入",
124
+ "expectedRevision": 4
125
+ },
126
+ "status": 200
127
+ },
128
+ {
129
+ "method": "GET",
130
+ "url": "/api/stratagate/profile"
131
+ },
132
+ {
133
+ "method": "GET",
134
+ "url": "/api/stratagate/profile",
135
+ "status": 200
136
+ },
137
+ {
138
+ "method": "GET",
139
+ "url": "/api/stratagate/profile",
140
+ "status": 200
141
+ },
142
+ {
143
+ "method": "PATCH",
144
+ "url": "/api/stratagate/profile",
145
+ "body": {
146
+ "field": "preferredLanguage",
147
+ "value": "连接中断时的草稿",
148
+ "expectedValue": "成功保存后模拟读取故障",
149
+ "expectedRevision": 5
150
+ }
151
+ },
152
+ {
153
+ "method": "PATCH",
154
+ "url": "/api/stratagate/profile",
155
+ "body": {
156
+ "field": "preferredLanguage",
157
+ "value": "连接中断时的草稿",
158
+ "expectedValue": "成功保存后模拟读取故障",
159
+ "expectedRevision": 5
160
+ }
161
+ },
162
+ {
163
+ "method": "GET",
164
+ "url": "/api/stratagate/profile",
165
+ "status": 200
166
+ },
167
+ {
168
+ "method": "GET",
169
+ "url": "/api/stratagate/profile",
170
+ "status": 200
171
+ },
172
+ {
173
+ "method": "GET",
174
+ "url": "/api/stratagate/profile",
175
+ "status": 200
176
+ },
177
+ {
178
+ "method": "GET",
179
+ "url": "/api/stratagate/profile",
180
+ "status": 200
181
+ },
182
+ {
183
+ "method": "GET",
184
+ "url": "/api/stratagate/profile",
185
+ "status": 200
186
+ },
187
+ {
188
+ "method": "PATCH",
189
+ "url": "/api/stratagate/profile",
190
+ "body": {
191
+ "field": "preferredLanguage",
192
+ "value": "连接中断但已经写入",
193
+ "expectedValue": "成功保存后模拟读取故障",
194
+ "expectedRevision": 5
195
+ },
196
+ "status": 200
197
+ },
198
+ {
199
+ "method": "PATCH",
200
+ "url": "/api/stratagate/profile",
201
+ "body": {
202
+ "field": "preferredLanguage",
203
+ "value": "连接中断但已经写入",
204
+ "expectedValue": "成功保存后模拟读取故障",
205
+ "expectedRevision": 5
206
+ },
207
+ "status": 409
208
+ },
209
+ {
210
+ "method": "GET",
211
+ "url": "/api/stratagate/profile",
212
+ "status": 200
213
+ },
214
+ {
215
+ "method": "GET",
216
+ "url": "/api/stratagate/profile",
217
+ "status": 200
218
+ },
219
+ {
220
+ "method": "PATCH",
221
+ "url": "/api/stratagate/profile",
222
+ "body": {
223
+ "field": "preferredLanguage",
224
+ "value": "检查期间继续修改的草稿",
225
+ "expectedValue": "连接中断但已经写入",
226
+ "expectedRevision": 6
227
+ },
228
+ "status": 200
229
+ },
230
+ {
231
+ "method": "GET",
232
+ "url": "/api/stratagate/profile",
233
+ "status": 200
234
+ },
235
+ {
236
+ "method": "GET",
237
+ "url": "/api/stratagate/profile",
238
+ "status": 200
239
+ },
240
+ {
241
+ "method": "PATCH",
242
+ "url": "/api/stratagate/profile",
243
+ "body": {
244
+ "field": "preferredLanguage",
245
+ "value": "未确认期间出现冲突",
246
+ "expectedValue": "检查期间继续修改的草稿",
247
+ "expectedRevision": 7
248
+ }
249
+ },
250
+ {
251
+ "method": "PATCH",
252
+ "url": "/api/stratagate/profile",
253
+ "body": {
254
+ "field": "preferredLanguage",
255
+ "value": "未确认期间出现冲突",
256
+ "expectedValue": "检查期间继续修改的草稿",
257
+ "expectedRevision": 7
258
+ }
259
+ },
260
+ {
261
+ "method": "GET",
262
+ "url": "/api/stratagate/profile",
263
+ "status": 200
264
+ },
265
+ {
266
+ "method": "GET",
267
+ "url": "/api/stratagate/profile",
268
+ "status": 200
269
+ },
270
+ {
271
+ "method": "GET",
272
+ "url": "/api/stratagate/profile",
273
+ "status": 200
274
+ },
275
+ {
276
+ "method": "GET",
277
+ "url": "/api/stratagate/profile",
278
+ "status": 200
279
+ },
280
+ {
281
+ "method": "PATCH",
282
+ "url": "/api/stratagate/profile",
283
+ "body": {
284
+ "field": "preferredLanguage",
285
+ "value": "服务端版本冲突",
286
+ "expectedValue": "另一位置的更新",
287
+ "expectedRevision": 8
288
+ },
289
+ "status": 409
290
+ },
291
+ {
292
+ "method": "GET",
293
+ "url": "/api/stratagate/profile",
294
+ "status": 200
295
+ },
296
+ {
297
+ "method": "GET",
298
+ "url": "/api/stratagate/profile",
299
+ "status": 200
300
+ },
301
+ {
302
+ "method": "GET",
303
+ "url": "/api/stratagate/profile",
304
+ "status": 200
305
+ },
306
+ {
307
+ "method": "PATCH",
308
+ "url": "/api/stratagate/profile",
309
+ "body": {
310
+ "field": "preferredLanguage",
311
+ "value": "旧编辑会话",
312
+ "expectedValue": "服务器的新内容",
313
+ "expectedRevision": 9
314
+ },
315
+ "status": 200
316
+ },
317
+ {
318
+ "method": "PATCH",
319
+ "url": "/api/stratagate/profile",
320
+ "body": {
321
+ "field": "preferredLanguage",
322
+ "value": "旧编辑会话",
323
+ "expectedValue": "服务器的新内容",
324
+ "expectedRevision": 9
325
+ },
326
+ "status": 409
327
+ },
328
+ {
329
+ "method": "GET",
330
+ "url": "/api/stratagate/profile",
331
+ "status": 200
332
+ },
333
+ {
334
+ "method": "GET",
335
+ "url": "/api/stratagate/profile",
336
+ "status": 200
337
+ },
338
+ {
339
+ "method": "GET",
340
+ "url": "/api/stratagate/profile",
341
+ "status": 200
342
+ },
343
+ {
344
+ "method": "GET",
345
+ "url": "/api/stratagate/profile",
346
+ "status": 200
347
+ },
348
+ {
349
+ "method": "GET",
350
+ "url": "/api/stratagate/profile",
351
+ "status": 200
352
+ },
353
+ {
354
+ "method": "GET",
355
+ "url": "/api/stratagate/profile",
356
+ "status": 200
357
+ },
358
+ {
359
+ "method": "PATCH",
360
+ "url": "/api/stratagate/profile",
361
+ "body": {
362
+ "field": "preferredLanguage",
363
+ "value": "旧成功计时器",
364
+ "expectedValue": "旧编辑会话",
365
+ "expectedRevision": 10
366
+ },
367
+ "status": 200
368
+ },
369
+ {
370
+ "method": "GET",
371
+ "url": "/api/stratagate/profile",
372
+ "status": 200
373
+ },
374
+ {
375
+ "method": "GET",
376
+ "url": "/api/stratagate/profile",
377
+ "status": 200
378
+ },
379
+ {
380
+ "method": "PATCH",
381
+ "url": "/api/stratagate/profile",
382
+ "body": {
383
+ "field": "preferredLanguage",
384
+ "value": "新编辑的错误",
385
+ "expectedValue": "旧成功计时器",
386
+ "expectedRevision": 11
387
+ }
388
+ },
389
+ {
390
+ "method": "GET",
391
+ "url": "/api/stratagate/profile",
392
+ "status": 200
393
+ },
394
+ {
395
+ "method": "GET",
396
+ "url": "/api/stratagate/profile",
397
+ "status": 200
398
+ },
399
+ {
400
+ "method": "GET",
401
+ "url": "/api/stratagate/profile",
402
+ "status": 200
403
+ },
404
+ {
405
+ "method": "PATCH",
406
+ "url": "/api/stratagate/profile",
407
+ "body": {
408
+ "field": "preferredLanguage",
409
+ "value": "超时请求",
410
+ "expectedValue": "旧成功计时器",
411
+ "expectedRevision": 11
412
+ },
413
+ "status": 200
414
+ },
415
+ {
416
+ "method": "GET",
417
+ "url": "/api/stratagate/profile",
418
+ "status": 200
419
+ },
420
+ {
421
+ "method": "GET",
422
+ "url": "/api/stratagate/profile",
423
+ "status": 200
424
+ },
425
+ {
426
+ "method": "GET",
427
+ "url": "/api/stratagate/profile",
428
+ "status": 200
429
+ },
430
+ {
431
+ "method": "GET",
432
+ "url": "/api/stratagate/profile",
433
+ "status": 200
434
+ },
435
+ {
436
+ "method": "GET",
437
+ "url": "/api/stratagate/profile",
438
+ "status": 200
439
+ },
440
+ {
441
+ "method": "PATCH",
442
+ "url": "/api/stratagate/profile",
443
+ "body": {
444
+ "field": "preferredLanguage",
445
+ "value": "离开页面时的请求",
446
+ "expectedValue": "超时请求",
447
+ "expectedRevision": 12
448
+ },
449
+ "status": 200
450
+ },
451
+ {
452
+ "method": "GET",
453
+ "url": "/api/stratagate/profile",
454
+ "status": 200
455
+ }
456
+ ],
457
+ "screenshots": [
458
+ "editing-detail.png",
459
+ "saved.png",
460
+ "failed.png",
461
+ "failed-detail.png",
462
+ "failed-mobile.png",
463
+ "saved-read-failed.png",
464
+ "unknown.png"
465
+ ]
466
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "date": "2026-10-21",
3
+ "branch": "codex/frontend-exception-feedback",
4
+ "baseCommit": "c1b42bb9acca3c1a2dfdbabc7ad8ad3ed3460c94",
5
+ "existingProfileBaselineCommit": "a1d2e09",
6
+ "worktree": "C:\\Users\\19007\\.codex\\worktrees\\frontend-exception-feedback\\StrataGate",
7
+ "implementation": [
8
+ "高级设置保存状态与读取状态分离,结果未知只提供只读检查,输入校验就地说明,后台读取保留草稿。",
9
+ "首次读取失败在内容区域显示具体错误及局部重载;Dashboard 各区域独立返回结果与错误。",
10
+ "后台读取保留最近成功内容,页面可见时连续失败 30 秒才展示一条小状态;304 计作成功;隐藏或切换页面重新观察。",
11
+ "画像冲突展示最新内容和草稿;明确采用最新或继续草稿;409 后必须成功读取最新内容才能选择,保留版本保护和键盘焦点。"
12
+ ],
13
+ "validation": {
14
+ "unitTestsPassed": 238,
15
+ "unitTestsFailed": 0,
16
+ "newBrowserGroupsPassed": 14,
17
+ "profileSaveRegressionGroupsPassed": 12,
18
+ "typecheck": "npm run check:dsh: passed",
19
+ "build": "npm run build:dsh: passed",
20
+ "diffCheck": "git diff --check: passed",
21
+ "node": "v24.19.0",
22
+ "chromium": "155.0.8059.86",
23
+ "databases": [
24
+ "C:\\Users\\19007\\AppData\\Local\\Temp\\stratagate-frontend-feedback-lxxAep\\memory.sqlite",
25
+ "C:\\Users\\19007\\AppData\\Local\\Temp\\stratagate-profile-save-WhgOOg\\memory.sqlite"
26
+ ],
27
+ "timing": "30 秒展示阈值、隐藏/可见与 15 秒超时使用 Playwright 可控时钟验证,不是墙钟性能测量。"
28
+ },
29
+ "screenshots": [
30
+ "first-read-short.png",
31
+ "first-read-profile.png",
32
+ "first-read-graph.png",
33
+ "background-refresh-failed.png",
34
+ "profile-conflict.png",
35
+ "settings-saved-read-failed.png",
36
+ "settings-unknown.png"
37
+ ],
38
+ "originalWorkingTreeFiles": [
39
+ {
40
+ "file": "packages/core/src/store.ts",
41
+ "originalUnchanged": true,
42
+ "baselineSha256": "68F116ABFA14A9ED7547D49747CBFAE85150F54A86426B473F242A8385A18E6B",
43
+ "currentOriginalSha256": "68F116ABFA14A9ED7547D49747CBFAE85150F54A86426B473F242A8385A18E6B"
44
+ },
45
+ {
46
+ "file": "packages/core/src/types.ts",
47
+ "originalUnchanged": true,
48
+ "baselineSha256": "652BC4B8AF5DB253AF85C449295EA1AA835BBE29A09D3C90AB107D542763C3B6",
49
+ "currentOriginalSha256": "652BC4B8AF5DB253AF85C449295EA1AA835BBE29A09D3C90AB107D542763C3B6"
50
+ },
51
+ {
52
+ "file": "scripts/test-profile-browser.mjs",
53
+ "originalUnchanged": true,
54
+ "baselineSha256": "BBEEDC8C43D9FD899724876BA1FCBD9F7A2F60C6C1E5B9310136DB6DD089D798",
55
+ "currentOriginalSha256": "BBEEDC8C43D9FD899724876BA1FCBD9F7A2F60C6C1E5B9310136DB6DD089D798"
56
+ },
57
+ {
58
+ "file": "src/client.js",
59
+ "originalUnchanged": true,
60
+ "baselineSha256": "601FB68B70FA15FE89795019A5A310E5B68E594855BDB9A62CAA8E464536B45D",
61
+ "currentOriginalSha256": "601FB68B70FA15FE89795019A5A310E5B68E594855BDB9A62CAA8E464536B45D"
62
+ },
63
+ {
64
+ "file": "src/runtime.ts",
65
+ "originalUnchanged": true,
66
+ "baselineSha256": "70E1C4CF84D6165917C070DF48A3BF3A0D2C4B2F54B249A8FA49CD9237E1F785",
67
+ "currentOriginalSha256": "70E1C4CF84D6165917C070DF48A3BF3A0D2C4B2F54B249A8FA49CD9237E1F785"
68
+ },
69
+ {
70
+ "file": "src/web.ts",
71
+ "originalUnchanged": true,
72
+ "baselineSha256": "A96DE69DD3BAFBF60CCFE0072B0B5BEF5F524F4398A71CF66DBA6FFF1765A744",
73
+ "currentOriginalSha256": "A96DE69DD3BAFBF60CCFE0072B0B5BEF5F524F4398A71CF66DBA6FFF1765A744"
74
+ },
75
+ {
76
+ "file": "tests/client.test.ts",
77
+ "originalUnchanged": true,
78
+ "baselineSha256": "9499F2CFD71B2F9BCF23458BEF65C65BFB688810A19F525D8DE1AFF1AE827D3A",
79
+ "currentOriginalSha256": "9499F2CFD71B2F9BCF23458BEF65C65BFB688810A19F525D8DE1AFF1AE827D3A"
80
+ },
81
+ {
82
+ "file": "tests/web.test.ts",
83
+ "originalUnchanged": true,
84
+ "baselineSha256": "FCE69557A74C52E76B9A7296DE449AE61E51975127FC98272F50F3DEF424CF1D",
85
+ "currentOriginalSha256": "FCE69557A74C52E76B9A7296DE449AE61E51975127FC98272F50F3DEF424CF1D"
86
+ },
87
+ {
88
+ "file": "scripts/test-profile-save-browser.mjs",
89
+ "originalUnchanged": true,
90
+ "baselineSha256": "76FA60650E953C986123B606DE420C029CDA2DDCDB4BC45D1B3221E1D44C8EB3",
91
+ "currentOriginalSha256": "76FA60650E953C986123B606DE420C029CDA2DDCDB4BC45D1B3221E1D44C8EB3"
92
+ }
93
+ ],
94
+ "remaining": [
95
+ "未启动完整 DSH 宿主;浏览器验证挂载真实 React 组件,成功请求使用真实 HTTP 处理器和临时 SQLite。",
96
+ "本次不发布、不执行 GitHub 操作,不触碰正式记忆数据库。",
97
+ "其他会话仍在修改;合并前按用户要求再 rebase。第一方案基线单独保留,若其已进入目标分支,rebase 时核对并去除重复基线提交。"
98
+ ]
99
+ }