Skip to content

Factory 0.4.5

Choose a tag to compare

@lpbaril lpbaril released this 11 Nov 01:48
· 12 commits to master since this release

Factory 0.4.5 trims design review: after the Planner fixes a plan, the next round re-checks only the lenses that found a Blocker or Major, instead of every lens.

Why

On the BusinessOS factory, design review cost about 12% of a planned task, weighted roughly by price, and caught 8 Blockers on four tasks before any code was written. Most of its reviewer threads, 37 of 57, ran in rounds after the first, and each of those rounds restarted every lens, including lenses that had found nothing.

How rounds work now

  • Round 1: every lens of the plan's depth, as before.
  • After a fix: the next round re-checks only the lenses that found a Blocker or Major, each with a fresh reviewer. This carries through any number of rounds. A lens that found only Nits, or nothing, isn't run again.
  • When the depth goes up: for example, a fixed plan names a sensitive path. A lens that hasn't read the plan yet joins.
  • When every lens runs again: for a new plan once a review has ended (passed or accepted), such as an amendment during the build, and after a round where a lens didn't report.
  • Where you see it: the round's task comment names the lenses re-checking and those reading the plan for the first time, and why. bb factory status shows "(full, re-check)", and the Factory page shows "re-check".

On the four BusinessOS tasks, this would have started about 45 reviewer threads instead of 57.

When you upgrade

  • Reviews already running keep their rounds. The next round started after a fix follows the new rule.
  • Nothing for Planners to do differently: the factory picks the lenses, and Planners started from now on are told how it works.

Limits

  • A lens that found nothing doesn't re-read the fix. A fix that breaks something only that lens would notice isn't caught until PR review. This is the trade-off for the lower cost.
  • The saving is modest: roughly 2–3% of a planned task's cost.
  • Not tried for real yet: the focused round hasn't run on a live plan.

Full Changelog: v0.4.4...v0.4.5