Add engagement-only conversation mode

This commit is contained in:
jjbrunton committed 2026-08-14 15:07:54 +01:00
1 parent b7fcc7db05
commit 7af7b211fa
24 files changed
+204 -23

No files matched your search

+2
View File
@@ -82,6 +82,7 @@ describe('conversation triage', () => {
it('does not call an actively automated or never-automated conversation manual', () => {
expect(isManualFlow(chat({ username: 'a', automationStatus: 'active' }))).toBe(false);
expect(isManualFlow(chat({ username: 'b' }))).toBe(false);
expect(isManualFlow(chat({ username: 'c', automationStatus: 'engaged', automationPolicyMode: 'engagement' }))).toBe(false);
});
it('explains why a conversation is being handled by hand', () => {
@@ -94,6 +95,7 @@ describe('conversation triage', () => {
expect(manualFlowLabel(chat({ username: 'd', automationStatus: 'killed' })))
.toBeNull();
expect(manualFlowLabel(chat({ username: 'e', automationStatus: 'active' }))).toBeNull();
expect(manualFlowLabel(chat({ username: 'f', automationStatus: 'engaged' }))).toBeNull();
});
});