Design 47 H2: H-A-409 a running take-in's waiting-on; H-A-410 a holder's asks tool reads its queue via SDK and runtime
This commit is contained in:
@@ -315,3 +315,16 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
module's head, keyed the same way. The runner's developer builds the source-only run's step-ended so (R lines, §815's
|
||||
runner side); the forge module's developer the judgement, with a whole test (a head whose unit step failed is refused
|
||||
naming it). P3.
|
||||
- **H-A-409 (a running take-in's waiting-on lives in takeins, 01:03)** §803, I2. The indexer's one store of take-ins is
|
||||
the state `takeins`: a running source-moved take-in writes its `waiting-on` (part, verb, since) there under the key
|
||||
`running.<source revision>` when it starts waiting on a part, rewrites it at each new wait and removes it at its end;
|
||||
a held take-in stays in `held`. indexer_pending answers both, held and running, each with what it waits on. One store
|
||||
per thing (P3), the owner's own state (ADR 0596).
|
||||
- **H-A-410 (a holder's asks tool reads its own queue's waiting asks through the SDK and the runtime, 01:03)** §777, A2
|
||||
and B2. A holder's asks tool (assigner_asks, builder_asks, the runner's) answers what waits on and what is taken from
|
||||
its seat's queue; the queue is the holder's own store (its requires), so reading it is the owner's read (ADR 0596). The
|
||||
read is one shared form: mesh-sdk's bundle side gains stdio.QueueWaiting(seat) (S16), which asks the tool runner's new
|
||||
runtime call mesh/queue.waiting (T4: the stream's waiting messages read without consuming, each ask's id, module and
|
||||
age, at most 768 KB with capped), and the taken asks come from the holder's own state `taken`; no read of the broker's
|
||||
show for it and no new seat verb. Built in mesh-sdk (S16) and mesh-tools (T4) now; the assigner and the builder build
|
||||
their tools against those heads. P9, P-NATS-native, tools-are-how-a-module-is-spoken-to.
|
||||
|
||||
Reference in New Issue
Block a user