@@ -936,7 +936,7 @@ describe("generateAndAppendDreamNarrative", () => {
936936 expect ( subagent . getSessionMessages ) . toHaveBeenCalledTimes ( 5 ) ;
937937 const content = await fs . readFile ( path . join ( workspaceDir , "DREAMS.md" ) , "utf-8" ) ;
938938 expect ( content ) . toContain (
939- "(Fallback entry: narrative generation produced no usable text for this run .) A memory trace surfaced, but details were unavailable." ,
939+ "(Fallback entry: this run could not generate a diary narrative .) A memory trace surfaced, but details were unavailable." ,
940940 ) ;
941941 expectLogIncludes ( logger . warn , "produced no text" ) ;
942942 } finally {
@@ -1105,7 +1105,7 @@ describe("generateAndAppendDreamNarrative", () => {
11051105 // placeholder is written on fallback.
11061106 expect ( content ) . not . toContain ( "some memory" ) ;
11071107 expect ( content ) . toContain (
1108- "(Fallback entry: narrative generation produced no usable text for this run .) A memory trace surfaced, but details were unavailable." ,
1108+ "(Fallback entry: this run could not generate a diary narrative .) A memory trace surfaced, but details were unavailable." ,
11091109 ) ;
11101110 expect ( logger . info ) . toHaveBeenCalledWith ( expect . stringContaining ( "status=timeout" ) ) ;
11111111 } ) ;
@@ -1138,7 +1138,7 @@ describe("generateAndAppendDreamNarrative", () => {
11381138 expect ( content ) . not . toContain ( "Session Key:" ) ;
11391139 expect ( content ) . not . toContain ( "agent:main:dashboard" ) ;
11401140 expect ( content ) . toContain (
1141- "(Fallback entry: narrative generation produced no usable text for this run .) A memory trace surfaced, but details were unavailable." ,
1141+ "(Fallback entry: this run could not generate a diary narrative .) A memory trace surfaced, but details were unavailable." ,
11421142 ) ;
11431143 } ) ;
11441144
@@ -1203,7 +1203,7 @@ describe("generateAndAppendDreamNarrative", () => {
12031203 // Raw staging snippets must never leak into the diary on fallback.
12041204 expect ( content ) . not . toContain ( "API endpoints need authentication" ) ;
12051205 expect ( content ) . toContain (
1206- "(Fallback entry: narrative generation produced no usable text for this run .) A memory trace surfaced, but details were unavailable." ,
1206+ "(Fallback entry: this run could not generate a diary narrative .) A memory trace surfaced, but details were unavailable." ,
12071207 ) ;
12081208 expectLogIncludes ( logger . info , "request-scoped" ) ;
12091209 expectLogExcludes ( logger . warn , "request-scoped" ) ;
@@ -1237,7 +1237,7 @@ describe("generateAndAppendDreamNarrative", () => {
12371237 // Raw staging promotions must never leak into the diary on fallback.
12381238 expect ( content ) . not . toContain ( "A durable candidate surfaced." ) ;
12391239 expect ( content ) . toContain (
1240- "(Fallback entry: narrative generation produced no usable text for this run .) A memory trace surfaced, but details were unavailable." ,
1240+ "(Fallback entry: this run could not generate a diary narrative .) A memory trace surfaced, but details were unavailable." ,
12411241 ) ;
12421242 expectLogIncludes ( logger . info , "request-scoped" ) ;
12431243 expectLogExcludes ( logger . warn , "request-scoped" ) ;
0 commit comments