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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user