feat: 数据删除机制(purge 物理清空 + 报告页隐私区块 + 删后回同意门)+ 测试桩补 purge

This commit is contained in:
Jayway Liu
2026-10-04 07:42:47 +08:00
parent ade1f719e1
commit e022faf975
14 changed files with 330 additions and 14 deletions
+1
View File
@@ -50,6 +50,7 @@ class MemoryStore implements EventStore {
events: StoryEvent[] = [];
async list(sessionId?: string) { return this.events.filter((e) => !sessionId || e.sessionId === sessionId); }
async append(e: StoryEvent) { this.events.push(e); }
async purge() { this.events = []; }
}
class FixedJev extends MockJevClient {
dimension: ProfileDimension;