Spawned children of the instance, optionally restricted to those
spawned by activity. Ordered by startedAt ascending.
The rendered $context map — the start-time seed + a parent's spawn
handoff, keyed by entry name.
Current stage name of an instance.
The startable half of ReadHelpers.instancesForDocument: the
latest deployed version of every definition applicable to the LOADED
candidate document — startable, the subject-kind entry accepts its
_type, start.filter (browse-time-pure) passes. All matches, name
ascending.
The rendered $effects map — completed effects' outputs, namespaced
by effect name.
Pre-flight startInstance's gates for a definition + candidate
initialFields: one ordered result per declared start requirement, plus
still-missing required inputs; the read a start surface renders before
committing.
Pending effects filtered by claim presence and/or effect names.
The engine's instance point-read: throws typed InstanceNotFoundError
when the doc is missing or belongs to another engine's tag partition.
All instances of definition currently at stage. In-flight only by
default; includeCompleted: true widens to completed/aborted instances.
The options derive from the engine's InstancesQueryFilter, so a
vocabulary drift is a compile error here, not a silently-dropped filter.
Every in-flight instance whose reactive watch-set includes document
(a resource-qualified GDR URI) — the reverse of the forward watch-set.
Answers "which instances should this changed doc tick?" the way a
non-reactive content forwarder needs. Sorted by startedAt ascending.
All workflow instances whose single-ref field entry (subject kind or
doc.ref) named entryName (default "subject") matches the given doc
id. Useful for "what workflow is running on this document?" questions.
Pass entryName for workflows whose subject entry uses a different name.
Every pending effect on an instance — claimed and unclaimed alike.
Snapshot of all documents in the store — for inspecting the world.
Status of a single activity on an instance, or undefined if missing.