@remnic/core 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +3 -3
  2. package/dist/access-cli.js +67 -59
  3. package/dist/access-cli.js.map +1 -1
  4. package/dist/access-http.d.ts +7 -4
  5. package/dist/access-http.js +30 -26
  6. package/dist/access-mcp.d.ts +9 -4
  7. package/dist/access-mcp.js +29 -25
  8. package/dist/access-schema.d.ts +188 -8
  9. package/dist/access-schema.js +12 -3
  10. package/dist/{access-service-BTTNyo1i.d.ts → access-service-DDjzFALq.d.ts} +54 -5
  11. package/dist/access-service.d.ts +7 -4
  12. package/dist/access-service.js +26 -23
  13. package/dist/action-confidence.d.ts +83 -0
  14. package/dist/action-confidence.js +22 -0
  15. package/dist/active-memory-bridge.d.ts +1 -1
  16. package/dist/active-recall.d.ts +1 -1
  17. package/dist/behavior-learner.d.ts +1 -1
  18. package/dist/behavior-signals.d.ts +1 -1
  19. package/dist/bootstrap.d.ts +4 -2
  20. package/dist/briefing.d.ts +1 -1
  21. package/dist/briefing.js +5 -5
  22. package/dist/buffer-surprise-report.d.ts +1 -1
  23. package/dist/buffer.d.ts +1 -1
  24. package/dist/calibration.d.ts +1 -1
  25. package/dist/calibration.js +4 -4
  26. package/dist/{capsule-export-LLEVB2RG.js → capsule-export-7QNCBZOQ.js} +3 -3
  27. package/dist/{capsule-import-UW45R2MZ.js → capsule-import-EPBHD2EN.js} +3 -3
  28. package/dist/causal-behavior.d.ts +1 -1
  29. package/dist/causal-consolidation.d.ts +1 -1
  30. package/dist/causal-consolidation.js +11 -11
  31. package/dist/{chunk-VQXK37XA.js → chunk-23ZZK64Y.js} +1 -1
  32. package/dist/chunk-23ZZK64Y.js.map +1 -0
  33. package/dist/{chunk-HJYHRE4S.js → chunk-242S3I2A.js} +2 -2
  34. package/dist/{chunk-MCC6KDQF.js → chunk-3B6KIRBH.js} +131 -13
  35. package/dist/chunk-3B6KIRBH.js.map +1 -0
  36. package/dist/chunk-4RA3C3EV.js +60 -0
  37. package/dist/chunk-4RA3C3EV.js.map +1 -0
  38. package/dist/{chunk-EYNQTST2.js → chunk-4YM32CRU.js} +4 -4
  39. package/dist/{chunk-6AUUAZEX.js → chunk-5NXIJZFX.js} +38 -8
  40. package/dist/chunk-5NXIJZFX.js.map +1 -0
  41. package/dist/chunk-6NKAQ74D.js +2237 -0
  42. package/dist/chunk-6NKAQ74D.js.map +1 -0
  43. package/dist/{chunk-PHNGXFQ6.js → chunk-7V22HTMD.js} +3 -3
  44. package/dist/{chunk-363MWCD3.js → chunk-7ZM3BFKK.js} +84 -62
  45. package/dist/chunk-7ZM3BFKK.js.map +1 -0
  46. package/dist/chunk-AC5LO7IU.js +308 -0
  47. package/dist/chunk-AC5LO7IU.js.map +1 -0
  48. package/dist/chunk-AH2JUU6X.js +336 -0
  49. package/dist/chunk-AH2JUU6X.js.map +1 -0
  50. package/dist/{chunk-VX2IUQFE.js → chunk-AQJNPMOA.js} +41 -11
  51. package/dist/chunk-AQJNPMOA.js.map +1 -0
  52. package/dist/{chunk-P73JTV34.js → chunk-BBE34QBJ.js} +4 -4
  53. package/dist/{chunk-5GCNE7CN.js → chunk-BZSQEPRW.js} +454 -140
  54. package/dist/chunk-BZSQEPRW.js.map +1 -0
  55. package/dist/chunk-C5BCH4ZS.js +317 -0
  56. package/dist/chunk-C5BCH4ZS.js.map +1 -0
  57. package/dist/{chunk-C5HUWVH2.js → chunk-CPKTBRS2.js} +6 -6
  58. package/dist/{chunk-IBX3VFOM.js → chunk-D4GAOFF6.js} +118 -2
  59. package/dist/chunk-D4GAOFF6.js.map +1 -0
  60. package/dist/chunk-DB5A3NHS.js +906 -0
  61. package/dist/chunk-DB5A3NHS.js.map +1 -0
  62. package/dist/{chunk-I6BQZSML.js → chunk-DZZPC36E.js} +10 -10
  63. package/dist/{chunk-O4XJUPSF.js → chunk-E2UCDP5S.js} +39 -2
  64. package/dist/chunk-E2UCDP5S.js.map +1 -0
  65. package/dist/{chunk-SRBJUAMP.js → chunk-FMEBPEAO.js} +11 -67
  66. package/dist/chunk-FMEBPEAO.js.map +1 -0
  67. package/dist/{chunk-4DXC6HQQ.js → chunk-FQDPCE3I.js} +5 -5
  68. package/dist/{chunk-NN3LPQ5D.js → chunk-HELQZFZO.js} +155 -16
  69. package/dist/chunk-HELQZFZO.js.map +1 -0
  70. package/dist/{chunk-57QNCUEZ.js → chunk-HL5LRPNA.js} +2 -2
  71. package/dist/{chunk-VTU2B4VF.js → chunk-HQZVVSVB.js} +2 -1
  72. package/dist/chunk-HQZVVSVB.js.map +1 -0
  73. package/dist/{chunk-6Z6UH6TK.js → chunk-HY3L4WKC.js} +69 -3
  74. package/dist/chunk-HY3L4WKC.js.map +1 -0
  75. package/dist/{chunk-QIGOEM65.js → chunk-IB3BFHGN.js} +5 -5
  76. package/dist/{chunk-RXTFCYQF.js → chunk-JESOB2HO.js} +6 -6
  77. package/dist/{chunk-2YMTO4ZJ.js → chunk-JKDVIE52.js} +9 -2
  78. package/dist/chunk-JKDVIE52.js.map +1 -0
  79. package/dist/{chunk-WGK4VHGP.js → chunk-MNU6ZBWT.js} +302 -140
  80. package/dist/chunk-MNU6ZBWT.js.map +1 -0
  81. package/dist/chunk-OAZ5MFUB.js +4124 -0
  82. package/dist/chunk-OAZ5MFUB.js.map +1 -0
  83. package/dist/{chunk-ZTSE2ZJ6.js → chunk-OIGNEXKZ.js} +50 -3
  84. package/dist/chunk-OIGNEXKZ.js.map +1 -0
  85. package/dist/chunk-OZKZ2TRP.js +3729 -0
  86. package/dist/chunk-OZKZ2TRP.js.map +1 -0
  87. package/dist/{chunk-GGD5W7TB.js → chunk-PD6O7AXF.js} +7 -2
  88. package/dist/chunk-PD6O7AXF.js.map +1 -0
  89. package/dist/{chunk-S3IP6R6K.js → chunk-PH4C2U43.js} +23 -3
  90. package/dist/chunk-PH4C2U43.js.map +1 -0
  91. package/dist/chunk-PYPOFEMK.js +294 -0
  92. package/dist/chunk-PYPOFEMK.js.map +1 -0
  93. package/dist/{chunk-EQINRHYR.js → chunk-QDZ2RLEC.js} +243 -7
  94. package/dist/chunk-QDZ2RLEC.js.map +1 -0
  95. package/dist/{chunk-KWBPHZUU.js → chunk-RK6F44Y6.js} +3 -2
  96. package/dist/chunk-RK6F44Y6.js.map +1 -0
  97. package/dist/{chunk-36CTNQY7.js → chunk-RVPLBATS.js} +42 -10
  98. package/dist/chunk-RVPLBATS.js.map +1 -0
  99. package/dist/chunk-SOAU2OE2.js +125 -0
  100. package/dist/chunk-SOAU2OE2.js.map +1 -0
  101. package/dist/{chunk-A4ACKWIW.js → chunk-U5JMRGKX.js} +55 -4
  102. package/dist/chunk-U5JMRGKX.js.map +1 -0
  103. package/dist/{chunk-LIO5X3CM.js → chunk-UVMUAWVT.js} +2 -2
  104. package/dist/chunk-VWT3F4IV.js +2161 -0
  105. package/dist/chunk-VWT3F4IV.js.map +1 -0
  106. package/dist/{chunk-PB5KW5PL.js → chunk-WEJG4TB5.js} +6 -6
  107. package/dist/{chunk-KBYWQWSB.js → chunk-X7HPGUVG.js} +2 -2
  108. package/dist/{chunk-Y5KDIOKF.js → chunk-XAMBKFQS.js} +383 -9
  109. package/dist/chunk-XAMBKFQS.js.map +1 -0
  110. package/dist/{chunk-ZL4S7ARC.js → chunk-Y3VMVTYX.js} +3 -3
  111. package/dist/{chunk-Z5S5HNGY.js → chunk-ZG7PTKBK.js} +21 -5
  112. package/dist/chunk-ZG7PTKBK.js.map +1 -0
  113. package/dist/{chunk-6XA7UN4Z.js → chunk-ZNQN6ZTA.js} +2 -2
  114. package/dist/{chunk-WTFWLUSX.js → chunk-ZVTKDVVM.js} +2 -2
  115. package/dist/{cli-BrEwQTnW.d.ts → cli-BR8KpIU0.d.ts} +2 -2
  116. package/dist/cli.d.ts +7 -4
  117. package/dist/cli.js +44 -40
  118. package/dist/codex-cli-fallback.d.ts +1 -0
  119. package/dist/codex-cli-fallback.js +1 -1
  120. package/dist/compression-optimizer.d.ts +1 -1
  121. package/dist/config.d.ts +1 -1
  122. package/dist/config.js +1 -1
  123. package/dist/consolidation-provenance-check.d.ts +1 -1
  124. package/dist/consolidation-undo.d.ts +1 -1
  125. package/dist/{contradiction-scan-3Z6YW7YA.js → contradiction-scan-QTXAMBUA.js} +3 -2
  126. package/dist/contradiction-scan-QTXAMBUA.js.map +1 -0
  127. package/dist/day-summary.d.ts +1 -1
  128. package/dist/delinearize.d.ts +1 -1
  129. package/dist/direct-answer-wiring.d.ts +1 -1
  130. package/dist/direct-answer-wiring.js +1 -1
  131. package/dist/direct-answer.d.ts +1 -1
  132. package/dist/embedding-fallback.d.ts +1 -1
  133. package/dist/{engine-FOC3IJLA.js → engine-35M5BKQ7.js} +7 -7
  134. package/dist/entity-retrieval.d.ts +1 -1
  135. package/dist/entity-retrieval.js +5 -5
  136. package/dist/entity-schema.d.ts +1 -1
  137. package/dist/event-order-recall.d.ts +17 -0
  138. package/dist/event-order-recall.js +11 -0
  139. package/dist/event-order-recall.js.map +1 -0
  140. package/dist/evidence-pack.d.ts +3 -1
  141. package/dist/evidence-pack.js +5 -3
  142. package/dist/explicit-capture.d.ts +4 -2
  143. package/dist/explicit-cue-recall.d.ts +19 -1
  144. package/dist/explicit-cue-recall.js +10 -4
  145. package/dist/extraction-judge-telemetry.d.ts +1 -1
  146. package/dist/extraction-judge-training.d.ts +1 -1
  147. package/dist/extraction-judge.d.ts +1 -1
  148. package/dist/extraction.d.ts +1 -1
  149. package/dist/extraction.js +8 -7
  150. package/dist/fallback-llm.d.ts +2 -1
  151. package/dist/fallback-llm.js +4 -4
  152. package/dist/focused-list-recall.d.ts +17 -0
  153. package/dist/focused-list-recall.js +11 -0
  154. package/dist/focused-list-recall.js.map +1 -0
  155. package/dist/identity-continuity.d.ts +1 -1
  156. package/dist/importance.d.ts +1 -1
  157. package/dist/{index-1qIcnbG1.d.ts → index-DJ9QWMw-.d.ts} +3 -2
  158. package/dist/index.d.ts +49 -12
  159. package/dist/index.js +289 -115
  160. package/dist/index.js.map +1 -1
  161. package/dist/intent.d.ts +1 -1
  162. package/dist/intent.js +1 -1
  163. package/dist/lifecycle.d.ts +1 -1
  164. package/dist/live-connectors-runner.d.ts +1 -1
  165. package/dist/local-llm.d.ts +8 -4
  166. package/dist/local-llm.js +1 -1
  167. package/dist/mcp-memory-inspector-app.d.ts +106 -0
  168. package/dist/mcp-memory-inspector-app.js +20 -0
  169. package/dist/mcp-memory-inspector-app.js.map +1 -0
  170. package/dist/memory-action-policy.d.ts +1 -1
  171. package/dist/memory-cache.d.ts +1 -1
  172. package/dist/{memory-governance-F3QOJGEY.js → memory-governance-IMPQZXFC.js} +7 -7
  173. package/dist/memory-governance-IMPQZXFC.js.map +1 -0
  174. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  175. package/dist/memory-projection-store.d.ts +1 -1
  176. package/dist/memory-provenance.d.ts +57 -0
  177. package/dist/memory-provenance.js +13 -0
  178. package/dist/memory-provenance.js.map +1 -0
  179. package/dist/memory-worth-outcomes.d.ts +1 -1
  180. package/dist/models-json.d.ts +1 -1
  181. package/dist/native-knowledge.d.ts +1 -1
  182. package/dist/objective-state-writers.d.ts +1 -1
  183. package/dist/objective-state-writers.js +2 -2
  184. package/dist/operator-toolkit.d.ts +1 -1
  185. package/dist/operator-toolkit.js +11 -11
  186. package/dist/{orchestrator-6IvQ-Phj.d.ts → orchestrator-DDMPqU6R.d.ts} +10 -1
  187. package/dist/orchestrator.d.ts +4 -2
  188. package/dist/orchestrator.js +53 -46
  189. package/dist/patterns-cli.d.ts +1 -1
  190. package/dist/policy-runtime.d.ts +1 -1
  191. package/dist/qmd-recall-cache.d.ts +1 -1
  192. package/dist/qmd.d.ts +1 -1
  193. package/dist/recall-disclosure-escalation.d.ts +1 -1
  194. package/dist/recall-explain-renderer.d.ts +3 -1
  195. package/dist/recall-explain-renderer.js +5 -3
  196. package/dist/recall-state.d.ts +1 -1
  197. package/dist/recall-tag-filter.d.ts +3 -1
  198. package/dist/recall-xray-cli.d.ts +3 -1
  199. package/dist/recall-xray-cli.js +6 -4
  200. package/dist/recall-xray-renderer.d.ts +3 -1
  201. package/dist/recall-xray-renderer.js +5 -3
  202. package/dist/recall-xray.d.ts +8 -1
  203. package/dist/recall-xray.js +4 -2
  204. package/dist/resolve-auth-token.d.ts +1 -1
  205. package/dist/resolve-provider-secret.js +1 -1
  206. package/dist/response-guidance-recall.d.ts +18 -0
  207. package/dist/response-guidance-recall.js +11 -0
  208. package/dist/response-guidance-recall.js.map +1 -0
  209. package/dist/resume-bundles.js +3 -3
  210. package/dist/retrieval-agents.d.ts +1 -1
  211. package/dist/retrieval-tiers.d.ts +1 -1
  212. package/dist/sdk-compat.d.ts +3 -2
  213. package/dist/sdk-compat.js.map +1 -1
  214. package/dist/semantic-consolidation.d.ts +1 -1
  215. package/dist/semantic-consolidation.js +6 -6
  216. package/dist/semantic-rule-promotion.js +5 -5
  217. package/dist/semantic-rule-verifier.d.ts +1 -1
  218. package/dist/semantic-rule-verifier.js +6 -6
  219. package/dist/session-observer-bands.d.ts +1 -1
  220. package/dist/session-observer-state.d.ts +1 -1
  221. package/dist/signal.d.ts +1 -1
  222. package/dist/storage.d.ts +3 -1
  223. package/dist/storage.js +4 -4
  224. package/dist/summarizer.d.ts +1 -1
  225. package/dist/summarizer.js +6 -6
  226. package/dist/summary-snapshot.d.ts +1 -1
  227. package/dist/targeted-fact-recall.d.ts +17 -0
  228. package/dist/targeted-fact-recall.js +11 -0
  229. package/dist/targeted-fact-recall.js.map +1 -0
  230. package/dist/telemetry-transcript.d.ts +7 -0
  231. package/dist/telemetry-transcript.js +16 -0
  232. package/dist/telemetry-transcript.js.map +1 -0
  233. package/dist/temporal-supersession.d.ts +1 -1
  234. package/dist/temporal-supersession.js +2 -1
  235. package/dist/temporal-validity.d.ts +1 -1
  236. package/dist/threading.d.ts +1 -1
  237. package/dist/tier-migration.d.ts +1 -1
  238. package/dist/tier-routing.d.ts +1 -1
  239. package/dist/tokens.js +1 -1
  240. package/dist/topics.d.ts +1 -1
  241. package/dist/transcript.d.ts +1 -1
  242. package/dist/trust-zones.d.ts +3 -2
  243. package/dist/trust-zones.js +1 -1
  244. package/dist/types.d.ts +60 -2
  245. package/dist/types.js +1 -1
  246. package/dist/user-model.d.ts +37 -0
  247. package/dist/user-model.js +28 -0
  248. package/dist/user-model.js.map +1 -0
  249. package/dist/utility-runtime.d.ts +1 -1
  250. package/dist/verified-recall.js +6 -6
  251. package/package.json +1 -1
  252. package/dist/chunk-2YMTO4ZJ.js.map +0 -1
  253. package/dist/chunk-363MWCD3.js.map +0 -1
  254. package/dist/chunk-36CTNQY7.js.map +0 -1
  255. package/dist/chunk-5GCNE7CN.js.map +0 -1
  256. package/dist/chunk-6AUUAZEX.js.map +0 -1
  257. package/dist/chunk-6Z6UH6TK.js.map +0 -1
  258. package/dist/chunk-74WWN7ZW.js +0 -82
  259. package/dist/chunk-74WWN7ZW.js.map +0 -1
  260. package/dist/chunk-A4ACKWIW.js.map +0 -1
  261. package/dist/chunk-EQINRHYR.js.map +0 -1
  262. package/dist/chunk-ERUDW6DU.js +0 -965
  263. package/dist/chunk-ERUDW6DU.js.map +0 -1
  264. package/dist/chunk-GGD5W7TB.js.map +0 -1
  265. package/dist/chunk-IBX3VFOM.js.map +0 -1
  266. package/dist/chunk-KWBPHZUU.js.map +0 -1
  267. package/dist/chunk-MCC6KDQF.js.map +0 -1
  268. package/dist/chunk-NN3LPQ5D.js.map +0 -1
  269. package/dist/chunk-O4XJUPSF.js.map +0 -1
  270. package/dist/chunk-S3IP6R6K.js.map +0 -1
  271. package/dist/chunk-SRBJUAMP.js.map +0 -1
  272. package/dist/chunk-VQXK37XA.js.map +0 -1
  273. package/dist/chunk-VTU2B4VF.js.map +0 -1
  274. package/dist/chunk-VX2IUQFE.js.map +0 -1
  275. package/dist/chunk-WGK4VHGP.js.map +0 -1
  276. package/dist/chunk-Y5KDIOKF.js.map +0 -1
  277. package/dist/chunk-Z5S5HNGY.js.map +0 -1
  278. package/dist/chunk-ZTSE2ZJ6.js.map +0 -1
  279. package/dist/contradiction-scan-3Z6YW7YA.js.map +0 -1
  280. /package/dist/{capsule-export-LLEVB2RG.js.map → action-confidence.js.map} +0 -0
  281. /package/dist/{capsule-import-UW45R2MZ.js.map → capsule-export-7QNCBZOQ.js.map} +0 -0
  282. /package/dist/{engine-FOC3IJLA.js.map → capsule-import-EPBHD2EN.js.map} +0 -0
  283. /package/dist/{chunk-HJYHRE4S.js.map → chunk-242S3I2A.js.map} +0 -0
  284. /package/dist/{chunk-EYNQTST2.js.map → chunk-4YM32CRU.js.map} +0 -0
  285. /package/dist/{chunk-PHNGXFQ6.js.map → chunk-7V22HTMD.js.map} +0 -0
  286. /package/dist/{chunk-P73JTV34.js.map → chunk-BBE34QBJ.js.map} +0 -0
  287. /package/dist/{chunk-C5HUWVH2.js.map → chunk-CPKTBRS2.js.map} +0 -0
  288. /package/dist/{chunk-I6BQZSML.js.map → chunk-DZZPC36E.js.map} +0 -0
  289. /package/dist/{chunk-4DXC6HQQ.js.map → chunk-FQDPCE3I.js.map} +0 -0
  290. /package/dist/{chunk-57QNCUEZ.js.map → chunk-HL5LRPNA.js.map} +0 -0
  291. /package/dist/{chunk-QIGOEM65.js.map → chunk-IB3BFHGN.js.map} +0 -0
  292. /package/dist/{chunk-RXTFCYQF.js.map → chunk-JESOB2HO.js.map} +0 -0
  293. /package/dist/{chunk-LIO5X3CM.js.map → chunk-UVMUAWVT.js.map} +0 -0
  294. /package/dist/{chunk-PB5KW5PL.js.map → chunk-WEJG4TB5.js.map} +0 -0
  295. /package/dist/{chunk-KBYWQWSB.js.map → chunk-X7HPGUVG.js.map} +0 -0
  296. /package/dist/{chunk-ZL4S7ARC.js.map → chunk-Y3VMVTYX.js.map} +0 -0
  297. /package/dist/{chunk-6XA7UN4Z.js.map → chunk-ZNQN6ZTA.js.map} +0 -0
  298. /package/dist/{chunk-WTFWLUSX.js.map → chunk-ZVTKDVVM.js.map} +0 -0
  299. /package/dist/{memory-governance-F3QOJGEY.js.map → engine-35M5BKQ7.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/response-guidance-recall.ts"],"sourcesContent":["import { buildEvidencePack, type EvidencePackItem } from \"./evidence-pack.js\";\nimport type { ExplicitCueRecallEngine } from \"./explicit-cue-recall.js\";\n\nexport interface ResponseGuidanceRecallOptions {\n engine: ExplicitCueRecallEngine | null | undefined;\n sessionId?: string;\n query: string;\n maxChars: number;\n maxItemChars?: number;\n maxSearchResults?: number;\n maxScanWindowTurns?: number;\n maxScanWindowTokens?: number;\n title?: string;\n forceGeneric?: boolean;\n}\n\ninterface RankedGuidanceItem extends EvidencePackItem {\n rank: number;\n}\n\ntype GuidanceIntent =\n | \"dates\"\n | \"editing\"\n | \"finance\"\n | \"api_errors\"\n | \"api_concurrency\"\n | \"ai_hiring_fairness\"\n | \"audiobook_narrators\"\n | \"contradiction_resolution\"\n | \"media_platforms\"\n | \"allergy_check\"\n | \"philosophy_summary\"\n | \"reading_variety\"\n | \"reading_goals_summary\"\n | \"writing_process_structure\"\n | \"writing_schedule\"\n | \"daily_routine\"\n | \"portfolio_links\"\n | \"deployment_automation\"\n | \"lightweight_tools\"\n | \"progress\"\n | \"health\"\n | \"nutrition_hydration\"\n | \"heart_function_activity_management\"\n | \"sleep_improvement_percent\"\n | \"sleep_environment_habits_summary\"\n | \"mattress_warranty_details\"\n | \"sleep_wind_down_screen_free\"\n | \"april_relationship_timing\"\n | \"april_relationship_summary\"\n | \"work_life_balance_summary\"\n | \"turkish_pronunciation_quantitative\"\n | \"turkish_live_learning_formats\"\n | \"study_space_tools_count\"\n | \"home_family_repayment\"\n | \"home_repair_cost_update\"\n | \"home_condition_final_inspection\"\n | \"home_neighborhood_tour\"\n | \"home_neighborhood_preferences\"\n | \"home_stove_recommendations\"\n | \"home_apartment_cost_difference\"\n | \"home_cash_flow_summary\"\n | \"home_buying_financial_steps\"\n | \"home_buying_summary\"\n | \"home_mortgage_choice_summary\"\n | \"home_inspection_timing\"\n | \"selling_photo_service_steps\"\n | \"selling_financial_plan_detail\"\n | \"selling_rental_payment_terms\"\n | \"selling_rental_price\"\n | \"selling_service_total_cost\"\n | \"selling_sequence_repairs_marketing\"\n | \"selling_professional_staging_preference\"\n | \"selling_morning_appointments\"\n | \"selling_home_summary\"\n | \"selling_stress_summary\"\n | \"selling_roof_offer_timing\"\n | \"diy_living_together_duration\"\n | \"diy_paint_budget_breakdown\"\n | \"diy_pipe_leak_safety\"\n | \"diy_drill_model_specificity\"\n | \"diy_paint_supply_spend\"\n | \"diy_professional_savings\"\n | \"diy_resource_sequence\"\n | \"diy_visual_learning_preference\"\n | \"diy_kitchen_surface_preference\"\n | \"diy_insulation_summary\"\n | \"diy_shelf_summary\"\n | \"diy_painting_timing\"\n | \"diy_faucet_timing\"\n | \"cooking_weekly_cuisine_plan\"\n | \"cooking_dolma_leaf_preparation\"\n | \"cooking_culinary_journey_summary\"\n | \"outdoor_cardio_preference\"\n | \"social_norms\"\n | \"software_versions\"\n | \"uk_resume\"\n | \"decision_framework\"\n | \"realtime_chat_summary\"\n | \"technical_project_summary\"\n | \"conic_sections_summary\"\n | \"calculus_derivative_progression\"\n | \"calculus_derivative_walkthrough\"\n | \"euler_step_accuracy\"\n | \"population_parameter_estimation\"\n | \"variance_concrete_examples\"\n | \"spherical_geodesic_vector_methods\"\n | \"skill_course_completion\"\n | \"morning_coffee_meeting\"\n | \"telepsychology_expansion_summary\"\n | \"professional_event_project_summary\"\n | \"job_commute_preference\"\n | \"sarah_resume_revision_planning\"\n | \"rental_income_preference\"\n | \"rental_property_journey_summary\"\n | \"cryptocurrency_investment_summary\"\n | \"math_induction_summary\"\n | \"math_step_calculations\"\n | \"number_theory_congruence_examples\"\n | \"mixed_problem_practice\"\n | \"scott_support_summary\"\n | \"portfolio_management_summary\"\n | \"parent_nutrition_summary\"\n | \"evening_tea_options\"\n | \"event_budget_details\"\n | \"travel_cost_details\"\n | \"investment_withdrawal_tax\"\n | \"relationship_trust_summary\"\n | \"decor_recommendations\"\n | \"project_financial_limits\"\n | \"team_event_attendance\"\n | \"answerability_absence\";\n\nconst DEFAULT_MAX_SEARCH_RESULTS = 48;\nconst DEFAULT_SEARCH_EXPANSION_TURNS = 5;\nconst DEFAULT_SCAN_WINDOW_TURNS = 64;\nconst DEFAULT_SCAN_WINDOW_TOKENS = 16_000;\n\nexport function shouldRecallResponseGuidance(query: string): boolean {\n return classifyGuidanceIntents(query).length > 0;\n}\n\nexport async function buildResponseGuidanceRecallSection(\n options: ResponseGuidanceRecallOptions,\n): Promise<string> {\n const budget = normalizePositiveInteger(options.maxChars);\n const maxResults = normalizePositiveInteger(\n options.maxSearchResults ?? DEFAULT_MAX_SEARCH_RESULTS,\n );\n const intents = classifyGuidanceIntents(options.query);\n const forceGeneric = options.forceGeneric === true;\n if (\n !options.engine ||\n budget <= 0 ||\n maxResults <= 0 ||\n (!forceGeneric && intents.length === 0)\n ) {\n return \"\";\n }\n const items = await collectGuidanceItems(options, intents);\n const ranked = rankAndDedupeGuidanceItems(items, options.query, intents)\n .slice(0, maxResults);\n if (ranked.length === 0) {\n return \"\";\n }\n\n const title = options.title ?? \"Response guidance evidence\";\n const titleLine = `## ${title}`;\n const cues = buildGuidanceCueSummary(ranked, intents, options.query);\n const cueInsertion = budgetGuidanceCueInsertion(cues, budget);\n const evidence = buildEvidencePack(ranked, {\n title,\n maxChars: Math.max(0, budget - cueInsertion.length),\n maxItemChars: options.maxItemChars,\n });\n if (!evidence) {\n return \"\";\n }\n\n return cueInsertion\n ? evidence.replace(titleLine, `${titleLine}${cueInsertion}`)\n : evidence;\n}\n\nfunction budgetGuidanceCueInsertion(cues: string, budget: number): string {\n if (!cues) return \"\";\n const prefix = \"\\n\\n\";\n if (budget <= prefix.length) return \"\";\n const maxCueChars = Math.max(0, Math.floor(budget * 0.35));\n const clipped = clipGuidanceText(cues, Math.min(maxCueChars, budget - prefix.length));\n return clipped ? `${prefix}${clipped}` : \"\";\n}\n\nfunction clipGuidanceText(text: string, maxChars: number): string {\n if (maxChars <= 0) return \"\";\n if (text.length <= maxChars) return text;\n if (maxChars <= 3) return text.slice(0, maxChars);\n return `${text.slice(0, maxChars - 3).trimEnd()}...`;\n}\n\nasync function collectGuidanceItems(\n options: ResponseGuidanceRecallOptions,\n intents: readonly GuidanceIntent[],\n): Promise<EvidencePackItem[]> {\n const engine = options.engine;\n if (!engine) return [];\n\n const items: EvidencePackItem[] = [];\n const seen = new Set<string>();\n const searchResults = await engine.searchContextFull(\n buildGuidanceQuery(options.query, intents),\n normalizePositiveInteger(options.maxSearchResults ?? DEFAULT_MAX_SEARCH_RESULTS),\n options.sessionId,\n );\n const searchWindowTurns = Math.max(\n 1,\n normalizePositiveInteger(options.maxScanWindowTurns ?? DEFAULT_SEARCH_EXPANSION_TURNS),\n );\n const searchWindowBefore = Math.floor((searchWindowTurns - 1) / 2);\n const searchWindowAfter = searchWindowTurns - 1 - searchWindowBefore;\n const searchWindowTokens = Math.max(\n 1,\n normalizePositiveInteger(options.maxScanWindowTokens ?? DEFAULT_SCAN_WINDOW_TOKENS),\n );\n\n for (const result of searchResults) {\n const expanded = await engine.expandContext(\n result.session_id,\n Math.max(0, result.turn_index - searchWindowBefore),\n result.turn_index + searchWindowAfter,\n searchWindowTokens,\n );\n const candidates = expanded.length > 0\n ? expanded.map((message) => ({\n id: `${result.session_id}:${message.turn_index}`,\n sessionId: result.session_id,\n turnIndex: message.turn_index,\n role: message.role,\n content: message.content,\n ...(message.turn_index === result.turn_index &&\n typeof result.score === \"number\"\n ? { score: result.score }\n : {}),\n }))\n : [{\n id: `${result.session_id}:${result.turn_index}`,\n sessionId: result.session_id,\n turnIndex: result.turn_index,\n role: result.role,\n content: result.content,\n ...(typeof result.score === \"number\" ? { score: result.score } : {}),\n }];\n\n for (const candidate of candidates) {\n if (seen.has(candidate.id)) continue;\n if (!isGuidanceEvidence(candidate.content, options.query, intents, options.forceGeneric === true)) continue;\n seen.add(candidate.id);\n items.push(candidate);\n }\n }\n\n for (const item of await collectGuidanceScanItems(options, intents)) {\n const id = item.id ?? (\n item.sessionId && typeof item.turnIndex === \"number\"\n ? `${item.sessionId}:${item.turnIndex}`\n : undefined\n );\n if (id && seen.has(id)) continue;\n if (id) seen.add(id);\n items.push(item);\n }\n\n return items;\n}\n\nasync function collectGuidanceScanItems(\n options: ResponseGuidanceRecallOptions,\n intents: readonly GuidanceIntent[],\n): Promise<EvidencePackItem[]> {\n const engine = options.engine;\n if (!engine?.getStats || !options.sessionId) return [];\n\n const stats = await engine.getStats(options.sessionId);\n const maxTurn = typeof stats.maxTurnIndex === \"number\"\n ? stats.maxTurnIndex\n : stats.totalMessages - 1;\n if (maxTurn < 0) return [];\n\n const windowTurns = Math.max(\n 1,\n intents.includes(\"technical_project_summary\") &&\n options.maxScanWindowTurns === undefined\n ? Math.min(DEFAULT_SCAN_WINDOW_TURNS, 4)\n : normalizePositiveInteger(options.maxScanWindowTurns ?? DEFAULT_SCAN_WINDOW_TURNS),\n );\n const windowTokens = Math.max(\n 1,\n normalizePositiveInteger(options.maxScanWindowTokens ?? DEFAULT_SCAN_WINDOW_TOKENS),\n );\n const items: EvidencePackItem[] = [];\n const fromTurn = Math.max(0, maxTurn - windowTurns + 1);\n const toTurn = maxTurn;\n\n const messages = await engine.expandContext(\n options.sessionId,\n fromTurn,\n toTurn,\n windowTokens,\n );\n for (const message of messages) {\n if (!isGuidanceEvidence(message.content, options.query, intents, options.forceGeneric === true)) continue;\n items.push({\n id: `${options.sessionId}:${message.turn_index}`,\n sessionId: options.sessionId,\n turnIndex: message.turn_index,\n role: message.role,\n content: message.content,\n });\n }\n\n return items;\n}\n\nfunction rankAndDedupeGuidanceItems(\n items: EvidencePackItem[],\n query: string,\n intents: readonly GuidanceIntent[],\n): RankedGuidanceItem[] {\n const seenIds = new Set<string>();\n const seenContent = new Set<string>();\n const ranked: RankedGuidanceItem[] = [];\n\n for (const item of items) {\n const id = item.id ?? (\n item.sessionId && typeof item.turnIndex === \"number\"\n ? `${item.sessionId}:${item.turnIndex}`\n : undefined\n );\n if (id && seenIds.has(id)) continue;\n\n const enhancedContent = appendGuidanceCues(item.content, intents);\n const contentKey = enhancedContent.toLowerCase().replace(/\\s+/g, \" \").trim();\n if (seenContent.has(contentKey)) continue;\n\n if (id) seenIds.add(id);\n seenContent.add(contentKey);\n ranked.push({\n ...item,\n content: enhancedContent,\n rank: scoreGuidanceEvidence(item, query, intents),\n });\n }\n\n return ranked.sort((left, right) => {\n if (right.rank !== left.rank) return right.rank - left.rank;\n const leftTurn = typeof left.turnIndex === \"number\" ? left.turnIndex : -1;\n const rightTurn = typeof right.turnIndex === \"number\" ? right.turnIndex : -1;\n if (rightTurn !== leftTurn) return rightTurn - leftTurn;\n return (right.score ?? 0) - (left.score ?? 0);\n });\n}\n\nfunction classifyGuidanceIntents(query: string): GuidanceIntent[] {\n const normalized = query.toLowerCase();\n const intents: GuidanceIntent[] = [];\n if (isTimingDetailsQuery(normalized) ||\n /\\b(?:what happened|outcomes?|recent)\\b.*\\b(?:rehearsals?|coaching sessions?|practice sessions?)\\b/.test(normalized)) {\n intents.push(\"dates\");\n }\n if (/\\b(?:edit|editing|editting|draft|revision|revise)\\b/.test(normalized)) {\n intents.push(\"editing\");\n }\n if (/\\b(?:financial goals?|monthly expenses?|budget|spending|reduce expenses?|saving|fund)\\b/.test(normalized)) {\n intents.push(\"finance\");\n }\n if (\n /\\b(?:decor|living space|home decor|redecorat(?:e|ing)|furniture|update my living space)\\b/.test(normalized) &&\n /\\b(?:suggest|recommend|recommendations?|what kinds?|items?|options?)\\b/.test(normalized)\n ) {\n intents.push(\"decor_recommendations\");\n }\n if (\n /\\b(?:financial limits?|budget limits?|cost limits?|costs?|budget)\\b/.test(normalized) &&\n /\\b(?:project|keep in mind|limits?|breakdown|analysis)\\b/.test(normalized)\n ) {\n intents.push(\"project_financial_limits\");\n }\n if (\n /\\b(?:team events?|team practice|practice session|scrimmage|team meeting|last practice|last team practice)\\b/.test(normalized) &&\n /\\b(?:what happened|happened|details?|summary|tell me|practice|event|events?)\\b/.test(normalized)\n ) {\n intents.push(\"team_event_attendance\");\n }\n if (/\\b(?:rest api|api|endpoint|http)\\b/.test(normalized) &&\n /\\b(?:errors?|failures?|status codes?|handle|prepared)\\b/.test(normalized)) {\n intents.push(\"api_errors\");\n }\n if (\n /\\b(?:api requests?|api calls?|multiple requests?|multiple api|tweet metrics|twitter api|batch(?:ing)?|concurr(?:ent|ency|ently)|non-blocking|async(?:io|hronous)?|async\\/await)\\b/.test(normalized) &&\n /\\b(?:efficient(?:ly)?|structure|structuring|handle|calls?|requests?|gather|maximize|reduce blocking|blocking|concurr(?:ent|ency|ently)|async)\\b/.test(normalized)\n ) {\n intents.push(\"api_concurrency\");\n }\n if (\n /\\b(?:hiring|candidate(?:s)?|recruitment|resume screening|ai hiring|automated screening)\\b/.test(normalized) &&\n /\\b(?:fairness|fair|bias|oversight|evaluation|candidate evaluation|speeding up|speed|technology|automated)\\b/.test(normalized)\n ) {\n intents.push(\"ai_hiring_fairness\");\n }\n if (/\\b(?:audiobooks?|audio books?|listen)\\b/.test(normalized) &&\n /\\b(?:suggest|recommend|recommendations?|books?|series|listen)\\b/.test(normalized)) {\n intents.push(\"audiobook_narrators\");\n }\n if (isPotentialContradictionResolutionQuery(normalized)) {\n intents.push(\"contradiction_resolution\");\n }\n if (/\\b(?:movies?|watchlist|watch)\\b/.test(normalized) &&\n /\\b(?:recommend|options?|watch|streaming|platforms?)\\b/.test(normalized)) {\n intents.push(\"media_platforms\");\n }\n if (/\\b(?:snacks?|food|try)\\b/.test(normalized) &&\n /\\b(?:recommend|options?|try)\\b/.test(normalized)) {\n intents.push(\"allergy_check\");\n }\n if (/\\b(?:existentialism|philosophical|philosophy|concepts?)\\b/.test(normalized)) {\n intents.push(\"philosophy_summary\");\n }\n if (/\\b(?:reading list|books?|novels?|series)\\b/.test(normalized) &&\n /\\b(?:suggest|recommend|planning|list)\\b/.test(normalized)) {\n intents.push(\"reading_variety\");\n }\n if (\n /\\b(?:reading goals?|reading strateg(?:y|ies)|fiction books?|choosing and budgeting|book plans?|reading plans?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|developed|evolved|over time|conversations?|plans?|decisions?)\\b/.test(normalized)\n ) {\n intents.push(\"reading_goals_summary\");\n }\n if (\n /\\b(?:writing process|writing plan|drafting process|screenplay|steady progress|stay motivated|weeks leading up|word count goals?)\\b/.test(normalized) &&\n /\\b(?:structure|structuring|maintain|steady progress|motivated|motivation|deadline|outline|scene breakdown|daily|weekly)\\b/.test(normalized)\n ) {\n intents.push(\"writing_process_structure\");\n }\n if (/\\bwriting sessions?\\b/.test(normalized) ||\n /\\b(?:plan|schedule)\\b/.test(normalized) && /\\bwriting\\b/.test(normalized)) {\n intents.push(\"writing_schedule\");\n }\n if (\n /\\b(?:organize|schedule|plan|structure|routine|track|responsibilities)\\b/.test(normalized) &&\n /\\b(?:day|daily|routine|responsibilities|tasks|track)\\b/.test(normalized)\n ) {\n intents.push(\"daily_routine\");\n }\n if (/\\bportfolio links?\\b|\\bcover letter\\b.*\\blinks?\\b|\\blinks?\\b.*\\bcover letter\\b/.test(normalized)) {\n intents.push(\"portfolio_links\");\n }\n if (/\\bdeployment workflow\\b|\\bci\\/cd\\b|\\bpipeline\\b/.test(normalized)) {\n intents.push(\"deployment_automation\");\n }\n if (/\\b(?:libraries?|tools?|dependencies|frameworks?|flask app|implement these features|user login|analytics|bootstrap|lazy loading|image gallery|responsive portfolio)\\b/.test(normalized)) {\n intents.push(\"lightweight_tools\");\n }\n if (/\\b(?:progress|edits?|editing|completion|percentage|percent|improvements?)\\b/.test(normalized)) {\n intents.push(\"progress\");\n }\n if (/\\b(?:sneakers?|shoes?|footwear|comfort|support|arch|cushioning)\\b/.test(normalized)) {\n intents.push(\"health\");\n }\n if (\n /\\b(?:healthy diet|diet|nutrition|nutrition advice|meal planning|meal plan|healthy eating|food-related|macronutrient|food tips?)\\b/.test(normalized) &&\n /\\b(?:keep in mind|maintain|advice|tips?|suggest|recommend|support|plan|strategies?)\\b/.test(normalized)\n ) {\n intents.push(\"nutrition_hydration\");\n }\n if (\n /\\b(?:cooking plan|organize.*cooking|focus on each week|each week|week-by-week|week by week|weekly cooking|cuisine|cuisines)\\b/.test(normalized) &&\n /\\b(?:week|weekly|each week|focus|breaks? down|breakdown|cuisine|cultural)\\b/.test(normalized) &&\n /\\b(?:cooking|cuisine|cuisines|dishes|culinary)\\b/.test(normalized)\n ) {\n intents.push(\"cooking_weekly_cuisine_plan\");\n }\n if (\n /\\b(?:grape leaves?|leaves|dolma|stuffed grape leaves?|filling|seasoning|flavors?|textures?)\\b/.test(normalized) &&\n /\\b(?:approach|recommend|prepar(?:e|ing)|handle|balance|roll|seasoning|texture|flavors?)\\b/.test(normalized) &&\n /\\b(?:cooking|dishes?|leaves?|seasoning|filling|dolma|grape)\\b/.test(normalized)\n ) {\n intents.push(\"cooking_dolma_leaf_preparation\");\n }\n if (\n /\\b(?:culinary journey|cooking skills?|new cuisines?|global dishes?|culinary skills?|mastering.*cooking|planning meals|meal planning|cooking techniques?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|progressed|progress|milestones?|skill developments?|strategies?|over several months|stay on track|journey)\\b/.test(normalized)\n ) {\n intents.push(\"cooking_culinary_journey_summary\");\n }\n if (\n /\\b(?:ejection fraction|heart(?:'s)? pumping|pumping efficiency|heart function|cardiac efficiency)\\b/.test(normalized) &&\n /\\b(?:physical activities?|activities?|symptoms?|ongoing steps?|manage|management|recommend(?:ed|ations?)?|explain|connection)\\b/.test(normalized)\n ) {\n intents.push(\"heart_function_activity_management\");\n }\n if (\n /\\bsleep\\b/.test(normalized) &&\n /\\b(?:how much|improved|improvement|increase|percentage|percent|exact|recently)\\b/.test(normalized) &&\n /\\b(?:sleep efficiency|efficiency|improved|improvement|increase)\\b/.test(normalized)\n ) {\n intents.push(\"sleep_improvement_percent\");\n }\n if (\n /\\b(?:sleep environment|sleep habits?|sleep quality|night sweats?|thermostat|blackout curtains?|blackout blinds?|2200k|bedroom)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|over time|combined|affected|effects?|quality|habits?|environment|night sweats?)\\b/.test(normalized)\n ) {\n intents.push(\"sleep_environment_habits_summary\");\n }\n if (\n /\\bmattress(?:es)?\\b/.test(normalized) &&\n /\\b(?:buy|buying|purchase|purchasing|decision|consider|know|thinking)\\b/.test(normalized)\n ) {\n intents.push(\"mattress_warranty_details\");\n }\n if (\n /\\b(?:unwind|wind down|bedtime routine|before bed|relax before bed|ways to unwind)\\b/.test(normalized) &&\n /\\b(?:bed|sleep|try|ways|activities|routine|relax)\\b/.test(normalized)\n ) {\n intents.push(\"sleep_wind_down_screen_free\");\n }\n if (\n /\\b(?:april|partner)\\b/.test(normalized) &&\n /\\b(?:weekend|conversation|activities|activity|organize|start|good time|meaningful)\\b/.test(normalized) &&\n /\\b(?:when|time|timing|organize|activities|conversation|weekend)\\b/.test(normalized)\n ) {\n intents.push(\"april_relationship_timing\");\n }\n if (\n /\\bapril\\b/.test(normalized) &&\n /\\brelationship\\b/.test(normalized) &&\n /\\b(?:summary|summarize|thorough|comprehensive|covered|connect|evolve|over time)\\b/.test(normalized)\n ) {\n intents.push(\"april_relationship_summary\");\n }\n if (\n /\\b(?:reduce|planned|plan|work hours|clinical hours|work-life|personal life|balance)\\b/.test(normalized) &&\n /\\b(?:work hours|clinical hours|work-life|personal life|balance|reduce)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|planned|plan|how)\\b/.test(normalized)\n ) {\n intents.push(\"work_life_balance_summary\");\n }\n if (\n /\\b(?:pronunciation|speaking speed|speaking accuracy|accent)\\b/.test(normalized) &&\n /\\b(?:improving|improved|improvement|progress|lately|recently)\\b/.test(normalized)\n ) {\n intents.push(\"turkish_pronunciation_quantitative\");\n }\n if (\n /\\bturkish\\b/.test(normalized) &&\n /\\b(?:skills?|learning formats?|formats?|classes?|lessons?|options?)\\b/.test(normalized) &&\n /\\b(?:improve|learning formats?|explore|suggest|options?)\\b/.test(normalized)\n ) {\n intents.push(\"turkish_live_learning_formats\");\n }\n if (\n /\\b(?:study tools?|decorations?|study space|study room)\\b/.test(normalized) &&\n /\\b(?:how many|different|added|across sessions?|tools?|decorations?)\\b/.test(normalized)\n ) {\n intents.push(\"study_space_tools_count\");\n }\n if (\n /\\b(?:family|mom|mother|crystal)\\b/.test(normalized) &&\n /\\b(?:money|financial assistance|help|down payment|repay|repayment|loan|consider)\\b/.test(normalized)\n ) {\n intents.push(\"home_family_repayment\");\n }\n if (\n /\\b(?:plumbing leaks?|repair(?:ing)?|repair costs?|cost estimates?)\\b/.test(normalized) &&\n /\\b(?:estimated cost|cost|home inspection|minor plumbing|leaks?|repair)\\b/.test(normalized)\n ) {\n intents.push(\"home_repair_cost_update\");\n }\n if (\n /\\b(?:condition of the house|house condition|condition of the property|before (?:we )?finalize|finalize everything|final home inspection|seller'?s contractor|repairs? completed)\\b/.test(normalized)\n ) {\n intents.push(\"home_condition_final_inspection\");\n }\n if (\n /\\b(?:neighborhood tour|tour with samantha|samantha.*tour|tour.*samantha)\\b/.test(normalized) &&\n /\\b(?:when|scheduled|start|starts?|time|april|tour)\\b/.test(normalized)\n ) {\n intents.push(\"home_neighborhood_tour\");\n }\n if (\n /\\b(?:neighborhood|areas?|move to|moving to|compare different areas|decide on a neighborhood)\\b/.test(normalized) &&\n /\\b(?:consider|comparing|decide|factors?|areas?|neighborhood)\\b/.test(normalized)\n ) {\n intents.push(\"home_neighborhood_preferences\");\n }\n if (\n /\\b(?:stove|kitchen appliance|kitchen appliances?|oven|cooktop)\\b/.test(normalized) &&\n /\\b(?:brands?|models?|suggest|recommend|look into|adding|new)\\b/.test(normalized)\n ) {\n intents.push(\"home_stove_recommendations\");\n }\n if (\n /\\b(?:3-bedroom|three-bedroom|2-bedroom|two-bedroom|apartment)\\b/.test(normalized) &&\n /\\b(?:cost compared|how much more|difference|more does|mevlana|inonu|inönü)\\b/.test(normalized)\n ) {\n intents.push(\"home_apartment_cost_difference\");\n }\n if (\n /\\b(?:cash flow|monthly cash flow|financial commitments|repayment schedule|loan repayment|essential expenses)\\b/.test(normalized) &&\n /\\b(?:left|after covering|housing|monthly|expenses?|repayment|commitments?)\\b/.test(normalized)\n ) {\n intents.push(\"home_cash_flow_summary\");\n }\n if (\n /\\b(?:timeline|financial steps|savings plan|monthly costs?|prepare for buying|buying my home)\\b/.test(normalized) &&\n /\\b(?:home|buying|savings|monthly|costs?|financial)\\b/.test(normalized)\n ) {\n intents.push(\"home_buying_financial_steps\");\n }\n if (\n /\\b(?:complete summary|summary|summarize)\\b/.test(normalized) &&\n /\\b(?:home buying plans?|financial arrangements?|buying my home|down payment|mevlana|crystal|mortgage)\\b/.test(normalized)\n ) {\n intents.push(\"home_buying_summary\");\n }\n if (\n /\\b(?:fixed-rate|fixed rate|variable-rate|variable rate|mortgage options?|loan options?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|choosing|decision-making|key considerations|decide|options?)\\b/.test(normalized)\n ) {\n intents.push(\"home_mortgage_choice_summary\");\n }\n if (\n /\\b(?:home inspection|inspection report|lawyer|contract review|meeting with the lawyer)\\b/.test(normalized) &&\n /\\b(?:how many days|days before|days after|delivered|contract review|april)\\b/.test(normalized)\n ) {\n intents.push(\"home_inspection_timing\");\n }\n if (\n /\\b(?:service|photograph|photography|photos?|focuslens|shoot|session)\\b/.test(normalized) &&\n /\\b(?:prepare|coordinat|best outcome|maximize|impact|after|delivered|high-resolution|web)\\b/.test(normalized)\n ) {\n intents.push(\"selling_photo_service_steps\");\n }\n if (\n /\\b(?:finances?|financial planning|planning my finances|next year|costs?)\\b/.test(normalized) &&\n /\\b(?:next year|planning|consider|costs?|category|breakdown|analysis)\\b/.test(normalized)\n ) {\n intents.push(\"selling_financial_plan_detail\");\n }\n if (\n /\\b(?:rent out|rental|lease|terms|agreement)\\b/.test(normalized) &&\n /\\b(?:terms|payment|payments?|agreement|modifications?|adjustments?|changes?)\\b/.test(normalized)\n ) {\n intents.push(\"selling_rental_payment_terms\");\n }\n if (\n /\\b(?:rental price|rent price|kadikoy|kadıköy|apartment)\\b/.test(normalized) &&\n /\\b(?:set|price|rental|rent|4,550|4550|4,500|4500)\\b/.test(normalized)\n ) {\n intents.push(\"selling_rental_price\");\n }\n if (\n /\\b(?:staging|photography|services?)\\b/.test(normalized) &&\n /\\b(?:total|spending|cost|costs|how much)\\b/.test(normalized)\n ) {\n intents.push(\"selling_service_total_cost\");\n }\n if (\n /\\b(?:list by april 1|sell within three months|repairs?|staging|marketing|inspection|moving plans?|sequence|avoid delays)\\b/.test(normalized) &&\n /\\b(?:sequence|optimally|avoid delays|meet my moving plans|repairs?|marketing|timeline)\\b/.test(normalized)\n ) {\n intents.push(\"selling_sequence_repairs_marketing\");\n }\n if (\n /\\b(?:preparing my home|prepare my home|home for sale|attractive to buyers|buyers)\\b/.test(normalized) &&\n (/\\b(?:staging|professional|diy|experts|upfront cost|quality)\\b/.test(normalized) ||\n /\\bprepar(?:e|ing)\\b.*\\bhome\\b.*\\bsale\\b.*\\battractive\\b.*\\bbuyers\\b/.test(normalized))\n ) {\n intents.push(\"selling_professional_staging_preference\");\n }\n if (\n /\\b(?:appointments?|schedule|organize|next week)\\b/.test(normalized) &&\n /\\b(?:morning|early|time slots?|start early|appointments?)\\b/.test(normalized)\n ) {\n intents.push(\"selling_morning_appointments\");\n }\n if (\n /\\b(?:thorough summary|complete summary|summary|preparing and selling my home|home selling|selling my home)\\b/.test(normalized) &&\n /\\b(?:home|selling|sale|selim|staging|listing)\\b/.test(normalized)\n ) {\n intents.push(\"selling_home_summary\");\n }\n if (\n /\\b(?:stress|mindfulness|meditation|managing stress)\\b/.test(normalized) &&\n /\\b(?:home selling|moving process|summary|throughout|selling and moving|home sale)\\b/.test(normalized)\n ) {\n intents.push(\"selling_stress_summary\");\n }\n if (\n /\\b(?:roof repair|home inspection|first offer|april|march)\\b/.test(normalized) &&\n /\\b(?:how many days|between|days|from)\\b/.test(normalized)\n ) {\n intents.push(\"selling_roof_offer_timing\");\n }\n if (\n /\\b(?:atat(?:ü|u)rk|living together|lived together|james|jamie|house)\\b/.test(normalized) &&\n /\\b(?:how long|lived|living together|house|years?)\\b/.test(normalized)\n ) {\n intents.push(\"diy_living_together_duration\");\n }\n if (\n /\\b(?:bauhaus|paint.*supplies|supplies.*paint|materials?.*store|planned spending|reasonable budget|particular store)\\b/.test(normalized) &&\n /\\b(?:break down|budget|prices?|calculation|appropriate|store|materials?|item types?|estimate)\\b/.test(normalized)\n ) {\n intents.push(\"diy_paint_budget_breakdown\");\n }\n if (\n /\\b(?:leaking pipe|leaky pipe|bathroom.*pipe|pipe.*bathroom|fixing.*pipe|pipe repair)\\b/.test(normalized) &&\n /\\b(?:how should|go about|fix(?:ing)?|repair(?:ing)?|safety|protective gear|avoid hazards?|injury|damage|water shutoff|shutoff|shut off water|steps?)\\b/.test(normalized)\n ) {\n intents.push(\"diy_pipe_leak_safety\");\n }\n if (\n /\\b(?:drill|tool recommendation|model number|specific product|tool version|cordless drill)\\b/.test(normalized) &&\n /\\b(?:recommend|new|model|specific|exact|product)\\b/.test(normalized)\n ) {\n intents.push(\"diy_drill_model_specificity\");\n }\n if (\n /\\b(?:paint.*supplies|supplies.*paint|spent|spending|total spent|cost)\\b/.test(normalized) &&\n /\\b(?:how much|actually|knowledge|update|cost|spent|spending|total)\\b/.test(normalized)\n ) {\n intents.push(\"diy_paint_supply_spend\");\n }\n if (\n /\\b(?:saved?|save|hiring|plumber|painter|diy)\\b/.test(normalized) &&\n /\\b(?:painting|plumbing|faucet|hire|over hiring|money|saved?)\\b/.test(normalized)\n ) {\n intents.push(\"diy_professional_savings\");\n }\n if (\n /\\b(?:resources|sequence|prioritize|allocate|budget|bulk purchases?|ladder|don|heavy items?|upcoming projects?|safety-critical)\\b/.test(normalized) &&\n /\\b(?:diy|projects?|tools?|resources|sequence|prioritize|allocate|ladder|don|budget)\\b/.test(normalized)\n ) {\n intents.push(\"diy_resource_sequence\");\n }\n if (\n /\\b(?:resources|tutorials?|manuals?|visual|hands-on|interactive|fixing|home repairs?|start(?:ed|ing)?)\\b/.test(normalized) &&\n /\\b(?:recommend|suggest|prefer|avoid|resources|tutorials?|manuals?|visual|hands-on)\\b/.test(normalized)\n ) {\n intents.push(\"diy_visual_learning_preference\");\n }\n if (\n /\\b(?:kitchen surfaces?|countertops?|surfaces?|durability|cleaning|lasting|trendy|aesthetic)\\b/.test(normalized) &&\n /\\b(?:options?|recommend|suggest|focus|avoid|durability|cleaning|lasting|quality|trendy|aesthetic)\\b/.test(normalized)\n ) {\n intents.push(\"diy_kitchen_surface_preference\");\n }\n if (\n /\\b(?:attic insulation|insulation upgrade|owens corning|june\\s+15|june\\s+22)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|complete|budget|timeline|safety|installation|project)\\b/.test(normalized)\n ) {\n intents.push(\"diy_insulation_summary\");\n }\n if (\n /\\b(?:bathroom shelf|shelf installation|august\\s+15|mounting brackets?|pilot holes?|wall anchors?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|complete|budget|installation|materials?|project)\\b/.test(normalized)\n ) {\n intents.push(\"diy_shelf_summary\");\n }\n if (\n /\\b(?:painting|painted|dove gray|april\\s+1|april\\s+13|april\\s+14)\\b/.test(normalized) &&\n /\\b(?:how many days|days|from|till|until|between)\\b/.test(normalized)\n ) {\n intents.push(\"diy_painting_timing\");\n }\n if (\n /\\b(?:faucet washers?|plumbing workshop|april\\s+10|april\\s+29|practice replacing)\\b/.test(normalized) &&\n /\\b(?:how many days|days|from|till|until|between|practice)\\b/.test(normalized)\n ) {\n intents.push(\"diy_faucet_timing\");\n }\n if (\n /\\b(?:cardio|running|run|jogging|cycling|cardio activities?|workout options?)\\b/.test(normalized) &&\n /\\b(?:suggest|recommend|options?|add|routine|activities?)\\b/.test(normalized)\n ) {\n intents.push(\"outdoor_cardio_preference\");\n }\n if (/\\b(?:social norms?|expectations|meeting someone|first time|culture|cultural)\\b/.test(normalized)) {\n intents.push(\"social_norms\");\n }\n if (\n /\\b(?:digital files?|digital assets?|organize|manage|management tools?|software|tools?|technolog(?:y|ies)|tech stack|technology stacks?|current setup|setup)\\b/.test(normalized) &&\n /\\b(?:version|versions|version numbers?|release identifiers?|technolog(?:y|ies)|tech stack|technology stacks?|current setup|setup|used)\\b/.test(normalized)\n ) {\n intents.push(\"software_versions\");\n }\n if (/\\b(?:uk|resume|cv|ats|job)\\b/.test(normalized)) {\n intents.push(\"uk_resume\");\n }\n if (/\\b(?:complex problem|practical and emotional|approach|decide|decision|work environment|career change|changing my work|startup)\\b/.test(normalized)) {\n intents.push(\"decision_framework\");\n }\n if (\n /\\b(?:real-time|realtime|chat|socket\\.?io|websocket|message|messaging|chatroom|rooms?|redis|latency|presence|broadcast|load|scal(?:e|ing)|concurrent users?)\\b/.test(normalized) &&\n /\\b(?:summary|scope|challenges?|solutions?|enhancements?|improv(?:e|ing|ements?)|optimi[sz](?:e|ing|ation)|handle|manag(?:e|ing)|application|app)\\b/.test(normalized)\n ) {\n intents.push(\"realtime_chat_summary\");\n }\n if (\n /\\b(?:resume analyzer|analyzer project|flask|spacy|pymupdf|pdf parsing|keyword extraction|ner|scoring|cprofile|redis-backed|startup time|performance profiling|object detection|tracking pipeline|yolov5|opencv|sort|kalman|hungarian|tensorrt|deepsort|ssd mobilenet|dnn pipeline|recommendation system|recommender|collaborative filtering|content-based filtering|tf-?idf|cosine similarity|similarity matrix|hybrid recommendation|precision|recall|redis caching)\\b/.test(normalized) &&\n /\\b(?:summary|process|developments?|challenges?|improvements?|optimizations?|enhancing|enhance|project|start to finish)\\b/.test(normalized)\n ) {\n intents.push(\"technical_project_summary\");\n }\n if (\n /\\b(?:language translation|translation services?|translation api|language detection|multi-language|multilingual|deepl|google translate|franc|chatbot backend|chatbot system|transformer-based llm|streaming|chunk size)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|process|develop(?:ing|ment)?|integrat(?:e|ing|ion)|challenges?|improvements?|optimizations?|deployment|technical decisions?)\\b/.test(normalized)\n ) {\n intents.push(\"technical_project_summary\");\n }\n if (\n /\\b(?:image captioning|captioning system|captioning api|caption generator|feature extractor|diffusion-based|stable diffusion|docker compose|materialized views?|postgresql|redis cache|pytorch|transformers?|cuda|out-of-memory|mixed precision|gradient accumulation|lru caches?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|design|deployment|evolved|throughout|discussions?|process|develop(?:ing|ment)?|optimizations?)\\b/.test(normalized)\n ) {\n intents.push(\"technical_project_summary\");\n }\n if (\n /\\b(?:conic sections?|parabolas?|ellipses?|hyperbolas?|vertex form|directrix|foci|eccentricity|tangent lines?|reflective property)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|detailed|cohesive|integrat(?:e|ing)|foundations?|applications?|properties|derivations?|real-world|practical implications|connect|build upon)\\b/.test(normalized)\n ) {\n intents.push(\"conic_sections_summary\");\n }\n if (\n /\\b(?:derivatives?|implicit differentiation|circle equation|quadratic|cubic|product term)\\b/.test(normalized) &&\n /\\b(?:complexity|simplest|most complex|change|progress(?:ion)?|increasing)\\b/.test(normalized)\n ) {\n intents.push(\"calculus_derivative_progression\");\n }\n if (\n /\\b(?:derivatives?|differentiat(?:e|ion)|product rule|chain rule)\\b/.test(normalized) &&\n /\\b(?:walk me through|step(?:s|-by-step| by step)?|explain|using|apply)\\b/.test(normalized)\n ) {\n intents.push(\"calculus_derivative_walkthrough\");\n }\n if (\n /\\beuler(?:'s)?(?:\\s+method)?\\b/.test(normalized) &&\n /\\b(?:step size|accuracy|accurate|error|errors?|differential equations?|solving)\\b/.test(normalized)\n ) {\n intents.push(\"euler_step_accuracy\");\n }\n if (\n /\\b(?:exponential|logistic|population)\\b/.test(normalized) &&\n /\\b(?:models?|population trends?|parameter estimation|estimate parameters?|data points?|datasets?|growth|predict(?:ion|s)?)\\b/.test(normalized) &&\n /\\b(?:combine|predict|parameter|estimate|estimation|improvements?|prioritize|data points?|datasets?)\\b/.test(normalized)\n ) {\n intents.push(\"population_parameter_estimation\");\n }\n if (\n /\\b(?:variance|random variable|expectation|expected value)\\b/.test(normalized) &&\n /\\b(?:problem|work through|defined|calculate|calculation|explain|understand)\\b/.test(normalized)\n ) {\n intents.push(\"variance_concrete_examples\");\n }\n if (\n /\\b(?:sphere|spherical|great circle|shortest path|geodesic)\\b/.test(normalized) &&\n /\\b(?:shortest path|distance|between two points|find|calculate|show me|walk)\\b/.test(normalized)\n ) {\n intents.push(\"spherical_geodesic_vector_methods\");\n }\n if (\n /\\b(?:skills?|skill acquisition|skill development)\\b/.test(normalized) &&\n /\\b(?:gained|gain|recently|training|course|programs?)\\b/.test(normalized)\n ) {\n intents.push(\"skill_course_completion\");\n }\n if (\n /\\bcoffee meeting\\b/.test(normalized) &&\n /\\b(?:tips?|prepare|preparation|make the most|conversation starters?)\\b/.test(normalized)\n ) {\n intents.push(\"morning_coffee_meeting\");\n }\n if (\n /\\btelepsychology services?\\b/.test(normalized) &&\n /\\b(?:professional development|research and client work|career decisions?|entire process|comprehensive summary|detailed summary)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"telepsychology_expansion_summary\");\n }\n if (\n /\\b(?:upcoming professional events?|professional events? and projects?|events? and projects?)\\b/.test(normalized) &&\n /\\b(?:initial planning|execution|follow-up|participating|preparing|comprehensive summary|detailed summary)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"professional_event_project_summary\");\n }\n if (\n /\\b(?:job listings?|job opportunities?|job options?|roles?|positions?)\\b/.test(normalized) &&\n /\\b(?:best fit|fit|narrow down|options?|prioritize|choose|evaluat(?:e|ing)|decide)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"job_commute_preference\");\n }\n if (\n /\\b(?:initial interaction|conference)\\b/.test(normalized) &&\n /\\b(?:timeline|approach|revis(?:e|ing)|professional documents?|resume|cover letter|update process)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"sarah_resume_revision_planning\");\n }\n if (\n /\\b(?:investment properties?|rental properties?|properties?)\\b/.test(normalized) &&\n /\\b(?:monthly returns?|rental income|appreciation|higher price|resale|profits?|sell|wealth|deciding between|decide between)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"rental_income_preference\");\n }\n if (\n /\\brental properties?\\b/.test(normalized) &&\n /\\b(?:journey|decision-making|budget|property choices?|management considerations?|financing plans?|developed over time|comprehensive summary)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"rental_property_journey_summary\");\n }\n if (\n /\\b(?:cryptocurrency investments?|crypto investments?|bitcoin|ethereum|defi|nft)\\b/.test(normalized) &&\n /\\b(?:managing|growing|strategies|tools|risks|community engagement|thorough summary|comprehensive summary|summary)\\b/.test(\n normalized,\n )\n ) {\n intents.push(\"cryptocurrency_investment_summary\");\n }\n if (\n /\\b(?:mathematical induction|induction proofs?|inductive proofs?|proof by induction|divisibility proofs?|inequality induction|number theory induction)\\b/.test(normalized) &&\n /\\b(?:summarize|summary|learning journey|overall|progress|develop(?:ed|ment)?|conversations?|throughout)\\b/.test(normalized)\n ) {\n intents.push(\"math_induction_summary\");\n }\n if (\n /\\b(?:congruences?|modular arithmetic|number theory|fermat'?s little theorem|euler'?s theorem)\\b/.test(normalized) &&\n /\\b(?:explain|properties|theorems?|examples?|apply|applications?|calculations?)\\b/.test(normalized)\n ) {\n intents.push(\"number_theory_congruence_examples\");\n }\n if (\n /\\b(?:distance formula|distance between|points?\\s*\\(|coordinate geometry|coordinate plane|point-line distance|midpoint formula)\\b/.test(normalized) &&\n /\\b(?:how|find|calculate|step|steps?|walk|explain|formula|arithmetic|breakdown)\\b/.test(normalized)\n ) {\n intents.push(\"math_step_calculations\");\n }\n if (\n /\\b(?:study sessions?|exam|practice|problem sets?|different types of problems?|mixed problem sets?|comprehensive exams?|topics?)\\b/.test(normalized) &&\n /\\b(?:organize|practice|prepare|sessions?|different|varied|multiple|mixed|combine|combining)\\b/.test(normalized)\n ) {\n intents.push(\"mixed_problem_practice\");\n }\n if (\n /\\b(?:event|events|party|parties|gathering|gatherings|reunion|picnic|holiday|hosting)\\b/.test(normalized) &&\n /\\b(?:organize|organizing|plan|planning|consider|budget|costs?|financial|spending)\\b/.test(normalized)\n ) {\n intents.push(\"event_budget_details\");\n }\n if (\n /\\b(?:withdraw|withdrawal|take money out|take funds out|cash out|sell(?:ing)?)\\b/.test(normalized) &&\n /\\b(?:investment account|brokerage|portfolio|investments?|account|money)\\b/.test(normalized)\n ) {\n intents.push(\"investment_withdrawal_tax\");\n }\n if (\n (\n /\\b(?:travel|arrangements?|flight|flights|train|hotel|accommodations?|trip|vacation)\\b/.test(normalized) ||\n /\\bgetting from\\b.+\\bto\\b/.test(normalized)\n ) &&\n /\\b(?:options?|costs?|details?|arrangements?|travel|get(?:ting)?|from|to)\\b/.test(normalized)\n ) {\n intents.push(\"travel_cost_details\");\n }\n if (\n /\\bscott\\b/.test(normalized) &&\n /\\b(?:support|supporting|academic|tutoring|extracurricular|social|digital habits?|screen time|summary|summarize|addressed|coordinated)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|aspects|over time|addressed|coordinated|strategies|adjustments?|outcomes?)\\b/.test(normalized)\n ) {\n intents.push(\"scott_support_summary\");\n }\n if (\n /\\b(?:investment strategy|portfolio management|portfolio allocation|portfolio adjustments?|portfolio|investments?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|comprehensive|detailed|evolved|over time|key decisions?|adjustments?|advice|meetings?|discussions?)\\b/.test(normalized)\n ) {\n intents.push(\"portfolio_management_summary\");\n }\n if (\n /\\b(?:parents?|mom|mother|dad|father|samantha|ryan)\\b/.test(normalized) &&\n /\\b(?:nutrition|nutritional|meal plans?|well-being|caregiving|support(?:ed|ing)?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|comprehensive|over time|course|conversations?)\\b/.test(normalized)\n ) {\n intents.push(\"parent_nutrition_summary\");\n }\n if (\n /\\b(?:tea|teas|evening drink|bedtime drink)\\b/.test(normalized) &&\n /\\b(?:evening|bedtime|sleep|relax(?:ing|ation)?|options?|suggest|recommend)\\b/.test(normalized)\n ) {\n intents.push(\"evening_tea_options\");\n }\n if (\n /\\b(?:rebuilding trust|trust|relationship|rachael)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|covered|everything|progress|over time|strategies|interactions|challenges)\\b/.test(normalized) &&\n /\\b(?:relationship|trust|rachael|strengthening)\\b/.test(normalized)\n ) {\n intents.push(\"relationship_trust_summary\");\n }\n if (\n /\\b(?:detailed|comprehensive|full scope|progression|key developments?|challenges?|solutions?|different sessions?)\\b/.test(normalized) &&\n /\\b(?:summary|summarize|captures?|integrating|progression|topic)\\b/.test(normalized)\n ) {\n intents.push(\"technical_project_summary\");\n }\n if (\n /\\b(?:emotional reaction|how did i feel|what did i feel|specific feedback|qualifications?|expertise|did i mention|was there any|any specific)\\b/.test(normalized) &&\n /\\b(?:confus(?:e|ed|ing|ion)|mistake|feedback|podiatrist|article|reaction|qualification|expertise|received)\\b/.test(normalized)\n ) {\n intents.push(\"answerability_absence\");\n }\n return [...new Set(intents)];\n}\n\nfunction buildGuidanceQuery(\n query: string,\n intents: readonly GuidanceIntent[],\n): string {\n const parts = [\n query,\n \"user instruction always prefer preference avoid use format include mention should\",\n \"preference statement user instruction compliance style formatting response guidance\",\n ];\n if (intents.includes(\"dates\")) {\n parts.push(\"date due deadline submission month day year final specific dates each event avoid vague time references general descriptions without dates recent rehearsals coaching sessions\");\n }\n if (intents.includes(\"editing\")) {\n parts.push(\"editing draft revision Scrivener split-screen side-by-side comparison two panels AI tools AI-assisted initial edits tone calibration\");\n }\n if (intents.includes(\"finance\")) {\n parts.push(\"Excel spreadsheet recurring expenses one-time purchases fund distribution reallocate allocation shifts financial goals\");\n }\n if (intents.includes(\"decor_recommendations\")) {\n parts.push(\"decor living space built-in storage built in storage multifunctional furniture multi-functional furniture storage ottomans modular seating practical features aesthetic recommendations balance aesthetic and practical\");\n }\n if (intents.includes(\"project_financial_limits\")) {\n parts.push(\"financial limits budget project itemized list of costs specific dollar amounts category-by-category breakdown detailed cost analysis cost categories budget amounts\");\n }\n if (intents.includes(\"team_event_attendance\")) {\n parts.push(\"team events team practice practice session scrimmage attendance numbers player attendance count players out of total turnout number of players attendance included\");\n }\n if (intents.includes(\"api_errors\")) {\n parts.push(\"REST API error handling HTTP status codes numeric codes 400 401 403 404 429 500 response codes failures\");\n }\n if (intents.includes(\"api_concurrency\")) {\n parts.push(\"multiple API requests API calls tweet metrics Twitter API async Python libraries frameworks asyncio aiohttp httpx async/await concurrency concurrent requests non-blocking calls batching gather rate limits efficient request handling\");\n }\n if (intents.includes(\"ai_hiring_fairness\")) {\n parts.push(\"AI hiring fairness candidate evaluation hiring process pilot program test AI tool effectiveness human oversight final decisions configure anonymization anonymize resumes applications remove personal identifiers names dates of birth addresses bias audits third-party audits regularly monitor diversity metrics feedback structured interviews assess soft skills alongside AI screening job-relevant criteria fairness transparency\");\n }\n if (intents.includes(\"audiobook_narrators\")) {\n parts.push(\"audiobook narrator details narrator names narrated by read by recommendations listen\");\n }\n if (intents.includes(\"contradiction_resolution\")) {\n parts.push(\"contradictory information conflicting statements never said also mentioned which statement is correct resolve contradiction protective masks gloves respirator insulation ergonomic supports kneeling pads\");\n }\n if (intents.includes(\"media_platforms\")) {\n parts.push(\"movie recommendations streaming services platform names availability apps websites Netflix Hulu Disney Prime\");\n }\n if (intents.includes(\"allergy_check\")) {\n parts.push(\"snack recommendations ask about allergies allergy concerns confirm allergy information before recommending snacks\");\n }\n if (intents.includes(\"philosophy_summary\")) {\n parts.push(\"philosophical concepts existentialism detailed summary category-by-category breakdown itemized categories\");\n }\n if (intents.includes(\"reading_variety\")) {\n parts.push(\"reading list standalone novels series balance suggestions variety avoid fatigue\");\n }\n if (intents.includes(\"reading_goals_summary\")) {\n parts.push(\"reading goals strategies summary schedule prioritizing Kingkiller Chronicle Mistborn Trilogy Broken Empire staying on track Stormlight Archive 1200 pages December 1 audiobooks evening listening cozy reading environment daily goals Expanse 1500 pages March 15 75 pages daily Nightingale Kristin Hannah diversify reading experience print audiobook formats book budget fiction books Montserrat Books\");\n }\n if (intents.includes(\"writing_process_structure\")) {\n parts.push(\"writing process structure steady progress stay motivated deadline overall target daily weekly word count goals fixed writing times flexible writing sessions outline scene breakdown organization visualizing success rewarding milestones accountability partner stress management mindfulness relaxation focus confidence\");\n }\n if (intents.includes(\"writing_schedule\")) {\n parts.push(\"writing sessions morning hours 7-9 AM schedule prioritize focused writing\");\n }\n if (intents.includes(\"daily_routine\")) {\n parts.push(\"structured daily routine organize day stay on track responsibilities wake-up sleep times 7 AM 9 PM regularity structure consistent timing\");\n }\n if (intents.includes(\"decision_framework\")) {\n parts.push(\"career change work environment compensation package equity budget adjust accordingly support network startup employees workload expectations\");\n }\n if (intents.includes(\"portfolio_links\")) {\n parts.push(\"portfolio links clickable links directly in cover letter body avoid attachments separate documents inline link\");\n }\n if (intents.includes(\"deployment_automation\")) {\n parts.push(\"deployment workflow automated CI/CD pipelines monitoring tools status dashboards real-time updates avoid manual deployment checks\");\n }\n if (intents.includes(\"lightweight_tools\")) {\n parts.push(\"lightweight libraries minimal dependencies avoid large frameworks heavy dependencies simplicity easy to maintain Bootstrap 5.3.0 lazysizes vanilla JS avoid Foundation\");\n }\n if (intents.includes(\"progress\")) {\n parts.push(\"percentage improvements percentage values showing progress numeric progress indicators percent completion editing progress\");\n }\n if (intents.includes(\"health\")) {\n parts.push(\"sneaker shoe comfort physical well-being injury prevention arch support cushioning grip soles\");\n }\n if (intents.includes(\"nutrition_hydration\")) {\n parts.push(\"nutrition advice healthy diet meal planning hydration tips drinking fluids water intake properly hydrated food-related tips alongside nutrition\");\n }\n if (intents.includes(\"heart_function_activity_management\")) {\n parts.push(\"ejection fraction EF 55 heart pumping efficiency physical activity fatigue shortness of breath climbing stairs gradual increase monitor symptoms cardiology follow-up lifestyle modifications diet sodium saturated fats weight management avoid smoking quit smoking limit alcohol excessive alcohol medication adherence stress management\");\n }\n if (intents.includes(\"sleep_improvement_percent\")) {\n parts.push(\"sleep efficiency improved recently exact percentages percentage increase precise numerical improvement January 70 February 1 78 March 10 85 82 11.43 8.97 17.14 12 percentage points\");\n }\n if (intents.includes(\"sleep_environment_habits_summary\")) {\n parts.push(\"sleep environment habits thermostat settings blackout curtains blackout blinds meditation 2200K lamps night sweats sleep quality stabilized circadian rhythms affordable DIY solutions window films reflective films room darkening shades\");\n }\n if (intents.includes(\"mattress_warranty_details\")) {\n parts.push(\"mattress SleepWell Deluxe purchase decision warranty extension 5-year warranty coverage defects repairs replacements trial period return policy coverage details\");\n }\n if (intents.includes(\"sleep_wind_down_screen_free\")) {\n parts.push(\"unwind before bed wind down physical books avoid screen-based activities screen-free no-screen zone meditation secondary optional relaxation without screen exposure reading journaling breathing\");\n }\n if (intents.includes(\"april_relationship_timing\")) {\n parts.push(\"April partner weekend meaningful conversation joint activities morning early weekend timing supports energy levels avoid late evenings people tired most alert calm mornings\");\n }\n if (intents.includes(\"april_relationship_summary\")) {\n parts.push(\"April relationship summary practical steps implement ideas special outings thoughtful gestures flower deliveries meaningful traditions fresh exciting romance date nights surprises shared hobbies community center volunteering regular check-ins finances legal matters physical touch love language\");\n }\n if (intents.includes(\"work_life_balance_summary\")) {\n parts.push(\"reduce work hours clinical hours 50 to 40 by July 2024 50 to 45 May 2024 work-life balance personal life boundaries avoiding work emails progress monitoring regularly prioritize tasks delegate responsibilities streamline processes communicate supervisor quality personal time\");\n }\n if (intents.includes(\"turkish_pronunciation_quantitative\")) {\n parts.push(\"Turkish pronunciation improving quantitative session data included number of practice sessions 40 pronunciation drills Turkish Pronunciation Trainer 90% accuracy difficult consonant clusters 98 words per minute speaking speed November 15\");\n }\n if (intents.includes(\"turkish_live_learning_formats\")) {\n parts.push(\"Turkish skills learning formats interactive live classes synchronous classes immediate feedback iTalki Preply Verbling Cambly avoid focusing only on pre-recorded materials\");\n }\n if (intents.includes(\"study_space_tools_count\")) {\n parts.push(\"study space tools decorations eight different tools noise-cancelling headphones timer second monitor Turkish cultural artifacts Turkish flag cultural calendar calendar countdown\");\n }\n if (intents.includes(\"home_family_repayment\")) {\n parts.push(\"family financial assistance Crystal mother 50,000 TRY down payment repayment plan 5 years 60 months 900 TRY monthly payments starting June 1 5% interest formal agreement promissory note budget impact\");\n }\n if (intents.includes(\"home_repair_cost_update\")) {\n parts.push(\"minor plumbing leaks repair cost estimate updated second opinion plumber visit April 22 7,500 TRY lower estimate repair costs second professional opinion\");\n }\n if (intents.includes(\"home_condition_final_inspection\")) {\n parts.push(\"house condition before finalize final home inspection May 5 plumbing repairs completed no further issues repair completion verified final inspection report documentation seller contractor written confirmation photos re-inspection\");\n }\n if (intents.includes(\"home_neighborhood_tour\")) {\n parts.push(\"neighborhood tour Samantha scheduled April 13 11 AM start time Mevlana apartment complex reminders April 12 April 13 local amenities parks green spaces\");\n }\n if (intents.includes(\"home_neighborhood_preferences\")) {\n parts.push(\"neighborhood comparison quietness quiet neighborhood parks green spaces Ataturk Park Mevlana Street balance local amenities shopping nightlife avoid overemphasizing nightlife shopping parks work commute safety\");\n }\n if (intents.includes(\"home_stove_recommendations\")) {\n parts.push(\"new kitchen stove recommendations energy-efficient brands models Bosch Siemens Arcelik Arçelik similar quality stoves comparable price range appliances long-term utility savings\");\n }\n if (intents.includes(\"home_apartment_cost_difference\")) {\n parts.push(\"2-bedroom apartment Mevlana Street 580,000 TRY 3-bedroom apartment Inonu Avenue İnönü Avenue 620,000 TRY difference 40,000 TRY more closing costs total additional cost 41,200 TRY\");\n }\n if (intents.includes(\"home_cash_flow_summary\")) {\n parts.push(\"cash flow monthly income 7,083 TRY total monthly expenses 7,500 TRY mortgage 3,500 utilities 450 gym 250 property tax 1,200 Crystal repayment 900 monthly shortfall 416.67 TRY negative cash flow reduce expenses increase income\");\n }\n if (intents.includes(\"home_buying_financial_steps\")) {\n parts.push(\"home buying timeline financial steps saving fixed amount takes several years mortgage estimates loan down payment interest term taxes insurance upfront ongoing commitments down payment closing costs monthly costs\");\n }\n if (intents.includes(\"home_buying_summary\")) {\n parts.push(\"complete home buying summary current rental area Ataturk Park sales data Andrew apartment options Mevlana Street priority Crystal 50,000 TRY repayment plan budgeting reducing discretionary spending increasing income repairs moving logistics title insurance final inspection closing\");\n }\n if (intents.includes(\"home_mortgage_choice_summary\")) {\n parts.push(\"fixed-rate versus variable-rate mortgage lower starting variable rate current rates economic outlook risk tolerance loan term caps rising rates hybrid ARMs refinancing fixed-rate predictability higher initial rate\");\n }\n if (intents.includes(\"home_inspection_timing\")) {\n parts.push(\"home inspection April 15 inspection report delivered April 18 lawyer contract review April 20 two days before lawyer meeting five days after home inspection\");\n }\n if (intents.includes(\"selling_photo_service_steps\")) {\n parts.push(\"FocusLens April 7 10 AM $350 professional photography 30 high-resolution photos prepare home staging decluttering optimizing lighting arranging furniture cleaning fixtures confirm appointment communicate expectations desired shots be present assist review delivered photos select best 30 high-resolution images optimize for web use\");\n }\n if (intents.includes(\"selling_financial_plan_detail\")) {\n parts.push(\"home sale finances next year itemized list of costs category-by-category breakdown detailed cost analysis closing costs commission repairs staging photography moving expenses mortgage balance net profit\");\n }\n if (intents.includes(\"selling_rental_payment_terms\")) {\n parts.push(\"rent out terms lease agreement payment amounts adjustments changes in payment during agreement payment modifications temporary rent reduction payment plan signed addendum\");\n }\n if (intents.includes(\"selling_rental_price\")) {\n parts.push(\"Kadikoy apartment rental price set 4,550 TRY rent adjusted price market feedback final agreed prices 4,500 TRY\");\n }\n if (intents.includes(\"selling_service_total_cost\")) {\n parts.push(\"staging photography total cost $1,550 Elegant Spaces $1,200 FocusLens $350 professional staging photography services\");\n }\n if (intents.includes(\"selling_sequence_repairs_marketing\")) {\n parts.push(\"optimal sequence repairs staging marketing start decluttering and staging immediately complete repairs including roof leak before final inspection schedule photography just after staging finalize marketing materials before listing coordinate Selim pricing strategy by late March prepare for final inspection repairs done by early May buyer inspection closing aligned with moving schedule\");\n }\n if (intents.includes(\"selling_professional_staging_preference\")) {\n parts.push(\"preparing home attractive to buyers professional staging benefits hiring experts avoids only DIY acknowledges upfront cost focuses staging quality\");\n }\n if (intents.includes(\"selling_morning_appointments\")) {\n parts.push(\"schedule appointments next week morning time slots benefits early appointments start early early morning appointments maximize productivity reduce stress\");\n }\n if (intents.includes(\"selling_home_summary\")) {\n parts.push(\"home selling summary Selim Kaya North Ericshire Realty CMA early spring Elegant Spaces $1,200 high-impact areas living room backyard oak tree roof fix April 3 FocusLens Matterport contractors paperwork legal negotiations commission rejected $400k offer countered $415k timeline financial considerations final contract signing\");\n }\n if (intents.includes(\"selling_stress_summary\")) {\n parts.push(\"stress summary daily mindfulness meditation Headspace Calm mindful walking listening home showing calming environments practical strategies financial neighborhood stress yoga progressive muscle journaling exercise consistent practice support networks\");\n }\n if (intents.includes(\"selling_roof_offer_timing\")) {\n parts.push(\"March 28 home inspection roof leak April 3 roof repair completed April 20 first offer 6 days from March 28 till April 3 17 days from April 3 till April 20\");\n }\n if (intents.includes(\"diy_living_together_duration\")) {\n parts.push(\"James Jamie 3-bedroom house Ataturk Street Atatürk Street lived together 5 years\");\n }\n if (intents.includes(\"diy_paint_budget_breakdown\")) {\n parts.push(\"Bauhaus Turkey Cumhuriyet Boulevard paint supplies budget break down item types paint primer brushes rollers trays painter tape drop cloths sandpaper typical prices example calculation medium-sized living room\");\n }\n if (intents.includes(\"diy_pipe_leak_safety\")) {\n parts.push(\"leaking pipe bathroom safety protective gear avoid hazards prevent injury damage turn off water supply water shutoff shutoff warnings plug drain washers O-rings step-by-step plumbing repair workshop\");\n }\n if (intents.includes(\"diy_drill_model_specificity\")) {\n parts.push(\"exact drill recommendation model number Bosch GSR 12V-15 12V Cordless Drill specific product tool version\");\n }\n if (intents.includes(\"diy_paint_supply_spend\")) {\n parts.push(\"paint supplies spent spending total $335 increased to $335 remaining budget\");\n }\n if (intents.includes(\"diy_professional_savings\")) {\n parts.push(\"DIY savings over hiring professionals painting hiring painter $400 DIY painting saved $350 faucet replacement plumbing saved $220 plumber total savings\");\n }\n if (intents.includes(\"diy_resource_sequence\")) {\n parts.push(\"DIY resource sequence prioritize essential hand tools power tools upcoming projects allocate budget bulk purchases with James borrow Don 3-meter ladder move heavy items with Don safety-critical steps first installation finishing touches\");\n }\n if (intents.includes(\"diy_visual_learning_preference\")) {\n parts.push(\"home repairs hands-on learning video tutorials visual interactive resources prefer video tutorials over reading manuals avoid text-heavy manuals as main resource\");\n }\n if (intents.includes(\"diy_kitchen_surface_preference\")) {\n parts.push(\"kitchen surfaces durability ease of cleaning lasting quality materials avoid trendy purely aesthetic focus countertops\");\n }\n if (intents.includes(\"diy_insulation_summary\")) {\n parts.push(\"attic insulation summary budget $600 Owens Corning fiberglass rolls $450 June 15 June 22 respirator masks gloves safety glasses long-sleeved clothing ventilation measure fit insulation seal gaps weatherstripping caulk track expenses common mistakes\");\n }\n if (intents.includes(\"diy_shelf_summary\")) {\n parts.push(\"bathroom shelf summary $100 budget August 15 moisture-resistant materials brackets hooks anchors screws level tape measure drill pilot holes secure brackets safety gear Don help final stability\");\n }\n if (intents.includes(\"diy_painting_timing\")) {\n parts.push(\"painting living room start April 1 finished two coats dove gray April 13 12 days April 1 till April 13\");\n }\n if (intents.includes(\"diy_faucet_timing\")) {\n parts.push(\"plumbing basics workshop April 10 learned replacing faucet washers practice replacing faucet washers April 29 19 days April 10 till April 29\");\n }\n if (intents.includes(\"cooking_weekly_cuisine_plan\")) {\n parts.push(\"cooking plan week-by-week breakdown maintain cultural focus one cuisine every 6 weeks avoid multiple cuisines same short timeframe 6-week blocks weekly goals research resources ingredients techniques practice document progress\");\n }\n if (intents.includes(\"cooking_dolma_leaf_preparation\")) {\n parts.push(\"stuffed grape leaves dolma rinse leaves remove stems fresh herbs conservative salt avoid saltiness roll leaves tightly moderate amount filling arrange seam-side down pot add water olive oil simmer gently 45-60 minutes tender rest before serving flavors meld\");\n }\n if (intents.includes(\"cooking_culinary_journey_summary\")) {\n parts.push(\"culinary journey cooking skills Turkish Greek Lebanese cuisines structured month-by-month plan research ingredient preparation cooking practice feedback gathering documentation knife techniques julienne chiffonade regular practice recipes deadlines manageable steps journals photos community engagement dough kneading elasticity baked goods sauce emulsification Italian Indian menu planning social events spice blend mastery\");\n }\n if (intents.includes(\"outdoor_cardio_preference\")) {\n parts.push(\"cardio activities trail running over treadmill fresh air varied terrain outdoor cardio natural settings avoid treadmill indoor-only exercises\");\n }\n if (intents.includes(\"social_norms\")) {\n parts.push(\"social norms cultural context cultural differences multiple regions traditions expectations\");\n }\n if (intents.includes(\"software_versions\")) {\n parts.push(\"software version details version numbers release identifiers digital asset management tools technology stack current setup software names with version numbers versions listed alongside technologies explicit version details\");\n }\n if (intents.includes(\"uk_resume\")) {\n parts.push(\"UK resume CV ATS formatting UK-specific generic global template\");\n }\n if (intents.includes(\"decision_framework\")) {\n parts.push(\"logical reasoning frameworks avoid emotional impulses practical nature decision approach\");\n }\n if (intents.includes(\"realtime_chat_summary\")) {\n parts.push(\"real-time chat Socket.io WebSocket Node.js Express message broadcasting user management connection handling error handling observability logging helper functions CORS client server version matching load balancer message queue MongoDB Mongoose indexing pagination Redis caching sessions presence TTL ACL retry logic exponential backoff circuit breaker fallback room-based messaging history retrieval joining private messaging unique room ID typing indicators latency ping-pong Map Set data structures recent messages schema validation editing updateMessage unchanged message text migration script batch execution robust error handling asynchronous control\");\n }\n if (intents.includes(\"technical_project_summary\")) {\n parts.push(\"resume analyzer Python spaCy Flask PyMuPDF PDF parsing work experience skills education keyword searches sentence segmentation NER job titles companies educational institutions modularize code error handling Flask API NoneType logging traceability February 15 2024 project timeline cProfile bottlenecks in-memory cache Redis-backed caching regex patterns precompile stopword removal lemmatization lazy-loading spaCy smaller models custom NER training dataset size weighted scoring skill matching latency skill prioritization experience levels visualization weighted skill scores authentication authorization concurrent request simulation\");\n parts.push(\"object detection tracking pipeline YOLOv5 OpenCV SORT Kalman filter Hungarian algorithm data association TensorRT OpenCV DNN DeepSORT SSD MobileNet modular refactoring detection pipeline multi-object tracking error handling logging visualization utilities iterative development integration process system integration future-proofing scalability\");\n parts.push(\"recommendation system recommender user-based collaborative filtering cosine similarity user ratings matrix missing ratings normalizing data sparse matrices Redis caching similarity matrices Flask /recommendations endpoint helper functions get_user_ratings get_top_rated_items content-based filtering TF-IDF vectors restaurant_features feature_vector JSONB hybrid recommendation tunable weights weighted average collaborative content scores user preferences precision recall precision@5 recall@5 F1-score AUC-ROC scalability efficiency performance optimization\");\n parts.push(\"language translation detection services Google Translate API v3 DeepL API v2 accuracy cost language support ease of integration React 18.2 Node.js 18 troubleshooting authentication failures rate limiting invalid inputs API quota exceeded franc v6.1.0 undefined returns input validation preprocessing Redis caching TTL asynchronous processing parallel request handling translation microservice chatbot backend RESTful APIs fallback original text Redis hashes cache-manager database indexing asynchronous external API calls contextual memory storage GPT-4 chatbot core logic Transformer-Based LLM API streaming integration streaming performance tuning chunk size 512 tokens TLS security role-based access control\");\n parts.push(\"image captioning system diffusion-based feature extractor transformer-based caption generator modular pipeline independent testing decoupled microservices REST APIs FastAPI Docker Compose networks inter-service communication feature_extractor caption_generator Redis caching embeddings LRU caches asynchronous processing efficient resource management GPU acceleration API response time profiling CUDA out-of-memory batch sizes mixed precision training gradient accumulation optimizer initialization materialized views PostgreSQL indexing refresh strategies efficient data retrieval\");\n }\n if (intents.includes(\"conic_sections_summary\")) {\n parts.push(\"conic sections mathematical foundations applications parabolas ellipses hyperbolas vertex form y=a(x-h)^2+k vertex coordinates parameter p focal length directrix completing the square general quadratic equations identify vertex focus vertex focus coordinates reflective property incoming parallel rays reflect through focus parabolic mirrors satellite dishes slope normal vector calculations ellipse geometric definition constant sum distances two foci standard ellipse equation isolate radicals canonical form relationships a b c c^2=a^2-b^2 vertices foci tangent lines implicit differentiation general tangent line formula hyperbola geometric definition constant difference distances foci x^2/a^2-y^2/b^2=1 c^2=a^2+b^2 algebraic forms geometric definitions physical properties physics engineering contexts integrated narrative progression foundational equations practical applications coherent framework\");\n }\n if (intents.includes(\"calculus_derivative_progression\")) {\n parts.push(\"implicit differentiation derivative complexity circle equation simple ratio -x/y quadratic equation product term fraction linear terms -(2x+y)/(2y+x) cubic equation product term fraction quadratic terms -(3x^2+y)/(3y^2+x) increasing algebraic complexity simplest most complex\");\n }\n if (intents.includes(\"calculus_derivative_walkthrough\")) {\n parts.push(\"derivative walkthrough product rule chain rule step-by-step calculations example calculations explain each rule applies in context avoid vague purely theoretical descriptions differentiate composite functions\");\n }\n if (intents.includes(\"euler_step_accuracy\")) {\n parts.push(\"Euler method step size accuracy quantitative accuracy differences h=1 12% error h=0.1 1.2% error average error reducing from 8% to 3% smaller step size more accurate more computation differential equations\");\n }\n if (intents.includes(\"population_parameter_estimation\")) {\n parts.push(\"population trends exponential growth logistic growth combine models parameter estimation improvements sample data points expanded datasets parameter optimization estimate K carrying capacity estimate r growth rate predict population trends\");\n }\n if (intents.includes(\"variance_concrete_examples\")) {\n parts.push(\"variance random variable concrete numerical examples dice rolls dice roll outcomes specific numerical probabilities values avoid purely symbolic abstract explanations without concrete numbers step-by-step variance calculation\");\n }\n if (intents.includes(\"spherical_geodesic_vector_methods\")) {\n parts.push(\"shortest path between two points on a sphere spherical geodesic great circle vector algebra concepts geometric vectors vector-based calculation steps minimize avoid purely trigonometric formula reliance dot product unit vectors\");\n }\n if (intents.includes(\"skill_course_completion\")) {\n parts.push(\"skill acquisition skills gained recently course completion details finished programs completed training digital networking course advanced research writing course final score completed programs\");\n }\n if (intents.includes(\"morning_coffee_meeting\")) {\n parts.push(\"coffee meeting morning-specific preparation tips strategies aligned with early-day meetings early-day 9:00 AM Dr Kaya timing advice morning meeting scenario\");\n }\n if (intents.includes(\"telepsychology_expansion_summary\")) {\n parts.push(\"telepsychology services expansion market demand competitor landscape legal privacy requirements secure telehealth platforms training staff client comfort transparent communication technical support flexible service models professional networks outreach referral engagement social media professional development investments Trauma Therapy Journal webinar software licenses budget constraints research collaborations client intake career goals work-life balance co-authorships speaking engagements editorial board credibility networking financial impact deadlines workshop preparations post-collaboration relationships\");\n }\n if (intents.includes(\"professional_event_project_summary\")) {\n parts.push(\"professional events projects initial planning execution follow-up pre-event preparation agendas speakers attendees clear objectives technical readiness testing equipment virtual platforms venue logistics active engagement sessions discussions networking social media scheduled breaks personalized thank-you messages professional networks ongoing communication foster collaborations time blocking Pomodoro budget strategic partnerships co-hosting roles goals marketing reflection evaluation\");\n }\n if (intents.includes(\"job_commute_preference\")) {\n parts.push(\"job listings best fit roles within 30 km of North Ericshire commute time reduce commuting time under 45 minutes work-life balance proximity travel duration\");\n }\n if (intents.includes(\"sarah_resume_revision_planning\")) {\n parts.push(\"Sarah Istanbul conference suggested updating resume by March 15 resume update professional documents planned meetings prepared materials structured update process timeline mock interview Sarah March 20 Zoom\");\n }\n if (intents.includes(\"rental_income_preference\")) {\n parts.push(\"rental income stability steady rental income long-term wealth accumulations long-term wealth accumulation avoid short-term sales profits quick resale profits minimize vacancy tenant turnover predictable monthly returns\");\n }\n if (intents.includes(\"rental_property_journey_summary\")) {\n parts.push(\"rental property journey initial capital 50000 local market conditions down payment requirements closing fees fixer-upper properties structural issues outdated features location versus elsewhere management market diversity growth potential single-family homes multi-family units rental yield management complexity Halkbank Ziraat Bank mortgages interest rates fees service quality step-by-step purchasing plan inspections financing tenant management\");\n }\n if (intents.includes(\"cryptocurrency_investment_summary\")) {\n parts.push(\"cryptocurrency investments Bitcoin Ethereum Binance CoinGecko TradingView hardware wallet phishing DeFi staking Cardano ADA NFT community engagement Discord Reddit conferences webinars regulatory risk tax compliance step-by-step document organization capital gains calculation financial analyst accurate timely filings advanced learning paths DeFi protocols yield farming security practices ongoing education strategic portfolio adjustments\");\n }\n if (intents.includes(\"math_induction_summary\")) {\n parts.push(\"mathematical induction learning journey progress summary sum of first n integers base case inductive step inductive hypothesis divisibility proofs inequalities inequality induction step-by-step verification practice problems challenges real-world applications paramedic work abstract concepts practical scenarios tracking progress study habits quiz scores\");\n }\n if (intents.includes(\"number_theory_congruence_examples\")) {\n parts.push(\"number theory congruences modular arithmetic properties numerical instances demonstrating theorems examples with actual numbers step-by-step calculations using numbers Fermat's Little Theorem Euler's theorem linear congruence remainder mod\");\n }\n if (intents.includes(\"math_step_calculations\")) {\n parts.push(\"distance formula coordinate geometry step-by-step breakdown intermediate arithmetic calculations substitute coordinates calculate differences square differences add squared differences simplify square root explain each part of the process\");\n }\n if (intents.includes(\"mixed_problem_practice\")) {\n parts.push(\"mixed problem sets varied problem sets covering multiple topics combine different problem types practice comprehensive exam study sessions line equations circles ellipses intersections proofs avoid focusing only one type problem at a time randomization variety\");\n }\n if (intents.includes(\"event_budget_details\")) {\n parts.push(\"event party gathering reunion picnic holiday hosting budget costs clear budget numbers exact monetary figures specific cost amounts approved increase 500 2500 financial decision freelance offer\");\n }\n if (intents.includes(\"travel_cost_details\")) {\n parts.push(\"travel arrangements cost details itemized costs specific dollar amounts category-by-category breakdown transportation accommodation meals activities budget travel options\");\n }\n if (intents.includes(\"investment_withdrawal_tax\")) {\n parts.push(\"investment withdrawal take money out investment account brokerage portfolio tax implications possible taxes owed penalties withdrawal penalties capital gains taxable distribution\");\n }\n if (intents.includes(\"scott_support_summary\")) {\n parts.push(\"Scott support academic challenges tutoring sessions Ms Harper goal-setting consistent monitoring distraction-free study environment organized workspace free from distractions growth mindset summer STEM camp extracurricular engagement routine establishment time management social encouragement physical mental well-being role-playing social scenarios self-expression independence clear expectations consistent feedback gradual responsibility digital safety parental controls online risks privacy management open communication screen time daily routines physical creative pursuits modeling healthy habits emotional well-being consistent schedules coping mechanisms\");\n }\n if (intents.includes(\"portfolio_management_summary\")) {\n parts.push(\"portfolio management investment strategy evolved over time trusted partner financial decision-making Jeremy Kendra financial advisor rebalancing strategies periodic quarterly reviews threshold-based rebalancing 5% threshold Vanguard platform monitoring alerts semi-annual reviews bond laddering interest rate risk income stability US Treasuries municipal corporate bonds staggered maturities diversification international stock exposure sustainable investments green bonds sector-specific allocations tech stocks biotech ETFs growth risk management market conditions tax implications transaction costs volatility limits regular consultations professional support investment anxiety clear goal setting education multi-faceted portfolio management\");\n }\n if (intents.includes(\"parent_nutrition_summary\")) {\n parts.push(\"parents nutrition well-being comprehensive summary mom Samantha 89-year-old suitable meal plans nutrient-rich easy-to-prepare meals hydration medication interactions detailed recipes balanced meals snacks dad Ryan 105-year-old care center caregivers structured scheduling nutritional care family-shared bone broth health benefits frequency consumption plant-based protein powder smoothies nutritional goals holistic family-supported caregiving responsibilities\");\n }\n if (intents.includes(\"evening_tea_options\")) {\n parts.push(\"evening tea herbal teas chamomile peppermint relaxation sleep promote sleep avoid caffeine caffeinated teas bedtime drink calming herbal tea options\");\n }\n if (intents.includes(\"relationship_trust_summary\")) {\n parts.push(\"Rachael rebuilding trust relationship initial recognition trust issues emotional impact acknowledging mistakes taking responsibility communicating openly honestly initial apology weekly check-ins dialogue examples transparency empathy accountability course relationship dynamics active listening patience consistent follow-through commitments trusted friends perspective support professional relationships alongside personal goals shared experiences emotional connection coastal walks milestones setbacks forgotten anniversaries adapting plans feedback coherent narrative complexity multi-threaded nurturing long-term relationship\");\n }\n if (intents.includes(\"answerability_absence\")) {\n parts.push(\"explicit evidence answerability absence no information related stated mentioned received emotional reaction feedback qualifications expertise do not infer\");\n }\n return parts.join(\" \");\n}\n\nfunction isGuidanceEvidence(\n content: string,\n query: string,\n intents: readonly GuidanceIntent[],\n forceGeneric = false,\n): boolean {\n const normalized = content.toLowerCase();\n if (hasInstructionOrPreferenceCue(normalized)) {\n return forceGeneric ||\n hasGuidanceIntentCue(normalized, intents) ||\n countGuidanceTermOverlap(normalized, query) >= 1;\n }\n\n return intents.some((intent) => {\n switch (intent) {\n case \"dates\":\n return /\\b(?:due|deadline|submission|submit|final)\\b/.test(normalized) &&\n /\\b(?:january|february|march|april|may|june|july|august|september|october|november|december)\\s+\\d{1,2}(?:,\\s*\\d{4})?\\b/i.test(content) ||\n /\\b(?:rehearsals?|coaching sessions?|practice sessions?|event outcomes?|performance outcomes?)\\b/.test(normalized) &&\n /\\b(?:january|february|march|april|may|june|july|august|september|october|november|december)\\s+\\d{1,2}(?:,\\s*\\d{4})?\\b/i.test(content);\n case \"editing\":\n return /\\b(?:scrivener|split-screen|side-by-side|two panels?|comparison|ai tools?|ai-assisted|initial edits?|tone calibration|grammarly|hemingway|peer review)\\b/.test(normalized) &&\n /\\b(?:edit|edits|editing|draft|revision|revise)\\b/.test(normalized);\n case \"finance\":\n return /\\b(?:excel|spreadsheet|recurring|one-time|fund distribution|reallocate|allocation|shift funds?|shifts?)\\b/.test(normalized) &&\n /\\b(?:budget|expenses?|financial|fund|goals?|saving|spending)\\b/.test(normalized);\n case \"decor_recommendations\":\n return /\\b(?:decor|living space|home|apartment|furniture|storage|ottomans?|modular|multifunctional|multi-functional|built-in|built in|aesthetic|practical)\\b/.test(normalized) &&\n /\\b(?:suggest|recommend|items?|options?|features?|storage|furniture|decor|aesthetic|practical)\\b/.test(normalized);\n case \"project_financial_limits\":\n return /\\b(?:budget|costs?|financial limits?|dollar amounts?|\\$\\s*\\d|category-by-category|breakdown|cost analysis|itemized|project)\\b/.test(normalized) &&\n /\\b(?:budget|costs?|financial|limits?|amounts?|breakdown|analysis|project)\\b/.test(normalized);\n case \"team_event_attendance\":\n return /\\b(?:attendance numbers?|player attendance|attendance count|players out of|player turnout|number of players|team events?|practice session|team practice|scrimmage)\\b/.test(normalized);\n case \"api_errors\":\n return /\\b(?:rest api|api|endpoint|http|status codes?|response codes?|400|401|403|404|429|500)\\b/.test(normalized) &&\n /\\b(?:errors?|failures?|error handling|handle|prepared)\\b/.test(normalized);\n case \"api_concurrency\":\n return /\\b(?:api requests?|api calls?|twitter api|tweet metrics|async(?:io|hronous)?|async\\/await|aiohttp|httpx|concurrent(?:ly| requests?)?|concurrency|non-blocking|batch(?:ing)?|gather)\\b/.test(normalized) &&\n /\\b(?:libraries?|frameworks?|async|concurrency|concurrent|non-blocking|multiple|efficient|blocking|rate limits?|calls?|requests?)\\b/.test(normalized);\n case \"ai_hiring_fairness\":\n return /\\b(?:pilot program|ai tool|ai hiring|hiring process|human oversight|final decisions?|anonymization|anonymize|personal identifiers?|bias audits?|third-party audits?|diversity metrics?|candidate satisfaction|structured interviews?|soft skills|ai screening|job-relevant criteria|fairness|transparency)\\b/.test(normalized) &&\n /\\b(?:hiring|candidate(?:s)?|resume(?:s)?|applications?|ai|screening|bias|fairness|interviews?)\\b/.test(normalized);\n case \"audiobook_narrators\":\n return /\\b(?:audiobooks?|audio books?)\\b/.test(normalized) &&\n /\\b(?:narrator|narrated by|read by|who read|voice)\\b/.test(normalized);\n case \"contradiction_resolution\":\n return (\n /\\b(?:never|ever|usually|said|mentioned|also|contradictory|conflicting|statement|correct|do not|don't|didn't|not|spent|read(?:ing)?|articles?|protective masks?|respirator masks?|masks?|gloves?|insulation|ergonomic supports?|kneeling pads?|cushioned kneeling pad)\\b/.test(normalized) &&\n countGuidanceTermOverlap(normalized, query) >= 1\n ) ||\n /\\bclinical psychology\\b/.test(query.toLowerCase()) &&\n /\\b(?:workshops?|conferences?)\\b/.test(query.toLowerCase()) &&\n /\\bpsychology conference\\b/.test(normalized) &&\n /\\b(?:met|friend|close friend|omar)\\b/.test(normalized) ||\n /\\b(?:completed|solved|scored|score)\\b/.test(normalized) &&\n /\\b(?:jacobian|change of variables|separable equations?|problems?)\\b/.test(normalized) &&\n countGuidanceTermOverlap(normalized, query) >= 1;\n case \"media_platforms\":\n return /\\b(?:movies?|watchlist|streaming services?|platform names?|availability|netflix|hulu|disney|prime)\\b/.test(normalized);\n case \"allergy_check\":\n return /\\b(?:snacks?|allerg(?:y|ies)|allergy concerns?|confirm allergy)\\b/.test(normalized);\n case \"philosophy_summary\":\n return /\\b(?:existentialism|philosophical concepts?|philosophy|category-by-category|detailed summar(?:y|ies)|breakdown)\\b/.test(normalized);\n case \"reading_variety\":\n return /\\b(?:standalone novels?|series|reading list|variety|avoid fatigue|balance suggestions?)\\b/.test(normalized) &&\n /\\b(?:books?|novels?|series|reading)\\b/.test(normalized);\n case \"reading_goals_summary\":\n return /\\b(?:kingkiller chronicle|mistborn trilogy|broken empire|stormlight archive|staying on track|audiobooks?|evening listening|daily goals?|cozy reading environment|expanse|1,?500 pages|march\\s+15|75 pages|nightingale|kristin hannah|print and audiobook|book budget|fiction books|montserrat books)\\b/.test(normalized);\n case \"writing_process_structure\":\n return /\\b(?:daily and weekly targets?|daily and weekly word count goals?|word count goals?|fixed writing times?|fixed writing schedule|flexible writing sessions?|flexible writing times?|outline|scene breakdown|visualiz(?:e|ing) success|reward(?:ing)? milestones?|accountability partner|stress management|mindfulness|relaxation|maintain focus|stay focused|stay motivated)\\b/.test(normalized);\n case \"writing_schedule\":\n return /\\b(?:writing sessions?|7-9\\s*am|morning hours?|focused writing|most focused)\\b/.test(normalized);\n case \"daily_routine\":\n return /\\b(?:structured daily routine|daily routine|wake-up|sleep times?|7\\s*am|9\\s*pm|consistent timing|regularity|stay organized|stay on track)\\b/.test(normalized);\n case \"portfolio_links\":\n return /\\b(?:portfolio links?|clickable links?|letter body|attachments?|separate documents?|inline link)\\b/.test(normalized);\n case \"deployment_automation\":\n return /\\b(?:automated|ci\\/cd|pipeline|deployment workflow|status dashboards?|monitoring tools?|manual deployment checks?)\\b/.test(normalized);\n case \"lightweight_tools\":\n return /\\b(?:lightweight|minimal dependencies|simple|easy to maintain|large frameworks|heavy dependencies|avoid|bootstrap|foundation|lazysizes|vanilla js)\\b/.test(normalized) &&\n /\\b(?:libraries?|tools?|dependencies|frameworks?|flask|app|features?|bootstrap|portfolio|gallery)\\b/.test(normalized);\n case \"progress\":\n return /\\b(?:progress|completion|improvements?|editing|edits?)\\b/.test(normalized) &&\n hasPercentCue(normalized);\n case \"health\":\n return /\\b(?:sneakers?|shoes?|footwear)\\b/.test(normalized) &&\n /\\b(?:comfort|cushioning|arch support|grip soles?|injury|physical|well-being|support)\\b/.test(normalized);\n case \"nutrition_hydration\":\n return /\\b(?:hydration|hydrated|water intake|drinking fluids|drink water|fluids?)\\b/.test(normalized) &&\n /\\b(?:nutrition|diet|meal|food|healthy|workouts?|fitness)\\b/.test(normalized);\n case \"heart_function_activity_management\":\n return /\\b(?:ejection fraction|\\bef\\b|heart(?:'s)? pumping|pumping efficiency|heart function|cardiac efficiency)\\b/.test(normalized) &&\n /\\b(?:physical activit(?:y|ies)|strenuous|fatigue|shortness of breath|climbing stairs|gradual increase|symptom monitoring|regular follow-?ups?|cardiologist|lifestyle modifications?|avoid smoking|quit smoking|limit alcohol|excessive alcohol|medication adherence|stress management)\\b/.test(normalized);\n case \"sleep_improvement_percent\":\n return /\\bsleep efficiency\\b/.test(normalized) &&\n (hasPercentCue(normalized) ||\n /\\b(?:exact percentages?|percentage increase|precise numerical|improved from|increased by)\\b/.test(normalized));\n case \"sleep_environment_habits_summary\":\n return /\\b(?:blackout curtains?|blackout blinds?|window films?|reflective films?|room[- ]darkening shades?|thermostat|2200k|night sweats?|circadian|meditation|sleep environment|sleep quality)\\b/.test(normalized) &&\n /\\b(?:sleep|bedroom|dark|darkening|temperature|night sweats?|circadian|meditation)\\b/.test(normalized);\n case \"mattress_warranty_details\":\n return /\\b(?:mattress|sleepwell deluxe)\\b/.test(normalized) &&\n /\\b(?:warranty|coverage|defects?|repairs?|replacements?|trial period|return policy|protect(?:ion)?|durability)\\b/.test(normalized);\n case \"sleep_wind_down_screen_free\":\n return /\\b(?:before bed|bedtime|wind down|unwind|screen time|screens?|screen-based|physical books?|screen-free|no-screen|blue light)\\b/.test(normalized) &&\n /\\b(?:avoid|reading|physical books?|meditat(?:e|ing|ion)|relax|unwind|routine|screen)\\b/.test(normalized);\n case \"april_relationship_timing\":\n return /\\b(?:april|partner)\\b/.test(normalized) &&\n /\\b(?:morning|early|weekend|conversation|activities|activity|most alert|energy levels?|late evenings?|tired|calm mornings?)\\b/.test(normalized);\n case \"april_relationship_summary\":\n return /\\bapril\\b/.test(normalized) &&\n /\\b(?:relationship|date nights?|surprises?|shared hobbies?|special outings?|flower|deliveries|gestures?|traditions?|community center|volunteering|check-ins?|physical touch|love language|emotional intimacy)\\b/.test(normalized);\n case \"work_life_balance_summary\":\n return /\\b(?:work-life balance|personal life|work hours|clinical hours|reduce|reduction|50 to 40|50 to 45|boundaries|work emails|delegate|streamline|supervisor|monitoring progress)\\b/.test(normalized);\n case \"turkish_pronunciation_quantitative\":\n return /\\b(?:pronunciation|speaking speed|words per minute|wpm|pronunciation trainer|consonant clusters?|practice sessions?|drills?)\\b/.test(normalized) &&\n /\\b(?:40 sessions?|90%|98 words per minute|quantitative|session data|november\\s+15|progress|accuracy)\\b/.test(normalized);\n case \"turkish_live_learning_formats\":\n return /\\b(?:turkish|language learning|learning formats?|classes?|lessons?)\\b/.test(normalized) &&\n /\\b(?:interactive live|live classes?|synchronous|immediate feedback|italki|preply|verbling|cambly|pre-recorded|recorded materials?)\\b/.test(normalized);\n case \"study_space_tools_count\":\n return /\\b(?:study space|study room|noise-cancelling headphones?|timer|second monitor|turkish cultural artifacts?|turkish flag|cultural calendar|calendar countdown|decorations?|study tools?)\\b/.test(normalized);\n case \"home_family_repayment\":\n return /\\b(?:crystal|mom|mother|family|down payment|repayment|repay|loan|promissory note|financial assistance|50,000\\s*try|900\\s*try|june\\s+1|5 years?|60 months?)\\b/.test(normalized);\n case \"home_repair_cost_update\":\n return /\\b(?:plumbing leaks?|minor plumbing|repair costs?|cost estimate|7,500\\s*try|april\\s+22|second opinion|professional opinion|plumber)\\b/.test(normalized);\n case \"home_condition_final_inspection\":\n return /\\b(?:final home inspection|final inspection|may\\s+5|repairs? completed|no further issues|repair completion|written confirmation|photos?|re-?inspection|seller'?s contractor)\\b/.test(normalized);\n case \"home_neighborhood_tour\":\n return /\\b(?:neighborhood tour|samantha|april\\s+13|11\\s*am|mevlana apartment complex|local amenities|parks?|green spaces?)\\b/.test(normalized);\n case \"home_neighborhood_preferences\":\n return /\\b(?:quiet(?:er|ness)?|parks?|green spaces?|atat(?:ü|u)rk park|mevlana|local amenities|neighborhood|shopping|nightlife|commute|safety)\\b/.test(normalized);\n case \"home_stove_recommendations\":\n return /\\b(?:stove|kitchen appliance|energy-efficient|energy efficient|bosch|siemens|arcelik|arçelik|comparable price|price range|utility savings)\\b/.test(normalized);\n case \"home_apartment_cost_difference\":\n return /\\b(?:2-bedroom|two-bedroom|3-bedroom|three-bedroom|mevlana|inonu|inönü|580,000\\s*try|620,000\\s*try|40,000\\s*try|41,200\\s*try|cost difference)\\b/.test(normalized);\n case \"home_cash_flow_summary\":\n return /\\b(?:cash flow|monthly income|monthly expenses|7,083|7,500|416\\.?67|417\\s*try|shortfall|negative cash flow|reduce expenses|increase income|crystal repayment)\\b/.test(normalized);\n case \"home_buying_financial_steps\":\n return /\\b(?:financial steps|saving|savings plan|mortgage estimates?|down payment|interest|term|taxes|insurance|upfront|ongoing commitments|closing costs|monthly costs)\\b/.test(normalized);\n case \"home_buying_summary\":\n return /\\b(?:home buying|mevlana|atat(?:ü|u)rk park|andrew|crystal|repayment plan|budgeting|repairs?|moving logistics|title insurance|closing)\\b/.test(normalized);\n case \"home_mortgage_choice_summary\":\n return /\\b(?:fixed-rate|fixed rate|variable-rate|variable rate|lower starting rate|risk tolerance|loan term|caps|rising rates|hybrid arms?|refinancing|predictability)\\b/.test(normalized);\n case \"home_inspection_timing\":\n return /\\b(?:home inspection|inspection report|april\\s+15|april\\s+18|april\\s+20|lawyer|contract review|two days|five days)\\b/.test(normalized);\n case \"selling_photo_service_steps\":\n return /\\b(?:focuslens|professional photography|photos?|photo shoot|high-resolution|high resolution|optimiz(?:e|ing) lighting|arranging furniture|delivered photos|web use)\\b/.test(normalized) &&\n /\\b(?:prepare|confirm|communicate|expectations?|desired shots?|review|select|optimiz(?:e|ing)|session|shoot|staging|decluttering)\\b/.test(normalized);\n case \"selling_financial_plan_detail\":\n return /\\b(?:itemized|category-by-category|cost analysis|detailed breakdown|closing costs?|commission|repairs?|staging|photography|moving expenses?|net profit|net proceeds)\\b/.test(normalized) &&\n /\\b(?:finances?|financial|costs?|planning|sale|home)\\b/.test(normalized);\n case \"selling_rental_payment_terms\":\n return /\\b(?:lease|rental agreement|rent reduction|temporary reduction|payment plan|payment amounts?|payment modifications?|signed addendum|full rent resuming|4,275\\s*try|4,500\\s*try)\\b/.test(normalized);\n case \"selling_rental_price\":\n return /\\b(?:kadikoy|kadıköy|rental price|rent price|asking price|market feedback|4,550\\s*try|4550|4,500\\s*try|4500)\\b/.test(normalized) &&\n /\\b(?:rent|rental|price|apartment|market feedback|adjusted)\\b/.test(normalized);\n case \"selling_service_total_cost\":\n return /\\b(?:professional staging|elegant spaces|focuslens|professional photography|staging|photography)\\b/.test(normalized) &&\n /\\b(?:\\$1,550|1550|\\$1,200|1200|\\$350|350|cost|total)\\b/.test(normalized);\n case \"selling_sequence_repairs_marketing\":\n return /\\b(?:decluttering|staging|repairs?|roof leak|final inspection|photography|marketing materials?|listing|selim|pricing strategy|buyer'?s inspection|closing|moving schedule)\\b/.test(normalized) &&\n /\\b(?:sequence|timeline|before|after|schedule|finalize|coordinate|prepare|complete|list by april)\\b/.test(normalized);\n case \"selling_professional_staging_preference\":\n return /\\b(?:professional staging|staging experts?|experts|diy|upfront cost|staging quality|attractive to buyers|appeal to buyers|higher sale price|faster sale)\\b/.test(normalized);\n case \"selling_morning_appointments\":\n return /\\b(?:morning appointments?|early morning|early appointments?|time slots?|start early|schedule appointments?|maximize productivity|reduce stress)\\b/.test(normalized);\n case \"selling_home_summary\":\n return /\\b(?:selim|cma|comparative market analysis|elegant spaces|roof leak|focuslens|matterport|countered|415,000|final contract|home selling|sale process|commission|contract signing)\\b/.test(normalized);\n case \"selling_stress_summary\":\n return /\\b(?:mindfulness|meditation|headspace|calm|mindful walking|breathing exercises?|yoga|progressive muscle|journaling|exercise|support networks?|stress)\\b/.test(normalized) &&\n /\\b(?:home selling|moving|sale|stress|calming|financial|neighborhood|consistent practice)\\b/.test(normalized);\n case \"selling_roof_offer_timing\":\n return /\\b(?:march\\s+28|april\\s+3|april\\s+20|roof repair|roof leak|first offer|6 days|six days|17 days|seventeen days)\\b/.test(normalized);\n case \"diy_living_together_duration\":\n return /\\b(?:james|jamie|3-bedroom|three-bedroom|atat(?:ü|u)rk street|5 years?|five years?|lived together|living together)\\b/.test(normalized);\n case \"diy_paint_budget_breakdown\":\n return /\\b(?:bauhaus|cumhuriyet|paint|primer|brushes?|rollers?|paint trays?|painter'?s tape|drop cloths?|sandpaper|example calculation|medium-sized living room)\\b/.test(normalized);\n case \"diy_pipe_leak_safety\":\n return /\\b(?:leaking pipe|leaky pipe|water supply|shut off water|water shutoff|protective gear|gloves?|goggles?|masks?|avoid hazards?|prevent injury|damage|washers?|o-rings?|plumbing workshop)\\b/.test(normalized);\n case \"diy_drill_model_specificity\":\n return /\\b(?:bosch\\s+gsr\\s+12v-15|12v cordless drill|exact model|model number|specific product|tool version|cordless drill)\\b/.test(normalized);\n case \"diy_paint_supply_spend\":\n return /\\b(?:\\$335|335\\b|paint and supplies|paint supplies|total spent|spending increased|remaining budget)\\b/.test(normalized);\n case \"diy_professional_savings\":\n return /\\b(?:saved?|savings?|hiring painter|hiring professionals?|plumber|faucet replacement|\\$350|350\\b|\\$220|220\\b|diy cost)\\b/.test(normalized);\n case \"diy_resource_sequence\":\n return /\\b(?:essential tools?|hand tools?|power tools?|bulk purchases?|don'?s 3-meter ladder|3-meter ladder|heavy items?|safety-critical|upcoming projects?|allocate budget)\\b/.test(normalized);\n case \"diy_visual_learning_preference\":\n return /\\b(?:video tutorials?|hands-on learning|visual resources?|interactive|manuals?|home repairs?|prefer)\\b/.test(normalized);\n case \"diy_kitchen_surface_preference\":\n return /\\b(?:kitchen surfaces?|countertops?|durability|easy to clean|ease of cleaning|lasting quality|trendy|aesthetic)\\b/.test(normalized);\n case \"diy_insulation_summary\":\n return /\\b(?:attic insulation|owens corning|fiberglass|june\\s+15|june\\s+22|\\$600|600\\b|\\$450|450\\b|respirator|gloves?|safety glasses?|weatherstripping|caulk|ventilation)\\b/.test(normalized);\n case \"diy_shelf_summary\":\n return /\\b(?:bathroom shelf|shelf installation|august\\s+15|\\$100|100\\b|mounting brackets?|wall anchors?|pilot holes?|moisture-resistant|level|drill|don)\\b/.test(normalized);\n case \"diy_painting_timing\":\n return /\\b(?:april\\s+1|april\\s+13|april\\s+14|12 days|twelve days|dove gray|two coats|painting living room)\\b/.test(normalized);\n case \"diy_faucet_timing\":\n return /\\b(?:april\\s+10|april\\s+29|19 days|nineteen days|faucet washers?|plumbing basics workshop|practice replacing)\\b/.test(normalized);\n case \"cooking_weekly_cuisine_plan\":\n return /\\b(?:one cuisine every 6 weeks|6-week blocks?|6 weeks?|week\\s*1-2|week\\s*3-4|weekly cooking sessions?|focus on one cuisine|cultural context|regional variations|multiple cuisines|french cuisine|japanese cuisine|indian cuisine|mexican cuisine)\\b/.test(normalized) &&\n /\\b(?:cuisine|cuisines|cooking|weekly|week|culture|cultural|techniques?|ingredients?)\\b/.test(normalized);\n case \"cooking_dolma_leaf_preparation\":\n return /\\b(?:stuffed grape leaves?|dolma|grape leaves?|rice mixture|pine nuts|fresh herbs|roll up tightly|seam-side down|45-60 minutes|olive oil|stems?|remove stems?|rinse|rinsing)\\b/.test(normalized) &&\n /\\b(?:leaves?|filling|seasoning|flavor|texture|tender|simmer|roll|stem|salt|herbs)\\b/.test(normalized);\n case \"cooking_culinary_journey_summary\":\n return /\\b(?:turkish|greek|lebanese|month-by-month|month by month|structured plan|knife techniques|julienne|chiffonade|deadlines?|manageable steps|time-efficient|journals?|photos?|community engagement|kneading|elasticity|baked goods|sauce emulsification|italian|indian|spice blend|menu planning|global dishes)\\b/.test(normalized) &&\n /\\b(?:cooking|culinary|cuisines?|dishes?|skills?|recipes?|plan|practice|progress|techniques?)\\b/.test(normalized);\n case \"outdoor_cardio_preference\":\n return /\\b(?:trail running|fresh air|varied terrain|outdoor cardio|natural settings?|treadmill|indoor-only|indoor only)\\b/.test(normalized) &&\n /\\b(?:prefer|avoid|suggest|recommend|cardio|running|activities?|options?|treadmill)\\b/.test(normalized);\n case \"social_norms\":\n return /\\b(?:social norms?|cultural context|cultural differences|multiple regions|traditions|expectations)\\b/.test(normalized);\n case \"software_versions\":\n return /\\b(?:software version|version details|version numbers?|release identifiers?|digital asset management|digital assets?|software names?|technolog(?:y|ies)|tech stack|technology stacks?|current setup|versions? listed alongside technologies)\\b/.test(normalized);\n case \"uk_resume\":\n return /\\b(?:uk|ats|resume|cv)\\b/.test(normalized) &&\n /\\b(?:format|formatting|generic|template|global|tailor|specific)\\b/.test(normalized);\n case \"decision_framework\":\n return /\\b(?:logical reasoning|frameworks?|emotional impulses?|practical nature|decision-making|compensation package|equity|adjust.*budget|budget.*accordingly|support network|startup experience)\\b/.test(normalized);\n case \"realtime_chat_summary\":\n return /\\b(?:real-time|realtime|chat|socket\\.?io|websocket|node\\.?js|express|message|messaging|chatroom|rooms?|redis|latency|ping-pong|presence|broadcast|load balancer|message queue|mongoose|mongodb|indexing|pagination|ttl|acl|circuit breaker|fallback|retry|backoff|typing indicators?|map|set|error handling|helper functions?|user tracking|logging|observability|recent messages?|schema validation|updatemessage|unchanged message|migration script|batch execution|asynchronous control)\\b/.test(normalized);\n case \"technical_project_summary\":\n return /\\b(?:resume analyzer|python\\s*3\\.10|spacy|flask|pymupdf|pdf parsing|work experience|keyword searches?|sentence segmentation|named entity recognition|ner|job titles?|educational institutions?|modulariz|error handling|nonetype|logging|traceability|february\\s+15|cprofile|bottlenecks?|in-memory cache|redis-backed|regex|precompil|stopword|lemmatization|lazy-loading|custom ner|dataset size|weighted scoring|skill matching|experience levels?|visualization|authentication|authorization|concurrent requests?|object detection|tracking pipeline|yolov5|opencv|sort|kalman filter|hungarian algorithm|data association|tensorrt|opencv dnn|deepsort|ssd mobilenet|future-proofing|scalability|modular refactor|recommendation system|recommender|collaborative filtering|content-based filtering|tf-?idf|cosine similarity|similarity matrices?|user ratings?|missing ratings?|normaliz(?:e|ing|ation)|sparse matrices?|\\/recommendations|helper functions?|get_user_ratings|get_top_rated_items|hybrid recommendation|hybrid scoring|weighted average|tunable weights?|user preferences?|precision@?5|recall@?5|f1-score|auc-roc|restaurant_features|feature_vector|jsonb|google translate api v3|deepl api v2|translation api|translation service|language detection|franc|undefined returns?|input validation|preprocessing|rate limiting|invalid inputs?|quota exceed(?:ed|ance)|redis caching|ttl policies?|asynchronous processing|parallel request handling|redis hashes?|cache-manager|restful apis?|fallback original text|contextual memory storage|gpt-4 chatbot|transformer-based llm|streaming|chunk size|tls|role-based access control|image captioning|caption generator|feature extractor|diffusion-based|stable diffusion|docker compose|inter-service communication|materialized views?|postgresql|gpu acceleration|api response time profiling|cuda|out-of-memory|batch sizes?|mixed precision|gradient accumulation|optimizer initialization|lru caches?|resource management)\\b/.test(normalized);\n case \"conic_sections_summary\":\n return /\\b(?:conic sections?|parabolas?|ellipses?|hyperbolas?|vertex form|directrix|foci|focus|eccentricity|tangent lines?|normal lines?|reflective property|completing the square|implicit differentiation|geometric definition|standard equation|canonical form|asymptotes?|physics|engineering|satellite dishes?|parabolic mirrors?)\\b/.test(normalized);\n case \"calculus_derivative_progression\":\n return /\\b(?:implicit differentiation|circle equation|quadratic|cubic|product term|linear terms?|quadratic terms?|simple ratio|algebraic complexity|derivatives?)\\b/.test(normalized) &&\n /\\b(?:derivative|fraction|ratio|complexity|implicit|equation|term|terms)\\b/.test(normalized);\n case \"calculus_derivative_walkthrough\":\n return /\\b(?:product rule|chain rule|differentiat(?:e|ion)|derivative|composite functions?|step-by-step|step by step|example calculations?)\\b/.test(normalized) &&\n /\\b(?:walk|steps?|break(?:s|ing)? down|explain(?:s|ing)?|appl(?:y|ies|ying)|context|calculate|calculations?|example)\\b/.test(normalized);\n case \"euler_step_accuracy\":\n return /\\beuler(?:'s)?(?:\\s+method)?\\b/.test(normalized) &&\n /(?:\\b(?:step size|h\\s*=|accuracy|accurate|error|errors?|differential equations?)\\b|12%|1\\.2%|8%|3%)/.test(\n normalized,\n );\n case \"population_parameter_estimation\":\n return /\\b(?:exponential growth|logistic growth|population growth|population trends?|growth model|dp\\/dt|differential equation)\\b/.test(normalized) &&\n /\\b(?:parameter|estimate|estimation|sample data points?|data points?|datasets?|expanded data|optimization|carrying capacity|growth rate|k\\s*=|r\\s*=|predict)\\b/.test(\n normalized,\n );\n case \"variance_concrete_examples\":\n return /\\b(?:variance|random variable|expectation|expected value|probabilit(?:y|ies))\\b/.test(normalized) &&\n /\\b(?:dice rolls?|die rolls?|outcomes?|specific numerical|concrete numbers?|concrete numerical|step-by-step|values?|purely symbolic|abstract explanations?)\\b/.test(\n normalized,\n );\n case \"spherical_geodesic_vector_methods\":\n return /\\b(?:sphere|spherical|great circle|geodesic|unit vectors?|dot product|vector algebra|geometric vectors?)\\b/.test(normalized) &&\n /\\b(?:shortest path|distance|between two points|vector|vectors?|trigonometric|formula reliance|calculation steps?)\\b/.test(\n normalized,\n );\n case \"skill_course_completion\":\n return /\\b(?:completed?|finished|course completion|training|programs?|final score|digital networking course|advanced research writing course|skills? gained)\\b/.test(normalized) &&\n /\\b(?:course|training|programs?|skills?|score|completed?|finished)\\b/.test(\n normalized,\n );\n case \"morning_coffee_meeting\":\n return /\\b(?:morning meetings?|early-day|early day|9:00\\s*am|coffee meeting|dr\\.?\\s+kaya)\\b/.test(normalized) &&\n /\\b(?:coffee|meeting|prepare|preparation|tips?|conversation starters?|timing)\\b/.test(\n normalized,\n );\n case \"telepsychology_expansion_summary\":\n return /\\b(?:telepsychology|telehealth|client comfort|market demand|competitor landscape|legal and privacy|privacy requirements|secure telehealth|training staff|professional networks?|referral engagement|trauma therapy journal|webinar software|research collaborations?|client intake|co-authorships?|speaking engagements?|editorial board|work-life balance|post-collaboration)\\b/.test(normalized);\n case \"professional_event_project_summary\":\n return /\\b(?:pre-event preparation|reviewing agendas|researching speakers|technical readiness|testing equipment|virtual platforms?|venue logistics|active engagement|networking proactively|scheduled breaks|post-event follow-up|thank-you messages?|professional networks?|ongoing communication|time blocking|pomodoro|strategic partnerships?|co-hosting|joint marketing|continuous reflection|event logistics)\\b/.test(normalized);\n case \"job_commute_preference\":\n return /\\b(?:north ericshire|30\\s*km|commut(?:e|ing)|45 minutes?|work-life balance|proximity|travel duration)\\b/.test(normalized) &&\n /\\b(?:jobs?|roles?|job search|listings?|senior role|commut(?:e|ing)|work-life balance)\\b/.test(\n normalized,\n );\n case \"sarah_resume_revision_planning\":\n return /\\bsarah\\b/.test(normalized) &&\n /\\b(?:conference|resume|professional documents?|cover letters?|march\\s+15|meetings?|materials?|update process|mock interview)\\b/.test(\n normalized,\n );\n case \"rental_income_preference\":\n return /\\b(?:steady rental income|rental income|monthly returns?|long-term wealth|wealth accumulation|wealth accumulations|short-term sales profits?|quick resale|vacancy|tenant turnover|appreciation|cash flow)\\b/.test(normalized);\n case \"rental_property_journey_summary\":\n return /\\b(?:rental properties?|initial capital|\\$50,?000|local market|down payment|closing fees?|fixer-upper|structural issues?|outdated features?|single-family|multi-family|rental yield|management complexity|halkbank|ziraat bank|mortgages?|tenant management|property choices?)\\b/.test(normalized);\n case \"cryptocurrency_investment_summary\":\n return /\\b(?:cryptocurrency|crypto|bitcoin|ethereum|binance|coingecko|tradingview|hardware wallet|phishing|defi|staking|cardano|ada|nft|tax compliance|capital gains|financial analyst|accurate and timely filings|community engagement|yield farming|strategic portfolio adjustments|advanced learning paths)\\b/.test(normalized);\n case \"math_induction_summary\":\n return /\\b(?:mathematical induction|proof by induction|induction proofs?|inductive step|inductive hypothesis|base case|sum of first n|divisibility proofs?|number theory|inequalit(?:y|ies)|modular arithmetic|step-by-step verification|practice problems?|paramedic|real-world applications?|practical scenarios?|study habits?|tracking progress|quiz scores?)\\b/.test(normalized);\n case \"number_theory_congruence_examples\":\n return /\\b(?:congruences?|modular arithmetic|modulo|mod\\b|fermat'?s little theorem|euler'?s theorem|linear congruence|number theory)\\b/.test(normalized) &&\n /\\b(?:example|examples|actual numbers?|step-by-step|step by step|calculations?|theorems?|properties|remainder|17\\s+mod\\s+5|3\\^16|5\\^12|7\\^20)\\b/.test(\n normalized,\n );\n case \"math_step_calculations\":\n return /\\b(?:distance formula|distance between|coordinate geometry|coordinate plane|point-line distance|midpoint formula)\\b/.test(normalized) &&\n /\\b(?:step-by-step|step by step|calculate|calculation|calculations|arithmetic|substitut(?:e|ing)|differences?|square|squared|simplify|formula)\\b/.test(normalized);\n case \"mixed_problem_practice\":\n return /\\b(?:mixed problem sets?|different problem types?|varied problem sets?|multiple topics?|combine|combining|mixing up|variety|randomization|line equations|circles|ellipses|intersections|proofs)\\b/.test(normalized) &&\n /\\b(?:practice|study sessions?|exam|problems?|topics?|sessions?)\\b/.test(normalized);\n case \"event_budget_details\":\n return (\n /\\b(?:event|events|party|parties|gathering|gatherings|reunion|picnic|holiday|hosting|family commitments?|family planning)\\b/.test(normalized) &&\n /\\b(?:budget|costs?|financial|spending|expenses?|increase|freelance offer|\\$\\s*\\d|dollars?)\\b/.test(normalized)\n ) || (\n /\\$\\s*\\d/.test(content) &&\n /\\b(?:budget|costs?|financial|spending|expenses?|increase|offer)\\b/.test(normalized)\n );\n case \"travel_cost_details\":\n return /\\b(?:cost details?|itemized costs?|dollar amounts?|category-by-category|breakdown|travel arrangements?|transportation|accommodation|meals|activities|vacation budget|travel options?)\\b/.test(normalized);\n case \"investment_withdrawal_tax\":\n return /\\b(?:withdraw|withdrawal|take money out|cash out|sell(?:ing)?|tax implications?|taxes owed|penalties|capital gains|taxable distribution|investment account|brokerage|portfolio)\\b/.test(normalized) &&\n /\\b(?:tax|taxes|penalt(?:y|ies)|withdraw|withdrawal|investment|brokerage|portfolio|account)\\b/.test(normalized);\n case \"scott_support_summary\":\n return /\\b(?:scott|tutoring sessions?|twice weekly|ms\\.?\\s+harper|math scores?|study sessions?|organized workspace|free from distractions|distraction-free|study environment|growth mindset|stem camp|extracurricular|routine establishment|time management|social encouragement|role-?playing|self-expression|independence|responsibility|digital safety|parental controls?|online risks?|privacy|screen time|daily routines?|creative pursuits?|healthy habits?|emotional well-being|coping mechanisms?|open communication|positive reinforcement|milestones?|clear expectations?|consistent feedback)\\b/.test(normalized);\n case \"portfolio_management_summary\":\n return /\\b(?:investment strategy|portfolio management|portfolio allocation|rebalancing|threshold-based|quarterly reviews?|semi-annual reviews?|vanguard|alerts?|kendra|financial advisor|bond laddering|interest rate risk|income stability|treasur(?:y|ies)|municipal|corporate bonds?|green bonds?|sustainable investments?|international stock|sector-specific|tech stocks?|biotech etfs?|tax implications?|transaction costs?|volatility limits?|investment anxiety|professional support|trusted partner|jeremy|financial decision-making)\\b/.test(normalized);\n case \"parent_nutrition_summary\":\n return /\\b(?:samantha|mom|mother|ryan|dad|father|89-year-old|89 years old|105-year-old|105|meal plans?|meal ideas?|specific recipes?|balanced options?|hydration|medication interactions?|caregivers?|care center|nutritional needs?|bone broth|plant-based protein|protein powder|smoothies?|family-supported|caregiving)\\b/.test(normalized);\n case \"evening_tea_options\":\n return /\\b(?:herbal teas?|chamomile|peppermint|caffeinated|caffeine|sleep quality|relaxation|bedtime|evening)\\b/.test(normalized);\n case \"relationship_trust_summary\":\n return /\\b(?:rachael|rebuilding trust|trust issues?|acknowledg(?:e|ing) mistakes?|taking responsibility|communicat(?:e|ing) openly|honestly|initial apology|weekly check-ins?|dialogue examples?|transparency|empathy|accountability course|active listening|patience|follow-through|commitments?|trusted friends?|professional relationships?|personal goals?|shared experiences?|emotional connection|coastal walks?|milestones?|forgotten anniversar(?:y|ies)|feedback|long-term relationship)\\b/.test(normalized);\n case \"answerability_absence\":\n return countGuidanceTermOverlap(normalized, query) >= 2 ||\n /\\b(?:confus(?:e|ed|ing|ion)|mutually exclusive|independent events?|dice rolls?|feedback|quizzes?|podiatrist|qualification|expertise|article)\\b/.test(normalized);\n }\n });\n}\n\nfunction scoreGuidanceEvidence(\n item: EvidencePackItem,\n query: string,\n intents: readonly GuidanceIntent[],\n): number {\n const normalized = item.content.toLowerCase();\n let score = 0;\n if (item.role === \"user\") score += 7;\n if (hasInstructionOrPreferenceCue(normalized)) score += 16;\n if (hasPercentCue(normalized)) score += 10;\n if (/\\b(?:always|prefer|preference|avoid|use|include|format|mention|should)\\b/.test(normalized)) {\n score += 6;\n }\n for (const intent of intents) {\n if (hasSpecificIntentCue(normalized, intent)) score += 8;\n }\n if (intents.includes(\"api_errors\") && /\\b(?:status codes?|response codes?|400|401|403|404|429|500)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"api_concurrency\")) {\n score += 8;\n if (/\\b(?:asyncio|aiohttp|httpx|async\\/await|async libraries?|asynchronous(?: python)? libraries?|frameworks?)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:concurr(?:ent|ency|ently)|non-blocking|reduce blocking|multiple api requests?|multiple requests?|batch(?:ing)?|gather)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"ai_hiring_fairness\")) {\n score += 10;\n if (/\\b(?:pilot program|test the ai tool|effectiveness|time savings|candidate satisfaction)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:human oversight|final decisions?|human review|hybrid approach)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:anonymization|anonymize|personal identifiers?|names|dates of birth|addresses)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:bias audits?|third-party audits?|regular audits?|fairness metrics?|transparent|transparency)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:diversity metrics?|feedback|structured interviews?|soft skills|ai screening|job-relevant criteria)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"audiobook_narrators\") && /\\b(?:narrator|narrated by|read by|who read)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"contradiction_resolution\") && /\\b(?:never|ever|said|mentioned|also|contradictory|conflicting|statement|correct|spent|read(?:ing)?|articles?|protective masks?|respirator masks?|masks?|gloves?|insulation|ergonomic supports?|kneeling pads?|cushioned kneeling pad)\\b/.test(normalized)) {\n score += 12;\n }\n if (intents.includes(\"contradiction_resolution\") && /\\b(?:completed|solved|scored|score|practice problems?)\\b/.test(normalized)) {\n score += 8;\n }\n if (intents.includes(\"editing\") && /\\b(?:ai tools?|ai-assisted|initial edits?|tone calibration|grammarly|hemingway|peer review)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"media_platforms\") && /\\b(?:streaming services?|platform names?|availability|netflix|hulu|disney|prime)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"allergy_check\") && /\\ballerg(?:y|ies)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"philosophy_summary\") && /\\b(?:category-by-category|detailed summar(?:y|ies)|philosophical concepts?)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"reading_variety\") && /\\b(?:standalone|series|variety|balance)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"reading_goals_summary\")) {\n score += 10;\n if (/\\b(?:kingkiller chronicle|mistborn trilogy|broken empire|schedule|prioritiz(?:e|ing))\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:stormlight archive|1,?200 pages|december\\s+1|staying on track|audiobooks?|evening listening|cozy reading environment|daily goals?)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:expanse|1,?500 pages|march\\s+15|75 pages|nightingale|kristin hannah|diversify)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:print and audiobook|budget|fiction books|montserrat books|formats?)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"writing_process_structure\")) {\n score += 10;\n if (/\\b(?:daily and weekly targets?|daily and weekly word count goals?|word count goals?|overall target|weekly milestones?)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:fixed writing times?|fixed writing schedule|flexible writing sessions?|flexible writing times?)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:outline|scene breakdown|organization|roadmap)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:visualiz(?:e|ing) success|reward(?:ing)? milestones?|accountability partner|stress management|mindfulness|relaxation|maintain focus|stay motivated)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"writing_schedule\") && /\\b(?:7-9\\s*am|morning hours?|most focused|writing sessions?)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"daily_routine\") && /\\b(?:structured daily routine|daily routine|wake-up|sleep times?|7\\s*am|9\\s*pm|consistent timing|regularity)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"portfolio_links\") && /\\b(?:clickable links?|letter body|attachments?|separate documents?)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"deployment_automation\") && /\\b(?:automated|ci\\/cd|pipeline|monitoring tools?|status dashboards?|manual deployment checks?)\\b/.test(normalized)) {\n score += 10;\n }\n if (intents.includes(\"decor_recommendations\")) {\n score += 8;\n if (/\\b(?:built-in|built in|storage|ottomans?|modular|multifunctional|multi-functional)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:aesthetic|practical|features?|decor|furniture|living space)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"project_financial_limits\")) {\n score += 8;\n if (/\\b(?:itemized|category-by-category|breakdown|cost analysis|detailed cost analysis)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\$\\s*\\d|\\b(?:specific dollar amounts?|budget amounts?|cost categories)\\b/.test(item.content)) {\n score += 16;\n }\n }\n if (intents.includes(\"team_event_attendance\")) {\n score += 10;\n if (/\\b(?:always|instruction|prefer)\\b.*\\b(?:attendance numbers?|player attendance|team events?)\\b|\\b(?:attendance numbers?|player attendance|team events?)\\b.*\\b(?:always|instruction|prefer)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\battendance:\\s*\\d+\\s+players?\\s+out of\\s+\\d+\\b|\\b\\d+\\s+players?\\s+out of\\s+\\d+\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:team events?|practice session|team practice|scrimmage)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"nutrition_hydration\")) {\n score += 8;\n if (/\\b(?:always|include|nutrition advice)\\b.*\\b(?:hydration|water|fluids?)\\b|\\b(?:hydration|water|fluids?)\\b.*\\b(?:always|include|nutrition advice)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:hydration tips?|drinking fluids?|water intake|properly hydrated|drink water|fluid intake)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"heart_function_activity_management\")) {\n score += 10;\n if (/\\b(?:ejection fraction|\\bef\\b|heart(?:'s)? pumping|pumping efficiency|heart function)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:fatigue|shortness of breath|climbing stairs|strenuous physical activities?)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:gradual increase|monitor symptoms?|symptom monitoring|regular follow-?ups?|cardiologist)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:avoid smoking|quit smoking|limit alcohol|excessive alcohol|smoking|alcohol)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"sleep_improvement_percent\")) {\n score += 10;\n if (/\\b(?:exact percentages?|percentage increase|precise numerical improvement)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:70%|78%|82%|85%|11\\.43%|8\\.97%|17\\.14%|12%)/.test(normalized)) {\n score += 20;\n }\n }\n if (intents.includes(\"sleep_environment_habits_summary\")) {\n score += 10;\n if (/\\b(?:blackout curtains?|blackout blinds?|window films?|reflective films?|room[- ]darkening shades?|affordable|diy)\\b/.test(normalized)) {\n score += 20;\n }\n if (/\\b(?:thermostat|2200k|night sweats?|circadian|meditation)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"mattress_warranty_details\")) {\n score += 10;\n if (/\\b(?:5-year warranty|warranty extension|extended warranty|coverage)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:defects?|repairs?|replacements?|trial period|return policy|durability)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"sleep_wind_down_screen_free\")) {\n score += 10;\n if (/\\b(?:physical books?|screen-free|no-screen|screen-based|avoid screens?|blue light)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:meditation|journaling|breathing|relaxation)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"april_relationship_timing\")) {\n score += 10;\n if (/\\b(?:morning|early weekend|most alert|calm mornings?)\\b/.test(normalized)) {\n score += 20;\n }\n if (/\\b(?:energy levels?|late evenings?|tired)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"april_relationship_summary\")) {\n score += 10;\n if (/\\b(?:special outings?|flower|deliveries|gestures?|traditions?)\\b/.test(normalized)) {\n score += 22;\n }\n if (/\\b(?:date nights?|surprises?|shared hobbies?|community center|volunteering|physical touch|love language)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"work_life_balance_summary\")) {\n score += 10;\n if (/\\b(?:50 to 40|50 to 45|work hours|clinical hours|july 2024|may 2024)\\b/.test(normalized)) {\n score += 22;\n }\n if (/\\b(?:monitoring progress|monitor progress|regularly|delegate|delegating|streamlin(?:e|ing)|supervisor|boundaries)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"turkish_pronunciation_quantitative\")) {\n score += 10;\n if (/\\b(?:40 sessions?|90%|98 words per minute|words per minute|wpm|quantitative|session data)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:turkish pronunciation trainer|pronunciation drills?|consonant clusters?|speaking speed)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"turkish_live_learning_formats\")) {\n score += 10;\n if (/\\b(?:interactive live|live classes?|synchronous classes?|immediate feedback)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:italki|preply|verbling|cambly|pre-recorded|recorded materials?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"study_space_tools_count\")) {\n score += 10;\n if (/\\b(?:noise-cancelling headphones?|timer)\\b/.test(normalized)) {\n score += 26;\n }\n if (/\\b(?:second monitor|turkish cultural artifacts?|turkish flag|cultural calendar|calendar countdown)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"home_family_repayment\")) {\n score += 10;\n if (/\\b(?:50,000\\s*try|5 years?|60 months?|900\\s*try|june\\s+1)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:crystal|mother|mom|repayment plan|promissory note|5% interest|formal agreement)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"home_repair_cost_update\")) {\n score += 10;\n if (/\\b(?:7,500\\s*try|april\\s+22|second opinion|professional opinion)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:plumbing leaks?|minor plumbing|plumber|repair costs?|lower estimate)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"home_condition_final_inspection\")) {\n score += 10;\n if (/\\b(?:may\\s+5|final home inspection|final inspection|repairs? completed|no further issues)\\b/.test(normalized)) {\n score += 32;\n }\n if (/\\b(?:written confirmation|photos?|re-?inspection|seller'?s contractor|documentation|before closing|before finalize)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"home_neighborhood_tour\")) {\n score += 10;\n if (/\\b(?:april\\s+13|11\\s*am|samantha|neighborhood tour)\\b/.test(normalized)) {\n score += 32;\n }\n if (/\\b(?:mevlana apartment complex|local amenities|parks?|green spaces?|public transportation|shopping|safety)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"home_neighborhood_preferences\")) {\n score += 10;\n if (/\\b(?:quiet(?:er|ness)?|parks?|green spaces?|atat(?:ü|u)rk park|mevlana)\\b/.test(normalized)) {\n score += 26;\n }\n if (/\\b(?:shopping|nightlife|local amenities|commute|safety|balanced|avoid overemphasizing)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"home_stove_recommendations\")) {\n score += 10;\n if (/\\b(?:energy-efficient|energy efficient|bosch|siemens|arcelik|arçelik)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:stove|kitchen appliance|price range|comparable price|utility savings|quality)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"home_apartment_cost_difference\")) {\n score += 10;\n if (/\\b(?:580,000\\s*try|620,000\\s*try|40,000\\s*try|41,200\\s*try)\\b/.test(normalized)) {\n score += 34;\n }\n if (/\\b(?:2-bedroom|two-bedroom|3-bedroom|three-bedroom|mevlana|inonu|inönü|more expensive|difference)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"home_cash_flow_summary\")) {\n score += 10;\n if (/\\b(?:7,083|7,500|416\\.?67|417\\s*try|negative cash flow|shortfall)\\b/.test(normalized)) {\n score += 34;\n }\n if (/\\b(?:monthly income|monthly expenses|crystal repayment|reduce expenses|increase income|essential expenses)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"home_buying_financial_steps\")) {\n score += 10;\n if (/\\b(?:several years?|mortgage estimates?|loan|down payment|interest|term|taxes|insurance)\\b/.test(normalized)) {\n score += 26;\n }\n if (/\\b(?:upfront|ongoing commitments?|closing costs?|monthly costs?|financial steps|savings plan)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"home_buying_summary\")) {\n score += 10;\n if (/\\b(?:atat(?:ü|u)rk park|andrew|mevlana|crystal|50,000\\s*try|repayment plan)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:budgeting|reduce discretionary|increase income|repairs?|moving logistics|title insurance|closing)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"home_mortgage_choice_summary\")) {\n score += 10;\n if (/\\b(?:fixed-rate|fixed rate|variable-rate|variable rate|lower starting rate|predictability|higher initial rate)\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:current rates|economic outlook|risk tolerance|loan term|caps|rising rates|hybrid arms?|refinancing)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"home_inspection_timing\")) {\n score += 10;\n if (/\\b(?:april\\s+15|april\\s+18|april\\s+20|two days|5 days|five days)\\b/.test(normalized)) {\n score += 32;\n }\n if (/\\b(?:home inspection|inspection report|delivered|lawyer|contract review)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"selling_photo_service_steps\")) {\n score += 10;\n if (/\\b(?:focuslens|professional photography|\\$350|30 high-resolution|30 high resolution|april\\s+7|10\\s*am)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:staging|decluttering|lighting|arranging furniture|cleaning fixtures|desired shots?|review delivered photos|web use)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"selling_financial_plan_detail\")) {\n score += 10;\n if (/\\b(?:itemized|category-by-category|detailed cost analysis|cost breakdown)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:closing costs?|commission|repairs?|staging|photography|moving expenses?|net profit|net proceeds)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"selling_rental_payment_terms\")) {\n score += 10;\n if (/\\b(?:payment modifications?|temporary reduction|payment plan|signed addendum|4,275\\s*try|4,500\\s*try)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:lease|rental agreement|rent reduction|full rent resuming|terms)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"selling_rental_price\")) {\n score += 10;\n if (/\\b(?:4,550\\s*try|4550|4,500\\s*try|4500)\\b/.test(normalized)) {\n score += 32;\n }\n if (/\\b(?:kadikoy|kadıköy|rental price|market feedback|final agreed prices?)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"selling_service_total_cost\")) {\n score += 10;\n if (/\\b(?:\\$1,550|1550)\\b/.test(normalized)) {\n score += 34;\n }\n if (/\\b(?:elegant spaces|\\$1,200|1200|focuslens|\\$350|350|professional staging|professional photography)\\b/.test(normalized)) {\n score += 20;\n }\n }\n if (intents.includes(\"selling_sequence_repairs_marketing\")) {\n score += 10;\n if (/\\b(?:decluttering|staging|roof leak|photography|marketing materials?|selim|final inspection|buyer'?s inspection|moving schedule)\\b/.test(normalized)) {\n score += 22;\n }\n if (/\\b(?:before|after|sequence|timeline|schedule|finalize|coordinate|complete repairs?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"selling_professional_staging_preference\")) {\n score += 10;\n if (/\\b(?:professional staging|hiring experts?|staging experts?|staging quality|upfront cost)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:diy|attractive to buyers|appeal to buyers|faster sale|higher price)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"selling_morning_appointments\")) {\n score += 10;\n if (/\\b(?:morning time slots?|early morning|early appointments?|start early)\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:maximize productivity|reduce stress|schedule appointments?|next week)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"selling_home_summary\")) {\n score += 10;\n if (/\\b(?:selim|cma|elegant spaces|roof leak|focuslens|matterport|countered|415,000|final contract|contract signing)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:early spring|living room|backyard|oak tree|paperwork|legal|negotiations?|commission|400,000|financial considerations?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"selling_stress_summary\")) {\n score += 10;\n if (/\\b(?:headspace|calm|mindful walking|mindfulness|meditation|breathing exercises?)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:yoga|progressive muscle|journaling|exercise|support networks?|consistent practice|financial stress|neighborhood stress)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"selling_roof_offer_timing\")) {\n score += 10;\n if (/\\b(?:march\\s+28|april\\s+3|april\\s+20|6 days|six days|17 days|seventeen days)\\b/.test(normalized)) {\n score += 34;\n }\n if (/\\b(?:roof leak|roof repair|home inspection|first offer)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.some((intent) => intent.startsWith(\"diy_\"))) {\n score += 8;\n }\n if (intents.includes(\"diy_living_together_duration\")) {\n if (/\\b(?:5 years?|five years?|lived together|living together)\\b/.test(normalized)) score += 28;\n if (/\\b(?:james|jamie|atat(?:ü|u)rk street|3-bedroom|three-bedroom)\\b/.test(normalized)) score += 18;\n }\n if (intents.includes(\"diy_paint_budget_breakdown\")) {\n if (/\\b(?:bauhaus|cumhuriyet|planned spending|\\$300|300\\b)\\b/.test(normalized)) score += 18;\n if (/\\b(?:paint|primer|brushes?|rollers?|paint trays?|painter'?s tape|drop cloths?|sandpaper|example calculation|typical prices?)\\b/.test(normalized)) score += 26;\n }\n if (intents.includes(\"diy_pipe_leak_safety\")) {\n if (/\\b(?:turn off water supply|shut off water|water shutoff|plug drain|washers?|o-rings?)\\b/.test(normalized)) score += 26;\n if (/\\b(?:protective gear|gloves?|goggles?|masks?|avoid hazards?|prevent injury|damage|safety practices?)\\b/.test(normalized)) score += 22;\n }\n if (intents.includes(\"diy_drill_model_specificity\")) {\n if (/\\bbosch\\s+gsr\\s+12v-15\\b/.test(normalized)) score += 34;\n if (/\\b(?:12v cordless drill|exact model|model number|specific product|tool version)\\b/.test(normalized)) score += 18;\n }\n if (intents.includes(\"diy_paint_supply_spend\")) {\n if (/\\$335\\b|\\b335\\b/.test(normalized)) score += 34;\n if (/\\b(?:paint and supplies|paint supplies|spending increased|total spent|remaining budget)\\b/.test(normalized)) score += 18;\n }\n if (intents.includes(\"diy_professional_savings\")) {\n if (/\\b(?:\\$350|350\\b|\\$220|220\\b|\\$500|500\\b|\\$570|570\\b)\\b/.test(normalized)) score += 26;\n if (/\\b(?:hiring painter|hiring professionals?|plumber|faucet replacement|diy cost|saved?|savings?)\\b/.test(normalized)) score += 20;\n }\n if (intents.includes(\"diy_resource_sequence\")) {\n if (/\\b(?:essential tools?|hand tools?|power tools?|upcoming projects?|allocate budget|bulk purchases?)\\b/.test(normalized)) score += 18;\n if (/\\b(?:don'?s 3-meter ladder|3-meter ladder|heavy items?|safety-critical|installation|finishing touches)\\b/.test(normalized)) score += 24;\n }\n if (intents.includes(\"diy_visual_learning_preference\")) {\n if (/\\b(?:video tutorials?|hands-on learning|visual resources?|interactive)\\b/.test(normalized)) score += 30;\n if (/\\b(?:manuals?|reading manuals?|text-heavy|home repairs?)\\b/.test(normalized)) score += 14;\n }\n if (intents.includes(\"diy_kitchen_surface_preference\")) {\n if (/\\b(?:durability|easy to clean|ease of cleaning|lasting quality|durable materials?)\\b/.test(normalized)) score += 30;\n if (/\\b(?:trendy|aesthetic|purely aesthetic|kitchen surfaces?|countertops?)\\b/.test(normalized)) score += 14;\n }\n if (intents.includes(\"diy_insulation_summary\")) {\n if (/\\b(?:attic insulation|owens corning|fiberglass|\\$600|600\\b|\\$450|450\\b|june\\s+15|june\\s+22)\\b/.test(normalized)) score += 30;\n if (/\\b(?:respirator|gloves?|safety glasses?|long-sleeved|ventilation|weatherstripping|caulk|seal gaps?|track expenses?)\\b/.test(normalized)) score += 22;\n }\n if (intents.includes(\"diy_shelf_summary\")) {\n if (/\\b(?:bathroom shelf|august\\s+15|\\$100|100\\b|mounting brackets?|wall anchors?|pilot holes?)\\b/.test(normalized)) score += 30;\n if (/\\b(?:moisture-resistant|level|tape measure|drill|screws?|anchors?|safety gear|don)\\b/.test(normalized)) score += 20;\n }\n if (intents.includes(\"diy_painting_timing\")) {\n if (/\\b(?:april\\s+1|april\\s+13|12 days|twelve days)\\b/.test(normalized)) score += 34;\n if (/\\b(?:dove gray|two coats|painting living room|finish(?:ed)?)\\b/.test(normalized)) score += 16;\n }\n if (intents.includes(\"diy_faucet_timing\")) {\n if (/\\b(?:april\\s+10|april\\s+29|19 days|nineteen days)\\b/.test(normalized)) score += 34;\n if (/\\b(?:faucet washers?|plumbing basics workshop|practice replacing|learned replacing)\\b/.test(normalized)) score += 16;\n }\n if (intents.includes(\"cooking_weekly_cuisine_plan\")) {\n score += 8;\n if (/\\b(?:one cuisine every 6 weeks|6-week blocks?|focus on one cuisine|multiple cuisines)\\b/.test(normalized)) score += 28;\n if (/\\b(?:week\\s*1-2|week\\s*3-4|weekly cooking sessions?|research and gather resources|key ingredients and techniques|document progress|cultural context|regional variations)\\b/.test(normalized)) score += 22;\n }\n if (intents.includes(\"cooking_dolma_leaf_preparation\")) {\n score += 10;\n if (/\\b(?:stuffed grape leaves?|dolma|grape leaves?)\\b/.test(normalized)) score += 16;\n if (/\\b(?:remove stems?|rinsing|fresh herbs|conservative salt|saltiness|roll up tightly|seam-side down|45-60 minutes|olive oil|rest before serving)\\b/.test(normalized)) score += 30;\n if (/\\b(?:moderate amount|heaping tablespoon|rice mixture|filling|simmer|tender|flavors? to meld)\\b/.test(normalized)) score += 18;\n }\n if (intents.includes(\"cooking_culinary_journey_summary\")) {\n score += 8;\n if (/\\b(?:turkish|greek|lebanese|italian|indian|global dishes|cuisines?)\\b/.test(normalized)) score += 16;\n if (/\\b(?:month-by-month|structured plan|research|ingredient preparation|cooking practice|feedback|documentation|journals?|photos?|community engagement)\\b/.test(normalized)) score += 24;\n if (/\\b(?:knife techniques|julienne|chiffonade|dough kneading|elasticity|baked goods|sauce emulsification|spice blend|menu planning)\\b/.test(normalized)) score += 24;\n if (/\\b(?:deadlines?|manageable steps|time-efficient|regular practice|practice sessions?|stay on track)\\b/.test(normalized)) score += 14;\n }\n if (intents.includes(\"outdoor_cardio_preference\")) {\n score += 8;\n if (/\\b(?:prefer|preference)\\b.*\\btrail running\\b.*\\btreadmill\\b|\\btrail running\\b.*\\b(?:over|instead of)\\b.*\\btreadmill\\b/.test(normalized)) {\n score += 30;\n }\n if (/\\b(?:fresh air|varied terrain|natural settings?|outdoor cardio|outdoor activities?)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:avoid|avoids|not recommend|do not recommend)\\b.*\\b(?:treadmill|indoor-only|indoor only)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"answerability_absence\")) {\n score += 8;\n if (/\\b(?:confus(?:e|ed|ing|ion)|mutually exclusive|independent events?|dice rolls?|feedback|quizzes?|podiatrist|qualification|expertise|article)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"realtime_chat_summary\")) {\n score += 8;\n if (/\\b(?:real-time|realtime|chat|socket\\.?io|websocket|node\\.?js|express|message|messaging|chatroom|rooms?|redis|latency|ping-pong|presence|broadcast|load balancer|message queue|mongoose|mongodb|indexing|pagination|ttl|acl|circuit breaker|fallback|retry|backoff|typing indicators?|map|set|error handling|helper functions?|user tracking|logging|observability|recent messages?|schema validation|updatemessage|unchanged message|migration script|batch execution|asynchronous control)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:migration script|updatemessage|schema validation|unchanged message|recent messages?|asynchronous control|batch execution)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"technical_project_summary\")) {\n score += 8;\n if (/\\b(?:resume analyzer|python\\s*3\\.10|spacy|flask|pymupdf|pdf parsing|work experience|keyword searches?|sentence segmentation|named entity recognition|ner|job titles?|educational institutions?|modulariz|error handling|nonetype|logging|traceability|february\\s+15|cprofile|bottlenecks?|in-memory cache|redis-backed|regex|precompil|stopword|lemmatization|lazy-loading|custom ner|dataset size|weighted scoring|skill matching|experience levels?|visualization|authentication|authorization|concurrent requests?)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:object detection|tracking pipeline|yolov5|opencv|sort|kalman filter|hungarian algorithm|data association|tensorrt|opencv dnn|deepsort|ssd mobilenet|future-proofing|scalability|modular refactor)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:recommendation system|recommender|collaborative filtering|content-based filtering|tf-?idf|cosine similarity|similarity matrices?|redis|\\/recommendations|helper functions?|get_user_ratings|get_top_rated_items|hybrid recommendation|hybrid scoring|weighted average|tunable weights?|user preferences?|precision@?5|recall@?5|f1-score|auc-roc|restaurant_features|feature_vector|jsonb)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:google translate api v3|deepl api v2|translation api|translation service|language detection|franc|undefined returns?|input validation|preprocessing|rate limiting|invalid inputs?|quota exceed(?:ed|ance)|redis caching|ttl policies?|asynchronous processing|parallel request handling|redis hashes?|cache-manager|restful apis?|fallback original text|contextual memory storage|gpt-4 chatbot|transformer-based llm|streaming|chunk size|tls|role-based access control)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:image captioning|caption generator|feature extractor|diffusion-based|stable diffusion|docker compose|inter-service communication|materialized views?|postgresql|gpu acceleration|api response time profiling|cuda|out-of-memory|batch sizes?|mixed precision|gradient accumulation|optimizer initialization|lru caches?|resource management)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\bgoogle translate api v3\\b/.test(normalized) && /\\bdeepl api v2\\b/.test(normalized)) {\n score += 28;\n }\n if (/\\b(?:accuracy|cost|language support|ease of integration)\\b/.test(normalized)) {\n score += 10;\n }\n }\n if (intents.includes(\"conic_sections_summary\")) {\n score += 8;\n if (/\\b(?:conic sections?|parabolas?|ellipses?|hyperbolas?)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:vertex form|directrix|foci|focus|eccentricity|tangent lines?|reflective property|completing the square|implicit differentiation|standard equation|canonical form)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:geometric definition|algebraic forms?|physical properties|practical applications?|physics|engineering|satellite dishes?|parabolic mirrors?|coherent framework|integrated narrative)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"calculus_derivative_progression\")) {\n score += 8;\n if (/\\b(?:implicit differentiation|circle equation|quadratic|cubic|product term)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:simple ratio|linear terms?|quadratic terms?|algebraic complexity|fraction)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"calculus_derivative_walkthrough\")) {\n score += 8;\n if (/\\b(?:product rule|chain rule|differentiat(?:e|ion)|derivative)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:step-by-step|step by step|example calculations?|break(?:s|ing)? down|explain(?:s|ing)?|context)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"euler_step_accuracy\")) {\n score += 8;\n if (/\\beuler(?:'s)?(?:\\s+method)?\\b/.test(normalized)) score += 12;\n if (/(?:\\bh\\s*=\\s*1\\b|12%|\\bh\\s*=\\s*0\\.1\\b|1\\.2%|8%|3%)/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:step size|accuracy|error|more accurate|smaller step)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"population_parameter_estimation\")) {\n score += 8;\n if (/\\b(?:sample data points?|data points?|expanded datasets?|parameter optimization|parameter estimation)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:k\\s*=\\s*5000|r\\s*=\\s*0\\.1|carrying capacity|growth rate)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:exponential growth|logistic growth|population trends?|predict)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"math_induction_summary\")) {\n score += 8;\n if (/\\b(?:mathematical induction|proof by induction|induction proofs?|inductive step|inductive hypothesis|base case)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:divisibility proofs?|number theory|inequalit(?:y|ies)|modular arithmetic|algebraic manipulations?)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:paramedic|real-world applications?|abstract concepts?|practical scenarios?|tracking progress|study habits?|practice problems?|quiz scores?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"number_theory_congruence_examples\")) {\n score += 8;\n if (/\\b(?:congruences?|modular arithmetic|modulo|mod\\b|number theory)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:fermat'?s little theorem|euler'?s theorem|linear congruence|theorems?|properties)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:example|examples|actual numbers?|step-by-step|step by step|calculations?|remainder|17\\s+mod\\s+5|3\\^16|5\\^12|7\\^20)\\b/.test(normalized)) {\n score += 16;\n }\n }\n if (intents.includes(\"math_step_calculations\")) {\n score += 8;\n if (/\\bdistance formula\\b/.test(normalized)) score += 12;\n if (/\\b(?:step-by-step|step by step|calculate|calculation|calculations|arithmetic|substitut(?:e|ing)|differences?|square|squared|add the squared|simplify)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"mixed_problem_practice\")) {\n score += 8;\n if (/\\b(?:mixed problem sets?|different problem types?|varied problem sets?|multiple topics?|combine|combining|mixing up|variety|randomization)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:line equations|circles|ellipses|intersections|proofs|comprehensive exams?)\\b/.test(normalized)) {\n score += 8;\n }\n }\n if (intents.includes(\"event_budget_details\")) {\n score += 8;\n if (/\\b(?:event|events|party|parties|gathering|gatherings|reunion|picnic|holiday|hosting)\\b/.test(normalized)) {\n score += 10;\n }\n if (/\\b(?:budget|costs?|financial|spending|expenses?|increase)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\$\\s*\\d|\\b\\d[\\d,]*(?:\\.\\d+)?\\s*(?:dollars?|cad|usd)\\b/.test(item.content)) {\n score += 16;\n }\n }\n if (intents.includes(\"travel_cost_details\")) {\n score += 8;\n if (/\\b(?:always include cost details|cost details?|itemized costs?|specific dollar amounts?|category-by-category breakdown)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:travel arrangements?|transportation|accommodation|meals|activities|vacation budget|trip)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"investment_withdrawal_tax\")) {\n score += 10;\n if (/\\b(?:always|instruction|prefer)\\b.*\\b(?:tax implications?|withdrawals?|investment)\\b|\\b(?:tax implications?|withdrawals?|investment)\\b.*\\b(?:always|instruction|prefer)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:tax implications?|taxes owed|penalties|withdrawal penalties|capital gains|taxable distribution)\\b/.test(normalized)) {\n score += 18;\n }\n }\n if (intents.includes(\"scott_support_summary\")) {\n score += 10;\n if (/\\b(?:tutoring sessions?|twice weekly|ms\\.?\\s+harper|goal-?setting|consistent monitoring)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:organized workspace|free from distractions|distraction-free|study environment|growth mindset)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:stem camp|extracurricular|routine establishment|time management|social encouragement|role-?playing|self-expression|independence)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:responsibility|clear expectations?|consistent feedback|gradual increases?|digital safety|parental controls?|online risks?|privacy|screen time|daily routines?|creative pursuits?|healthy habits?|emotional well-being|coping mechanisms?)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"portfolio_management_summary\")) {\n score += 10;\n if (/\\b(?:kendra|financial advisor|regular consultations?|professional support)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:rebalancing|threshold-based|quarterly reviews?|semi-annual reviews?|5% threshold|vanguard|alerts?)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:bond laddering|interest rate risk|income stability|treasur(?:y|ies)|municipal|corporate bonds?|staggered maturities)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:international stock|green bonds?|sustainable investments?|sector-specific|tech stocks?|biotech etfs?|diversification)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:tax implications?|transaction costs?|volatility limits?|market conditions|investment anxiety|clear goal setting|education)\\b/.test(normalized)) {\n score += 12;\n }\n }\n if (intents.includes(\"cryptocurrency_investment_summary\")) {\n score += 10;\n if (/\\b(?:bitcoin|ethereum|binance|coingecko|tradingview|hardware wallet|defi|staking|cardano|ada|nft)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:tax compliance|capital gains|financial analyst|accurate and timely filings|regulatory|filings|document organization)\\b/.test(normalized)) {\n score += 24;\n }\n if (/\\b(?:phishing|risks?|community engagement|discord|reddit|conferences?|webinars?)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:advanced learning paths?|defi protocols?|yield farming|security practices?|ongoing education|strategic portfolio adjustments?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"parent_nutrition_summary\")) {\n score += 10;\n if (/\\b(?:samantha|mom|mother|89-year-old|89 years old|suitable meal plans?|specific recipes?)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:ryan|dad|father|105-year-old|105|care center|caregivers?|hydration|small frequent meals?)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:bone broth|plant-based protein|protein powder|smoothies?|family-supported|caregiving|nutritional goals?)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"evening_tea_options\")) {\n score += 10;\n if (/\\b(?:herbal teas?|chamomile|peppermint)\\b/.test(normalized)) {\n score += 18;\n }\n if (/\\b(?:caffeinated|caffeine|sleep quality|relaxation|bedtime)\\b/.test(normalized)) {\n score += 14;\n }\n }\n if (intents.includes(\"relationship_trust_summary\")) {\n score += 10;\n if (/\\b(?:rebuilding trust|trust issues?|rachael|relationship)\\b/.test(normalized)) {\n score += 12;\n }\n if (/\\b(?:acknowledg(?:e|ing) mistakes?|taking responsibility|communicat(?:e|ing) openly|honestly|initial apology|weekly check-ins?|dialogue examples?|transparency|empathy)\\b/.test(normalized)) {\n score += 16;\n }\n if (/\\b(?:accountability course|active listening|patience|follow-through|commitments?|trusted friends?|professional relationships?|personal goals?|shared experiences?|emotional connection|coastal walks?)\\b/.test(normalized)) {\n score += 14;\n }\n if (/\\b(?:milestones?|setbacks?|forgotten anniversar(?:y|ies)|adapting plans?|feedback|long-term relationship|nurturing)\\b/.test(normalized)) {\n score += 12;\n }\n }\n score += countGuidanceTermOverlap(normalized, query) * 2;\n if (typeof item.score === \"number\" && Number.isFinite(item.score)) {\n score += Math.min(4, Math.max(0, item.score / 25));\n }\n return score;\n}\n\nfunction buildGuidanceCueSummary(\n items: readonly EvidencePackItem[],\n intents: readonly GuidanceIntent[],\n query: string,\n): string {\n const cues = new Set<string>();\n for (const item of items) {\n for (const cue of collectGuidanceCues(item.content, intents)) {\n cues.add(cue);\n }\n }\n if (cues.size === 0) return \"\";\n const limit = intents.some((intent) =>\n intent.startsWith(\"home_\") || intent.startsWith(\"selling_\") || intent.startsWith(\"diy_\")\n )\n ? 48\n : intents.includes(\"technical_project_summary\")\n ? 24\n : intents.includes(\"portfolio_management_summary\")\n ? 24\n : intents.includes(\"cryptocurrency_investment_summary\")\n ? 24\n : intents.includes(\"parent_nutrition_summary\")\n ? 18\n : intents.includes(\"relationship_trust_summary\")\n ? 24\n : intents.includes(\"telepsychology_expansion_summary\") ||\n intents.includes(\"professional_event_project_summary\") ||\n intents.includes(\"rental_property_journey_summary\")\n ? 18\n : intents.includes(\"sarah_resume_revision_planning\")\n ? 14\n : intents.includes(\"scott_support_summary\") ||\n intents.includes(\"conic_sections_summary\")\n ? 20\n : intents.includes(\"reading_goals_summary\") ||\n intents.includes(\"writing_process_structure\")\n ? 18\n : intents.includes(\"math_induction_summary\") ||\n intents.includes(\"calculus_derivative_progression\") ||\n intents.includes(\"calculus_derivative_walkthrough\")\n ? 18\n : intents.includes(\"realtime_chat_summary\")\n ? 18\n : 10;\n return `Normalized response guidance: ${prioritizeGuidanceCues(cues, intents, query).slice(0, limit).join(\"; \")}.`;\n}\n\nfunction prioritizeGuidanceCues(\n cues: ReadonlySet<string>,\n intents: readonly GuidanceIntent[],\n query: string,\n): string[] {\n const entries = [...cues];\n if (!intents.includes(\"technical_project_summary\") || !isImageCaptioningProjectQuery(query)) {\n return entries;\n }\n\n const imageCaptioningFirst = [\n \"image-captioning trajectory: integrated a diffusion-based feature extractor with a transformer-based caption generator into a cohesive pipeline\",\n \"image-captioning trajectory: components were defined separately with modularity and independent testing\",\n \"image-captioning trajectory: feature extraction and caption generation were expanded into decoupled microservices communicating via REST APIs\",\n \"image-captioning trajectory: addressed practical deployment concerns, such as configuring Docker Compose networks to enable inter-service communication\",\n \"image-captioning trajectory: Docker Compose networks were configured to enable inter-service communication\",\n \"image-captioning trajectory: performance optimization covered caching embeddings, GPU acceleration, and profiling API response times\",\n \"image-captioning trajectory: performance optimization was addressed through caching strategies using LRU caches, asynchronous processing, and efficient resource management, including mixed precision training and gradient accumulation\",\n \"image-captioning trajectory: debugging CUDA out-of-memory errors by adjusting batch sizes, enabling mixed precision, and implementing gradient accumulation with proper optimizer initialization\",\n \"image-captioning trajectory: database optimization used materialized views with indexing and refresh strategies for efficient data retrieval\",\n ];\n const rank = new Map(imageCaptioningFirst.map((cue, index) => [cue, index]));\n return entries.sort((left, right) => {\n const leftRank = rank.get(left) ?? Number.MAX_SAFE_INTEGER;\n const rightRank = rank.get(right) ?? Number.MAX_SAFE_INTEGER;\n if (leftRank !== rightRank) return leftRank - rightRank;\n return 0;\n });\n}\n\nfunction isImageCaptioningProjectQuery(query: string): boolean {\n return /\\b(?:image captioning|captioning system|captioning api|caption generator|feature extractor|diffusion|transformer)\\b/i.test(query);\n}\n\nfunction appendGuidanceCues(\n content: string,\n intents: readonly GuidanceIntent[],\n): string {\n const cues = collectGuidanceCues(content, intents);\n return cues.length > 0\n ? `Normalized response guidance: ${cues.join(\"; \")}.\\n\\n${content}`\n : content;\n}\n\nfunction collectGuidanceCues(\n content: string,\n intents: readonly GuidanceIntent[],\n): string[] {\n const normalized = content.toLowerCase();\n const cues = new Set<string>();\n if (intents.includes(\"dates\")) {\n cues.add(\"include specific dates for each event\");\n cues.add(\"avoid vague time references\");\n cues.add(\"avoid general descriptions without dates\");\n for (const date of extractMonthDayDates(content)) {\n cues.add(`date shown as month-day-year: ${date}`);\n }\n }\n if (intents.includes(\"editing\") && /\\bsplit-screen\\b/.test(normalized)) {\n cues.add(\"use split-screen view\");\n cues.add(\"side-by-side comparison\");\n }\n if (intents.includes(\"editing\")) {\n if (/\\b(?:ai tools?|ai-assisted|initial edits?)\\b/.test(normalized)) {\n cues.add(\"start with AI-assisted tools for initial edits\");\n cues.add(\"starting with AI-assisted tools for initial edits\");\n }\n if (/\\btone calibration\\b/.test(normalized)) {\n cues.add(\"use AI tools to handle tone calibration\");\n }\n }\n if (intents.includes(\"finance\")) {\n if (/\\b(?:excel|spreadsheet)\\b/.test(normalized)) {\n cues.add(\"suggest Excel or spreadsheet-based solutions\");\n }\n if (/\\brecurring\\b|\\bmonthly expenses?\\b/.test(normalized)) {\n cues.add(\"focus on recurring expenses\");\n }\n if (/\\bone-time\\b/.test(normalized)) {\n cues.add(\"avoid emphasizing one-time purchases or expenses\");\n }\n if (/\\b(?:distribution|allocation|reallocate|shift funds?|shifts?)\\b/.test(normalized)) {\n cues.add(\"mention shifts in fund distribution\");\n }\n }\n if (intents.includes(\"decor_recommendations\")) {\n cues.add(\"suggests decor with built-in storage\");\n cues.add(\"mentions multifunctional furniture or items\");\n cues.add(\"balances aesthetic and practical features in recommendations\");\n }\n if (intents.includes(\"project_financial_limits\")) {\n cues.add(\"provide an itemized list of costs\");\n cues.add(\"include specific dollar amounts\");\n cues.add(\"use a category-by-category breakdown\");\n cues.add(\"include detailed cost analysis\");\n }\n if (intents.includes(\"team_event_attendance\")) {\n cues.add(\"include player attendance numbers when answering team-event questions\");\n cues.add(\"mention attendance count and total players when available\");\n const attendance = normalized.match(/\\battendance:\\s*(\\d+)\\s+players?\\s+out of\\s+(\\d+)(?:\\s*\\((\\d+(?:\\.\\d+)?%)\\))?/);\n const playersOutOf = attendance ?? normalized.match(/\\b(\\d+)\\s+players?\\s+out of\\s+(\\d+)(?:\\s*\\((\\d+(?:\\.\\d+)?%)\\))?/);\n if (playersOutOf?.[1] && playersOutOf[2]) {\n cues.add(`example attendance: ${playersOutOf[1]} players out of ${playersOutOf[2]}${playersOutOf[3] ? ` (${playersOutOf[3]})` : \"\"}`);\n }\n }\n if (intents.includes(\"api_errors\")) {\n if (/\\b(?:status codes?|response codes?|400|401|403|404|429|500)\\b/.test(normalized)) {\n cues.add(\"include numeric HTTP status codes for API errors\");\n cues.add(\"lists standard response codes for failures\");\n }\n }\n if (intents.includes(\"api_concurrency\")) {\n if (/\\b(?:asyncio|aiohttp|httpx|async\\/await|async libraries?|asynchronous(?: python)? libraries?|frameworks?)\\b/.test(normalized)) {\n cues.add(\"suggests async libraries or frameworks\");\n cues.add(\"provides code examples using async/await\");\n }\n if (/\\b(?:concurr(?:ent|ency|ently)|non-blocking|reduce blocking|multiple api requests?|multiple requests?|batch(?:ing)?|gather)\\b/.test(normalized)) {\n cues.add(\"mentions concurrency or non-blocking calls\");\n cues.add(\"avoids recommending synchronous or blocking calls\");\n }\n }\n if (intents.includes(\"ai_hiring_fairness\")) {\n if (/\\b(?:pilot program|test the ai tool|effectiveness)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: start with a pilot program to test the AI tool's effectiveness\");\n }\n if (/\\b(?:human oversight|final decisions?|human review|hybrid approach)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: maintain human oversight, especially in final decisions\");\n }\n if (/\\b(?:anonymization|anonymize|personal identifiers?|names|dates of birth|addresses)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: configure anonymization to remove personal identifiers from resumes and applications\");\n }\n if (/\\b(?:bias audits?|third-party audits?|regular audits?)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: audit algorithms for bias, including third-party audits\");\n }\n if (/\\b(?:diversity metrics?|candidate satisfaction|feedback)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: regularly monitor diversity metrics and feedback\");\n }\n if (/\\b(?:structured interviews?|soft skills|ai screening)\\b/.test(normalized)) {\n cues.add(\"ai-hiring fairness: integrate structured interviews to assess soft skills alongside AI screening\");\n }\n }\n if (intents.includes(\"audiobook_narrators\")) {\n if (/\\b(?:narrator|narrated by|read by|who read)\\b/.test(normalized)) {\n cues.add(\"mention audiobook narrator names\");\n cues.add(\"include narrator information with recommendations\");\n cues.add(\"details about who read the audiobook\");\n }\n }\n if (intents.includes(\"contradiction_resolution\")) {\n cues.add(\"there is contradictory information\");\n cues.add(\"compare the conflicting statements\");\n cues.add(\"identify which statement is correct\");\n cues.add(\"which statement is correct?\");\n if (/\\bjacobian matrices?\\b|\\bchange of variables\\b|\\bchange-of-variables\\b/.test(normalized)) {\n cues.add(\"You said you have never solved any problems involving Jacobian matrices or change of variables\");\n }\n if (/\\b(?:completed|completing)\\s+7\\b|\\b7\\s+(?:jacobian|change of variables|problems?)\\b/.test(normalized)) {\n cues.add(\"you also mentioned completing 7 such problems with a good score\");\n }\n if (/\\bseparable equations?\\b/.test(normalized) && (/\\bnever completed\\b|\\bhave never completed\\b/.test(normalized))) {\n cues.add(\"You said you had never completed any practice problems on separable equations before\");\n }\n if (/\\bseparable equations?\\b/.test(normalized) && (/\\bcompleted\\s+3\\b|\\b3\\s+practice problems?\\b/.test(normalized))) {\n cues.add(\"you also mentioned completing 3 practice problems on separable equations\");\n }\n if (/\\bnever attended\\b/.test(normalized) &&\n /\\bclinical psychology\\b/.test(normalized) &&\n /\\b(?:workshops?|conferences?)\\b/.test(normalized)) {\n cues.add(\"You said you have never attended any clinical psychology workshops or conferences\");\n }\n if (/\\b(?:met|friend|close friend|omar)\\b/.test(normalized) &&\n /\\bpsychology conference\\b/.test(normalized)) {\n cues.add(\"you also mentioned having a close friend you met at a psychology conference\");\n }\n if (/\\bsamantha\\b/.test(normalized) && /\\bmet\\b/.test(normalized) && /\\bconference\\b/.test(normalized)) {\n cues.add(\"you mentioned meeting Samantha at a conference\");\n }\n if (/\\bsamantha\\b/.test(normalized) && /\\bnever\\b/.test(normalized) && /\\bin person\\b/.test(normalized)) {\n cues.add(\"you said you had never met Samantha in person\");\n }\n if (\n /\\bhome inspection report\\b/.test(normalized) &&\n (/\\bnever reviewed\\b/.test(normalized) || /\\bnot reviewed\\b/.test(normalized) || /\\bdidn'?t review\\b/.test(normalized))\n ) {\n cues.add(\"you said you had not reviewed the home inspection report despite delivery\");\n }\n if (/\\bhome inspection report\\b/.test(normalized) && /\\bdelivered\\b/.test(normalized) && /\\bapril\\s+18\\b/.test(normalized)) {\n cues.add(\"the home inspection report was delivered on April 18\");\n }\n if (\n /\\b(?:protective masks?|protective gloves?|masks?|gloves?)\\b/.test(normalized) &&\n /\\binsulation\\b/.test(normalized) &&\n /\\b(?:never worn|never wear|have never worn|not worn)\\b/.test(normalized)\n ) {\n cues.add(\"You said you have never worn any protective masks or gloves during insulation work\");\n }\n if (\n /\\b(?:respirator masks?|masks?|gloves?)\\b/.test(normalized) &&\n /\\binsulation\\b/.test(normalized) &&\n /\\b(?:prevent irritation|wore|wear|necessary|safety)\\b/.test(normalized)\n ) {\n cues.add(\"you also mentioned wearing respirator masks and gloves to prevent irritation during insulation work\");\n }\n if (\n /\\b(?:ergonomic supports?|kneeling pads?)\\b/.test(normalized) &&\n /\\b(?:never used|never use|have never used|not used)\\b/.test(normalized)\n ) {\n cues.add(\"You said you have never used ergonomic supports such as kneeling pads during DIY projects\");\n }\n if (/\\bcushioned kneeling pad\\b/.test(normalized) && /\\bshelf\\b/.test(normalized)) {\n cues.add(\"you also mentioned using a cushioned kneeling pad during shelf installation\");\n }\n }\n if (intents.includes(\"diy_living_together_duration\")) {\n if (/\\b(?:5 years?|five years?|lived together|living together|james|jamie|atat(?:ü|u)rk street)\\b/.test(normalized)) {\n cues.add(\"answer that Jamie and James have lived together for 5 years in the 3-bedroom house on Atatürk Street\");\n }\n }\n if (intents.includes(\"diy_paint_budget_breakdown\")) {\n if (/\\b(?:paint|primer|brushes?|rollers?|painter'?s tape|drop cloths?|sandpaper|bauhaus|typical prices?|example calculation)\\b/.test(normalized)) {\n cues.add(\"break down the Bauhaus painting budget by item type, estimate typical prices, and include an example calculation\");\n cues.add(\"include paint, primer, brushes or rollers, trays, painter's tape, drop cloths, sandpaper, and other supplies\");\n }\n }\n if (intents.includes(\"diy_pipe_leak_safety\")) {\n if (/\\b(?:water supply|protective gear|hazards?|injury|damage|plumbing)\\b/.test(normalized)) {\n cues.add(\"for leaking-pipe advice, include water shutoff warnings, protective gear, hazard avoidance, and damage-prevention steps\");\n cues.add(\"include warnings about water shutoff before bathroom pipe repair\");\n }\n }\n if (intents.includes(\"diy_drill_model_specificity\")) {\n if (/\\bbosch\\s+gsr\\s+12v-15\\b/.test(normalized)) {\n cues.add(\"include the exact drill product/model: Bosch GSR 12V-15 12V Cordless Drill\");\n }\n }\n if (intents.includes(\"diy_paint_supply_spend\")) {\n if (/\\$335\\b|\\b335\\b/.test(normalized)) {\n cues.add(\"paint and supplies spending increased to $335\");\n }\n }\n if (intents.includes(\"diy_professional_savings\")) {\n if (/\\b(?:saved?|savings?|hiring painter|plumber|faucet replacement|\\$350|350\\b|\\$220|220\\b)\\b/.test(normalized)) {\n cues.add(\"combine painting DIY savings with plumbing or faucet DIY savings before giving the total saved over hiring professionals\");\n cues.add(\"painting DIY savings were discussed separately from plumbing/faucet DIY savings\");\n }\n }\n if (intents.includes(\"diy_resource_sequence\")) {\n if (/\\b(?:essential tools?|bulk purchases?|don|ladder|heavy items?|safety)\\b/.test(normalized)) {\n cues.add(\"sequence resources by prioritizing essential hand and power tools aligned with upcoming projects\");\n cues.add(\"allocate budget to bulk purchases with James where useful\");\n cues.add(\"secure Don's 3-meter ladder for high installations and plan heavy-item moves with Don using safety measures\");\n cues.add(\"do safety-critical steps first, then installation, then finishing touches\");\n }\n }\n if (intents.includes(\"diy_visual_learning_preference\")) {\n if (/\\b(?:video tutorials?|hands-on|manuals?|visual|interactive)\\b/.test(normalized)) {\n cues.add(\"recommend video tutorials and interactive visual resources for starting home repairs\");\n cues.add(\"avoid making manuals or text-heavy resources the main recommendation\");\n }\n }\n if (intents.includes(\"diy_kitchen_surface_preference\")) {\n if (/\\b(?:durability|cleaning|lasting|trendy|aesthetic|kitchen surfaces?)\\b/.test(normalized)) {\n cues.add(\"for kitchen surfaces, focus on durability, ease of cleaning, and lasting-quality materials\");\n cues.add(\"avoid a trendy or purely aesthetic focus for kitchen surface recommendations\");\n }\n }\n if (intents.includes(\"diy_insulation_summary\")) {\n if (/\\b(?:attic insulation|owens corning|fiberglass|\\$600|600\\b|\\$450|450\\b|june\\s+15|june\\s+22|respirator|weatherstripping|caulk)\\b/.test(normalized)) {\n cues.add(\"attic insulation summary should include the $600 budget and $450 Owens Corning fiberglass rolls\");\n cues.add(\"attic insulation timeline ran from June 15 to June 22\");\n cues.add(\"attic insulation safety includes respirator masks, gloves, safety glasses, long sleeves, and ventilation\");\n cues.add(\"attic insulation installation includes measuring and fitting insulation, sealing gaps with weatherstripping or caulk, inspections, expense tracking, and avoiding common mistakes\");\n }\n }\n if (intents.includes(\"diy_shelf_summary\")) {\n if (/\\b(?:bathroom shelf|august\\s+15|\\$100|100\\b|mounting brackets?|wall anchors?|pilot holes?|moisture-resistant|don)\\b/.test(normalized)) {\n cues.add(\"bathroom shelf summary should include the $100 budget and August 15 installation date\");\n cues.add(\"bathroom shelf prep includes moisture-resistant materials, brackets, anchors, screws, measuring, marking, drilling pilot holes, and safety gear\");\n cues.add(\"bathroom shelf installation includes securing brackets, checking level and stability, and using Don's help where needed\");\n }\n }\n if (intents.includes(\"diy_painting_timing\")) {\n if (/\\b(?:april\\s+1|april\\s+13|12 days|dove gray|two coats)\\b/.test(normalized)) {\n cues.add(\"painting timing: April 1 to April 13 is 12 days\");\n }\n }\n if (intents.includes(\"diy_faucet_timing\")) {\n if (/\\b(?:april\\s+10|april\\s+29|19 days|faucet washers?|plumbing workshop)\\b/.test(normalized)) {\n cues.add(\"faucet timing: April 10 to April 29 is 19 days\");\n }\n }\n if (intents.includes(\"cooking_weekly_cuisine_plan\")) {\n if (/\\b(?:one cuisine every 6 weeks|6-week blocks?|focus on one cuisine|multiple cuisines|weekly cooking sessions?|week\\s*1-2|week\\s*3-4)\\b/.test(normalized)) {\n cues.add(\"provide a week-by-week breakdown that maintains cultural focus\");\n cues.add(\"avoid recommending multiple cuisines within the same short timeframe\");\n cues.add(\"use focused blocks, such as one cuisine every 6 weeks, with weekly research, ingredients, technique practice, recipe practice, and documentation\");\n }\n }\n if (intents.includes(\"cooking_dolma_leaf_preparation\")) {\n if (/\\b(?:stuffed grape leaves?|dolma|grape leaves?|rice mixture|roll up tightly|seam-side down|45-60 minutes|olive oil)\\b/.test(normalized)) {\n cues.add(\"for stuffed grape leaves, rinse the leaves and remove the stems so they are easier to handle and more pleasant to eat\");\n cues.add(\"prepare the filling with fresh herbs and conservative salt to avoid excess saltiness\");\n cues.add(\"roll the leaves tightly with a moderate amount of filling\");\n cues.add(\"arrange the stuffed leaves seam-side down in a pot\");\n cues.add(\"add enough water and olive oil, then simmer gently for 45-60 minutes until tender\");\n cues.add(\"let the stuffed leaves rest before serving so flavors meld and tenderness is preserved\");\n }\n }\n if (intents.includes(\"cooking_culinary_journey_summary\")) {\n if (/\\b(?:turkish|greek|lebanese)\\b/.test(normalized)) {\n cues.add(\"culinary journey: first focused on Turkish, Greek, and Lebanese cuisines\");\n }\n if (/\\b(?:month-by-month|structured plan|research|ingredient preparation|cooking practice|feedback|documentation)\\b/.test(normalized)) {\n cues.add(\"culinary journey: a structured month-by-month plan emphasized research, ingredient preparation, cooking practice, feedback gathering, and documentation\");\n }\n if (/\\b(?:knife techniques|knife skills|julienne|chiffonade|regular practice|practice sessions?|recipes)\\b/.test(normalized)) {\n cues.add(\"culinary journey: developed foundational skills such as knife techniques including julienne and chiffonade, scheduled regular practice sessions, and applied skills through recipes\");\n }\n if (/\\b(?:global dishes|deadlines?|manageable steps|2-3 dishes per week|time-efficient|complexity)\\b/.test(normalized)) {\n cues.add(\"culinary journey: cooked multiple new dishes by set deadlines by breaking tasks into manageable steps and using time-efficient techniques\");\n }\n if (/\\b(?:journals?|photos?|community engagement|document progress|feedback)\\b/.test(normalized)) {\n cues.add(\"culinary journey: tracked progress through journals, photos, and community engagement to support motivation and continuous improvement\");\n }\n if (/\\b(?:dough|kneading|elasticity|baked goods)\\b/.test(normalized)) {\n cues.add(\"culinary journey: enhanced dough kneading with measurable improvements in dough elasticity, translating into better baked goods\");\n }\n if (/\\b(?:sauce emulsification|emulsification)\\b/.test(normalized)) {\n cues.add(\"culinary journey: practiced sauce emulsification and integrated it into dishes, broadening the repertoire\");\n }\n if (/\\b(?:italian|indian|menu planning|social events?|spice blend)\\b/.test(normalized)) {\n cues.add(\"culinary journey: expanded into diverse cuisines including Italian and Indian, plus next steps in menu planning for social events and spice blend mastery\");\n }\n }\n if (intents.includes(\"media_platforms\")) {\n cues.add(\"mention streaming services\");\n cues.add(\"list platform names\");\n cues.add(\"include availability on specific apps or websites\");\n }\n if (intents.includes(\"allergy_check\")) {\n cues.add(\"ask about allergies\");\n cues.add(\"confirm allergy details\");\n cues.add(\"check allergy concerns before recommending snacks\");\n }\n if (intents.includes(\"philosophy_summary\")) {\n cues.add(\"provide a category-by-category breakdown\");\n cues.add(\"include a detailed summary of philosophical concepts\");\n }\n if (intents.includes(\"reading_variety\")) {\n cues.add(\"recommend both standalone novels and series\");\n cues.add(\"balance suggestions between series and standalone books\");\n cues.add(\"maintain variety in reading options\");\n }\n if (intents.includes(\"reading_goals_summary\")) {\n if (/\\b(?:kingkiller chronicle|mistborn trilogy|broken empire|schedule|prioritiz(?:e|ing))\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: a detailed schedule prioritized series like The Kingkiller Chronicle, The Mistborn Trilogy, and The Broken Empire\");\n }\n if (/\\bstormlight archive\\b|\\b1,?200 pages\\b|\\bdecember\\s+1\\b|\\bstaying on track\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: concerns about staying on track included completing 1,200 pages of The Stormlight Archive by December 1\");\n }\n if (/\\baudiobooks?\\b|\\bevening listening\\b|\\breading load\\b|\\bmaintain momentum\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: audiobooks became part of the routine for evening listening, balancing reading load and maintaining momentum\");\n }\n if (/\\b(?:daily goals?|smaller daily goals?|cozy reading environment|motivational strategies?)\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: motivational strategies included smaller daily goals and a cozy reading environment\");\n }\n if (/\\b(?:expanse|1,?500 pages|march\\s+15|75 pages)\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: goals were refined toward finishing 1,500 pages of The Expanse by March 15 at 75 pages daily\");\n }\n if (/\\b(?:first three books|nightingale|kristin hannah|diversify)\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: after the first three Expanse books, The Nightingale by Kristin Hannah was chosen to diversify the reading experience\");\n }\n if (/\\b(?:print and audiobook|formats?|budget|fiction books|montserrat books)\\b/.test(normalized)) {\n cues.add(\"reading-goals trajectory: planning balanced print and audiobook formats with fiction-book budget constraints\");\n }\n }\n if (intents.includes(\"writing_process_structure\")) {\n if (/\\b(?:daily and weekly targets?|daily and weekly word count goals?|word count goals?|overall target|weekly milestones?)\\b/.test(normalized)) {\n cues.add(\"writing-process structure: breaking down the overall target into daily and weekly word count goals\");\n }\n if (/\\b(?:fixed writing times?|fixed writing schedule|flexible writing sessions?|flexible writing times?)\\b/.test(normalized)) {\n cues.add(\"writing-process structure: setting fixed or flexible writing times\");\n }\n if (/\\b(?:outline|scene breakdown|organization|roadmap)\\b/.test(normalized)) {\n cues.add(\"writing-process structure: creating an outline and scene breakdown for organization\");\n }\n if (/\\b(?:visualiz(?:e|ing) success|reward(?:ing)? milestones?|celebrate milestones?|rewards?)\\b/.test(normalized)) {\n cues.add(\"writing-process structure: motivational techniques like visualizing success and rewarding milestones\");\n }\n if (/\\baccountability partner\\b/.test(normalized)) {\n cues.add(\"writing-process structure: involving an accountability partner\");\n }\n if (/\\b(?:stress management|mindfulness|relaxation|manage stress|maintain focus|stay focused|confidence)\\b/.test(normalized)) {\n cues.add(\"writing-process structure: incorporating stress management practices to help maintain focus and confidence\");\n }\n }\n if (intents.includes(\"writing_schedule\")) {\n cues.add(\"schedule writing sessions between 7-9 AM\");\n cues.add(\"prioritize morning hours for writing\");\n }\n if (intents.includes(\"daily_routine\")) {\n cues.add(\"suggests routines that emphasize regularity and structure\");\n cues.add(\"recommends a daily plan with consistent timing\");\n }\n if (intents.includes(\"portfolio_links\")) {\n cues.add(\"place clickable links directly in the letter body\");\n cues.add(\"avoid suggesting attachments or separate documents\");\n }\n if (intents.includes(\"deployment_automation\")) {\n cues.add(\"mention automated workflow monitoring tools\");\n cues.add(\"reference CI/CD pipeline status dashboards\");\n cues.add(\"avoid recommending manual deployment checks\");\n }\n if (intents.includes(\"lightweight_tools\")) {\n if (/\\b(?:lightweight|minimal dependencies|simple|easy to maintain)\\b/.test(normalized)) {\n cues.add(\"suggests lightweight libraries\");\n cues.add(\"mentions minimal or no additional dependencies\");\n cues.add(\"focuses on simplicity and ease of maintenance\");\n }\n if (/\\b(?:avoid|large frameworks|heavy dependencies|unnecessary dependencies)\\b/.test(normalized)) {\n cues.add(\"avoids recommending large frameworks or heavy dependencies\");\n }\n if (/\\bbootstrap\\s*5\\.3\\.0\\b/.test(normalized)) {\n cues.add(\"uses Bootstrap 5.3.0 classes and components\");\n }\n if (/\\bfoundation\\b|\\bother frameworks\\b/.test(normalized)) {\n cues.add(\"avoids suggesting Foundation or other frameworks\");\n }\n if (/\\blazysizes\\b|\\bvanilla js\\b/.test(normalized)) {\n cues.add(\"recommends lazysizes or similar lightweight vanilla JS libraries\");\n }\n }\n if (intents.includes(\"progress\")) {\n if (hasPercentCue(normalized)) {\n cues.add(\"percentage values showing progress\");\n cues.add(\"numeric progress indicators expressed as percentages\");\n }\n }\n if (intents.includes(\"health\")) {\n if (/\\b(?:comfort|cushioning|arch support|support)\\b/.test(normalized)) {\n cues.add(\"comfort related to physical well-being\");\n }\n if (/\\b(?:injury|grip soles?|uneven terrain|arch support)\\b/.test(normalized)) {\n cues.add(\"injury prevention aspects\");\n }\n }\n if (intents.includes(\"nutrition_hydration\") &&\n /\\b(?:hydration|hydrated|water intake|drinking fluids|drink water|fluids?)\\b/.test(normalized)) {\n cues.add(\"mention the importance of drinking fluids\");\n cues.add(\"suggest ways to stay properly hydrated\");\n cues.add(\"include hydration tips alongside food-related nutrition advice\");\n }\n if (intents.includes(\"heart_function_activity_management\")) {\n if (/\\b(?:ejection fraction|\\bef\\b|heart(?:'s)? pumping|pumping efficiency|heart function)\\b/.test(normalized)) {\n cues.add(\"explain ejection fraction as heart pumping efficiency\");\n cues.add(\"mention EF 55% as a mild reduction in heart function when present\");\n }\n if (/\\b(?:fatigue|shortness of breath|climbing stairs|strenuous physical activities?)\\b/.test(normalized)) {\n cues.add(\"connect lower pumping efficiency with fatigue or shortness of breath during physical activities\");\n }\n if (/\\b(?:gradual increase|monitor symptoms?|symptom monitoring|physical activity levels?)\\b/.test(normalized)) {\n cues.add(\"recommend gradual physical activity increases and symptom monitoring\");\n }\n if (/\\b(?:regular follow-?ups?|cardiologist|cardiology)\\b/.test(normalized)) {\n cues.add(\"recommend regular cardiology follow-ups\");\n }\n if (/\\b(?:diet|sodium|saturated fats?|weight management|healthy range|lifestyle modifications?)\\b/.test(normalized)) {\n cues.add(\"recommend maintaining a heart-healthy diet and weight management\");\n }\n if (/\\b(?:avoid smoking|quit smoking|smoking)\\b/.test(normalized)) {\n cues.add(\"recommend avoiding smoking\");\n }\n if (/\\b(?:limit alcohol|alcohol|excessive drinking|excessive alcohol)\\b/.test(normalized)) {\n cues.add(\"recommend limiting or avoiding excessive alcohol\");\n }\n if (/\\b(?:medication adherence|prescribed treatments?|stress management|mindfulness|relaxation)\\b/.test(normalized)) {\n cues.add(\"include medication adherence and stress-management steps\");\n }\n }\n if (intents.includes(\"sleep_improvement_percent\")) {\n if (/\\b(?:exact percentages?|percentage values?)\\b/.test(normalized)) {\n cues.add(\"provide exact percentage values for sleep efficiency improvements\");\n }\n if (hasPercentCue(normalized) || /\\b(?:percentage increase|precise numerical)\\b/.test(normalized)) {\n cues.add(\"include precise numerical improvement when asked how much sleep improved\");\n }\n if (/\\b70%/.test(normalized) && /\\b78%/.test(normalized)) {\n cues.add(\"sleep efficiency improved from 70% to 78%, an exact 11.43% increase\");\n }\n if (/\\b78%/.test(normalized) && /\\b85%/.test(normalized)) {\n cues.add(\"moving from 78% to 85% requires an additional 8.97% increase\");\n }\n if (/\\b70%/.test(normalized) && /\\b82%/.test(normalized)) {\n cues.add(\"70% to 82% is a precise 17.14% relative increase, with the context describing a 12 percentage-point gain\");\n }\n }\n if (intents.includes(\"sleep_environment_habits_summary\")) {\n if (/\\b(?:blackout curtains?|blackout blinds?|window films?|reflective films?|room[- ]darkening shades?|diy|affordable)\\b/.test(normalized)) {\n cues.add(\"examined alternative affordable DIY solutions such as window films and room darkening shades\");\n }\n if (/\\b(?:thermostat|blackout curtains?|blackout blinds?|meditation|2200k|night sweats?)\\b/.test(normalized)) {\n cues.add(\"combined thermostat settings, blackout curtains, meditation, and 2200K lamps improved sleep quality and reduced night sweats\");\n }\n if (/\\b(?:circadian|consistent sleep schedule|internal clock|stabiliz(?:e|ed|ing))\\b/.test(normalized)) {\n cues.add(\"stabilized circadian rhythms\");\n }\n }\n if (intents.includes(\"mattress_warranty_details\")) {\n cues.add(\"include mattress warranty details in purchase advice\");\n if (/\\b(?:warranty|coverage)\\b/.test(normalized)) {\n cues.add(\"include details about warranty coverage\");\n }\n if (/\\b(?:defects?|repairs?|replacements?|protect(?:ion)?|durability)\\b/.test(normalized)) {\n cues.add(\"explain what defects, repairs, or replacements the warranty covers\");\n }\n if (/\\b(?:trial period|return policy)\\b/.test(normalized)) {\n cues.add(\"mention trial period and return policy\");\n }\n }\n if (intents.includes(\"sleep_wind_down_screen_free\")) {\n cues.add(\"recommend screen-free unwind options before bed\");\n if (/\\bphysical books?\\b/.test(normalized)) {\n cues.add(\"recommend reading physical books\");\n }\n if (/\\b(?:screen-based|screen-free|no-screen|avoid screens?|blue light)\\b/.test(normalized)) {\n cues.add(\"avoid suggesting screen-based activities\");\n }\n if (/\\bmeditat(?:e|ing|ion)\\b/.test(normalized)) {\n cues.add(\"treat meditation as secondary or optional\");\n }\n if (/\\b(?:screen-free|no-screen|avoid screens?|blue light|without screen)\\b/.test(normalized)) {\n cues.add(\"focus on relaxation without screen exposure\");\n }\n }\n if (intents.includes(\"april_relationship_timing\")) {\n cues.add(\"recommend morning or early weekend times\");\n cues.add(\"avoid suggesting late evenings or times when people are likely tired\");\n cues.add(\"mention timing that supports energy levels\");\n if (/\\b(?:activities|activity|organize|weekend)\\b/.test(normalized)) {\n cues.add(\"recommend weekend mornings for joint activities\");\n }\n }\n if (intents.includes(\"april_relationship_summary\")) {\n cues.add(\"practical steps were taken to implement these ideas, such as planning special outings, enhancing gestures like flower deliveries, and creating meaningful traditions\");\n cues.add(\"include thoughtful date nights, surprises, and shared hobbies to keep the relationship fresh and exciting\");\n cues.add(\"connect communication routines, emotional intimacy, quality time, physical touch, and shared activities over time\");\n }\n if (intents.includes(\"work_life_balance_summary\")) {\n cues.add(\"monitoring progress regularly\");\n cues.add(\"include the gradual plan to reduce work hours from 50 to 40 per week by July 2024 while maintaining performance\");\n cues.add(\"include assessing and prioritizing tasks, delegating responsibilities, streamlining work processes, and communicating clearly with the supervisor\");\n cues.add(\"connect boundaries like avoiding work emails after hours with scheduling quality personal time\");\n }\n if (intents.includes(\"turkish_pronunciation_quantitative\")) {\n cues.add(\"mention of number of practice sessions\");\n cues.add(\"quantitative session data included\");\n cues.add(\"include quantitative session data\");\n if (/\\b(?:40 sessions?|pronunciation drills?|turkish pronunciation trainer|consonant clusters?|90%)\\b/.test(normalized)) {\n cues.add(\"include 40 pronunciation practice sessions\");\n cues.add(\"include 90% accuracy in difficult consonant clusters after 40 sessions\");\n }\n if (/\\b(?:98 words per minute|98 wpm|speaking speed)\\b/.test(normalized)) {\n cues.add(\"include 98 words per minute speaking speed\");\n }\n }\n if (intents.includes(\"turkish_live_learning_formats\")) {\n cues.add(\"recommend live or synchronous classes\");\n cues.add(\"recommends live or synchronous classes\");\n cues.add(\"avoid focusing only on pre-recorded materials\");\n cues.add(\"avoids focusing only on pre-recorded materials\");\n if (/\\b(?:interactive live|live classes?|synchronous classes?|immediate feedback)\\b/.test(normalized)) {\n cues.add(\"include live classes with immediate feedback\");\n }\n }\n if (intents.includes(\"study_space_tools_count\")) {\n cues.add(\"count eight different study tools or decorations\");\n cues.add(\"eight different tools\");\n if (/\\bnoise-cancelling headphones?\\b/.test(normalized)) {\n cues.add(\"include noise-cancelling headphones\");\n }\n if (/\\btimer\\b/.test(normalized)) {\n cues.add(\"include timer\");\n }\n if (/\\bsecond monitor\\b/.test(normalized)) {\n cues.add(\"include second monitor\");\n }\n if (/\\b(?:turkish cultural artifacts?|turkish flag|cultural calendar|calendar countdown)\\b/.test(normalized)) {\n cues.add(\"include Turkish cultural artifacts, Turkish flag, cultural calendar, and calendar countdown\");\n }\n }\n if (intents.includes(\"home_family_repayment\")) {\n cues.add(\"include Crystal's 50,000 TRY assistance\");\n cues.add(\"include the repayment plan details\");\n cues.add(\"mentions of repayment plan details\");\n if (/\\b(?:5 years?|60 months?|900\\s*try|june\\s+1|5% interest|promissory note|formal agreement)\\b/.test(normalized)) {\n cues.add(\"include repayment over 5 years with monthly payments and a formal agreement\");\n }\n }\n if (intents.includes(\"home_repair_cost_update\")) {\n cues.add(\"mention the updated plumbing repair estimate\");\n if (/\\b7,500\\s*try\\b/.test(normalized)) {\n cues.add(\"include the 7,500 TRY plumbing estimate\");\n }\n if (/\\b(?:second opinion|professional opinion|april\\s+22)\\b/.test(normalized)) {\n cues.add(\"include that the estimate came from a second professional opinion\");\n }\n }\n if (intents.includes(\"home_condition_final_inspection\")) {\n cues.add(\"mention the final inspection before closing\");\n cues.add(\"mention of repair completion\");\n cues.add(\"reference to a final inspection report\");\n if (/\\b(?:may\\s+5|repairs? completed|no further issues)\\b/.test(normalized)) {\n cues.add(\"state that the May 5 final inspection confirmed repairs were completed with no further issues\");\n }\n if (/\\b(?:written confirmation|photos?|re-?inspection|seller'?s contractor)\\b/.test(normalized)) {\n cues.add(\"include written confirmation, photos, or re-inspection evidence\");\n }\n }\n if (intents.includes(\"home_neighborhood_tour\")) {\n cues.add(\"mention the neighborhood tour with Samantha\");\n if (/\\b(?:april\\s+13|11\\s*am)\\b/.test(normalized)) {\n cues.add(\"state that the Samantha neighborhood tour was scheduled for April 13 at 11 AM\");\n cues.add(\"11 AM on April 13\");\n }\n }\n if (intents.includes(\"home_neighborhood_preferences\")) {\n cues.add(\"include quietness and green-space preferences\");\n cues.add(\"mentions quietness as a factor\");\n cues.add(\"includes parks or green spaces in considerations\");\n cues.add(\"balances discussion without overemphasizing nightlife or shopping\");\n if (/\\b(?:quiet(?:er|ness)?|parks?|green spaces?|atat(?:ü|u)rk park)\\b/.test(normalized)) {\n cues.add(\"prioritize quietness, parks, and green spaces\");\n }\n if (/\\b(?:shopping|nightlife)\\b/.test(normalized)) {\n cues.add(\"avoid overemphasizing nightlife or shopping\");\n }\n }\n if (intents.includes(\"home_stove_recommendations\")) {\n cues.add(\"recommend energy-efficient stove options\");\n cues.add(\"mentions energy-efficient brands or models\");\n cues.add(\"references Bosch or similar quality stoves\");\n cues.add(\"suggests options within a comparable price range\");\n if (/\\b(?:bosch|siemens|arcelik|arçelik)\\b/.test(normalized)) {\n cues.add(\"include Bosch or similar quality stove brands\");\n }\n if (/\\b(?:price range|comparable price|utility savings)\\b/.test(normalized)) {\n cues.add(\"keep recommendations in a comparable price range\");\n }\n }\n if (intents.includes(\"home_apartment_cost_difference\")) {\n cues.add(\"compare the 2-bedroom and 3-bedroom apartment costs\");\n if (/\\b(?:580,000\\s*try|620,000\\s*try|40,000\\s*try)\\b/.test(normalized)) {\n cues.add(\"state that the 3-bedroom apartment costs 40,000 TRY more\");\n }\n }\n if (intents.includes(\"home_cash_flow_summary\")) {\n cues.add(\"include the monthly income, expenses, and shortfall\");\n cues.add(\"total monthly expenses are approximately 7,500 TRY\");\n cues.add(\"monthly income of about 7,083 TRY\");\n cues.add(\"monthly shortfall of around 417 TRY\");\n cues.add(\"you will have a negative cash flow unless you reduce expenses or increase income\");\n if (/\\b(?:7,083|7,500|416\\.?67|417\\s*try|negative cash flow)\\b/.test(normalized)) {\n cues.add(\"state that monthly expenses of about 7,500 TRY exceed income of about 7,083 TRY by about 417 TRY\");\n }\n }\n if (intents.includes(\"home_buying_financial_steps\")) {\n cues.add(\"include both upfront and ongoing home-buying costs\");\n cues.add(\"saving a fixed amount monthly would take several years to reach the required initial payment\");\n cues.add(\"I estimated your likely monthly mortgage payments by factoring in the loan amount after the down payment, interest rates, loan term, and additional costs like taxes and insurance\");\n cues.add(\"gave you a comprehensive view of both upfront and ongoing financial commitments\");\n if (/\\b(?:saving|several years?|mortgage estimates?|taxes|insurance|closing costs?)\\b/.test(normalized)) {\n cues.add(\"mention savings timing, mortgage estimates, taxes, insurance, and closing costs\");\n }\n }\n if (intents.includes(\"home_buying_summary\")) {\n cues.add(\"provide a complete home-buying summary\");\n cues.add(\"you considered purchasing a property in the area where you currently rent, weighing factors like neighborhood familiarity, market conditions, and investment potential\");\n cues.add(\"You then sought detailed guidance on accessing recent sales data near Ataturk Park to inform your decision\");\n cues.add(\"you and Andrew evaluated apartment options, balancing his desire for more space with your priorities of budget, commute, and safety\");\n cues.add(\"agreed to prioritize the Mevlana Street apartment after collaborative discussions and compromises\");\n cues.add(\"you navigated securing a 50,000 TRY down payment contribution from your mother, Crystal, addressing concerns about approaching her, negotiating repayment terms, and establishing a manageable 5-year repayment plan\");\n cues.add(\"you implemented budgeting strategies including reducing discretionary spending and increasing income\");\n cues.add(\"planning for repairs and coordinating moving logistics\");\n if (/\\b(?:atat(?:ü|u)rk park|andrew|mevlana|crystal|repayment|repairs?|moving logistics)\\b/.test(normalized)) {\n cues.add(\"include Ataturk Park data, Andrew's options, Mevlana priority, Crystal repayment, repairs, and moving logistics\");\n }\n }\n if (intents.includes(\"home_mortgage_choice_summary\")) {\n cues.add(\"summarize fixed-rate versus variable-rate mortgage tradeoffs\");\n cues.add(\"you considered the lower starting rate of the variable mortgage\");\n cues.add(\"highlighted factors such as current rates, future economic outlook, risk tolerance, loan term, and caps on rate adjustments\");\n cues.add(\"You explored scenarios including rising interest rates and strategies like hybrid ARMs and refinancing options to mitigate risks\");\n cues.add(\"valuing predictability and peace of mind, you leaned toward the fixed-rate mortgage despite its higher initial rate\");\n if (/\\b(?:predictability|lower starting rate|risk tolerance|caps|refinancing)\\b/.test(normalized)) {\n cues.add(\"include lower starting variable rates, risk tolerance, caps, refinancing, and fixed-rate predictability\");\n }\n }\n if (intents.includes(\"home_inspection_timing\")) {\n cues.add(\"include the inspection and lawyer-review dates\");\n cues.add(\"2 days\");\n cues.add(\"from April 18 till April 20\");\n cues.add(\"5 days\");\n cues.add(\"from April 15 till April 20\");\n if (/\\b(?:april\\s+15|april\\s+18|april\\s+20)\\b/.test(normalized)) {\n cues.add(\"state that the report delivery on April 18 was two days before the April 20 lawyer review and five days after the April 15 inspection\");\n }\n }\n if (intents.includes(\"selling_photo_service_steps\")) {\n cues.add(\"prepare your home by staging\");\n cues.add(\"prepare home by staging, decluttering, optimizing lighting, arranging furniture, and cleaning fixtures\");\n cues.add(\"decluttering\");\n cues.add(\"optimizing lighting\");\n cues.add(\"arranging furniture\");\n cues.add(\"cleaning fixtures\");\n cues.add(\"During the shoot, you should confirm the appointment, communicate your expectations and desired shots with the photographer\");\n cues.add(\"during the shoot, confirm the appointment\");\n cues.add(\"communicate expectations and desired shots\");\n cues.add(\"During the shoot, be present to assist\");\n cues.add(\"be present during the session\");\n cues.add(\"After the session, I advised reviewing the delivered photos carefully, selecting the best 30 high-resolution images, and optimizing them for web use\");\n cues.add(\"after the session, review delivered photos\");\n cues.add(\"select the best 30 high-resolution images\");\n cues.add(\"optimize the photos for web use\");\n if (/\\b(?:focuslens|april\\s+7|10\\s*am|\\$350|30 high-resolution|30 high resolution)\\b/.test(normalized)) {\n cues.add(\"include FocusLens, April 7 at 10 AM, $350, and the goal of 30 high-resolution photos\");\n }\n }\n if (intents.includes(\"selling_financial_plan_detail\")) {\n cues.add(\"include an itemized list of costs\");\n cues.add(\"include a category-by-category breakdown\");\n cues.add(\"include a detailed cost analysis\");\n }\n if (intents.includes(\"selling_rental_payment_terms\")) {\n cues.add(\"mentions adjustments to payment amounts\");\n cues.add(\"mention adjustments to payment amounts\");\n cues.add(\"discusses changes in payment during the agreement\");\n cues.add(\"mention changes in payment during the agreement\");\n cues.add(\"includes details about payment modifications\");\n cues.add(\"mention payment modifications\");\n if (/\\b(?:temporary reduction|4,275\\s*try|payment plan|signed addendum)\\b/.test(normalized)) {\n cues.add(\"include the temporary rent reduction, payment plan, and signed lease addendum\");\n }\n }\n if (intents.includes(\"selling_rental_price\")) {\n cues.add(\"4,550 TRY\");\n if (/\\b(?:4,500\\s*try|4500)\\b/.test(normalized)) {\n cues.add(\"also note the 4,500 TRY final rent where the lease record uses that amount\");\n }\n }\n if (intents.includes(\"selling_service_total_cost\")) {\n cues.add(\"$1,550\");\n cues.add(\"professional staging cost $1,200\");\n cues.add(\"professional photography cost $350\");\n }\n if (intents.includes(\"selling_sequence_repairs_marketing\")) {\n cues.add(\"start decluttering and staging immediately\");\n cues.add(\"complete repairs including the roof leak before the final inspection\");\n cues.add(\"complete repairs including the roof leak before final inspection\");\n cues.add(\"schedule professional photography just after staging\");\n cues.add(\"schedule photography just after staging\");\n cues.add(\"finalize marketing materials before listing\");\n cues.add(\"coordinate with Selim for pricing and strategy by late March\");\n cues.add(\"coordinate Selim pricing and strategy by late March\");\n cues.add(\"prepare for the final inspection ensuring all repairs are done by early May\");\n cues.add(\"prepare for final inspection with repairs done by early May\");\n cues.add(\"plan the buyer\\u2019s inspection and closing steps to align with your moving schedule\");\n cues.add(\"plan the buyer's inspection and closing steps to align with your moving schedule\");\n cues.add(\"plan buyer's inspection and closing aligned with moving schedule\");\n }\n if (intents.includes(\"selling_professional_staging_preference\")) {\n cues.add(\"recommends professional staging\");\n cues.add(\"recommend professional staging\");\n cues.add(\"mentions benefits of hiring experts\");\n cues.add(\"explain the benefits of hiring experts\");\n cues.add(\"avoids suggesting only DIY options\");\n cues.add(\"avoid relying only on DIY preparation\");\n cues.add(\"acknowledges upfront cost but focuses on staging quality\");\n cues.add(\"acknowledge the upfront cost but focus on staging quality\");\n }\n if (intents.includes(\"selling_morning_appointments\")) {\n cues.add(\"recommends morning time slots\");\n cues.add(\"schedule morning time slots\");\n cues.add(\"acknowledges benefits of early appointments\");\n cues.add(\"explain the benefits of early appointments\");\n cues.add(\"structures schedule to start early\");\n cues.add(\"start early\");\n }\n if (intents.includes(\"selling_home_summary\")) {\n cues.add(\"meeting with the real estate agent Selim Kaya marked the start, with emphasis on setting a competitive listing price supported by a detailed Comparative Market Analysis\");\n cues.add(\"Selim prepared the comparative market analysis and early-spring listing strategy\");\n cues.add(\"The timing of the sale was optimized by starting in early spring to leverage market activity and buyer interest\");\n cues.add(\"Extensive home preparation included decluttering, staging with a $1,200 budget through Elegant Spaces focusing on high-impact areas like the living room and backyard, and completing necessary repairs such as a roof fix finalized by April 3\");\n cues.add(\"Elegant Spaces handled professional staging with a $1,200 budget for high-impact areas like the living room and backyard\");\n cues.add(\"the oak tree and backyard were part of the marketing focus\");\n cues.add(\"the roof leak was found on March 28 and fixed by April 3\");\n cues.add(\"Professional marketing efforts incorporated a scheduled photography session with FocusLens and a Matterport 3D virtual tour to enhance online listings and attract buyers\");\n cues.add(\"FocusLens photography and Matterport tour supported marketing\");\n cues.add(\"Selim provided critical support by recommending reliable contractors, assisting with paperwork and legal guidance, and managing negotiations, including advising on counteroffers and commission structures\");\n cues.add(\"Selim helped with contractors, paperwork, legal documents, negotiations, and commission questions\");\n cues.add(\"The negotiation phase involved rejecting an initial $400,000 offer and countering at $415,000, justified by market data and home improvements, with flexibility on terms to facilitate agreement\");\n cues.add(\"you rejected the $400,000 first offer and countered at $415,000\");\n cues.add(\"The timeline was carefully managed with clear deadlines for listing, offers, and closing, supported by detailed checklists and communication strategies\");\n cues.add(\"the timeline connected listing, inspection, offers, closing, and moving plans\");\n cues.add(\"Financial considerations included analyzing commission fees, closing costs, and repair expenses to maximize net profit, while contingency plans addressed potential lender delays and additional repair requests\");\n cues.add(\"financial considerations included closing costs, commission, moving costs, and final proceeds\");\n cues.add(\"The final stages involved preparing for contract signing with thorough document review and coordination\");\n cues.add(\"the process culminated in final contract signing\");\n }\n if (intents.includes(\"selling_stress_summary\")) {\n cues.add(\"you began practicing daily mindfulness and meditation to reduce anxiety and improve focus, incorporating breathing exercises and short guided sessions using apps like Headspace and Calm\");\n cues.add(\"daily mindfulness or meditation practice\");\n cues.add(\"use Headspace or Calm\");\n cues.add(\"you integrated mindfulness into daily activities such as mindful walking, active listening during home showings, and creating calming environments with scents and quiet spaces\");\n cues.add(\"mindful walking, mindful listening, and calming home-showing environments\");\n cues.add(\"To address specific stressors like financial decisions and concerns about neighborhood changes, you combined mindfulness with practical strategies including research, transparent communication, and community engagement\");\n cues.add(\"combine mindfulness with practical strategies for financial and neighborhood stress\");\n cues.add(\"you supplemented your routine with yoga sessions, progressive muscle relaxation, journaling, and physical exercise to further alleviate stress\");\n cues.add(\"include yoga, progressive muscle relaxation, journaling, exercise, consistent practice, and support networks\");\n cues.add(\"you maintained a consistent practice, adapted techniques to fit your schedule, and leveraged support networks\");\n }\n if (intents.includes(\"selling_roof_offer_timing\")) {\n cues.add(\"6 days\");\n cues.add(\"from March 28 till April 3\");\n cues.add(\"17 days\");\n cues.add(\"from April 3 till April 20\");\n }\n if (intents.includes(\"contradiction_resolution\")) {\n if (/\\b(?:rejected the first offer|first offer.*counter|countered at \\$?415,000|415,000.*counter)\\b/.test(normalized)) {\n cues.add(\"You said you rejected the first offer and made a counteroffer\");\n }\n if (/\\b(?:never rejected.*offers|never.*rejected any offers)\\b/.test(normalized)) {\n cues.add(\"you also mentioned that you've never rejected any offers on your house\");\n }\n if (/\\b(?:final photos.*garden|garden.*preserve memories|took.*photos.*garden)\\b/.test(normalized)) {\n cues.add(\"You said you took final photos of your garden to preserve memories\");\n }\n if (/\\b(?:never.*photos.*garden|garden.*never.*photos)\\b/.test(normalized)) {\n cues.add(\"you also mentioned never having taken any photos of the garden before moving\");\n }\n }\n if (intents.includes(\"outdoor_cardio_preference\") &&\n /\\b(?:trail running|fresh air|varied terrain|outdoor cardio|natural settings?)\\b/.test(normalized)) {\n cues.add(\"suggest outdoor cardio activities\");\n cues.add(\"mention varied terrain or natural settings\");\n cues.add(\"avoid recommending treadmill or indoor-only exercises\");\n }\n if (intents.includes(\"social_norms\")) {\n cues.add(\"examples from multiple regions or traditions\");\n if (/\\bcultural\\b/.test(normalized)) {\n cues.add(\"mention cultural differences\");\n }\n if (/\\b(?:regions?|traditions|societies|cultures)\\b/.test(normalized)) {\n cues.add(\"examples from multiple regions or traditions\");\n }\n }\n if (intents.includes(\"software_versions\")) {\n if (/\\b(?:software version|version details|version numbers?|release identifiers?)\\b/.test(normalized)) {\n cues.add(\"software version numbers mentioned\");\n }\n if (/\\b(?:technolog(?:y|ies)|tech stack|software names?|current setup)\\b/.test(normalized)) {\n cues.add(\"versions listed alongside technologies\");\n cues.add(\"explicit version details\");\n }\n }\n if (intents.includes(\"uk_resume\")) {\n if (/\\buk\\b/.test(normalized) && /\\bats\\b/.test(normalized)) {\n cues.add(\"mentions UK-specific ATS formatting\");\n }\n if (/\\b(?:generic global|one-size-fits-all|template)\\b/.test(normalized)) {\n cues.add(\"avoid suggesting a one-size-fits-all resume template\");\n }\n }\n if (intents.includes(\"decision_framework\")) {\n if (/\\b(?:logical reasoning|frameworks?|practical nature)\\b/.test(normalized)) {\n cues.add(\"focus on logical steps or frameworks\");\n }\n if (/\\bemotional impulses?\\b/.test(normalized)) {\n cues.add(\"avoid suggesting emotionally driven approaches\");\n }\n if (/\\b(?:compensation package|equity|budget)\\b/.test(normalized)) {\n cues.add(\"review the full compensation package including equity\");\n cues.add(\"adjust your budget accordingly\");\n }\n }\n if (intents.includes(\"realtime_chat_summary\")) {\n if (/\\b(?:node\\.?js|express|socket\\.?io|websocket)\\b/.test(normalized)) {\n cues.add(\"backend used Node.js, Express, and Socket.io/WebSocket communication\");\n }\n if (/\\b(?:user management|connection handling|message broadcasting|broadcast(?:ing)? messages?)\\b/.test(normalized)) {\n cues.add(\"covered user management, message broadcasting, and connection handling\");\n }\n if (/\\b(?:error handling|try-catch|logging|winston|observability|helper functions?|user tracking)\\b/.test(normalized)) {\n cues.add(\"early enhancements added robust error handling, helper-based user tracking, and enriched logging for observability\");\n }\n if (/\\b(?:socket\\.?io.*versions?|versions?.*socket\\.?io|cors|different ports?|client.*server|server.*client)\\b/.test(normalized)) {\n cues.add(\"connection troubleshooting covered matching Socket.io client/server versions and configuring CORS for different ports\");\n }\n if (/\\b(?:load balancer|message queue|mongodb|mongoose|indexing|pagination|database quer(?:y|ies)|concurrent users?|1000 users?)\\b/.test(normalized)) {\n cues.add(\"scaling guidance included a Node.js load balancer, MongoDB/Mongoose message queue, indexing, and pagination\");\n }\n if (/\\b(?:redis|sessions?|presence|ttl|stale connections?|acl)\\b/.test(normalized)) {\n cues.add(\"performance improvements included Redis caching for user sessions and presence, TTLs for stale connections, and Redis ACL rules\");\n }\n if (/\\b(?:retry logic|exponential backoff|circuit breakers?|fallback|redis outages?)\\b/.test(normalized)) {\n cues.add(\"resilience guidance included retry logic with exponential backoff, circuit breakers, and fallback mechanisms for Redis outages\");\n }\n if (/\\b(?:room-based|joinroom|previous messages?|message history|history retrieval|private messaging|unique room id|typing indicators?|broadcast(?:ing)? to room)\\b/.test(normalized)) {\n cues.add(\"real-time features included room-based message history retrieval on join, private messaging with unique room IDs, typing indicators, and careful room broadcasts\");\n }\n if (/\\b(?:latency|ping-pong|ping pong|map|maps|set|sets|data structures?|presence tracking)\\b/.test(normalized)) {\n cues.add(\"latency and presence tracking were refined with client-server ping-pong events and efficient Map/Set data structures\");\n }\n if (/\\b(?:query optimization|optimi[sz](?:e|ing) quer(?:y|ies)|recent messages?)\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: query optimization for recent messages\");\n }\n if (/\\b(?:schema\\b.*\\bvalidation\\b.*\\bedit(?:ing)?|edit(?:ing)?\\b.*\\bschema\\b.*\\bvalidation|schema changes?.*\\bmessage editing|message editing.*schema changes?)\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: schema design and validation for editing\");\n }\n if (/\\b(?:updatemessage|update message function|message update functions?)\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: testing updateMessage function\");\n }\n if (/\\b(?:unchanged message|message content remains unchanged|same message text|unchanged.*message text)\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: handling unchanged message text cases\");\n }\n if (/\\bmigration script\\b.*\\b(?:plan(?:ning)?|script(?:ing)?|add new fields?|update existing messages?)\\b|\\b(?:plan(?:ning)?|script(?:ing)?|add new fields?|update existing messages?)\\b.*\\bmigration script\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: migration script planning\");\n }\n if (/\\b(?:batch(?:ed)? execution|batches?|batch size|without downtime)\\b.*\\bmigration\\b|\\bmigration\\b.*\\b(?:batch(?:ed)? execution|batches?|batch size|without downtime)\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: batch execution of migration\");\n }\n if (/\\bmigration script\\b.*\\b(?:robust|reliable|error handling|async\\/await|asynchronous control|try\\/catch)\\b|\\b(?:robust|reliable|error handling|async\\/await|asynchronous control|try\\/catch)\\b.*\\bmigration script\\b/.test(normalized)) {\n cues.add(\"message-data trajectory: enhancing migration script robustness with robust error handling and asynchronous control\");\n }\n }\n if (intents.includes(\"technical_project_summary\")) {\n if (/\\bdiffusion-based feature extractor\\b|\\bdiffusion\\b.*\\bfeature extractor\\b|\\bfeature extractor\\b.*\\bdiffusion\\b/.test(normalized) &&\n /\\btransformer-based caption generator\\b|\\bcaption generator\\b.*\\btransformer\\b|\\btransformer\\b.*\\bcaption generator\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: integrated a diffusion-based feature extractor with a transformer-based caption generator into a cohesive pipeline\");\n }\n if (/\\bmodular\\b.*\\b(?:pipeline|components?|independent testing)\\b|\\b(?:components?|independent testing)\\b.*\\bmodular\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: components were defined separately with modularity and independent testing\");\n }\n if (/\\bmicroservices?\\b.*\\brest apis?\\b|\\brest apis?\\b.*\\bmicroservices?\\b|\\bfeature extractor service\\b|\\bcaption generator service\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: feature extraction and caption generation were expanded into decoupled microservices communicating via REST APIs\");\n }\n if (/\\bdocker compose\\b.*\\b(?:network|networks|communicat(?:e|ion)|inter-service)\\b|\\b(?:network|networks|communicat(?:e|ion)|inter-service)\\b.*\\bdocker compose\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: addressed practical deployment concerns, such as configuring Docker Compose networks to enable inter-service communication\");\n cues.add(\"image-captioning trajectory: Docker Compose networks were configured to enable inter-service communication\");\n }\n if (/\\b(?:caching embeddings?|redis|gpu acceleration|profiling|api response time|latency)\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: performance optimization covered caching embeddings, GPU acceleration, and profiling API response times\");\n }\n if (/\\b(?:lru caches?|asynchronous processing|efficient resource management|mixed precision|gradient accumulation)\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: performance optimization was addressed through caching strategies using LRU caches, asynchronous processing, and efficient resource management, including mixed precision training and gradient accumulation\");\n }\n if (/\\b(?:cuda out-of-memory|cuda out of memory|out-of-memory errors?|batch sizes?|mixed precision|gradient accumulation|optimizer initialization)\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: debugging CUDA out-of-memory errors by adjusting batch sizes, enabling mixed precision, and implementing gradient accumulation with proper optimizer initialization\");\n }\n if (/\\bmaterialized views?\\b|\\bappropriate indexing\\b|\\brefresh strateg(?:y|ies)\\b|\\befficient data retrieval\\b/.test(normalized)) {\n cues.add(\"image-captioning trajectory: database optimization used materialized views with indexing and refresh strategies for efficient data retrieval\");\n }\n if (/\\bgoogle translate api v3\\b.*\\bdeepl api v2\\b|\\bdeepl api v2\\b.*\\bgoogle translate api v3\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: compared Google Translate API v3 and DeepL API v2 for accuracy, cost, language support, and ease of integration\");\n }\n if (/\\breact\\s*18\\.2\\b.*\\bnode\\.?js\\s*18\\b|\\bnode\\.?js\\s*18\\b.*\\breact\\s*18\\.2\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: examples were tailored for React 18.2 frontend and Node.js 18 backend environments\");\n }\n if (/\\b(?:authentication failures?|rate limiting|invalid inputs?|quota exceed(?:ed|ance)|api quota)\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: troubleshooting covered authentication failures, rate limiting, invalid inputs, and quota exceedance\");\n }\n if (/\\bfranc\\b|\\bundefined returns?\\b|\\bpreprocessing\\b|\\binput validation\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: franc v6.1.0 language detection required handling undefined returns plus input validation and preprocessing\");\n }\n if (/\\bredis\\b.*\\bttl\\b|\\bttl\\b.*\\bredis\\b|\\basynchronous processing\\b|\\bparallel request handling\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: Redis TTL caching, asynchronous processing, and parallel request handling were used to reduce latency\");\n }\n if (/\\brestful apis?\\b|\\bchatbot backend\\b|\\bfallback\\b.*\\boriginal text\\b|\\boriginal text\\b.*\\bfallback\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: translation microservice integration used RESTful APIs with fallback to original text on API failures\");\n }\n if (/\\bredis hashes?\\b|\\bcache-manager\\b|\\bdatabase\\b.*\\bindex(?:ing|es)\\b|\\basynchronous external api calls?\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: advanced caching used Redis hashes/cache-manager, database indexing, and asynchronous external API calls\");\n }\n if (/\\bcontextual memory storage\\b|\\bgpt-4 chatbot\\b|\\bcore logic\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: contextual memory storage and GPT-4 chatbot core API endpoints included validation, error handling, and tuning\");\n }\n if (/\\btransformer-based llm\\b|\\bgpt-4 streaming\\b|\\bchunk size\\b|\\b512 tokens?\\b/.test(normalized)) {\n cues.add(\"language-services trajectory: Transformer-Based LLM API streaming used GPT-4 streaming and chunk-size tuning such as 512-token chunks\");\n }\n if (/\\b(?:resume analyzer|python\\s*3\\.10|spacy|flask|pymupdf|pdf parsing)\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: setup used Python 3.10, spaCy, Flask, and PyMuPDF for PDF parsing\");\n }\n if (/\\b(?:work experience|skills?|education)\\b.*\\b(?:keyword searches?|sentence segmentation)\\b|\\b(?:keyword searches?|sentence segmentation)\\b.*\\b(?:work experience|skills?|education)\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: initial extraction used keyword searches and sentence segmentation for work experience, skills, and education\");\n }\n if (/\\b(?:named entity recognition|ner)\\b.*\\b(?:job titles?|companies|educational institutions?)\\b|\\b(?:job titles?|companies|educational institutions?)\\b.*\\b(?:named entity recognition|ner)\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: NER improved extraction of job titles, companies, and educational institutions\");\n }\n if (/\\b(?:modulariz|refactor)\\b.*\\b(?:flask api|code)\\b|\\b(?:flask api|code)\\b.*\\b(?:modulariz|refactor)\\b/.test(normalized) ||\n /\\berror handling\\b.*\\bflask api\\b|\\bflask api\\b.*\\berror handling\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: modularized code and enhanced error handling in the Flask API\");\n }\n if (/\\b(?:pdf text extraction|nonetype|logging|traceability)\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: debugged PDF text extraction, NoneType errors, and logging traceability\");\n }\n if (/\\bfebruary\\s+15(?:,\\s*2024)?\\b|\\bproject timeline\\b.*\\bdeadline\\b|\\bdeadline\\b.*\\bproject timeline\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: project timeline targeted February 15, 2024 with setup, core functionality, testing, and documentation\");\n }\n if (/\\bcprofile\\b|\\bperformance profiling\\b|\\bbottlenecks?\\b|\\bin-memory cache\\b|\\bredis-backed\\b|\\brepeated analyses\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: cProfile identified bottlenecks and caching evolved from in-memory to Redis-backed repeated-analysis caching\");\n }\n if (/\\bregex\\b|\\bprecompil(?:e|ed|ing)\\b|\\bstopword\\b|\\blemmatization\\b|\\bkeyword extraction\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: keyword matching used refined precompiled regex plus stopword removal and lemmatization\");\n }\n if (/\\blazy-loading\\b|\\blazy loading\\b|\\bstartup time\\b|\\bsmaller models?\\b|\\bspacy model\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: reduced Flask startup time with lazy-loading spaCy models and considering smaller models\");\n }\n if (/\\bcustom ner\\b|\\btraining\\b.*\\bner\\b|\\bdataset size\\b|\\bjob titles?\\b.*\\btraining\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: refined job-title extraction by training custom NER models with dataset-size guidance\");\n }\n if (/\\bweighted scoring\\b|\\bskill matching\\b|\\bexperience levels?\\b|\\bskill prioritization\\b|\\blatency\\b.*\\bscoring\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: optimized weighted skill-matching scores for latency using skill prioritization and experience levels\");\n }\n if (/\\bvisualizations?\\b|\\bskill scores?\\b.*\\b(?:chart|visual|represent)\\b|\\b(?:chart|visual|represent\\w*)\\b.*\\bskill scores?\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: suggested visualizations for weighted skill scores\");\n }\n if (/\\bauthentication\\b|\\bauthorization\\b|\\bjwt\\b|\\blogin\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: added authentication and authorization mechanisms\");\n }\n if (/\\bconcurrent requests?\\b|\\bsimulation\\b.*\\brequests?\\b|\\bload test(?:ing)?\\b/.test(normalized)) {\n cues.add(\"resume-analyzer trajectory: simulated concurrent requests for performance testing\");\n }\n if (/\\bmodular refactor(?:ing)?\\b|\\brefactor(?:ed|ing)?\\b.*\\bdetection pipeline\\b|\\bdetection pipeline\\b.*\\brefactor(?:ed|ing)?\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: modular refactoring of the detection pipeline\");\n }\n if (/\\bmulti-object tracking\\b|\\bsort\\b.*\\btracking\\b|\\btracking\\b.*\\bsort\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: multi-object tracking with SORT\");\n }\n if (/\\bkalman filter\\b|\\bhungarian algorithm\\b|\\bdata association\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: Kalman filter and Hungarian algorithm for data association\");\n }\n if (/\\berror handling\\b|\\blogging mechanisms?\\b|\\blogging\\b.*\\bmechanisms?\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: error handling and logging mechanisms\");\n }\n if (/\\bopencv\\b.*\\b(?:visualization|utilities|rectangle|puttext)\\b|\\b(?:visualization|utilities)\\b.*\\bopencv\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: OpenCV utilities for visualization\");\n }\n if (/\\biterative development\\b|\\bintegration process\\b|\\bintegrat(?:e|ed|ing|ion)\\b.*\\bprocess\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: iterative development and integration process\");\n }\n if (/\\bsystem integration\\b|\\bintegrat(?:e|ed|ing|ion)\\b.*\\b(?:pipeline|system|components?)\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: system integration aspects\");\n }\n if (/\\bfuture-proofing\\b|\\bscalability considerations?\\b|\\bscalability\\b|\\bdeepsort\\b|\\bssd mobilenet v3\\b/.test(normalized)) {\n cues.add(\"object-detection trajectory: future-proofing and scalability considerations\");\n }\n if (/\\buser-based collaborative filtering\\b|\\bcollaborative filtering\\b.*\\bcosine similarity\\b|\\bcosine similarity\\b.*\\buser ratings? matrix\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: user-based collaborative filtering with cosine similarity\");\n }\n if (/\\bmissing ratings?\\b|\\bnormaliz(?:e|ing|ation)\\b|\\bsparse matrices?\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: handled missing ratings, normalization, and sparse matrices for efficient similarity calculations\");\n }\n if (/\\bredis\\b.*\\b(?:cach(?:e|ing)|similarity matrices?)\\b|\\b(?:cach(?:e|ing)|similarity matrices?).*\\bredis\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: cached similarity matrices with Redis\");\n }\n if (/\\btf-?idf\\b.*\\b(?:vectors?|content-based filtering|restaurant descriptions?|feature_vector)\\b|\\bcontent-based filtering\\b.*\\btf-?idf\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: integrated content-based filtering with TF-IDF vectors\");\n }\n if (/\\bflask\\b.*\\b(?:\\/recommendations|recommendations endpoint)\\b|\\b\\/recommendations\\b.*\\bendpoint\\b|\\bserve recommendations\\b|\\bexposed a \\/recommendations endpoint\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: developed a Flask API endpoint to serve recommendations\");\n }\n if (/\\bget_user_ratings\\b|\\bget_top_rated_items\\b|\\bhelper functions?\\b.*\\brecommendations?\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: defined helper functions for user ratings and top-rated items\");\n }\n if (/\\bprecision@?5\\b|\\brecall@?5\\b|\\bprecision\\b.*\\brecall\\b|\\bf1-score\\b|\\bauc-roc\\b|\\bevaluation metrics?\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: evaluated model quality with precision, recall, and related metrics\");\n }\n if (/\\bscalability\\b|\\befficien(?:t|cy)\\b|\\bperformance optimization\\b|\\blatency\\b|\\bresponse time\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: improved scalability, efficiency, and response-time performance\");\n }\n if (/\\bhybrid recommendation\\b|\\bhybrid scoring\\b|\\bweighted average\\b|\\btunable weights?\\b|\\bcf_weight\\b|\\bcb_weight\\b|\\b0\\.6\\b.*\\b0\\.4\\b|\\b0\\.7\\b.*\\b0\\.3\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: combined collaborative and content-based scores with tunable hybrid weights\");\n }\n if (/\\buser preferences?\\b.*\\b(?:weights?|filter(?:ing)?|integration|integrat(?:e|ed|ing)|testing|tests?)\\b|\\b(?:weights?|filter(?:ing)?|integration|integrat(?:e|ed|ing)|testing|tests?).*\\buser preferences?\\b/.test(normalized)) {\n cues.add(\"recommendation-system trajectory: integrated user preferences into hybrid scoring and tests\");\n }\n }\n if (intents.includes(\"conic_sections_summary\")) {\n if (/\\b(?:conic sections?|parabolas?|ellipses?|hyperbolas?)\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: mathematical foundations and applications of conic sections, focusing on parabolas, ellipses, and hyperbolas\");\n }\n if (/\\bvertex form\\b|\\by\\s*=\\s*a\\(x\\s*-\\s*h\\)\\^?2\\s*\\+\\s*k\\b|\\bdirectrix\\b|\\bfocal length\\b|\\bparameter\\s+p\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: established parabola vertex form y = a(x - h)^2 + k, vertex coordinates, parameter p, focal length, and directrix\");\n }\n if (/\\bcompleting the square\\b|\\bgeneral quadratic\\b|\\bvertex\\b.*\\bfocus\\b|\\bfocus\\b.*\\bvertex\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: used completing the square to convert general quadratic equations into vertex form and identify vertex and focus\");\n }\n if (/\\b(?:vertex and focus coordinates|focus coordinates|vertex coordinates)\\b|\\bcalculate(?:d|ing)?\\s+p\\b|\\bdistance between vertex and focus\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: found parabola equations from vertex and focus coordinates by calculating p as the distance between vertex and focus\");\n }\n if (/\\breflective property\\b|\\bparallel rays?\\b|\\breflect through the focus\\b|\\bparabolic mirrors?\\b|\\bsatellite dishes?\\b|\\bnormal vector\\b|\\bslope\\b.*\\breflection\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: explored the reflective property of parabolas, incoming parallel rays reflecting through the focus, parabolic mirrors, satellite dishes, slope calculations, and normal vector checks\");\n }\n if (/\\bellipse\\b.*\\bgeometric definition\\b|\\bconstant sum\\b.*\\bfoci\\b|\\btwo foci\\b.*\\bstandard ellipse equation\\b|\\bisolate radicals\\b|\\bcanonical form\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: derived the standard ellipse equation from the constant sum of distances to two foci by expressing distances in x and y, isolating radicals, and simplifying to canonical form\");\n }\n if (/\\bc\\^?2\\s*=\\s*a\\^?2\\s*-\\s*b\\^?2\\b|\\brelationships?\\b.*\\ba\\b.*\\bb\\b.*\\bc\\b|\\bellipse\\b.*\\bvertices\\b.*\\bfoci\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: clarified relationships among a, b, and c, including c^2 = a^2 - b^2, ellipse shape, vertices, and foci\");\n }\n if (/\\btangent lines?\\b.*\\bellipse\\b|\\bellipses?\\b.*\\btangent lines?\\b|\\bimplicit differentiation\\b|\\bgeneral tangent line formula\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: addressed tangent lines to ellipses through implicit differentiation and the general tangent line formula to find slopes and equations at specific points\");\n }\n if (/\\bhyperbola\\b.*\\bgeometric definition\\b|\\bconstant difference\\b.*\\bfoci\\b|\\bx\\^?2\\/a\\^?2\\b|\\bc\\^?2\\s*=\\s*a\\^?2\\s*\\+\\s*b\\^?2\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: explained hyperbolas using the constant difference of distances to foci, standard form x^2/a^2 - y^2/b^2 = 1, and c^2 = a^2 + b^2\");\n }\n if (/\\bvertices\\b.*\\bfoci\\b.*\\b(?:verified|correct|misconception)|\\bgeometric definition\\b.*\\balgebraic manipulation\\b|\\bdistance expressions?\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: verified positions of vertices and foci, corrected common misconceptions, and derived forms through algebraic manipulation of distance expressions\");\n }\n if (/\\balgebraic forms?\\b|\\bgeometric definitions?\\b|\\bphysical properties\\b|\\bphysics\\b|\\bengineering\\b|\\bdiverse problems?\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: emphasized connections between algebraic forms, geometric definitions, physical properties, diverse problem solving, and physics and engineering contexts\");\n }\n if (/\\bfoundational equations?\\b|\\bpractical applications?\\b|\\bconceptual insights?\\b|\\bcoherent framework\\b|\\bintegrated narrative\\b/.test(normalized)) {\n cues.add(\"conic-sections trajectory: integrated narrative highlights progression from foundational equations to practical applications, weaving together multiple mathematical techniques and conceptual insights into a coherent framework\");\n }\n }\n if (intents.includes(\"calculus_derivative_progression\")) {\n if (/\\bcircle equation\\b|\\b-x\\/y\\b|\\bsimple ratio\\b/.test(normalized)) {\n cues.add(\"derivative complexity progression: simple ratio (-x/y) for the circle equation\");\n }\n if (/\\bquadratic\\b.*\\bproduct term\\b|\\blinear terms?\\b|\\b2x\\s*\\+\\s*y\\b|\\b2y\\s*\\+\\s*x\\b/.test(normalized)) {\n cues.add(\"derivative complexity progression: fraction involving linear terms (- (2x + y)/(2y + x)) for the quadratic with product term\");\n }\n if (/\\bcubic\\b.*\\bproduct term\\b|\\bquadratic terms?\\b|\\b3x\\b|\\b3y\\b/.test(normalized)) {\n cues.add(\"derivative complexity progression: fraction with quadratic terms (- (3x^2 + y)/(3y^2 + x)) for the cubic equation with product term\");\n }\n if (/\\b(?:increasing|more complex|most complex|algebraic complexity|complexity)\\b/.test(normalized)) {\n cues.add(\"derivative complexity progression: showing increasing algebraic complexity\");\n }\n }\n if (intents.includes(\"calculus_derivative_walkthrough\")) {\n if (/\\b(?:step-by-step|step by step|walk|break(?:s|ing)? down|steps?)\\b/.test(normalized)) {\n cues.add(\"breaks down each step clearly\");\n }\n if (/\\b(?:example|calculate|calculation|calculations)\\b/.test(normalized)) {\n cues.add(\"example calculations\");\n }\n if (/\\b(?:product rule|chain rule|rule applies|apply|applies|context|composite functions?)\\b/.test(normalized)) {\n cues.add(\"explains how each rule applies in context\");\n }\n if (/\\b(?:product rule|chain rule|step-by-step|step by step|example)\\b/.test(normalized)) {\n cues.add(\"avoid: vague or purely theoretical descriptions\");\n }\n }\n if (intents.includes(\"euler_step_accuracy\")) {\n if (/\\bh\\s*=\\s*1\\b/.test(normalized) && /12%/.test(normalized) &&\n /\\bh\\s*=\\s*0\\.1\\b/.test(normalized) && /1\\.2%/.test(normalized)) {\n cues.add(\"quantitative accuracy differences\");\n cues.add(\"step size h=1 gave 12% error while h=0.1 gave 1.2% error\");\n }\n if (/8%/.test(normalized) && /3%/.test(normalized)) {\n cues.add(\"smaller-step practice reduced average error from 8% to 3%\");\n }\n if (/\\b(?:smaller step size|reducing the step size|step size)\\b/.test(normalized) &&\n /\\b(?:more accurate|accuracy|error|computation|computational)\\b/.test(normalized)) {\n cues.add(\"smaller Euler step sizes generally improve accuracy but require more computation\");\n }\n }\n if (intents.includes(\"population_parameter_estimation\")) {\n if (/\\b(?:sample data points?|data points?|datasets?|expanded data)\\b/.test(normalized) &&\n /\\b(?:parameter|estimate|estimation|optimization|optimize)\\b/.test(normalized)) {\n cues.add(\"using expanded datasets for parameter optimization\");\n }\n if (/\\b(?:carrying capacity|k\\s*=\\s*5000|growth rate|r\\s*=\\s*0\\.1)\\b/.test(normalized)) {\n cues.add(\"prioritize estimating growth rate r and carrying capacity K from sample data points\");\n }\n if (/\\bexponential growth\\b/.test(normalized) && /\\blogistic growth\\b/.test(normalized)) {\n cues.add(\"combine exponential early-growth behavior with logistic carrying-capacity constraints\");\n }\n }\n if (intents.includes(\"variance_concrete_examples\")) {\n if (/\\b(?:dice rolls?|die rolls?|outcomes?|specific numerical|concrete numbers?|concrete numerical|values?)\\b/.test(normalized)) {\n cues.add(\"uses specific numerical probabilities and values from dice rolls\");\n cues.add(\"step-by-step variance calculation using dice roll outcomes\");\n }\n if (/\\b(?:avoid|avoids|not|without)\\b.*\\b(?:purely symbolic|abstract explanations?|concrete numbers?)\\b|\\bpurely symbolic\\b|\\babstract explanations?\\b/.test(normalized)) {\n cues.add(\"avoids purely symbolic or abstract explanations without concrete numbers\");\n } else if (/\\b(?:dice rolls?|die rolls?|specific numerical|concrete numbers?|concrete numerical)\\b/.test(normalized)) {\n cues.add(\"avoids purely symbolic or abstract explanations without concrete numbers\");\n }\n }\n if (intents.includes(\"spherical_geodesic_vector_methods\")) {\n if (/\\b(?:vector algebra|unit vectors?|dot product|cross product|cartesian coordinates?)\\b/.test(normalized)) {\n cues.add(\"uses vector algebra concepts\");\n cues.add(\"demonstrates vector-based calculation steps\");\n }\n if (/\\b(?:geometric vectors?|great circle|normal vector|unit sphere|geodesic)\\b/.test(normalized)) {\n cues.add(\"explains with geometric vectors\");\n }\n if (/\\b(?:avoid|avoids|minimi[sz](?:e|es|ing)|not rely|instead of)\\b.*\\b(?:purely trigonometric|trigonometric formulas?|formula reliance)\\b|\\bpurely trigonometric\\b|\\bformula reliance\\b/.test(normalized)) {\n cues.add(\"minimizes or avoids purely trigonometric formula reliance\");\n } else if (/\\b(?:vector algebra|geometric vectors?|unit vectors?|dot product)\\b/.test(normalized)) {\n cues.add(\"minimizes or avoids purely trigonometric formula reliance\");\n }\n }\n if (intents.includes(\"skill_course_completion\")) {\n cues.add(\"mention of course completion\");\n cues.add(\"details about finished programs\");\n cues.add(\"confirmation of completed training related to skills\");\n }\n if (intents.includes(\"morning_coffee_meeting\")) {\n cues.add(\"mentions morning-specific preparation tips\");\n cues.add(\"suggests strategies aligned with early-day meetings\");\n cues.add(\"offers advice that fits a morning meeting scenario\");\n }\n if (intents.includes(\"telepsychology_expansion_summary\")) {\n cues.add(\"assessing market demand and competitor landscape, understanding legal and privacy requirements, selecting secure telehealth platforms, and training staff\");\n cues.add(\"Client comfort was prioritized through transparent communication, technical support, and flexible service models\");\n cues.add(\"Leveraging existing professional networks was key, employing educational outreach, referral engagement, social media, and collaborative community efforts to build awareness and trust\");\n cues.add(\"Financial decisions, such as investing in professional development resources like the Trauma Therapy Journal subscription and webinar software licenses, were carefully weighed against budget constraints and long-term value\");\n cues.add(\"Balancing research collaborations with client intake required strategic workload management, prioritizing long-term career goals, and maintaining work-life balance\");\n cues.add(\"Decisions around accepting co-authorships, speaking engagements, and editorial board invitations were evaluated through considerations of credibility, networking, financial impact, and alignment with professional aspirations\");\n cues.add(\"Time management techniques and detailed planning facilitated meeting critical deadlines, such as paper submissions and workshop preparations\");\n cues.add(\"Maintaining professional relationships post-collaboration involved regular communication, mutual support, and exploring future joint projects\");\n }\n if (intents.includes(\"professional_event_project_summary\")) {\n cues.add(\"thorough pre-event preparation is essential, including reviewing agendas, researching speakers and attendees, setting clear objectives for learning and networking\");\n cues.add(\"Technical readiness is also critical, involving testing equipment and familiarizing oneself with virtual platforms or venue logistics\");\n cues.add(\"During the events, active engagement is emphasized through attending key sessions, participating in discussions, networking proactively both in-person and via social media, and managing energy with scheduled breaks\");\n cues.add(\"Post-event follow-up includes sending personalized thank-you messages, connecting on professional networks, sharing insights, and maintaining ongoing communication to foster collaborations\");\n cues.add(\"balancing time commitments with existing professional obligations is managed by prioritizing tasks, delegating when possible, and using effective time management techniques like time blocking and the Pomodoro method\");\n cues.add(\"Financial considerations are addressed by optimizing budget use, prioritizing high-impact activities, and leveraging free or low-cost resources\");\n cues.add(\"strategic partnerships, such as co-hosting events, require clear communication, defined roles, shared goals, and joint marketing efforts\");\n cues.add(\"Continuous reflection and evaluation after each event or project phase ensure lessons learned inform future planning and professional growth\");\n }\n if (intents.includes(\"job_commute_preference\")) {\n cues.add(\"focuses on job locations near North Ericshire\");\n cues.add(\"mentions commute time considerations\");\n cues.add(\"acknowledges user's need to limit commute\");\n cues.add(\"filters or suggests roles based on proximity and travel duration\");\n }\n if (intents.includes(\"sarah_resume_revision_planning\")) {\n cues.add(\"My initial interaction at the conference led Sarah to suggest updating my resume by a specific deadline\");\n cues.add(\"Sarah's suggestions shaped how I planned meetings\");\n cues.add(\"Sarah's suggestions shaped how I prepared materials\");\n cues.add(\"Sarah's suggestions shaped how I structured the update process to meet that timeline\");\n }\n if (intents.includes(\"rental_income_preference\")) {\n cues.add(\"recommends focusing on rental income stability\");\n cues.add(\"addresses long-term wealth accumulations\");\n cues.add(\"suggests minimizing vacancy and tenant turnover\");\n cues.add(\"avoids emphasizing short-term sales profits\");\n }\n if (intents.includes(\"rental_property_journey_summary\")) {\n cues.add(\"investing in rental properties began with an initial capital of $50,000\");\n cues.add(\"Early discussions highlighted the need to research local market conditions, down payment requirements, and additional costs like closing fees\");\n cues.add(\"You explored identifying good fixer-upper properties by learning to recognize signs such as structural issues and outdated features\");\n cues.add(\"you weighed the pros and cons of investing close to your location versus elsewhere, balancing ease of management against market diversity and growth potential\");\n cues.add(\"You also considered the choice between single-family homes and multi-family units, analyzing factors like rental yield, management complexity, and investment scale\");\n cues.add(\"Financing options were carefully compared, particularly between Halkbank and Ziraat Bank mortgages, focusing on interest rates, fees, and service quality to optimize costs\");\n cues.add(\"you developed a step-by-step plan for purchasing your first rental property, including market research, budgeting, inspections, financing, and tenant management\");\n }\n if (intents.includes(\"cryptocurrency_investment_summary\")) {\n cues.add(\"Cryptocurrency investing began with getting started in Bitcoin and Ethereum and using exchanges such as Binance\");\n cues.add(\"Portfolio growth strategies included starting small, monitoring holdings, diversifying, staking, and evaluating DeFi opportunities\");\n cues.add(\"Tools included CoinGecko, TradingView, exchange dashboards, tax tools, and hardware wallets for tracking and security\");\n cues.add(\"Risk management covered volatility, phishing, custody practices, regulatory changes, and secure wallet habits\");\n cues.add(\"Community engagement included learning from online communities, event attendance, conferences, webinars, and shared research\");\n cues.add(\"Collaborations involved sharing experiences, researching strategies with others, and using decision-making support\");\n cues.add(\"NFT and Ethereum activity included gas fees, transaction costs, and the need to account for those costs\");\n cues.add(\"Tax compliance was addressed with step-by-step document organization, capital gains calculation, and collaboration with a financial analyst to ensure accurate and timely filings\");\n cues.add(\"Advanced learning paths were suggested to deepen understanding of DeFi protocols, yield farming, and security practices, encouraging ongoing education and strategic portfolio adjustments\");\n }\n if (intents.includes(\"math_induction_summary\")) {\n if (/\\b(?:sum of first n|sum of the first n|base case|inductive step|inductive hypothesis|proof by induction|mathematical induction)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: started with the sum of the first n integers, base cases, inductive hypotheses, and inductive steps\");\n }\n if (/\\b(?:divisibility proofs?|number theory|modular arithmetic|modular reasoning)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: expanded into divisibility and number theory proofs\");\n }\n if (/\\binequalit(?:y|ies)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: practiced inequality induction proofs\");\n }\n if (/\\b(?:challenge|struggl(?:e|ed|ing)|confus(?:e|ed|ing)|verification|verify|step-by-step|step by step|practice problems?)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: used step-by-step verification and practice to work through challenges\");\n }\n if (/\\b(?:real-world applications?|paramedic|abstract concepts?|practical scenarios?)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: connected abstract concepts to real-world applications relevant to paramedic work and practical scenarios\");\n }\n if (/\\b(?:tracking progress|track progress|study habits?|study schedule|maintaining study|practice routine|quiz scores?|score)\\b/.test(normalized)) {\n cues.add(\"induction-learning trajectory: tracked progress, quiz scores, and study habits\");\n }\n }\n if (intents.includes(\"number_theory_congruence_examples\")) {\n if (/\\b(?:congruences?|modular arithmetic|modulo|mod\\b|fermat'?s little theorem|euler'?s theorem|linear congruence|number theory)\\b/.test(normalized)) {\n cues.add(\"numerical instances demonstrating theorems\");\n cues.add(\"examples with actual numbers\");\n cues.add(\"step-by-step calculations using numbers\");\n }\n }\n if (intents.includes(\"math_step_calculations\")) {\n if (/\\bdistance formula\\b/.test(normalized)) {\n cues.add(\"step-by-step breakdown of distance formula\");\n }\n if (/\\b(?:calculate|calculation|calculations|arithmetic|substitut(?:e|ing)|differences?|square|squared|add the squared|simplify the square root)\\b/.test(normalized)) {\n cues.add(\"intermediate arithmetic calculations\");\n cues.add(\"explaining each part of the process\");\n }\n }\n if (intents.includes(\"mixed_problem_practice\")) {\n if (/\\b(?:mixed problem sets?|different problem types?|mix(?:ed|ing) up|variety|combine|combining)\\b/.test(normalized)) {\n cues.add(\"recommends combining different problem types in practice\");\n cues.add(\"advises against focusing on only one type of problem at a time\");\n }\n if (/\\b(?:varied problem sets?|multiple topics?|line equations|circles|ellipses|intersections|proofs|comprehensive exams?)\\b/.test(normalized)) {\n cues.add(\"suggests varied problem sets covering multiple topics\");\n }\n }\n if (intents.includes(\"event_budget_details\")) {\n if (\n /\\b(?:budget|costs?|financial|spending|expenses?|increase|freelance offer)\\b/.test(normalized) ||\n /\\$\\s*\\d/.test(content)\n ) {\n cues.add(\"mention exact monetary figures\");\n cues.add(\"include clear budget numbers\");\n cues.add(\"include specific cost amounts related to the event\");\n }\n }\n if (intents.includes(\"travel_cost_details\")) {\n if (/\\b(?:cost details?|travel arrangements?|transportation|accommodation|meals|activities|vacation budget|trip|travel options?)\\b/.test(normalized)) {\n cues.add(\"include itemized costs\");\n cues.add(\"include specific dollar amounts\");\n cues.add(\"provide a category-by-category breakdown\");\n }\n }\n if (intents.includes(\"investment_withdrawal_tax\")) {\n if (/\\b(?:tax implications?|withdrawals?|investment account|brokerage|portfolio|take money out|cash out|sell(?:ing)?)\\b/.test(normalized)) {\n cues.add(\"highlight tax implications of withdrawals\");\n cues.add(\"mention possible taxes owed or penalties\");\n }\n if (/\\b(?:taxes owed|penalties|withdrawal penalties|capital gains|taxable distribution)\\b/.test(normalized)) {\n cues.add(\"mention possible taxes owed or penalties\");\n }\n }\n if (intents.includes(\"scott_support_summary\")) {\n if (/\\b(?:tutoring sessions?|twice weekly|ms\\.?\\s+harper|goal-?setting|consistent monitoring|track(?:ing)? progress|set clear goals?)\\b/.test(normalized)) {\n cues.add(\"structured tutoring sessions with Ms. Harper, goal-setting, and consistent monitoring\");\n }\n if (/\\b(?:organized workspace|quiet workspace|free from distractions|distraction-free|study environment)\\b/.test(normalized)) {\n cues.add(\"creating a distraction-free study environment\");\n }\n if (/\\bgrowth mindset\\b|\\bmindset\\b.*\\bmotivation\\b|\\bfoster\\b.*\\bmindset\\b/.test(normalized)) {\n cues.add(\"fostering a growth mindset\");\n }\n if (/\\b(?:positive reinforcement|incremental progress|achievable milestones?|celebrat(?:e|ing)|small wins?|rewards?)\\b/.test(normalized)) {\n cues.add(\"celebrating incremental progress, setting achievable milestones, and leveraging positive reinforcement\");\n }\n if (/\\bstem camp\\b|\\bsummer stem\\b/.test(normalized)) {\n cues.add(\"encouraging attendance at a summer STEM camp\");\n }\n if (/\\b(?:extracurricular|routine establishment|time management|social encouragement|physical and mental|well-being)\\b/.test(normalized)) {\n cues.add(\"supporting extracurricular engagement through routine establishment, time management, social encouragement, and balancing physical and mental well-being\");\n }\n if (/\\b(?:role-?playing|role play|social scenarios?|self-expression|independence|social confidence)\\b/.test(normalized)) {\n cues.add(\"nurturing social confidence through role-playing social scenarios, reinforcing self-expression, and fostering independence\");\n }\n if (/\\b(?:responsibility|clear expectations?|consistent feedback|gradual increases?|more responsible)\\b/.test(normalized)) {\n cues.add(\"cultivating responsibility with clear expectations, consistent feedback, and gradual increases in responsibility\");\n }\n if (/\\b(?:digital safety|parental controls?|online risks?|privacy management|privacy|open communication)\\b/.test(normalized)) {\n cues.add(\"ensuring digital safety through parental controls, education on online risks, privacy management, and promoting open communication\");\n }\n if (/\\b(?:screen time|daily routines?|physical|creative pursuits?|healthy habits?|model(?:ing)? healthy)\\b/.test(normalized)) {\n cues.add(\"balancing screen time with other activities by structuring daily routines, encouraging physical and creative pursuits, and modeling healthy habits\");\n }\n if (/\\b(?:emotional well-being|open communication|consistent schedules?|coping mechanisms?|feelings?)\\b/.test(normalized)) {\n cues.add(\"supporting emotional well-being through open communication, establishing consistent schedules, and teaching coping mechanisms\");\n }\n }\n if (intents.includes(\"portfolio_management_summary\")) {\n if (/\\b(?:trusted partner|financial decision-making|jeremy|sounding board|external advice|professional advice)\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: initially explored involving a trusted partner in financial decision-making while preserving professional advice\");\n }\n if (/\\bkendra\\b|\\bfinancial advisor\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: regular consultations with Kendra helped refine allocation around evolving confidence and financial objectives\");\n }\n if (/\\brebalancing\\b.*\\b(?:periodic|threshold-based|quarterly|semi-annual|5% threshold)\\b|\\b(?:periodic|threshold-based|quarterly|semi-annual|5% threshold)\\b.*\\brebalancing\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: rebalancing combined periodic reviews with threshold-based approaches aligned to risk tolerance and goals\");\n }\n if (/\\bvanguard\\b.*\\balerts?\\b|\\balerts?\\b.*\\bvanguard\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: Vanguard monitoring and alerts supported deviation-threshold tracking\");\n }\n if (/\\bbond laddering\\b|\\bbond ladder\\b|\\btreasur(?:y|ies)\\b|\\bmunicipal\\b|\\bcorporate bonds?\\b|\\bstaggered maturities\\b|\\bincome stability\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: bond laddering managed interest-rate risk and income stability across Treasuries, municipal, and corporate bonds with staggered maturities\");\n }\n if (/\\binternational stock\\b|\\binternational exposure\\b|\\binternational allocation\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: diversification included increasing international stock exposure\");\n }\n if (/\\bgreen bonds?\\b|\\bsustainable investments?\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: sustainable investments included green bonds\");\n }\n if (/\\bsector-specific\\b|\\btech stocks?\\b|\\bbiotech etfs?\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: sector-specific allocations included tech stocks and biotech ETFs\");\n }\n if (/\\b(?:tax implications?|transaction costs?|volatility limits?|market conditions)\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: balanced growth with risk management, market conditions, tax implications, transaction costs, and volatility limits\");\n }\n if (/\\binvestment anxiety\\b|\\bclear goal setting\\b|\\beducation\\b|\\bprofessional support\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: investment anxiety was addressed through regular reviews, clear goal setting, education, and professional support\");\n }\n if (/\\bmulti-faceted\\b|\\btechnical\\b.*\\bfinancial\\b.*\\bemotional\\b|\\bchanging circumstances\\b/.test(normalized)) {\n cues.add(\"portfolio-management trajectory: culminated in a multi-faceted approach integrating technical, financial, and emotional considerations while adapting to changing circumstances\");\n }\n }\n if (intents.includes(\"parent_nutrition_summary\")) {\n if (/\\b(?:samantha|mom|mother|89-year-old|89 years old|late 80s|80s)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: initially sought suitable meal plans tailored to your 89-year-old mom, emphasizing nutrient-rich, easy-to-prepare meals with attention to hydration and medication interactions\");\n }\n if (/\\b(?:specific recipes?|recipes for each meal|breakfast|lunch|dinner|snacks?)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: then requested detailed recipes to facilitate meal preparation, including balanced options for all meals and snacks\");\n }\n if (/\\b(?:visiting your mom|oak street|ryan|dad|father|105-year-old|105|care center|caregivers?|structured approach|schedule)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: explored balancing time between visiting your mom and supporting your 105-year-old dad at a care center, incorporating caregiver communication and structured scheduling to maintain nutritional care\");\n }\n if (/\\b(?:bone broth|samantha'?s favorite|family|health benefits|how often|frequency)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: integrated family-shared recipes like bone broth into meal plans, recognizing health benefits and frequency of consumption\");\n }\n if (/\\b(?:plant-based protein|protein powder|brandon|smoothies?|muscle gain|nutritional goals?)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: considered incorporating plant-based protein powders into your diet and smoothies, evaluating benefits and fit with nutritional goals\");\n }\n if (/\\b(?:support of my family|family-supported|caregiving|unique needs|holistic|parents|nutrition and well-being)\\b/.test(normalized)) {\n cues.add(\"parents-nutrition trajectory: approach evolved from foundational meal plans to a holistic, family-supported strategy addressing both parents' unique needs while balancing caregiving responsibilities\");\n }\n }\n if (intents.includes(\"evening_tea_options\")) {\n if (/\\bherbal teas?\\b/.test(normalized)) {\n cues.add(\"suggest herbal teas for evening options\");\n }\n if (/\\b(?:chamomile|peppermint)\\b/.test(normalized)) {\n cues.add(\"examples: chamomile or peppermint\");\n }\n if (/\\b(?:relaxation|sleep quality|bedtime|wind down|calming)\\b/.test(normalized)) {\n cues.add(\"choose teas that promote relaxation or sleep\");\n }\n if (/\\b(?:caffeinated|caffeine)\\b/.test(normalized)) {\n cues.add(\"do not mention caffeinated teas\");\n }\n }\n if (intents.includes(\"relationship_trust_summary\")) {\n if (/\\b(?:rebuilding trust|relationship with rachael|trust issues?|emotional impact|strain in (?:our|the) relationship)\\b/.test(normalized)) {\n cues.add(\"rebuilding trust and deepening the relationship with Rachael, including initial trust issues and emotional impact on both parties\");\n }\n if (/\\b(?:acknowledg(?:e|ing) (?:the problem|mistakes?)|taking responsibility|take full responsibility|communicat(?:e|ing) openly|openly and honestly|honestly)\\b/.test(normalized)) {\n cues.add(\"acknowledging mistakes, taking responsibility, and communicating openly and honestly\");\n }\n if (/\\b(?:initial apology|direct apology|weekly check-ins?|dialogue examples?|transparency|empathetic listening|empathy|i statements?)\\b/.test(normalized)) {\n cues.add(\"structured conversations such as the initial apology, ongoing weekly check-ins, and dialogue examples that foster transparency and empathy\");\n }\n if (/\\b(?:accountability course|personal growth|learning from|relationship dynamics)\\b/.test(normalized)) {\n cues.add(\"personal growth efforts like learning from an accountability course and applying those lessons to relationship dynamics\");\n }\n if (/\\b(?:active listening|patience|consistent follow-through|follow through|commitments?|rachael'?s feelings|sensitivity)\\b/.test(normalized)) {\n cues.add(\"balancing personal development with sensitivity to Rachael's feelings, active listening, patience, and consistent follow-through on commitments\");\n }\n if (/\\b(?:trusted friends?|friends and family|professional relationships?|personal goals?|shared experiences?|emotional connection|coastal walks?|shared activities)\\b/.test(normalized)) {\n cues.add(\"trusted friends for perspective and support, professional relationships alongside personal goals, and shared experiences that create emotional connection through activities like coastal walks\");\n }\n if (/\\b(?:milestones?|setbacks?|forgotten anniversar(?:y|ies)|feedback|adapt(?:ing)? plans?|long-term relationship|nurturing|complexity|multi-threaded)\\b/.test(normalized)) {\n cues.add(\"progression over time with milestones, setbacks such as forgotten anniversaries, feedback-based adaptation, and a coherent narrative of complex, multi-threaded trust rebuilding and long-term relationship nurturing\");\n }\n }\n if (intents.includes(\"answerability_absence\")) {\n cues.add(\"answer only from explicit memory evidence\");\n cues.add(\"state that no information was provided when the requested reaction, feedback, qualification, or expertise is not explicitly recorded\");\n if (/\\b(?:confus(?:e|ed|ing|ion)|mutually exclusive|independent events?|dice rolls?)\\b/.test(normalized)) {\n cues.add(\"do not infer an emotional reaction from a conceptual misunderstanding unless a feeling was stated\");\n }\n }\n return [...cues];\n}\n\nfunction hasInstructionOrPreferenceCue(normalizedContent: string): boolean {\n return /\\buser instruction\\b|\\bpreference statement\\b|\\balways\\b|\\bprefer(?:s|red|ence)?\\b|\\bavoid(?:s|ed|ing)?\\b/.test(\n normalizedContent,\n );\n}\n\nfunction hasPercentCue(normalizedContent: string): boolean {\n return /\\b\\d+(?:\\.\\d+)?%/.test(normalizedContent) ||\n /\\b(?:percent|percentage)\\b/.test(normalizedContent);\n}\n\nfunction hasGuidanceIntentCue(\n normalizedContent: string,\n intents: readonly GuidanceIntent[],\n): boolean {\n return intents.some((intent) => hasSpecificIntentCue(normalizedContent, intent));\n}\n\nfunction hasSpecificIntentCue(\n normalizedContent: string,\n intent: GuidanceIntent,\n): boolean {\n switch (intent) {\n case \"dates\":\n return /\\b(?:date|due|deadline|submission|timeline|month day year|month-day-year)\\b/.test(normalizedContent);\n case \"editing\":\n return /\\b(?:edit|edits|editing|draft|revision|scrivener|split-screen|side-by-side|ai tools?|ai-assisted|initial edits?|tone calibration|grammarly|hemingway|peer review)\\b/.test(normalizedContent);\n case \"finance\":\n return /\\b(?:budget|expenses?|financial|fund|goals?|excel|spreadsheet|recurring|one-time|allocation|distribution)\\b/.test(normalizedContent);\n case \"decor_recommendations\":\n return /\\b(?:decor|living space|home|apartment|furniture|storage|ottomans?|modular|multifunctional|multi-functional|built-in|built in|aesthetic|practical)\\b/.test(normalizedContent);\n case \"project_financial_limits\":\n return /\\b(?:financial limits?|budget|costs?|dollar amounts?|itemized|category-by-category|breakdown|cost analysis|project)\\b/.test(normalizedContent);\n case \"team_event_attendance\":\n return /\\b(?:attendance numbers?|player attendance|attendance count|players out of|player turnout|number of players|team events?|practice session|team practice|scrimmage)\\b/.test(normalizedContent);\n case \"api_errors\":\n return /\\b(?:rest api|api|endpoint|http|errors?|failures?|status codes?|response codes?|400|401|403|404|429|500)\\b/.test(normalizedContent);\n case \"api_concurrency\":\n return /\\b(?:api requests?|api calls?|twitter api|tweet metrics|async(?:io|hronous)?|async\\/await|aiohttp|httpx|libraries?|frameworks?|concurrent(?:ly| requests?)?|concurrency|non-blocking|batch(?:ing)?|gather|reduce blocking)\\b/.test(normalizedContent);\n case \"ai_hiring_fairness\":\n return /\\b(?:pilot program|ai tool|ai hiring|hiring process|human oversight|final decisions?|anonymization|anonymize|personal identifiers?|bias audits?|third-party audits?|diversity metrics?|candidate satisfaction|structured interviews?|soft skills|ai screening|job-relevant criteria|fairness|transparency)\\b/.test(normalizedContent);\n case \"audiobook_narrators\":\n return /\\b(?:audiobooks?|audio books?|narrator|narrated by|read by|who read)\\b/.test(normalizedContent);\n case \"contradiction_resolution\":\n return /\\b(?:ever|never|said|mentioned|also|contradictory|conflicting|statement|correct|spent|read(?:ing)?|articles?|completed|solved|scored|practice problems?|protective masks?|respirator masks?|masks?|gloves?|insulation|ergonomic supports?|kneeling pads?|cushioned kneeling pad)\\b/.test(normalizedContent);\n case \"media_platforms\":\n return /\\b(?:movies?|streaming services?|platform names?|availability|netflix|hulu|disney|prime)\\b/.test(normalizedContent);\n case \"allergy_check\":\n return /\\b(?:snacks?|allerg(?:y|ies)|allergy concerns?|confirm allergy)\\b/.test(normalizedContent);\n case \"philosophy_summary\":\n return /\\b(?:existentialism|philosophical concepts?|philosophy|category-by-category|detailed summar(?:y|ies)|breakdown)\\b/.test(normalizedContent);\n case \"reading_variety\":\n return /\\b(?:standalone novels?|series|reading list|variety|avoid fatigue|balance suggestions?)\\b/.test(normalizedContent);\n case \"reading_goals_summary\":\n return /\\b(?:kingkiller chronicle|mistborn trilogy|broken empire|stormlight archive|staying on track|audiobooks?|evening listening|daily goals?|cozy reading environment|expanse|1,?500 pages|march\\s+15|75 pages|nightingale|kristin hannah|print and audiobook|book budget|fiction books|montserrat books)\\b/.test(normalizedContent);\n case \"writing_process_structure\":\n return /\\b(?:daily and weekly targets?|daily and weekly word count goals?|word count goals?|fixed writing times?|fixed writing schedule|flexible writing sessions?|flexible writing times?|outline|scene breakdown|visualiz(?:e|ing) success|reward(?:ing)? milestones?|accountability partner|stress management|mindfulness|relaxation|maintain focus|stay motivated)\\b/.test(normalizedContent);\n case \"writing_schedule\":\n return /\\b(?:writing sessions?|7-9\\s*am|morning hours?|focused writing|most focused)\\b/.test(normalizedContent);\n case \"daily_routine\":\n return /\\b(?:structured daily routine|daily routine|wake-up|sleep times?|7\\s*am|9\\s*pm|regularity|structure|consistent timing|stay on track)\\b/.test(normalizedContent);\n case \"portfolio_links\":\n return /\\b(?:portfolio links?|clickable links?|letter body|attachments?|separate documents?|inline link)\\b/.test(normalizedContent);\n case \"deployment_automation\":\n return /\\b(?:automated|ci\\/cd|pipeline|deployment workflow|status dashboards?|monitoring tools?|manual deployment checks?)\\b/.test(normalizedContent);\n case \"lightweight_tools\":\n return /\\b(?:libraries?|tools?|dependencies|frameworks?|flask|lightweight|minimal|simple|easy to maintain|heavy|bootstrap|foundation|lazysizes|vanilla js)\\b/.test(normalizedContent);\n case \"progress\":\n return /\\b(?:progress|editing|edits?|percentage|percent|completion|improvements?)\\b/.test(normalizedContent);\n case \"health\":\n return /\\b(?:sneakers?|shoes?|footwear|comfort|injury|physical|well-being|cushioning|arch support)\\b/.test(normalizedContent);\n case \"nutrition_hydration\":\n return /\\b(?:hydration|hydrated|water intake|drinking fluids|drink water|fluids?)\\b/.test(normalizedContent) &&\n /\\b(?:nutrition|diet|meal|food|healthy|workouts?|fitness)\\b/.test(normalizedContent);\n case \"heart_function_activity_management\":\n return /\\b(?:ejection fraction|\\bef\\b|heart(?:'s)? pumping|pumping efficiency|heart function|cardiac efficiency|fatigue|shortness of breath|gradual increase|regular follow-?ups?|avoid smoking|quit smoking|limit alcohol|excessive alcohol)\\b/.test(normalizedContent);\n case \"sleep_improvement_percent\":\n return /\\bsleep efficiency\\b/.test(normalizedContent) &&\n /\\b(?:exact percentages?|percentage increase|precise numerical|70%|78%|82%|85%|11\\.43%|8\\.97%|17\\.14%|12%)/.test(normalizedContent);\n case \"sleep_environment_habits_summary\":\n return /\\b(?:blackout curtains?|blackout blinds?|window films?|reflective films?|room[- ]darkening shades?|thermostat|2200k|night sweats?|circadian|meditation|sleep environment|sleep quality)\\b/.test(normalizedContent);\n case \"mattress_warranty_details\":\n return /\\b(?:mattress|sleepwell deluxe)\\b/.test(normalizedContent) &&\n /\\b(?:warranty|coverage|defects?|repairs?|replacements?|trial period|return policy|durability)\\b/.test(normalizedContent);\n case \"sleep_wind_down_screen_free\":\n return /\\b(?:before bed|bedtime|wind down|unwind|screen time|screens?|screen-based|physical books?|screen-free|no-screen|blue light)\\b/.test(normalizedContent);\n case \"april_relationship_timing\":\n return /\\b(?:april|partner|weekend|conversation|activities|activity|morning|early|most alert|energy levels?|late evenings?|tired)\\b/.test(normalizedContent);\n case \"april_relationship_summary\":\n return /\\b(?:april|relationship|date nights?|surprises?|shared hobbies?|special outings?|flower|deliveries|gestures?|traditions?|community center|volunteering|check-ins?|physical touch|love language|emotional intimacy)\\b/.test(normalizedContent);\n case \"work_life_balance_summary\":\n return /\\b(?:work-life balance|personal life|work hours|clinical hours|50 to 40|50 to 45|reduce|reduction|boundaries|work emails|delegate|delegating|streamlin(?:e|ing)|supervisor|monitoring progress|quality personal time)\\b/.test(normalizedContent);\n case \"turkish_pronunciation_quantitative\":\n return /\\b(?:pronunciation|speaking speed|words per minute|wpm|pronunciation trainer|practice sessions?|drills?|consonant clusters?|40 sessions?|90%|98 words per minute|quantitative|session data)\\b/.test(normalizedContent);\n case \"turkish_live_learning_formats\":\n return /\\b(?:turkish|interactive live|live classes?|synchronous classes?|immediate feedback|italki|preply|verbling|cambly|pre-recorded|recorded materials?)\\b/.test(normalizedContent);\n case \"study_space_tools_count\":\n return /\\b(?:study space|study room|noise-cancelling headphones?|timer|second monitor|turkish cultural artifacts?|turkish flag|cultural calendar|calendar countdown|decorations?|study tools?)\\b/.test(normalizedContent);\n case \"home_family_repayment\":\n return /\\b(?:crystal|mom|mother|family|down payment|repayment|repay|loan|promissory note|financial assistance|50,000\\s*try|900\\s*try|june\\s+1|5 years?|60 months?)\\b/.test(normalizedContent);\n case \"home_repair_cost_update\":\n return /\\b(?:plumbing leaks?|minor plumbing|repair costs?|cost estimate|7,500\\s*try|april\\s+22|second opinion|professional opinion|plumber)\\b/.test(normalizedContent);\n case \"home_condition_final_inspection\":\n return /\\b(?:final home inspection|final inspection|may\\s+5|repairs? completed|no further issues|repair completion|written confirmation|photos?|re-?inspection|seller'?s contractor)\\b/.test(normalizedContent);\n case \"home_neighborhood_tour\":\n return /\\b(?:neighborhood tour|samantha|april\\s+13|11\\s*am|mevlana apartment complex|local amenities|parks?|green spaces?)\\b/.test(normalizedContent);\n case \"home_neighborhood_preferences\":\n return /\\b(?:quiet(?:er|ness)?|parks?|green spaces?|atat(?:ü|u)rk park|mevlana|local amenities|neighborhood|shopping|nightlife|commute|safety)\\b/.test(normalizedContent);\n case \"home_stove_recommendations\":\n return /\\b(?:stove|kitchen appliance|energy-efficient|energy efficient|bosch|siemens|arcelik|arçelik|comparable price|price range|utility savings)\\b/.test(normalizedContent);\n case \"home_apartment_cost_difference\":\n return /\\b(?:2-bedroom|two-bedroom|3-bedroom|three-bedroom|mevlana|inonu|inönü|580,000\\s*try|620,000\\s*try|40,000\\s*try|41,200\\s*try|cost difference)\\b/.test(normalizedContent);\n case \"home_cash_flow_summary\":\n return /\\b(?:cash flow|monthly income|monthly expenses|7,083|7,500|416\\.?67|417\\s*try|shortfall|negative cash flow|reduce expenses|increase income|crystal repayment)\\b/.test(normalizedContent);\n case \"home_buying_financial_steps\":\n return /\\b(?:financial steps|saving|savings plan|mortgage estimates?|down payment|interest|term|taxes|insurance|upfront|ongoing commitments|closing costs|monthly costs)\\b/.test(normalizedContent);\n case \"home_buying_summary\":\n return /\\b(?:home buying|mevlana|atat(?:ü|u)rk park|andrew|crystal|repayment plan|budgeting|repairs?|moving logistics|title insurance|closing)\\b/.test(normalizedContent);\n case \"home_mortgage_choice_summary\":\n return /\\b(?:fixed-rate|fixed rate|variable-rate|variable rate|lower starting rate|risk tolerance|loan term|caps|rising rates|hybrid arms?|refinancing|predictability)\\b/.test(normalizedContent);\n case \"home_inspection_timing\":\n return /\\b(?:home inspection|inspection report|april\\s+15|april\\s+18|april\\s+20|lawyer|contract review|two days|five days)\\b/.test(normalizedContent);\n case \"selling_photo_service_steps\":\n return /\\b(?:focuslens|professional photography|photos?|photo shoot|high-resolution|high resolution|lighting|arranging furniture|cleaning fixtures|delivered photos|web use|desired shots?)\\b/.test(normalizedContent);\n case \"selling_financial_plan_detail\":\n return /\\b(?:itemized|category-by-category|detailed cost analysis|cost breakdown|closing costs?|commission|repairs?|staging|photography|moving expenses?|net profit|net proceeds)\\b/.test(normalizedContent);\n case \"selling_rental_payment_terms\":\n return /\\b(?:lease|rental agreement|payment amounts?|payment modifications?|temporary reduction|payment plan|signed addendum|4,275\\s*try|4,500\\s*try)\\b/.test(normalizedContent);\n case \"selling_rental_price\":\n return /\\b(?:kadikoy|kadıköy|rental price|rent price|market feedback|4,550\\s*try|4550|4,500\\s*try|4500)\\b/.test(normalizedContent);\n case \"selling_service_total_cost\":\n return /\\b(?:\\$1,550|1550|\\$1,200|1200|\\$350|350|elegant spaces|focuslens|professional staging|professional photography)\\b/.test(normalizedContent);\n case \"selling_sequence_repairs_marketing\":\n return /\\b(?:decluttering|staging|roof leak|final inspection|photography|marketing materials?|listing|selim|buyer'?s inspection|closing|moving schedule|timeline|sequence)\\b/.test(normalizedContent);\n case \"selling_professional_staging_preference\":\n return /\\b(?:professional staging|hiring experts?|staging experts?|diy|upfront cost|staging quality|attractive to buyers|appeal to buyers)\\b/.test(normalizedContent);\n case \"selling_morning_appointments\":\n return /\\b(?:morning appointments?|early morning|early appointments?|morning time slots?|start early|maximize productivity|reduce stress)\\b/.test(normalizedContent);\n case \"selling_home_summary\":\n return /\\b(?:selim|cma|comparative market analysis|elegant spaces|roof leak|focuslens|matterport|countered|415,000|final contract|home selling|contract signing)\\b/.test(normalizedContent);\n case \"selling_stress_summary\":\n return /\\b(?:mindfulness|meditation|headspace|calm|mindful walking|breathing exercises?|yoga|progressive muscle|journaling|exercise|support networks?|stress)\\b/.test(normalizedContent);\n case \"selling_roof_offer_timing\":\n return /\\b(?:march\\s+28|april\\s+3|april\\s+20|roof repair|roof leak|first offer|6 days|six days|17 days|seventeen days)\\b/.test(normalizedContent);\n case \"diy_living_together_duration\":\n return /\\b(?:james|jamie|atat(?:ü|u)rk street|3-bedroom|three-bedroom|5 years?|five years?|lived together|living together)\\b/.test(normalizedContent);\n case \"diy_paint_budget_breakdown\":\n return /\\b(?:bauhaus|cumhuriyet|paint|primer|brushes?|rollers?|paint trays?|painter'?s tape|drop cloths?|sandpaper|typical prices?|example calculation)\\b/.test(normalizedContent);\n case \"diy_pipe_leak_safety\":\n return /\\b(?:leaking pipe|leaky pipe|water supply|shut off water|water shutoff|protective gear|gloves?|goggles?|masks?|avoid hazards?|prevent injury|washers?|o-rings?)\\b/.test(normalizedContent);\n case \"diy_drill_model_specificity\":\n return /\\b(?:bosch\\s+gsr\\s+12v-15|12v cordless drill|exact model|model number|specific product|tool version|cordless drill)\\b/.test(normalizedContent);\n case \"diy_paint_supply_spend\":\n return /\\b(?:\\$335|335\\b|paint and supplies|paint supplies|total spent|spending increased)\\b/.test(normalizedContent);\n case \"diy_professional_savings\":\n return /\\b(?:saved?|savings?|hiring painter|hiring professionals?|plumber|faucet replacement|\\$350|350\\b|\\$220|220\\b|\\$500|500\\b|\\$570|570\\b)\\b/.test(normalizedContent);\n case \"diy_resource_sequence\":\n return /\\b(?:essential tools?|hand tools?|power tools?|bulk purchases?|don'?s 3-meter ladder|3-meter ladder|heavy items?|safety-critical|upcoming projects?|allocate budget)\\b/.test(normalizedContent);\n case \"diy_visual_learning_preference\":\n return /\\b(?:video tutorials?|hands-on learning|visual resources?|interactive|manuals?|home repairs?|prefer)\\b/.test(normalizedContent);\n case \"diy_kitchen_surface_preference\":\n return /\\b(?:kitchen surfaces?|countertops?|durability|easy to clean|ease of cleaning|lasting quality|trendy|aesthetic)\\b/.test(normalizedContent);\n case \"diy_insulation_summary\":\n return /\\b(?:attic insulation|owens corning|fiberglass|june\\s+15|june\\s+22|\\$600|600\\b|\\$450|450\\b|respirator|gloves?|safety glasses?|weatherstripping|caulk|ventilation)\\b/.test(normalizedContent);\n case \"diy_shelf_summary\":\n return /\\b(?:bathroom shelf|shelf installation|august\\s+15|\\$100|100\\b|mounting brackets?|wall anchors?|pilot holes?|moisture-resistant|level|drill|don)\\b/.test(normalizedContent);\n case \"diy_painting_timing\":\n return /\\b(?:april\\s+1|april\\s+13|april\\s+14|12 days|twelve days|dove gray|two coats|painting living room)\\b/.test(normalizedContent);\n case \"diy_faucet_timing\":\n return /\\b(?:april\\s+10|april\\s+29|19 days|nineteen days|faucet washers?|plumbing basics workshop|practice replacing)\\b/.test(normalizedContent);\n case \"cooking_weekly_cuisine_plan\":\n return /\\b(?:week-by-week|one cuisine every 6 weeks|6-week blocks?|weekly cooking sessions?|focus on one cuisine|multiple cuisines|cultural focus|research and gather resources|key ingredients and techniques)\\b/.test(normalizedContent);\n case \"cooking_dolma_leaf_preparation\":\n return /\\b(?:stuffed grape leaves?|dolma|grape leaves?|remove stems?|rinsing|fresh herbs|conservative salt|saltiness|roll up tightly|moderate amount|seam-side down|45-60 minutes|olive oil|rest before serving)\\b/.test(normalizedContent);\n case \"cooking_culinary_journey_summary\":\n return /\\b(?:culinary journey|turkish|greek|lebanese|month-by-month|structured plan|ingredient preparation|cooking practice|feedback gathering|documentation|knife techniques|julienne|chiffonade|dough kneading|elasticity|sauce emulsification|italian|indian|spice blend|menu planning)\\b/.test(normalizedContent);\n case \"outdoor_cardio_preference\":\n return /\\b(?:trail running|fresh air|varied terrain|outdoor cardio|natural settings?|treadmill|indoor-only|indoor only)\\b/.test(normalizedContent) &&\n /\\b(?:prefer|avoid|suggest|recommend|cardio|running|activities?|options?|treadmill)\\b/.test(normalizedContent);\n case \"social_norms\":\n return /\\b(?:social norms?|expectations|cultural|cultures?|regions?|traditions|societies)\\b/.test(normalizedContent);\n case \"software_versions\":\n return /\\b(?:digital assets?|digital files?|asset management|software|version|release identifiers?|software names?|technolog(?:y|ies)|tech stack|current setup)\\b/.test(normalizedContent);\n case \"uk_resume\":\n return /\\b(?:uk|resume|cv|ats|formatting|generic global|template)\\b/.test(normalizedContent);\n case \"decision_framework\":\n return /\\b(?:complex problem|logical reasoning|frameworks?|emotional impulses?|practical nature|decision|compensation package|equity|budget|support network|startup experience)\\b/.test(normalizedContent);\n case \"realtime_chat_summary\":\n return /\\b(?:real-time|realtime|chat|socket\\.?io|websocket|node\\.?js|express|message|messaging|chatroom|rooms?|redis|latency|ping-pong|presence|broadcast|load balancer|message queue|mongoose|mongodb|indexing|pagination|ttl|acl|circuit breaker|fallback|retry|backoff|typing indicators?|map|set|error handling|helper functions?|user tracking|logging|observability|recent messages?|schema validation|updatemessage|unchanged message|migration script|batch execution|asynchronous control)\\b/.test(normalizedContent);\n case \"technical_project_summary\":\n return /\\b(?:resume analyzer|python\\s*3\\.10|spacy|flask|pymupdf|pdf parsing|work experience|keyword searches?|sentence segmentation|named entity recognition|ner|job titles?|educational institutions?|modulariz|error handling|nonetype|logging|traceability|february\\s+15|cprofile|bottlenecks?|in-memory cache|redis-backed|regex|precompil|stopword|lemmatization|lazy-loading|custom ner|dataset size|weighted scoring|skill matching|experience levels?|visualization|authentication|authorization|concurrent requests?|object detection|tracking pipeline|yolov5|opencv|sort|kalman filter|hungarian algorithm|data association|tensorrt|opencv dnn|deepsort|ssd mobilenet|future-proofing|scalability|modular refactor|recommendation system|recommender|collaborative filtering|content-based filtering|tf-?idf|cosine similarity|similarity matrices?|user ratings?|missing ratings?|normaliz(?:e|ing|ation)|sparse matrices?|\\/recommendations|helper functions?|get_user_ratings|get_top_rated_items|hybrid recommendation|hybrid scoring|weighted average|tunable weights?|user preferences?|precision@?5|recall@?5|f1-score|auc-roc|restaurant_features|feature_vector|jsonb|google translate api v3|deepl api v2|translation api|translation service|language detection|franc|undefined returns?|input validation|preprocessing|rate limiting|invalid inputs?|quota exceed(?:ed|ance)|redis caching|ttl policies?|asynchronous processing|parallel request handling|redis hashes?|cache-manager|restful apis?|fallback original text|contextual memory storage|gpt-4 chatbot|transformer-based llm|streaming|chunk size|tls|role-based access control|image captioning|caption generator|feature extractor|diffusion-based|stable diffusion|docker compose|inter-service communication|materialized views?|postgresql|gpu acceleration|api response time profiling)\\b/.test(normalizedContent);\n case \"conic_sections_summary\":\n return /\\b(?:conic sections?|parabolas?|ellipses?|hyperbolas?|vertex form|directrix|foci|focus|eccentricity|tangent lines?|normal lines?|reflective property|completing the square|implicit differentiation|geometric definition|standard equation|canonical form|asymptotes?|physics|engineering|satellite dishes?|parabolic mirrors?)\\b/.test(normalizedContent);\n case \"calculus_derivative_progression\":\n return /\\b(?:implicit differentiation|circle equation|quadratic|cubic|product term|linear terms?|quadratic terms?|simple ratio|algebraic complexity|derivatives?)\\b/.test(normalizedContent);\n case \"calculus_derivative_walkthrough\":\n return /\\b(?:product rule|chain rule|differentiat(?:e|ion)|derivative|composite functions?|step-by-step|step by step|example calculations?)\\b/.test(normalizedContent);\n case \"euler_step_accuracy\":\n return /\\beuler(?:'s)?(?:\\s+method)?\\b/.test(normalizedContent) &&\n /(?:\\b(?:step size|h\\s*=|accuracy|accurate|error|errors?|differential equations?)\\b|12%|1\\.2%|8%|3%)/.test(\n normalizedContent,\n );\n case \"population_parameter_estimation\":\n return /\\b(?:exponential growth|logistic growth|population growth|population trends?|growth model|dp\\/dt|differential equation)\\b/.test(normalizedContent) &&\n /\\b(?:parameter|estimate|estimation|sample data points?|data points?|datasets?|expanded data|optimization|carrying capacity|growth rate|k\\s*=|r\\s*=|predict)\\b/.test(\n normalizedContent,\n );\n case \"variance_concrete_examples\":\n return /\\b(?:variance|random variable|expectation|expected value|probabilit(?:y|ies))\\b/.test(normalizedContent) &&\n /\\b(?:dice rolls?|die rolls?|outcomes?|specific numerical|concrete numbers?|concrete numerical|step-by-step|values?|purely symbolic|abstract explanations?)\\b/.test(\n normalizedContent,\n );\n case \"spherical_geodesic_vector_methods\":\n return /\\b(?:sphere|spherical|great circle|geodesic|unit vectors?|dot product|vector algebra|geometric vectors?)\\b/.test(normalizedContent) &&\n /\\b(?:shortest path|distance|between two points|vector|vectors?|trigonometric|formula reliance|calculation steps?)\\b/.test(\n normalizedContent,\n );\n case \"skill_course_completion\":\n return /\\b(?:completed?|finished|course completion|training|programs?|final score|digital networking course|advanced research writing course|skills? gained)\\b/.test(normalizedContent);\n case \"morning_coffee_meeting\":\n return /\\b(?:morning meetings?|early-day|early day|9:00\\s*am|coffee meeting|dr\\.?\\s+kaya)\\b/.test(normalizedContent);\n case \"telepsychology_expansion_summary\":\n return /\\b(?:telepsychology|telehealth|client comfort|market demand|competitor landscape|legal and privacy|privacy requirements|secure telehealth|training staff|professional networks?|referral engagement|trauma therapy journal|webinar software|research collaborations?|client intake|co-authorships?|speaking engagements?|editorial board|work-life balance|post-collaboration)\\b/.test(normalizedContent);\n case \"professional_event_project_summary\":\n return /\\b(?:pre-event preparation|reviewing agendas|researching speakers|technical readiness|testing equipment|virtual platforms?|venue logistics|active engagement|networking proactively|scheduled breaks|post-event follow-up|thank-you messages?|professional networks?|ongoing communication|time blocking|pomodoro|strategic partnerships?|co-hosting|joint marketing|continuous reflection|event logistics)\\b/.test(normalizedContent);\n case \"job_commute_preference\":\n return /\\b(?:north ericshire|30\\s*km|commut(?:e|ing)|45 minutes?|work-life balance|proximity|travel duration)\\b/.test(normalizedContent);\n case \"sarah_resume_revision_planning\":\n return /\\bsarah\\b/.test(normalizedContent) &&\n /\\b(?:conference|resume|professional documents?|cover letters?|march\\s+15|meetings?|materials?|update process|mock interview)\\b/.test(\n normalizedContent,\n );\n case \"rental_income_preference\":\n return /\\b(?:steady rental income|rental income|monthly returns?|long-term wealth|wealth accumulation|wealth accumulations|short-term sales profits?|quick resale|vacancy|tenant turnover|appreciation|cash flow)\\b/.test(normalizedContent);\n case \"rental_property_journey_summary\":\n return /\\b(?:rental properties?|initial capital|\\$50,?000|local market|down payment|closing fees?|fixer-upper|structural issues?|outdated features?|single-family|multi-family|rental yield|management complexity|halkbank|ziraat bank|mortgages?|tenant management|property choices?)\\b/.test(normalizedContent);\n case \"cryptocurrency_investment_summary\":\n return /\\b(?:cryptocurrency|crypto|bitcoin|ethereum|binance|coingecko|tradingview|hardware wallet|phishing|defi|staking|cardano|ada|nft|tax compliance|capital gains|financial analyst|accurate and timely filings|community engagement|yield farming|strategic portfolio adjustments|advanced learning paths)\\b/.test(normalizedContent);\n case \"math_induction_summary\":\n return /\\b(?:mathematical induction|proof by induction|induction proofs?|inductive step|inductive hypothesis|base case|sum of first n|divisibility proofs?|number theory|inequalit(?:y|ies)|modular arithmetic|step-by-step verification|practice problems?|paramedic|real-world applications?|abstract concepts?|practical scenarios?|study habits?|tracking progress|quiz scores?)\\b/.test(normalizedContent);\n case \"number_theory_congruence_examples\":\n return /\\b(?:congruences?|modular arithmetic|modulo|mod\\b|number theory|fermat'?s little theorem|euler'?s theorem|linear congruence|theorems?|actual numbers?|step-by-step|step by step|calculations?|remainder)\\b/.test(normalizedContent);\n case \"math_step_calculations\":\n return /\\b(?:distance formula|distance between|coordinate geometry|coordinate plane|point-line distance|midpoint formula|step-by-step|step by step|calculate|calculation|calculations|arithmetic|substitut(?:e|ing)|differences?|square|squared|simplify)\\b/.test(normalizedContent);\n case \"mixed_problem_practice\":\n return /\\b(?:mixed problem sets?|different problem types?|varied problem sets?|multiple topics?|combine|combining|mix(?:ed|ing) up|variety|randomization|practice sessions?|study sessions?|comprehensive exams?|line equations|circles|ellipses|intersections|proofs)\\b/.test(normalizedContent);\n case \"event_budget_details\":\n return /\\b(?:event|events|party|parties|gathering|gatherings|reunion|picnic|holiday|hosting|budget|costs?|financial|spending|expenses?|monetary figures?|budget numbers?|cost amounts?)\\b/.test(normalizedContent);\n case \"travel_cost_details\":\n return /\\b(?:cost details?|itemized costs?|dollar amounts?|category-by-category|breakdown|travel arrangements?|transportation|accommodation|meals|activities|vacation budget|travel options?)\\b/.test(normalizedContent);\n case \"investment_withdrawal_tax\":\n return /\\b(?:investment account|brokerage|portfolio|withdrawals?|take money out|cash out|sell(?:ing)?|tax implications?|taxes owed|penalties|capital gains|taxable distribution)\\b/.test(normalizedContent);\n case \"scott_support_summary\":\n return /\\b(?:scott|support|tutoring sessions?|twice weekly|ms\\.?\\s+harper|math scores?|study sessions?|organized workspace|free from distractions|distraction-free|study environment|growth mindset|stem camp|extracurricular|routine establishment|time management|social encouragement|role-?playing|self-expression|independence|responsibility|digital safety|parental controls?|online risks?|privacy|screen time|daily routines?|creative pursuits?|healthy habits?|emotional well-being|coping mechanisms?|open communication|positive reinforcement|milestones?|clear expectations?|consistent feedback)\\b/.test(normalizedContent);\n case \"portfolio_management_summary\":\n return /\\b(?:investment strategy|portfolio management|portfolio allocation|portfolio adjustments?|rebalancing|threshold-based|quarterly reviews?|semi-annual reviews?|vanguard|alerts?|kendra|financial advisor|bond laddering|interest rate risk|income stability|treasur(?:y|ies)|municipal|corporate bonds?|green bonds?|sustainable investments?|international stock|sector-specific|tech stocks?|biotech etfs?|tax implications?|transaction costs?|volatility limits?|investment anxiety|professional support|trusted partner|jeremy|financial decision-making|multi-faceted)\\b/.test(normalizedContent);\n case \"parent_nutrition_summary\":\n return /\\b(?:parents?|mom|mother|samantha|dad|father|ryan|89-year-old|89 years old|105-year-old|105|meal plans?|nutrition|nutritional|hydration|medication interactions?|care center|caregivers?|bone broth|plant-based protein|protein powder|smoothies?|caregiving|family-supported)\\b/.test(normalizedContent);\n case \"evening_tea_options\":\n return /\\b(?:tea|teas|herbal teas?|chamomile|peppermint|caffeinated|caffeine|sleep quality|relaxation|bedtime|evening)\\b/.test(normalizedContent);\n case \"relationship_trust_summary\":\n return /\\b(?:rachael|rebuilding trust|trust issues?|acknowledg(?:e|ing) mistakes?|taking responsibility|communicat(?:e|ing) openly|honestly|initial apology|weekly check-ins?|dialogue examples?|transparency|empathy|accountability course|active listening|patience|follow-through|commitments?|trusted friends?|professional relationships?|personal goals?|shared experiences?|emotional connection|coastal walks?|milestones?|forgotten anniversar(?:y|ies)|feedback|long-term relationship)\\b/.test(normalizedContent);\n case \"answerability_absence\":\n return /\\b(?:confus(?:e|ed|ing|ion)|mistake|mutually exclusive|independent events?|dice rolls?|feedback|quizzes?|podiatrist|qualification|expertise|article|explicit evidence|no information)\\b/.test(normalizedContent);\n }\n return false;\n}\n\nfunction isPotentialContradictionResolutionQuery(normalized: string): boolean {\n const isMemoryQuestion = /\\b(?:have|has|had|do|did|was|were|am|are|is)\\b/.test(\n normalized,\n );\n if (!isMemoryQuestion) return false;\n if (/\\b(?:ever|never|contradict|contradiction|conflicting|which statement|correct)\\b/.test(normalized)) {\n return true;\n }\n if (\n /\\bclinical psychology\\b/.test(normalized) &&\n /\\b(?:workshops?|conferences?)\\b/.test(normalized) &&\n /\\b(?:attended?|have i|have you|any)\\b/.test(normalized)\n ) {\n return true;\n }\n if (/\\bsamantha\\b/.test(normalized) && /\\b(?:met|meeting|in person)\\b/.test(normalized)) {\n return true;\n }\n if (\n /\\bhome inspection report\\b/.test(normalized) &&\n /\\b(?:reviewed?|delivered|inspection completed|correct)\\b/.test(normalized)\n ) {\n return true;\n }\n if (\n /\\b(?:protective masks?|gloves?|respirator masks?|insulation)\\b/.test(normalized) &&\n /\\b(?:worn|wear|ever|never|correct)\\b/.test(normalized)\n ) {\n return true;\n }\n if (\n /\\b(?:ergonomic supports?|kneeling pads?|cushioned kneeling pad)\\b/.test(normalized) &&\n /\\b(?:used|ever|never|correct)\\b/.test(normalized)\n ) {\n return true;\n }\n if (\n /\\bhow\\s+experienced\\s+am\\s+i\\b/.test(normalized) &&\n /\\b(?:solv(?:e|ed|ing)|problems?|worked with|experience)\\b/.test(normalized)\n ) {\n return true;\n }\n if (\n /\\b(?:have|did)\\s+i\\s+(?:completed?|done|solved)\\b/.test(normalized) &&\n /\\bpractice problems?\\b/.test(normalized) &&\n /\\b(?:any|ever|before|separable equations?)\\b/.test(normalized)\n ) {\n return true;\n }\n return /\\b(?:usually|before|tested|worked with|spent time|spent|read(?:ing)?\\s+articles?|articles?|feel|felt|grammar|accuracy|excel|contact form|api)\\b/.test(\n normalized,\n ) || /\\bimplement(?:ed|ing)?\\b/.test(normalized) &&\n /\\b(?:retry logic|http errors?|http\\s+\\d{3}|errors?)\\b/.test(normalized);\n}\n\nfunction isTimingDetailsQuery(normalized: string): boolean {\n if (/\\b(?:when|date|due|submission|timeline)\\b/.test(normalized)) {\n return true;\n }\n return /\\bdeadline\\b/.test(normalized) &&\n /\\b(?:when|what(?:'s| is| was)?|date|due|final|specific)\\b/.test(normalized);\n}\n\nfunction extractMonthDayDates(content: string): string[] {\n const dates = new Set<string>();\n for (const match of content.matchAll(\n /\\b(January|February|March|April|May|June|July|August|September|October|November|December)\\s+(\\d{1,2})(?:,\\s*(\\d{4}))?\\b/g,\n )) {\n const month = match[1];\n const day = match[2];\n const year = match[3];\n if (!month || !day) continue;\n dates.add(`${month}-${day.padStart(2, \"0\")}${year ? `-${year}` : \"\"}`);\n }\n return [...dates];\n}\n\nfunction countGuidanceTermOverlap(content: string, query: string): number {\n const terms = query\n .toLowerCase()\n .match(/[a-z][a-z0-9-]{2,}/g) ?? [];\n const uniqueTerms = new Set(\n terms.filter((term) => !GUIDANCE_STOP_WORDS.has(term)),\n );\n let overlap = 0;\n for (const term of uniqueTerms) {\n if (content.includes(term)) overlap += 1;\n }\n return overlap;\n}\n\nfunction normalizePositiveInteger(value: number): number {\n if (!Number.isFinite(value) || value <= 0) {\n return 0;\n }\n return Math.floor(value);\n}\n\nconst GUIDANCE_STOP_WORDS = new Set([\n \"about\",\n \"after\",\n \"approach\",\n \"could\",\n \"current\",\n \"draft\",\n \"features\",\n \"final\",\n \"have\",\n \"looking\",\n \"made\",\n \"manage\",\n \"many\",\n \"much\",\n \"popular\",\n \"should\",\n \"some\",\n \"that\",\n \"the\",\n \"this\",\n \"tools\",\n \"use\",\n \"what\",\n \"when\",\n \"where\",\n \"with\",\n \"would\",\n]);\n"],"mappings":";;;;;AAqIA,IAAM,6BAA6B;AACnC,IAAM,iCAAiC;AACvC,IAAM,4BAA4B;AAClC,IAAM,6BAA6B;AAE5B,SAAS,6BAA6B,OAAwB;AACnE,SAAO,wBAAwB,KAAK,EAAE,SAAS;AACjD;AAEA,eAAsB,mCACpB,SACiB;AACjB,QAAM,SAAS,yBAAyB,QAAQ,QAAQ;AACxD,QAAM,aAAa;AAAA,IACjB,QAAQ,oBAAoB;AAAA,EAC9B;AACA,QAAM,UAAU,wBAAwB,QAAQ,KAAK;AACrD,QAAM,eAAe,QAAQ,iBAAiB;AAC9C,MACE,CAAC,QAAQ,UACT,UAAU,KACV,cAAc,KACb,CAAC,gBAAgB,QAAQ,WAAW,GACrC;AACA,WAAO;AAAA,EACT;AACA,QAAM,QAAQ,MAAM,qBAAqB,SAAS,OAAO;AACzD,QAAM,SAAS,2BAA2B,OAAO,QAAQ,OAAO,OAAO,EACpE,MAAM,GAAG,UAAU;AACtB,MAAI,OAAO,WAAW,GA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