WEBVTT

00:00:14.890 --> 00:00:19.443
<v Host>Today we're looking at how agentic call centers can observe themselves without leaking PHI.

00:00:19.707 --> 00:00:29.245
<v Analyst>That's right. The shift to AI-driven call centers means the entire conversation, from transcription to tool calls, can be logged for debugging.

00:00:29.591 --> 00:00:33.118
<v Host>So the problem is that those logs can contain patient identifiers, right?

00:00:33.492 --> 00:00:44.235
<v Analyst>Exactly. Raw transcripts can have names, addresses, MRNs, and even medication details. And the LLM prompts or completions can echo that same information.

00:00:44.509 --> 00:00:49.264
<v Host>And if those logs end up in a third-party log aggregator, that’s a compliance risk.

00:00:49.577 --> 00:00:59.948
<v Analyst>Yes. The same data can surface in distributed traces, data science notebooks, or incident tickets, all of which are outside the protected clinical boundary.

00:01:00.277 --> 00:01:03.981
<v Host>What kinds of observability artifacts are most likely to carry PHI?

00:01:04.364 --> 00:01:17.345
<v Analyst>The article lists raw transcripts, diarization text, LLM prompts, tool call inputs and outputs, conversation state dumps, error messages, and retrieval context snippets.

00:01:17.618 --> 00:01:20.935
<v Host>So even a simple error message could leak patient details?

00:01:21.331 --> 00:01:27.946
<v Analyst>If the error message includes a partial prompt or a snippet of the conversation, it can expose sensitive content.

00:01:28.113 --> 00:01:29.748
<v Host>Why does more logging backfire?

00:01:30.143 --> 00:01:40.257
<v Analyst>Because teams often log verbose traces to reproduce failures. In production, those traces persist, and backups can keep them for long periods.

00:01:40.555 --> 00:01:43.278
<v Host>So you end up with a long-lived record of patient data.

00:01:43.554 --> 00:01:52.492
<v Analyst>Exactly. Even if you delete the logs later, retention windows and backups can convert a temporary experiment into a permanent data exposure.

00:01:52.754 --> 00:01:56.364
<v Host>What does a threat model look like for PHI exposure in these systems?

00:01:56.811 --> 00:02:08.166
<v Analyst>You start by mapping data flows. Identify sources like telephony audio, speech-to-text output, CRM entries, scheduling records, and clinical systems.

00:02:08.333 --> 00:02:15.863
<v Analyst>Then mark transformation points: transcription, redaction, classification, retrieval, summarization.

00:02:16.046 --> 00:02:21.487
<v Analyst>Mark decision points: routing logic, policy checks, action selection.

00:02:21.636 --> 00:02:30.628
<v Analyst>And finally mark observability sinks: application logs, trace spans, event streams, monitoring dashboards, ticketing systems.

00:02:30.806 --> 00:02:32.340
<v Host>And external dependencies too?

00:02:32.781 --> 00:02:46.386
<v Analyst>Yes, you include model providers, vector stores, and logging vendors. Once you have that map, you can decide where PHI must be processed, where it must be redacted, and where it must never leave.

00:02:46.653 --> 00:02:49.929
<v Host>So the design constraint is no PHI in observability.

00:02:50.276 --> 00:03:01.063
<v Analyst>Right. The rule is: no PHI in logs, traces, metrics, or debug payloads except in tightly controlled, least exposed systems.

00:03:01.405 --> 00:03:03.867
<v Host>What are the common leakage paths in real systems?

00:03:04.288 --> 00:03:11.010
<v Analyst>Developers often ask for the exact tool request that failed or the full model prompt that caused a wrong action.

00:03:11.178 --> 00:03:17.463
<v Analyst>If those artifacts include patient identifiers or medical details, the request becomes a compliance event.

00:03:17.648 --> 00:03:19.160
<v Host>And what about replay bundles?

00:03:19.576 --> 00:03:31.029
<v Analyst>Replay bundles that include conversation transcripts are useful for deterministic testing, but if stored in a less protected environment they become a long-term PHI repository.

00:03:31.290 --> 00:03:34.269
<v Host>So how do you architect PHI-safe observability?

00:03:34.674 --> 00:03:38.094
<v Analyst>By separating sensitive content from operational signals.

00:03:38.279 --> 00:03:48.983
<v Analyst>Operational signals include success rates, latency, token counts, safety policy decisions, tool error codes, and high-level intent categories.

00:03:49.114 --> 00:03:56.691
<v Analyst>Sensitive content includes raw transcript text, medical history, patient identifiers, and free-form symptoms.

00:03:56.950 --> 00:04:00.675
<v Host>And the first step is to redact or tokenize before emitting telemetry.

00:04:00.982 --> 00:04:12.730
<v Analyst>Yes. A pre-instrumentation sanitization layer transforms any PHI-bearing text before it reaches loggers, tracing attributes, event buses, or monitoring agents.

00:04:12.913 --> 00:04:18.020
<v Analyst>Two practical patterns work well: redaction and tokenization with strict scope.

00:04:18.205 --> 00:04:24.732
<v Analyst>Redaction replaces sensitive spans with tags like [NAME], [MEDICATION], [ADDRESS]. You keep span counts or categories for debugging.

00:04:24.895 --> 00:04:32.734
<v Analyst>Tokenization replaces PHI with stable pseudonyms that map to secure storage only in an approved environment.

00:04:33.053 --> 00:04:36.885
<v Host>So the telemetry store only sees the pseudonym, not the original value.

00:04:37.199 --> 00:04:47.620
<v Analyst>Exactly. And the redaction layer should run on every text artifact you might log: transcripts, prompts, tool arguments, retrieved snippets, summaries.

00:04:47.751 --> 00:04:49.160
<v Host>What's the next best practice?

00:04:49.317 --> 00:04:52.337
<v Analyst>Prefer structured telemetry over raw content.

00:04:52.506 --> 00:04:57.919
<v Analyst>Instead of logging the full conversation, log structured metadata that explains behavior.

00:04:58.113 --> 00:05:06.763
<v Analyst>For example, intent category: scheduling, billing question, medication refill request, symptom triage.

00:05:06.897 --> 00:05:14.497
<v Analyst>Risk outcome category: compliant, refused, escalated to human, requires additional verification.

00:05:14.668 --> 00:05:21.437
<v Analyst>Policy rule IDs: HIPAA_SAFE_RESPONSE_REQUIRED, NO_IDENTIFIERS_IN_RESPONSE.

00:05:21.595 --> 00:05:26.869
<v Analyst>Tool status: success, timeout, not found, authorization denied.

00:05:27.089 --> 00:05:32.271
<v Analyst>Model parameters: model version, temperature, max tool calls.

00:05:32.557 --> 00:05:36.109
<v Host>So you get enough context to debug without storing patient statements.

00:05:36.414 --> 00:05:40.518
<v Analyst>Correct. The next step is to design span attributes carefully.

00:05:40.656 --> 00:05:44.787
<v Analyst>Distributed tracing helps pinpoint latency and failure points.

00:05:44.967 --> 00:05:48.586
<v Analyst>The design choice that matters is what goes into span attributes.

00:05:48.740 --> 00:05:56.163
<v Analyst>Store low sensitivity signals as attributes, like tool=eligibility_check, status=denied, latency_ms=214.

00:05:56.392 --> 00:06:04.775
<v Analyst>Store content sensitive to PHI only in a secure, access-controlled vault, with short retention and explicit audit trails.

00:06:05.087 --> 00:06:08.154
<v Host>That keeps the trace context consistent without raw text.

00:06:08.496 --> 00:06:18.605
<v Analyst>Exactly. You can correlate safely using IDs that do not encode PHI, such as conversation_run_id and redaction_profile_id.

00:06:18.724 --> 00:06:20.319
<v Host>What about LLM interactions?

00:06:20.766 --> 00:06:25.155
<v Analyst>You adopt a content minimization policy for LLM interactions.

00:06:25.289 --> 00:06:29.889
<v Analyst>Agentic call centers use an LLM for decision making and language generation.

00:06:30.078 --> 00:06:35.204
<v Analyst>Observability often tempts teams to record full prompts and completions for replay.

00:06:35.356 --> 00:06:43.354
<v Analyst>To avoid PHI leakage, log prompts and completions only after redaction, and only for high-level analysis windows.

00:06:43.515 --> 00:06:49.983
<v Analyst>Alternatively, log hashed prompt fingerprints that let you cluster behavior without storing content.

00:06:50.162 --> 00:07:00.097
<v Analyst>For replay, store minimal context plus a reference ID that can retrieve redacted artifacts from a secure store, not raw text from logs.

00:07:00.440 --> 00:07:06.474
<v Host>So if an agent incorrectly answered a lab result question, you can investigate without reviewing the whole transcript.

00:07:06.770 --> 00:07:17.980
<v Analyst>Exactly. You can use policy refused lab disclosure and requested action=disclose_test_result instead of reviewing the full patient transcript.

00:07:18.138 --> 00:07:19.318
<v Host>What about tool calls?

00:07:19.710 --> 00:07:26.015
<v Analyst>Tool calls are where PHI can easily appear because tool arguments may include identifiers.

00:07:26.152 --> 00:07:28.950
<v Analyst>Treat tool payloads like secrets by default.

00:07:29.087 --> 00:07:41.820
<v Analyst>For each tool invocation, record tool name and version, authorization result category, endpoint family, HTTP status codes, error codes, without request bodies.

00:07:42.024 --> 00:07:48.610
<v Analyst>Record counts and timing, like retrieved_documents=4, tool_latency_ms=90.

00:07:48.809 --> 00:07:57.272
<v Analyst>If you need to debug data mapping issues, store tool request metadata that excludes identifiers, or store redacted arguments.

00:07:57.493 --> 00:08:05.528
<v Analyst>A secure vault can keep raw tool responses for a short retention window, but only for narrowly scoped debugging and with auditing.

00:08:05.811 --> 00:08:08.019
<v Host>Can you give me a concrete debugging scenario?

00:08:08.376 --> 00:08:12.998
<v Analyst>Sure. Example one: tool timeouts during appointment scheduling.

00:08:13.157 --> 00:08:19.441
<v Analyst>Symptoms: a spike in scheduling failures, callers report the system can’t confirm their appointment.

00:08:19.657 --> 00:08:29.042
<v Analyst>Engineering checks traces. Span attributes include tool=scheduling_lookup, status=timeout, retry_count=2.

00:08:29.217 --> 00:08:36.239
<v Analyst>Also provider_network=regional_A and availability_window=next_2_weeks.

00:08:36.406 --> 00:08:41.884
<v Analyst>No transcript text, no MRNs, no addresses appear in attributes.

00:08:42.095 --> 00:08:50.091
<v Analyst>The team compares latency by region and finds that regional_A upstream service times out during peak hours.

00:08:50.302 --> 00:08:55.952
<v Analyst>They update timeouts, add circuit breaker behavior, and route to an alternate provider network.

00:08:56.097 --> 00:09:01.627
<v Analyst>Result: fewer failures, and the debugging trail contains only operational data.

00:09:01.764 --> 00:09:03.234
<v Host>What about policy misfires?

00:09:03.636 --> 00:09:09.099
<v Analyst>Example two: safety policy misfire during medication refill conversations.

00:09:09.244 --> 00:09:15.445
<v Analyst>Symptoms: the agent sometimes refuses legitimate refill requests, increasing call duration.

00:09:15.625 --> 00:09:22.869
<v Analyst>Event stream captures intent=medication_refill, policy_outcome=refused_or_escalated.

00:09:23.072 --> 00:09:30.926
<v Analyst>Record policy rule IDs, for example RULE_NO_DIRECT_MED_DISPENSING.

00:09:31.076 --> 00:09:36.839
<v Analyst>Store a redacted request_type classification, not the actual medication name.

00:09:37.048 --> 00:09:44.550
<v Analyst>Investigation shows that the classifier mislabels the request as new prescription guidance when the caller asks for a refill.

00:09:44.695 --> 00:09:54.460
<v Analyst>Engineers adjust the intent classifier threshold, using evaluation datasets where sensitive fields are removed or replaced with consistent placeholders.

00:09:54.610 --> 00:09:57.256
<v Host>How do auditors verify escalation decisions?

00:09:57.614 --> 00:10:01.470
<v Analyst>Example three: audit evidence for escalation decisions.

00:10:01.620 --> 00:10:10.183
<v Analyst>When a risk classifier triggers, log escalation_reason_code and risk_band, not the patient’s description.

00:10:10.321 --> 00:10:15.898
<v Analyst>Attach a policy_version so auditors can map behavior to a specific policy release.

00:10:16.070 --> 00:10:25.255
<v Analyst>Store an escalation_ticket_id that links to human follow-up notes stored in the clinical record system, not in observability tooling.

00:10:25.476 --> 00:10:32.784
<v Analyst>Audit review becomes a matter of policy mapping and decision traceability, without distributing PHI broadly.

00:10:32.949 --> 00:10:34.710
<v Host>And post-incident analysis?

00:10:35.137 --> 00:10:39.920
<v Analyst>Example four: post-incident analysis for incorrect tool routing.

00:10:40.087 --> 00:10:47.887
<v Analyst>Trace includes tool_routing_decision_confidence, selected_tool, fallback_tool.

00:10:48.036 --> 00:10:57.104
<v Analyst>Store routing_features_present as categories, for example billing_terms_detected=true, schedule_terms_detected=false.

