TestRendersWholeTranscript pins the no-cutoff contract: every user/assistant entry is rendered regardless of its timestamp, so a retrospective `--here` bind (session_started after all of these) still feeds the full conversation to the close-out sweep.
(t *testing.T)
| 108 | // retrospective `--here` bind (session_started after all of these) |
| 109 | // still feeds the full conversation to the close-out sweep. |
| 110 | func TestRendersWholeTranscript(t *testing.T) { |
| 111 | out := renderToString(t, retroBindJSONL, false) |
| 112 | |
| 113 | for _, want := range []string{"PRE-BIND chatter", "PRE-BIND reply", "MORE work, still before bind", "MORE reply"} { |
| 114 | if !strings.Contains(out, want) { |
| 115 | t.Errorf("entry dropped from full-render output; missing %q:\n%s", want, out) |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | // TestRendersEntriesWithoutTimestamp pins that entries lacking a |
| 121 | // `timestamp` field still render — the renderer never inspects |
nothing calls this directly
no test coverage detected