Found while fixing #586 (dangling defaultAgent), filed separately because #586's acceptance is scoped to src/ and these live in content/docs/ and scripts/.
Problem
sales_copilot was retired in #512 (app-authored agents removed; skills-only surface per ADR-0063 §2). #586 cleared the two src/ references, but four sites outside src/ still name it as the agent in a POST /api/v1/ai/chat body:
scripts/wow1-live-schema.sh:82
content/docs/ai-copilot/live-schema.mdx:34
content/docs/ai-copilot/live-schema.zh-Hant.mdx:29
content/docs/ai-copilot/live-schema.zh-Hans.mdx:29
All four are the flagship "Wow #1 — live schema" demo: add a field, then immediately ask the Copilot to rank accounts by it.
Why it matters
This is not a stale comment — it is an executable path that fails.
loadAgent() refuses a non-platform agent name, so the chat call errors. The script runs it under curl -fsS, so the demo aborts at step 2 with a bare curl failure rather than a readable message. The docs pages ship the same body as copy-pasteable curl for readers to run.
Fix
Replace "agent": "sales_copilot" with the platform agent "ask" in all four files (or drop the key — ask is the implicit default per ADR-0063 §1). Keep the three locale docs in sync.
Worth checking at the same time whether docs-drift.test.ts can pin agent names appearing in doc code fences against the platform agent set, so this class does not come back — the same gap that let #586 sit unnoticed.
Also noticed (trivial, same family)
objectstack.config.ts:76 comment reads "the two agents + skills still validate, build into the artifact" — there are no agents any more after #512. Comment-only; fold into whichever PR takes this.
Found while fixing #586 (dangling
defaultAgent), filed separately because #586's acceptance is scoped tosrc/and these live incontent/docs/andscripts/.Problem
sales_copilotwas retired in #512 (app-authored agents removed; skills-only surface per ADR-0063 §2). #586 cleared the twosrc/references, but four sites outsidesrc/still name it as theagentin aPOST /api/v1/ai/chatbody:scripts/wow1-live-schema.sh:82content/docs/ai-copilot/live-schema.mdx:34content/docs/ai-copilot/live-schema.zh-Hant.mdx:29content/docs/ai-copilot/live-schema.zh-Hans.mdx:29All four are the flagship "Wow #1 — live schema" demo: add a field, then immediately ask the Copilot to rank accounts by it.
Why it matters
This is not a stale comment — it is an executable path that fails.
loadAgent()refuses a non-platform agent name, so the chat call errors. The script runs it undercurl -fsS, so the demo aborts at step 2 with a bare curl failure rather than a readable message. The docs pages ship the same body as copy-pasteablecurlfor readers to run.Fix
Replace
"agent": "sales_copilot"with the platform agent"ask"in all four files (or drop the key —askis the implicit default per ADR-0063 §1). Keep the three locale docs in sync.Worth checking at the same time whether
docs-drift.test.tscan pin agent names appearing in doc code fences against the platform agent set, so this class does not come back — the same gap that let #586 sit unnoticed.Also noticed (trivial, same family)
objectstack.config.ts:76comment reads "the two agents + skills still validate, build into the artifact" — there are no agents any more after #512. Comment-only; fold into whichever PR takes this.