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

A test pins the crew scorecard in the terminal: a forge admin's only, the same figures as Settings → Crew #6980

shipped production is serving it opened this has it
opened this

src/tui/screens/scorecard.ts shows each agent's landed-of-opened, review rounds, red checks, reverts and time to land. No test opens it.

Done:

  • [ ] A new test seeds two agents' pulls and runs. The screen's figures for recent days and all time equal crewScorecards for the same database, including a sub-row per model.
  • [ ] A signed-in person who is not a forge admin is refused, and no figure is drawn.
  • [ ] With no crew runs at all it says so in one line rather than drawing an empty table.

Files: test/tui-scorecard.test.ts

If the test finds the behaviour wrong, fix the module it names in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.

Before pushing: bun x tsc --noEmit and the new test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs