DeliverRouteCapability class
The ROOT code circuit's TERMINAL ROUTE — the node whose Advance the engine
answers by actuating the substation's bound DeliveryMethod
(isDeliveryTerminal). It decides NOTHING about the work's quality (the
committee already did): it composes what delivery needs and advances.
The PR opens with an INFERRED, strict Conventional Commits v1.0.0 TITLE and a
section-COMPOSED body: pr_describe.dart runs ONE cheap inference pass over
the branch's ACTUAL delta and pr_composition.dart renders it — the what/why
summary FIRST, then the circuit receipt, the committee grades, the bead's
validation plan, and LAST the footers, where the bead id rides its git TRAILER
and NOWHERE else. Every inference failure path (not wired, offline, a failed
run, unparseable output) falls back to a DETERMINISTIC, id-free conventional
subject — delivery never fails over PR prose.
With NO delivery bound it advances BARE — commit-only — and never spends an inference token in that arm.
Constructors
- DeliverRouteCapability({GitRunner? gitRunner, InferenceRunner? inference})
-
Creates the terminal route over the optional
gitRunner(the describe pass's branch-delta reads; null ⇒ the realSystemGitRunner) and the optionalinferencerunner (null ⇒ NO describe pass at all — the deterministic fallback title with ZERO git and ZERO inference, which is every offline unit test).const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createAllocation(
AllocationInputs inputs) → Allocation -
The default
Allocationfor a route (ADR-0009 Decision 4/6) —RouteAllocation.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
route(
TreeContext context, StepArgs args) → Future< RouteVerdict> -
Decides the verdict. Read ambient values from
contextat ENTRY (the effect verb —getInheritedSeedOfExactType); after every await, checkStepArgs.cancelbefore touching the context again. A THROWING body routes to supervision as aFailed(the per-work fail-closed posture, ADR-0008 Decision 10) — never an unhandled zone error. -
supervisionPolicy(
StepArgs args) → SupervisionPolicy -
This capability's per-kind supervision declaration.
inherited
-
teardown(
StepArgs args) → Future< void> -
Idempotent cleanup on unmount. Defaults to a no-op. Dispose-path: NO tree
context (a lookup there would throw).
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited