feat(ai-psychosis): persist pushback + domain in sessions.jsonl
This commit is contained in:
parent
eca30b4682
commit
79a4249e0b
2 changed files with 42 additions and 2 deletions
|
|
@ -38,6 +38,8 @@ const depFlags = Number(state.dep_flags) || 0;
|
|||
const escFlags = Number(state.esc_flags) || 0;
|
||||
const fatFlags = Number(state.fatigue_flags) || 0;
|
||||
const valFlags = Number(state.val_flags) || 0;
|
||||
const pushbackCount = Number(state.pushback_count) || 0;
|
||||
const domainContext = state.domain_context || null;
|
||||
const startIso = state.start_iso || '';
|
||||
|
||||
// Compute duration
|
||||
|
|
@ -54,11 +56,13 @@ appendJsonl(SESSIONS_LOG, {
|
|||
duration_min: durationMin,
|
||||
tool_count: toolCount,
|
||||
edit_count: editCount,
|
||||
domain_context: domainContext,
|
||||
flags: {
|
||||
dependency: depFlags,
|
||||
escalation: escFlags,
|
||||
fatigue: fatFlags,
|
||||
validation: valFlags
|
||||
validation: valFlags,
|
||||
pushback: pushbackCount
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue