feat(offscreen): read recent proposals into the brief; prompt follows up

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 19:54:30 -04:00
parent 16b44c9e90
commit bd2b8a41fd
4 changed files with 122 additions and 0 deletions
+7
View File
@@ -41,3 +41,10 @@ func TestProposePromptIncludesBrief(t *testing.T) {
t.Fatalf("prompt should embed the brief, got: %s", fb.gotPrompt)
}
}
func TestProposePromptHasFollowUpRule(t *testing.T) {
p := buildProposePrompt("brief")
if !strings.Contains(p, "do not simply repeat") {
t.Fatalf("prompt missing follow-up rule:\n%s", p)
}
}