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

`bun scripts/flow-report.ts` prints every flow read in one page, so each is reachable while its surface is built #6584

shipped production is serving it opened this has it
opened this

On main, build_yield, review_latency, outsiders, checks_pile, gate_minutes, oldest_approved, idle_pulls, lead_time and openers under src/flow/ are imported by nothing outside it.

Done:

  • [ ] New src/flow/report.ts exports flowReport(db, now, publicOnly) returning one plain line per read, in a fixed order, using each read's own words where it has them.
  • [ ] scripts/flow-report.ts [--db <path>] [--public] opens the database read-only (default: under FORGE_DATA) and prints the lines; --json prints the raw values.
  • [ ] Test: a seeded database gives one line per read; publicOnly hides a private repository's pulls.

Files: src/flow/report.ts, scripts/flow-report.ts, test/flow-report.test.ts.

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

commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #6595 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs