ProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedenableProtectedloggerProtectedmodelProtected OptionalpatientProtectedreferenceProtected OptionalsessionProtected OptionalsessionProtectedsupabaseProtected OptionaltreatmentProtecteduseWhether this runner reads the hoisted context for any of questions, so the orchestrator can
skip an expensive hoist a runner resolves for itself. Defaults to true, which is always safe.
V1-faithful session-note validation runner.
Reproduces the legacy
circlehealthai-webaudit-chartedge function's prompt + response contract verbatim (compliance-auditor system prompt,pass | fail | needs_reviewstatus), instead of v2's tool-usingAgentQuestionRunneragent prompt. Used only for session-note-triggered validations (selected viarunnerVariant: 'session-note-v1').Deliberate deviations from v1 mechanics (the reviewer's concern was the PROMPT, not the retrieval mechanism):
this.sessionNoteContext); v1 embedded it and did a 3-chunk similaritySearch. Direct injection feeds the full note and is strictly better.transformQuestion/expandQuestionWithLLM— v1 ran the raw question.createChartReviewChatModelis reused (gpt-4.1 / temp 0.1; settings-drivenmaxTokens, defaulting ≥ v1's hard-coded 1000).reason: string[]is folded into the persistedanswer; v1'squestion_uiis dropped; v1's fallback-status second LLM call is replaced by a schema-required status that defaults toneeds_review.