src/add/plan.bend checks
raw source on the hub · import ezx@1.14.0.0/src/add/plan.bend as Plan
add/plan: ez add as a pure planner. It reads a World (add/world.bend) and
returns either the questions it still needs answered (step) or a Plan:
the effects to run and how the command ends (plan). The interpreter
(add/run.bend) loops on step, answering each question by IO, until
nothing is left to ask, then executes the plan.
Before it asks anything the planner refuses what needs no answer: no
ledger, one that does not parse, a target that names nothing, a --rename
that is no TOML bare key, and a name clash the ledger alone decides (a
--rename, or a source it already records). Then it asks at most three
rounds: what the ref names (the remote's tags, then its HEAD when no tag is
semver-ish; or the named ref), then the checkout at that rev, which carries
its NAR hash and the text of every file. A 40-hex ref is the commit, and
the first question is the checkout. Every question carries the source as
git is to read it, P.anchor(here, url), which the planner computes.
With the checkout answered, the package is walked from its entry by the
pure walk (K.of) over the checkout's files, so the hash, the texts laid
and the manifest come from one list. The entry is the one given, else the
checkout's [package] entry, bin or main.bend, and one the checkout
does not hold is refused. The name is Named.as's, refused when
Named.why.as objects.
The plan of an add that succeeds, in order: the tree laid under
$BEND_LIB, or under .ez/lib when the entry it replaces is vendored;
ez.toml written with the dependency added (Rend.add.keep, which keeps
that vendor bit); .gitignore written when the allowlist I.sync derives
from the new ledger changes it; the old committed tree removed when a
vendored dependency's hash moved and nothing else names it; and the lines a
person is told. A refusal has no effect at all: nothing laid, nothing
written, no cache fill.
A target bend reads as a hub package's <name>@<version> is planned by
add/hub.bend instead (H.plan). command is the plan ez add runs, which
is plan for a git or path target and H.plan for a name, and next is
the interpreter's step over both.
The Effect, Plan and Outcome types are the lock's (lock/plan.bend), as for
ez remove and ez init; see "Update (A1, A4)" and "Update (A2)" in
docs/rfc/ez-add-planner.md.
14 imports
import Base import ./world.bend as A import ./hub.bend as H import ../lock/plan.bend as P import ../lock/world.bend as W import ../lock/up.bend as Up import ../ledger/manifest.bend as M import ../ledger/render.bend as Rend import ../ledger/ignore.bend as I import ../pkg/pkg.bend as K import ../pkg/path.bend as Path import ../git/git.bend as Git import ../ez/named.bend as Named import ../ez/target.bend as Tgt
Types
type Q source · line 61 · raw
Data
a question, before it is told which source it is about: the remote's tags, its HEAD, what a named ref names, or the checkout at a rev
QTagsQ
QHeadQ
QRefs@ref:String -> Q
QClone@rev:String -> Q
type Tip source · line 129 · raw
Data
the commit a ref names, a question still to ask, or why there is none
At@rev:String -> Tip
TipAsk@q:Q -> Tip
TipNo@why:String -> Tip
type Co source · line 227 · raw
Data
the checkout at the rev: its NAR hash and every file's text, or the question still open, or why there is none
Co@nar:String -> @files:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source> -> Co
CoWaitCo
CoNo@why:String -> Co
type Verdict source · line 343 · raw
Data
where the World stands before the walk: every answer it needs is in, a question is still open, or the add refuses
GoVerdict
Pending@qs:List<&2, Q> -> Verdict
Stop@why:String -> Verdict
type Step source · line 656 · raw
Data
the questions still open, or the plan once there are none
Asking@asks:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask> -> Step
Run@plan:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan -> Step
type Next source · line 791 · raw
Data
what the interpreter does next: answer git's questions, answer the hub's, or run the plan
AskGit@asks:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask> -> Next
AskHub@asks:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/world.Ask> -> Next
Planned@plan:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan -> Next
Definitions
def ask.of source · line 68 · raw
@question:Q -> @+from:String -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask
a question about a source
def asks.of source · line 80 · raw
@qs:List<&2, Q> -> @+from:String -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask>
each question about a source
def said source · line 88 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> @question:Q -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Said
what git printed for a question about the World's source
def said.text source · line 92 · raw
@printed:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Said -> String
what was printed, "" when nothing was
def rows source · line 102 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> @question:Q -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/git/git.Row>
the rows git printed for a question, none when nothing was
def default.ref source · line 111 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the ref ez add pins when none was asked for: the tag Git.choose takes
from every tag on the remote, the greatest release, else the greatest
pre-release; else the branch HEAD's symref names (laws/AddPinsChosenRef.bend)
def tag.of source · line 117 · raw
@rev:Bool -> @empty:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the tag or branch recorded, as a ref was given: none for a commit, the default one for none, and the ref itself otherwise
def tag source · line 125 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the tag or branch the ledger records
def tip.found source · line 135 · raw
@+rev:String -> @why:String -> Tip
a commit the rows named, or why they named none
def tip.refs source · line 140 · raw
@printed:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Said -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
a named ref, read exactly as refs/tags/<ref>, its peeled commit first,
then refs/heads/<ref>
def tip.head.rows source · line 152 · raw
@+rows:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/git/git.Row> -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
the default branch, when no tag is semver-ish: the commit HEAD names, and the branch its symref names, which is recorded as the ref followed
def tip.head source · line 158 · raw
@printed:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Said -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
def tip.chosen source · line 168 · raw
@none:Bool -> @+chosen:String -> @+rows:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/git/git.Row> -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
the tag chosen, through its peeled commit, or HEAD when none was
def tip.tags.rows source · line 176 · raw
@+rows:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/git/git.Row> -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
def tip.tags source · line 180 · raw
@printed:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Said -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
def tip.named source · line 190 · raw
@empty:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
a ref that is not a commit: the default one, or the one named
def tip.of source · line 198 · raw
@rev:Bool -> @empty:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
a 40-hex ref is the commit, and asks the remote nothing
def tip source · line 206 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Tip
the commit the ref names
def tip.rev source · line 209 · raw
@tip:Tip -> String
def rev source · line 219 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the commit pinned, "" while it is not known
def co.of source · line 232 · raw
@answer:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Answer -> Co
def co.heard source · line 241 · raw
@got:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Heard -> Co
def co.at source · line 249 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> @+rev:String -> Co
the checkout at a rev, as the World answered it
def co source · line 253 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Co
the checkout at the rev the ref names
def co.files source · line 256 · raw
@checkout:Co -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source>
def co.nar source · line 265 · raw
@checkout:Co -> String
def files source · line 275 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source>
every file of the checkout, none while it is not known
def nar source · line 279 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the checkout's NAR hash
def tree.toml source · line 283 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Maybe<&2, String>
the checkout's own ez.toml, None when it has none
def pkg source · line 287 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the [package] name the checkout gives itself, "" for none
def entry source · line 293 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the entry the package is walked from: the one given, else the checkout's
[package] entry, else its bin, else main.bend
(laws/AddEntryChosen.bend)
def fuel source · line 302 · raw
@fs:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source> -> Nat
fuel enough for a walk over these files: one step for the entry and one for every import it can queue, and every import is a line of some file. So a walk over a checkout never runs out, and the fuel is a function of the checkout rather than a number, which keeps the walk from unrolling when a proof reasons about a checkout it does not know.
def walked source · line 310 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked
the package the entry is published as, walked over the checkout's files
def name source · line 314 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the name the dependency is recorded under (laws/DependencyNameChosen.bend)
def why source · line 318 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
why that name cannot be recorded, "" when it can
def decided source · line 326 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Bool
whether the ledger alone decides the name: a --rename was given, or the
ledger already records this source
def early source · line 334 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
why the name is refused before anything is asked, "" when it is not. A
--rename that is no key is always refused here, and a clash only when
the ledger alone decides the name; one that turns on the checkout's
[package] name is decided after the walk.
def decide.co source · line 349 · raw
@checkout:Co -> @+rev:String -> Verdict
the checkout answered, still to ask, or not to be had
def decide.tip source · line 359 · raw
@tip:Tip -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Verdict
what the ref names, then the checkout at it
def decide.early source · line 369 · raw
@ok:Bool -> @+why:String -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Verdict
a name refused before anything is asked
def decide.place source · line 377 · raw
@place:0xe21073738926f8a159714d5cdaf60edb/src/ez/target.Place -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Verdict
a target that names nothing is refused before anything is asked
def decide.read source · line 390 · raw
@read:0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Read -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Verdict
no ledger, or one that does not parse, is refused before anything else, with the reason every command that edits a ledger gives
def decide source · line 398 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Verdict
where a World stands before the walk
def dep.of source · line 405 · raw
@+hash:String -> @+root:String -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep
the dependency recorded, from the walk's hash and root
def outcome.fit source · line 412 · raw
@fit:Bool -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome
the ledger with the package added, once it is known to read back. A ledger that could not be written so that it reads back, such as one whose source or entry holds a quote, is refused (laws/WrittenLedgerReadsBack.bend).
def outcome.name source · line 420 · raw
@ok:Bool -> @fit:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome
the name, once the walk made a package, then the ledger it leaves
def outcome.walk source · line 428 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome
the walk's verdict: a package, or why there is none
def outcome.entry source · line 439 · raw
@got:Maybe<&2, String> -> @walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome
the entry has to be in the checkout for there to be a package to walk
def outcome.k source · line 448 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome
how an add over an answered World ends, given its walk
def added.k source · line 456 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep
the dependency the plan records: the one dep.of makes from the walk, or
an empty one when the walk made none, which no plan writes
def added source · line 466 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep
the dependency ez add records on a World
def ledger.next source · line 470 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Manifest
the ledger ez add leaves on a World
def src.of source · line 474 · raw
@item:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/world.Source
a found file as it is laid
def srcs source · line 479 · raw
@fs:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source> -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/world.Source>
every found file as it is laid
def place.of source · line 489 · raw
@vend:Bool -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Place
where the tree is laid: under .ez/lib, committed, when the entry it
replaces is vendored, since the re-added entry keeps that bit; under
BEND_LIB otherwise
def any.step source · line 497 · raw
@hit:Bool -> @rest:(@_:Unit -> Bool) -> Bool
the rest of a scan only when this step was not the hit
def holds source · line 505 · raw
@ds:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep> -> @+hash:String -> Bool
whether a dependency names this hash
def char.ok source · line 513 · raw
@+ch:Char -> Bool
whether a char may stand in a hash that names a directory under .ez/lib
def chars.ok source · line 516 · raw
@text:String -> Bool
def safe source · line 526 · raw
@+hash:String -> Bool
a hash rm -rf .ez/lib/<hash> removes one tree for, as ez remove checks
it: a 0x name with no path separator in it
def gone source · line 531 · raw
@+old:0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep -> @+hash:String -> @+left:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep> -> List<&2, String>
the committed tree a re-add moves off: the old hash of a vendored entry when the hash moved, it is safe to remove, and nothing left names it
def ignore.put source · line 539 · raw
@same:Bool -> @+next:String -> @rest:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect> -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect>
.gitignore written ahead of the rest when the allowlist changes it
def at.of source · line 549 · raw
@+root:String -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the entry's path inside a package rooted at root, which is where the hub
serves it: its name alone, unless an import climbs out of its directory and
re-roots the package above it
def says source · line 555 · raw
@+hash:String -> @+at:String -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect>
the lines a person is told: the commit a tag or branch turned out to be,
and the import line the package is now reachable by, for the entry at at
inside it. Git.import.line is the line ez publish prints too.
def effects.of source · line 563 · raw
@+dep:0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Dep -> @+hash:String -> @+at:String -> @fs:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Source> -> @ss:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Item> -> @+manifest:0xe21073738926f8a159714d5cdaf60edb/src/ledger/manifest.Manifest -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect>
what an add that walked a package does: the tree laid, ez.toml written,
.gitignore when the allowlist changes, the old committed tree removed, and
what a person is told
def effects.k source · line 582 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect>
the effects of an add whose walk made a package; none otherwise
def seal source · line 596 · raw
@es:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Effect> -> @outcome:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Outcome -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
a plan that refuses has no effect at all; its reason is how it ends
def made source · line 605 · raw
@+walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
the plan once every answer is in, with k the walk. The walk is made once
and read by both halves.
def plan.v source · line 610 · raw
@verdict:Verdict -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
the plan for where the World stands. One that still asks is a World the interpreter did not finish, and is refused rather than guessed at.
def plan source · line 621 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
ez add over a World
def refuses.plan source · line 625 · raw
@pl:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan -> Bool
whether a plan ends in a refusal
def refuses source · line 634 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Bool
whether ez add refuses on a World
def qs.v source · line 638 · raw
@verdict:Verdict -> List<&2, Q>
the questions still open where the World stands
def wants source · line 648 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask>
the questions a World still leaves open, each about the anchored source
def answered source · line 652 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Bool
whether every answer the planner needs is in
def step.v source · line 660 · raw
@verdict:Verdict -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Step
def step source · line 670 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Step
what the interpreter does next on a World
def resolves.one source · line 678 · raw
@ask:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask -> Bool
whether a question asks the remote to resolve a ref: its tags, its HEAD, or a named ref. A checkout at a known commit is not resolving.
def resolves source · line 690 · raw
@as:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask> -> Bool
whether any question does
def ask.url source · line 699 · raw
@ask:0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask -> String
the source a git question names, "" for any other question
def asks.from source · line 713 · raw
@as:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/up.Ask> -> @+from:String -> Bool
whether every question names this source
def after source · line 722 · raw
@wrote:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Wrote -> @+was:String -> String
what a path holds once a plan has run, when it held was before
def hash.of source · line 730 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> String
the hash of the package the walk made, "" when it made none
def root.of source · line 740 · raw
@walk:0xe21073738926f8a159714d5cdaf60edb/src/pkg/pkg.Walked -> String
the directory its paths are written from, "." when it made none
def hash source · line 750 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the package's hash on a World
def at source · line 755 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> String
the entry's path inside the package on a World, which is where the hub serves it
def last.go source · line 759 · raw
@ls:List<&2, String> -> @+prev:String -> String
the last of some lines, prev when there are none after it
def last source · line 767 · raw
@pl:0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan -> String
the last line a plan says, "" when it says none
def command.of source · line 774 · raw
@named:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
the plan ez add runs, once it is known whether the target is a name
def command source · line 782 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> 0xe21073738926f8a159714d5cdaf60edb/src/lock/plan.Plan
the plan ez add runs on a World
def refuses.command source · line 786 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Bool
whether ez add refuses on a World
def next.git source · line 797 · raw
@st:Step -> Next
the git planner's step
def next.hub source · line 805 · raw
@asks:List<&2, 0xe21073738926f8a159714d5cdaf60edb/src/lock/world.Ask> -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Next
the hub planner's step: its questions, or its plan once there are none
def next.of source · line 812 · raw
@named:Bool -> @+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Next
def next source · line 820 · raw
@+world:0xe21073738926f8a159714d5cdaf60edb/src/add/world.World -> Next
what the interpreter does next on a World
def next.asks source · line 824 · raw
@nx:Next -> Bool
whether a step still asks anything