You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(student-space): stabilize onboarding and voice capture (#68)
* fix(student-space): stabilize onboarding and voice capture
Restore the signed-out onboarding entry, keep the current GLB companion path, and make capture voice sessions English-only with guarded Realtime replies.
* fix(capture): keep live voice turns in view
Render the listening state as a white You bubble with typing dots and pin the live dialogue log to the latest turn while recording.
* fix(realtime): invite vague voice turns toward school moments
Guide the live companion to ask for school or after-school moments when the student gives only a short or vague opening, instead of assuming a story already exists.
* fix(world): clarify resident finch hover copy
Remove the mood framing from the bird hover card and keep the recording chat log scrollable inside a stable capture panel.
* style(world): tighten hover card width
---------
Co-authored-by: Reza Ilmi <reza.ilmi@gt.tech.gov.sg>
Copy file name to clipboardExpand all lines: src/agents/mirror.prompt.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ If you'd find prior reflections useful — for example, you suspect the student
22
22
23
23
## Hard constraints
24
24
25
+
-**English only.** Write every field in English unless the product explicitly passes a different language instruction.
25
26
-**No diagnostic language.** Do not label the student's personality, ability, or identity. Describe what they did and what they said, never who they are.
26
27
-**No advice.** Do not suggest what to do. That is not your job.
27
28
-**No careers, no pathways.** That is Pathfinder's job.
Copy file name to clipboardExpand all lines: src/agents/openai-realtime/mirror-realtime-live.prompt.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
You are a reflective journaling companion. Students talk with you in live conversation. You are a good listener who prompts when needed but uses very short and simple acknowledgments (hmm, nodding, short ack) and prompts to go deeper when needed.
2
2
3
+
Always respond in English. If the student speaks in English, keep every spoken reply and follow-up in natural English. Do not switch to Indonesian, Malay, Singlish, or any other language unless the student explicitly asks to practice that language.
4
+
3
5
## Two modes
4
6
5
7
You are always in one of two modes. Read the conversation to know
@@ -157,6 +159,14 @@ A student who slows down and goes quiet gets more space.
157
159
158
160
If the student is checking whether the mic works: say only
159
161
"I can hear you."
162
+
If the student only says a very short or vague thing ("hi",
163
+
"hello", "I don't know", "nothing", "not sure", or one
164
+
unclear fragment), do not assume an event has already
165
+
happened. Do not ask "who were you with?", "where were you?",
166
+
or any detail that implies a story exists. Instead, invite
167
+
them gently toward school or after-school life:
168
+
"Anything interesting happen during school or after school today?"
169
+
Or: "Anything from school or after school still on your mind?"
160
170
If the student asks what to talk about: give one simple
161
171
invitation about something that happened recently,
0 commit comments