fix: migrate merged-in context/message references to user/message

The master merge introduced a tui goal-restore test and the guard parent
README that still used the removed context/message event. Point both at
the coalesced plugin-sourced user/message.
This commit is contained in:
Turtle
2026-07-24 16:56:36 +08:00
parent 80bbe959a7
commit 4be3301952
2 changed files with 2 additions and 2 deletions

View File

@@ -1073,7 +1073,7 @@ describe('pi-tui chat lifecycle and transcript', () => {
}
const result = await setup({
beforeMount(session) {
session.append('context/message', {
session.append('user/message', {
content: renderGoalChange(change),
source: { kind: 'goal', goalId: change.goal.id, revision: change.goal.revision, round: 0 },
meta: change as unknown as JsonValue,