def plan
import ezx@1.11.0.0/src/ws/doctor.bend as Doctorimport Base
import ezx@1.11.0.0/src/doctor/plan.bend as DP
import ezx@1.11.0.0/src/doctor/world.bend as DW
import ezx@1.11.0.0/src/lock/plan.bend as P
274# `ez doctor`: for a project of its own, the doctor's plan; at a workspace
275# root, the same lines over the joint ledger, with each member's report in
276# place of the one drift report
277def plan(back: Back, +world: DW.World) -> P.Plan:
278 match back:
279 case Alone{}:
280 DP.plan(world)
281 case Back{+text, +found, +why}:
282 DP.plan.notes(notes(why, text, found, world))