00:10:57.270 --> 00:10:59.448
<v Analyst>Do not log the raw detection text.

00:10:59.619 --> 00:11:05.299
<v Analyst>Investigation shows a bug in feature extraction when transcripts include negations.

00:11:05.444 --> 00:11:11.618
<v Analyst>Engineers fix negation handling, then verify improvements using redacted evaluation transcripts.

00:11:11.927 --> 00:11:16.467
<v Host>So the key is to keep telemetry free of sensitive payloads while still enabling debugging.

00:11:16.613 --> 00:11:19.031
<v Host>What should organizations do to achieve that?

00:11:19.599 --> 00:11:34.707
<v Analyst>When you start to think about the ripple effects of a single PHI leak in observability, it’s not just a compliance footnote-it can trigger a cascade of audit findings, regulatory fines, and reputational damage that ripple across the entire organization.

00:11:35.054 --> 00:11:37.980
<v Host>That sounds scary. How quickly can it happen?

00:11:38.418 --> 00:11:52.357
<v Analyst>In the worst cases, a single trace that accidentally stores a patient’s MRN can surface in a third-party log aggregator, get backed up, and remain in a retention window for months, all before anyone notices.

00:11:52.678 --> 00:11:54.890
<v Host>So the first step is to stop that from happening.

00:11:55.165 --> 00:12:09.598
<v Analyst>Exactly. The first concrete step is to map every data flow in your call center pipeline: from the telephony audio, through speech-to-text, to the LLM prompt, tool calls, and finally any policy decisions.

00:12:09.862 --> 00:12:13.171
<v Host>You mentioned a data flow map earlier. What does that look like?

00:12:13.550 --> 00:12:40.168
<v Analyst>You mark the sources-audio, CRM entries, scheduling records-then each transformation: transcription, redaction, classification, retrieval, summarization. Next, you mark decision points like routing logic or policy checks, and finally the observability sinks: logs, traces, dashboards, ticketing systems.

00:12:40.511 --> 00:12:42.555
<v Host>Once you have that map, what do you do next?

00:12:42.989 --> 00:12:53.354
<v Analyst>Apply a hard design constraint: no PHI in any observability artifact. That means you need a sanitization layer that runs before any telemetry is emitted.

00:12:53.512 --> 00:12:55.272
<v Host>Sanitization-like redaction?

00:12:55.625 --> 00:13:09.351
<v Analyst>Yes, but you can also use tokenization. Replace names with [NAME] tags or generate stable pseudonyms that map only inside a secure vault. The key is that the telemetry store never sees the raw text.

00:13:09.625 --> 00:13:11.311
<v Host>How do you know the redaction worked?

00:13:11.752 --> 00:13:28.023
<v Analyst>You run a PHI leakage test suite against the observability pipeline. Feed synthetic transcripts that contain known patterns-names, dates, addresses-and verify that none of those patterns surface in logs, trace attributes, or monitoring events.

00:13:28.215 --> 00:13:29.259
<v Host>Sounds like a lot of work.

00:13:29.533 --> 00:13:41.120
<v Analyst>It is, but you can break it down. Start with instrumentation controls: ban raw prompt logging by default, enable it only for short-lived secure debug windows with approvals.

00:13:41.301 --> 00:13:42.843
<v Host>What about structured telemetry?

00:13:43.286 --> 00:14:04.215
<v Analyst>Replace free-form text with metadata. Log intent categories, risk outcome categories, policy rule IDs, tool status, model parameters. For example, record "intent=medication_refill" and "policy_outcome=refused" instead of the actual medication name.

00:14:04.376 --> 00:14:05.553
<v Host>And the tool calls?

00:14:05.912 --> 00:14:23.160
<v Analyst>Treat tool payloads like secrets. Record the tool name, version, authorization result, HTTP status code, and timing. If you need to debug data mapping, store only redacted arguments or a reference ID that points to a secure vault.

00:14:23.321 --> 00:14:25.619
<v Host>What about replaying conversations for debugging?

00:14:26.094 --> 00:14:48.260
<v Analyst>Replay is useful, but raw replay bundles are a risk. Instead, replay with redacted transcripts and anonymized identifiers, or store only derived features like intent labels and policy outcomes. For high-severity incidents, pull raw artifacts from a secure vault with scoped access and a time-limited approval.

00:14:48.606 --> 00:14:51.982
<v Host>That covers the technical side. What about governance?

00:14:52.422 --> 00:15:02.806
<v Analyst>Your incident response runbooks should specify what artifacts responders can access by default. Anything that could contain PHI should require a higher authorization tier. Also define escalation paths for suspected telemetry exposure-immediate rollback, verification across indexes, containment of backups.

00:15:02.973 --> 00:15:05.457
<v Host>Common mistakes-what should we avoid?

00:15:05.931 --> 00:15:26.138
<v Analyst>Over-logging is the biggest. Engineers often want the full prompt or transcript to reproduce a failure, but that creates persistent PHI records. Forgetting to apply redaction during logging, storing raw transcripts in a less protected environment, or leaving default retention windows set too long-all lead to exposure.

00:15:26.342 --> 00:15:27.106
<v Host>And vendors?

00:15:27.516 --> 00:15:43.697
<v Analyst>If you use third-party monitoring or model providers, treat observability payloads as data that can leave your environment. Confirm what is transmitted, what is retained, and how it is used. Configure exporters to drop sensitive fields entirely.

00:15:43.860 --> 00:15:44.833
<v Host>What about metrics?

00:15:45.215 --> 00:16:02.179
<v Analyst>Metrics should remain content-free. Log agent success rates by intent category, average tool calls per turn, policy refusal rates by rule ID, and latency percentiles by pipeline stage. These give you actionable insight without patient text.

00:16:02.330 --> 00:16:04.015
<v Host>Listeners often ask about testing.

00:16:04.315 --> 00:16:14.701
<v Analyst>You should integrate a PHI leakage test suite into your CI/CD pipeline. Run it against every new instrumentation change to ensure no PHI patterns slip through.

00:16:14.859 --> 00:16:15.553
<v Host>And retention?

00:16:15.971 --> 00:16:25.277
<v Analyst>Set strict retention policies for any telemetry that could contain PHI. Delete debug content quickly, and ensure backups follow the same rules.

00:16:25.446 --> 00:16:27.059
<v Host>How do you handle policy versioning?

00:16:27.417 --> 00:16:39.829
<v Analyst>Attach a policy_version to every event that triggers a policy decision. That way auditors can map behavior to a specific policy release, and you can correlate incidents with policy changes.

00:16:39.959 --> 00:16:41.282
<v Host>What about access controls?

00:16:41.632 --> 00:16:53.276
<v Analyst>Keep observability stores separate from clinical record stores, enforce role-based access, and audit any access to secure vaults that hold redacted or partially sensitive debugging artifacts.

00:16:53.604 --> 00:16:57.717
<v Host>So the overall approach is to separate PHI from operational signals.

00:16:58.020 --> 00:17:09.439
<v Analyst>Exactly. Design instrumentation to emit only operational truth-latency, status codes, intent categories-while PHI stays within tightly controlled boundaries.

00:17:09.747 --> 00:17:12.218
<v Host>What if we need to investigate a specific call?

00:17:12.659 --> 00:17:28.750
<v Analyst>Use the conversation_run_id and redaction_profile_id to correlate events. You can retrieve the redacted transcript from a secure store if you have the necessary approvals, but you never expose raw PHI in the observability tooling.

00:17:28.906 --> 00:17:30.844
<v Host>What about real-world examples?

00:17:31.281 --> 00:17:59.500
<v Analyst>For tool timeouts during appointment scheduling, you log tool=scheduling_lookup, status=timeout, retry_count=2, provider_network=regional_A. No MRNs or addresses appear. For safety policy misfires, you log intent=medication_refill, policy_outcome=refused, rule_no=RULE_NO_DIRECT_MED_DISPENSING, and a redacted request_type.

00:17:59.623 --> 00:18:00.676
<v Host>And audit evidence?

00:18:01.088 --> 00:18:15.758
<v Analyst>Audit logs capture escalation_ticket_id that links to human follow-up notes stored in the clinical record system, not in observability tooling. This keeps the audit trail traceable without distributing PHI broadly.

00:18:15.909 --> 00:18:18.159
<v Host>What questions do listeners commonly ask?

00:18:18.517 --> 00:18:29.263
<v Analyst>They ask how to redact in real time, how to handle third-party monitoring, how to replay safely, how to test for leaks, and how to ensure policy versioning is traceable.

00:18:29.455 --> 00:18:30.568
<v Host>Anything else to add?

00:18:30.989 --> 00:18:47.815
<v Analyst>Remember, observability security doesn’t end with instrumentation-it requires a culture of minimal necessary data, continuous testing, and clear governance. Treat observability as sensitive by default and align it with your incident response runbooks.

00:18:48.163 --> 00:18:50.522
<v Host>Thank you for that thorough overview, analyst.
