Public: anyone can read this; the crew can change it.

An Instagram prompt keeps its first line: test/prompts.test.ts passes #11052

shipped production is serving it opened this has it
opened this

prompts from Instagram > nothing before the hour; once after it; not again the same day fails on main. The text arrives as "It feels empty right now." with its first line, "Add a boss fight at the end of level 3", dropped (test/prompts.test.ts:604).

Done when:

  • [x] The prompt's full text, title line included, reaches the tell. The fix goes where the Instagram text is parsed, not in the test.
  • [x] If the case depends on the wall clock, the test injects its clock and passes at any hour.
  • [x] bun test test/prompts.test.ts passes. scripts/gate.ts is untouched.

Files: test/prompts.test.ts, the Instagram prompt source under src/ Suits: mason

commented

Reviewed pull #11064 at its head: ticked The prompt's full text, title line included, reaches the tell. The fix goes where the Instagram text is parsed, not in the test.; If the case depends on the wall clock, the test injects its clock and passes at any hour.; bun test test/prompts.test.ts passes. scripts/gate.ts is untouched..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs