feat: negotiation discourse analysis — affect-text discordance, hedge density, pattern signatures [INTERNAL] #4

Open
opened 2026-04-12 10:56:21 -07:00 by pyr0ball · 0 comments
Owner

Context

Linnet#21 (INTERNAL). cf-voice side of the negotiation discourse analysis feature.

cf-voice responsibilities

  • Baseline establishment: accumulate first N segments (configurable), compute baseline vocal affect + hedge density stats
  • Baseline drift detection: flag windows where affect or hedge density deviates significantly from session baseline
  • Expose NegotiationSignal output from classify_chunk_async() when mode="negotiation" is set
  • Rule-based pattern signatures (no cloud LLM — local inference only):
    • Flattery pivot: positive affect spike immediately before/after a concession request in transcript
    • False urgency: temporal pressure language scored by hedge density delta
    • Minimization+reframe: sentiment reversal when user-concern keywords appear in rolling window

Linnet side

Question deflection rate (requires conversational context) is handled on the Linnet side via a small local LLM pass on the rolling transcript — not cf-voice.

Privacy constraints

  • Local inference only
  • No export of raw analysis to any server
  • No training data collection from sessions
  • Consent-first: mode="negotiation" must be explicitly set per session

Tracking

Linnet#21

## Context Linnet#21 (INTERNAL). cf-voice side of the negotiation discourse analysis feature. ## cf-voice responsibilities - Baseline establishment: accumulate first N segments (configurable), compute baseline vocal affect + hedge density stats - Baseline drift detection: flag windows where affect or hedge density deviates significantly from session baseline - Expose `NegotiationSignal` output from `classify_chunk_async()` when `mode="negotiation"` is set - Rule-based pattern signatures (no cloud LLM — local inference only): - Flattery pivot: positive affect spike immediately before/after a concession request in transcript - False urgency: temporal pressure language scored by hedge density delta - Minimization+reframe: sentiment reversal when user-concern keywords appear in rolling window ## Linnet side Question deflection rate (requires conversational context) is handled on the Linnet side via a small local LLM pass on the rolling transcript — not cf-voice. ## Privacy constraints - Local inference only - No export of raw analysis to any server - No training data collection from sessions - Consent-first: `mode="negotiation"` must be explicitly set per session ## Tracking Linnet#21
pyr0ball added this to the v0.4.0 — Discourse analysis milestone 2026-04-12 10:56:21 -07:00
pyr0ball added the
tier:paid
privacy
backlog
inference
labels 2026-04-12 10:56:21 -07:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/cf-voice#4
No description provided.