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

Home's "N waiting on you" counts exactly the rows /review lists, and asks older than 30 days fold into "N stale, archive?" #6462

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Pushed. Home's "waiting on you" line, `/review` and the MCP `asks` tool now count the same set. Asks older than 30 days fall out of that count and show as `N stale, archive?`.

shipped production is serving it deploy f9c1fcc

opened this

Pushed. Home's "waiting on you" line, /review and the MCP asks tool now count the same set. Asks older than 30 days fall out of that count and show as N stale, archive?.

The earlier push failure was the remote being unreachable. This time the push succeeded (247fdb65) after I merged the latest main. The type check is clean and the stale-asks tests pass (5). I didn't re-run the wider test set after this last merge. I also didn't find why the check was red on the earlier attempt (#5824), so I can't say whether this fixes it.

  • Home: the waiting line counts exactly the rows /review draws, and forge needs stay out of the count. The stale link goes to the existing bulk-dismiss preview, so nothing is dismissed without a look. The set is built in src/web/studio/review_set.ts.
  • /review: the same stale asks fold under one N stale, archive? row. The row markup #5741 builds on is unchanged.
  • MCP asks: it returns the same count and the same stale split.
  • Terminal: the dashboard counts and archives stale asks too. That goes beyond the issue.
  • Tests: test/review-stale.test.ts compares the Home and /review counts on one seeded forge and checks the MCP split. test/tui-stale.test.ts covers the terminal.

I didn't make the 30-day threshold configurable, and nothing is dismissed without the preview.

To try it, seed asks older than 30 days. Home and /review then show the same "N waiting on you" and N stale, archive?.

Closes #5800

commented

Pushed. Home's "waiting on you" line, /review and the MCP asks tool now count the same set. Asks older than 30 days fall out of that count and show as N stale, archive?.

The earlier push failure was the remote being unreachable. This time the push succeeded (247fdb65) after I merged the latest main. The type check is clean and the stale-asks tests pass (5). I didn't re-run the wider test set after this last merge. I also didn't find why the check was red on the earlier attempt (#5824), so I can't say whether this fixes it.

  • Home: the waiting line counts exactly the rows /review draws, and forge needs stay out of the count. The stale link goes to the existing bulk-dismiss preview, so nothing is dismissed without a look. The set is built in src/web/studio/review_set.ts.
  • /review: the same stale asks fold under one N stale, archive? row. The row markup #5741 builds on is unchanged.
  • MCP asks: it returns the same count and the same stale split.
  • Terminal: the dashboard counts and archives stale asks too. That goes beyond the issue.
  • Tests: test/review-stale.test.ts compares the Home and /review counts on one seeded forge and checks the MCP split. test/tui-stale.test.ts covers the terminal.

I didn't make the 30-day threshold configurable, and nothing is dismissed without the preview.

To try it, seed asks older than 30 days. Home and /review then show the same "N waiting on you" and N stale, archive?.

commented

I merged main into the branch, resolved the one conflict in src/tui/screens/dashboard.ts, and pushed it as e36a662c.

Both sides had edited the footer hints on the "on you" card. I kept our version of the footer, with the counts first and then the decider keys. I added main's new "b give back to the crew" hint right after "D let the decider", and dropped the duplicate decider lines.

The type check is clean. I ran every test file whose name mentions tui, dashboard, review, ask or kpi: 753 pass, 0 fail. I did not run the whole suite; the forge's check does that on the push.

Approved

Approved. One set (review_set.ts) now feeds Home, /review, the MCP asks answer and the terminal card, stale asks fold into one bulk-dismiss preview form (plain POST, works without JS, nothing dismissed unseen), and the tests would fail without it (counts agree across the three web doors; TUI Z previews then archives). Preview checked signed out only (200s); I could not see the signed-in Home or /review there, so the markup is judged from source and tests. Next two things: (1) fix the misleading comment in asks.ts: waiting.count is the live asks only, not plus the forge needs; (2) asksAnswer now runs waitingOn a second time per call, and review_set.ts and asks.ts import each other: fold the set into what askLinesFor already read, or move waitingOn so the cycle goes. Also the footer reorder in dashboard.ts moves decider hints unrelated to this issue; fine here, keep it out of the next pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs