Commit 0ad7053
docs: add previousAssistantMessages handoff mode to PCI docs (#1026)
* docs: add previousAssistantMessages handoff mode to PCI and handoff docs
Add a new "Securing Handoffs with Sensitive Data" section to the PCI
compliance documentation explaining the security concern with forwarding
full conversation context (including sensitive tool call data) during
assistant handoffs, the server-side fix Vapi deployed, and the
customer-side steps to configure contextEngineeringPlan appropriately.
Also document the previousAssistantMessages context engineering plan type
in the handoff tool documentation, which was the only type not yet
covered there.
Update the existing Payment Collection Squad example to use
previousAssistantMessages instead of none for a more practical default.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: reframe PCI handoff docs to neutral feature documentation
Remove incident-response framing ("What happened", "What we've fixed",
"What you need to do") from PCI.mdx and present previousAssistantMessages
as a standard feature for controlling handoff context in sensitive flows.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: correct PCI recommendation for userAndAssistantMessages context type
The table previously described userAndAssistantMessages as a "good
alternative" for PCI flows. This is incorrect — if a user speaks
sensitive data (e.g., card numbers) aloud, those appear in user messages
and would be forwarded to the next assistant. Updated the table to mark
it as not recommended for PCI flows, reordered rows to list safe options
first, and renamed the column header from "When to use" to
"PCI Recommendation" for clarity.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: remove userAndAssistantMessages row from PCI docs table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: adhamvapi <256238690+adhamvapi@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c673640 commit 0ad7053
2 files changed
Lines changed: 110 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
230 | 321 | | |
231 | 322 | | |
232 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
440 | 458 | | |
441 | 459 | | |
442 | 460 | | |
| |||
0 commit comments