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

On /asked, each thought says where it went, linked: the issue it became, kept as a note, or not placed yet, as MCP `thought` answers #7539

Parked opened this
Closed without merging

Each thought row on /asked now has a second line saying where the thought went: Placed on an issue: → owner/name#N title, linked to the issue (or to the pull, for a vision pull). Placed, but on no issue: kept as a note. The planner's reply is in the hover text.

Notes

stopped parked by the crew deploy 2599764

opened this

Each thought row on /asked now has a second line saying where the thought went:

  • Placed on an issue: → owner/name#N title, linked to the issue (or to the pull, for a vision pull).
  • Placed, but on no issue: kept as a note. The planner's reply is in the hover text.
  • Not reached by the planner yet: not placed yet.

After that come · repeats “…” and · takes back “…”, naming the earlier thought by its first words (cut at a word near 40 characters). These are the same placements and links MCP thought reads.

What moved where:

  • src/core/placements.ts: placementsOf reads all the placements in one IN (…) query per 400 ids, the same chunking as raisedAt. It used to call placementOf once per thought. /asked shows 50 thoughts, so that is one query, and the MCP asked stream also gets it.
  • src/web/ui.ts: row() takes an optional metaLine, drawn as a second .row-meta. It adds no new class or style, and bun scripts/design-lint.ts passes.
  • src/web/studio/asked_page.ts: placedLinks is replaced by wentTo. The first meta line keeps time, source and "superseded by". The old inline "said again, first on <date>" and "takes back … <date>" move into the new line and no longer show the earlier thought's date.
  • src/actions/ask_state_words.ts: the two new phrases, THOUGHT_NOT_PLACED and THOUGHT_KEPT, live here. test/ask-state-words.test.ts failed until they did, because it requires those words to come from that file; the code was moved, not the test.
  • An issue in a repository the viewer cannot read still says "an issue in a repository you cannot read". The thought stream still belongs to whoever is signed in.

I chose not to change the MCP: nothing in it changed, and test/mcp-size.test.ts passes. The repeat and take-back links are still read one row at a time (linksFrom/linksTo); the issue asked only for the placements to be batched.

test/asked-placement.test.ts stores three thoughts:

  • the first is placed on an issue whose title has <…> in it;
  • the second is kept as a note and marked as repeating the first;
  • the third is left unplaced.

It checks the escaped link, repeats “water the tomatoes every morning before…”, kept as a note and not placed yet, both in the row and on the served /asked page. It also checks that another signed-in person sees none of it.

bun x tsc --noEmit passes. The thought, asked, home-feed and vision-pull test files pass, as do mcp-size and ask-state-words. scripts/fast.ts named 1,135 files because of the ui.ts change, so I ran 40 covering files myself instead of all of them.

To try it: as an owner with thoughts, open /asked; under each thought in "Your thoughts" is the line saying where it went.

🤖 Generated with Claude Code

Closes #7509

commented

Each thought row on /asked now has a second line saying where the thought went:

  • Placed on an issue: → owner/name#N title, linked to the issue (or to the pull, for a vision pull).
  • Placed, but on no issue: kept as a note. The planner's reply is in the hover text.
  • Not reached by the planner yet: not placed yet.

After that come · repeats “…” and · takes back “…”, naming the earlier thought by its first words (cut at a word near 40 characters). These are the same placements and links MCP thought reads.

What moved where:

  • src/core/placements.ts: placementsOf reads all the placements in one IN (…) query per 400 ids, the same chunking as raisedAt. It used to call placementOf once per thought. /asked shows 50 thoughts, so that is one query, and the MCP asked stream also gets it.
  • src/web/ui.ts: row() takes an optional metaLine, drawn as a second .row-meta. It adds no new class or style, and bun scripts/design-lint.ts passes.
  • src/web/studio/asked_page.ts: placedLinks is replaced by wentTo. The first meta line keeps time, source and "superseded by". The old inline "said again, first on <date>" and "takes back … <date>" move into the new line and no longer show the earlier thought's date.
  • src/actions/ask_state_words.ts: the two new phrases, THOUGHT_NOT_PLACED and THOUGHT_KEPT, live here. test/ask-state-words.test.ts failed until they did, because it requires those words to come from that file; the code was moved, not the test.
  • An issue in a repository the viewer cannot read still says "an issue in a repository you cannot read". The thought stream still belongs to whoever is signed in.

I chose not to change the MCP: nothing in it changed, and test/mcp-size.test.ts passes. The repeat and take-back links are still read one row at a time (linksFrom/linksTo); the issue asked only for the placements to be batched.

test/asked-placement.test.ts stores three thoughts:

  • the first is placed on an issue whose title has <…> in it;
  • the second is kept as a note and marked as repeating the first;
  • the third is left unplaced.

It checks the escaped link, repeats “water the tomatoes every morning before…”, kept as a note and not placed yet, both in the row and on the served /asked page. It also checks that another signed-in person sees none of it.

bun x tsc --noEmit passes. The thought, asked, home-feed and vision-pull test files pass, as do mcp-size and ask-state-words. scripts/fast.ts named 1,135 files because of the ui.ts change, so I ran 40 covering files myself instead of all of them.

To try it: as an owner with thoughts, open /asked; under each thought in "Your thoughts" is the line saying where it went.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("GET /:owner/:name/milestones renders the pinned HTML") and the decider saw no point in another try try 1: src/actions/ask_state_words.ts, src/core/placements.ts, src/web/studio/asked_page.ts, src/web/ui.ts (+1 more)

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs