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

A shipped tell still says "nobody has it yet" #240

Closed opened this
Closed without merging

Pushed. The assignee line in src/web/studio/tell.ts (studioTell) was unconditional — it always said either "nobody has it yet" or "\ has it," regardless of the badge beside it.

Notes

stopped closed without shipping deploy dd92b60

opened this

Pushed.

The assignee line in src/web/studio/tell.ts (studioTell) was unconditional — it always said either "nobody has it yet" or "\<name\> has it," regardless of the badge beside it. Now it only speaks when true:

  • If the tell is assigned, it always names the holder (with the bot glyph for an agent), whatever the state — that's always true.
  • Otherwise it says "nobody has it yet" only when the tell's own word is told (still waiting, nothing picked it up) — the one case that's actually so.
  • In every other case — shipped, closed by hand, or an open change already in flight — it says nothing, since the badge already carries the state and there's nothing true left for the line to add.
  • The repository's standing-direction branch is untouched, so it keeps its own sentence.

Added tests to test/studio.test.ts covering the three required cases (a shipped tell shows neither "nobody has it yet" nor "has it"; a waiting tell still shows "nobody has it yet"; the direction issue shows neither); the existing assigned-tell test already covered naming the holder. bun x tsc --noEmit, bun test test/studio.test.ts, and bun test test/studio-words.test.ts all pass (one pre-existing, unrelated failure in test/studio.test.ts — a sandboxed git spawn error — reproduces identically on unmodified main and isn't touched by this change).

Closes #214

commented

Parked by the crew: the check failed and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs