fix: 首启同意门(consent 事件存证)+ 条件渲染系统(flags 推导 27 变量)+ 10 类内容-界面不一致修复

This commit is contained in:
Jayway Liu
2026-10-03 18:21:09 +08:00
parent d2a31ab38c
commit b0c7ef2daf
11 changed files with 501 additions and 29 deletions
+4 -2
View File
@@ -17,10 +17,12 @@ export interface StoryEvent {
sessionId: string;
ts: number;
chapterId: string;
kind: 'choice' | 'narration' | 'profile' | 'followup' | 'followup_skipped';
/** 选择点 ID,如 C1-03 */
kind: 'choice' | 'narration' | 'profile' | 'followup' | 'followup_skipped' | 'consent';
/** 选择点 ID,如 C1-03;consent 事件固定为 'CONSENT' */
pointId: string;
dimensions: DimensionTag[];
/** consent 事件:同意的告知文案版本(ADR-0004 存证) */
consentVersion?: string;
/** choice 事件:所选选项 */
optionId?: string;
optionLabel?: string;