Skip to content

Commit 40303a1

Browse files
committed
Reinforce hosted action marker capture
1 parent d4cb1e9 commit 40303a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/live-voice.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
if [ "${{ matrix.scenario }}" = "outbound_hosted" ]; then
100100
HOSTED_MARKER="$(node scripts/nato-marker.mjs "$GITHUB_RUN_ID" "$GITHUB_RUN_ATTEMPT")"
101101
echo "HOSTED_POST_CALL_MARKER=$HOSTED_MARKER" >> "$GITHUB_ENV"
102-
export VOICE_DRIVER_LINE="After we hang up, send me one SMS with this exact three-word body: $HOSTED_MARKER. Record one post-call SMS action now. Once the action tool succeeds, read the exact three words back to me. Do not send the SMS during the call."
102+
export VOICE_DRIVER_LINE="After we hang up, send me one SMS containing exactly these three words: $HOSTED_MARKER. Create one post-call action now. Set both the action title and the action details to this exact five-word phrase: Send SMS $HOSTED_MARKER. Wait for the action tool to succeed, then read the exact three-word SMS body back to me. Do not paraphrase, omit a word, or send the SMS during the call."
103103
export VOICE_DRIVER_LISTEN=180
104104
export VOICE_DRIVER_AUTO_STOP=false
105105
fi

tests/contract/live-harness.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe("live harness readiness bounds", () => {
5959

6060
it("requires the hosted caller to persist and read back the exact SMS body", () => {
6161
expect(liveVoice).toContain(
62-
'export VOICE_DRIVER_LINE="After we hang up, send me one SMS with this exact three-word body: $HOSTED_MARKER. Record one post-call SMS action now. Once the action tool succeeds, read the exact three words back to me. Do not send the SMS during the call."',
62+
'export VOICE_DRIVER_LINE="After we hang up, send me one SMS containing exactly these three words: $HOSTED_MARKER. Create one post-call action now. Set both the action title and the action details to this exact five-word phrase: Send SMS $HOSTED_MARKER. Wait for the action tool to succeed, then read the exact three-word SMS body back to me. Do not paraphrase, omit a word, or send the SMS during the call."',
6363
);
6464
});
6565

0 commit comments

Comments
 (0)