Design 47 H2: H-A-752 to H-A-754, the start's pass starts what it stopped, an ask id takes the end count, the validator's tests read definitions

This commit is contained in:
2026-11-25 18:48:16 +01:00
parent 30da437126
commit 11de92d8eb
@@ -812,3 +812,31 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
case of `start` is refused once the head's pipeline has ended. Principles 4 and 7 (one path for one act). How it is
checked: a row of the runner's start tests: `start` of a module a cancelled head left unfinished reopens that
pipeline with its group, said by `mover-added` with `caller`, as `runner_unfinished_place` of its key would.
- **H-A-752 (the owner pass at the engine's start starts again exactly what its stop stopped, 18:47)** 25 Nov; amends
H-A-735 (1), on review round 1 (the node-engine, `mesh-host` 180d57fe): H-A-735 (1) has the units "started again by
the normal apply", but no apply follows the pass at the engine's start, and the start built for it starts every unit
of the module found stopped, among them a run-once step's service, a scheduled process's service off its timer and a
service stopped before (issue 213's fault). So the pass starts again exactly what its stop found running and stopped,
services before timers, then containers, and nothing else: `StopModule` answers only what it found running (a
container found stopped is not in its answer), and that answer is what is started again; a unit found stopped before
the pass stays stopped. Principles 3 and 7 (the node as it was; no start without a need). How it is checked: rows of
the node-engine's start tests: a running service and timer stopped for the pass are running after it; a run-once
step's service, a timer's service and a service found stopped stay stopped; a container found stopped stays stopped.
- **H-A-753 (a step's ask id opens with its pipeline's start and its end count, 18:47)** 25 Nov; on a question of
develop (H-A-750 (4)): every ask id of a pipeline is made from the pipeline's `started` (A-297), the same again at a
restart, so a step placed again after a reopen, and the composition asked once its validate passes, would take the
id of the first run's ask, which the bus keeps once. The id's time is the pipeline's `started` with its
`end-count` added as milliseconds: a pipeline never ended keeps every id it has today, and each reopen gives every
later ask of that pipeline an id of its own, the same again at a restart, since both fields are kept. No copy of the
pipeline with another start is made for a placing, and `started` stays its first start (H-A-750 (4)). Principles 3
and 7. How it is checked: rows of the runner's place tests: a pipeline of end count 0 asks with today's ids; after a
reopen the steps placed again and the composition asked later take ids unlike the first run's, and a restart computes
the same.
- **H-A-754 (the manifest validator's tests read a seat's verbs and decisions from its definition, 18:47)** 25 Nov; written down for
mesh-delivery cb8046c3, which cites "a lead answer of 25 Nov" that no hq commit held (review round 1): two of the
manifest validator's tests in the indexer (package `judge`, `TestRulesClaims`) failed on main once mesh-networking a49d6d0 gave the seat `node-resolver`
the verb `uplink-names` and the seat `node-uplink` a decision, because the tests listed a holder's served verbs and a
seat's decisions by hand. The fix chosen was the thorough one (quick-or-thorough: a kind met in every test that lists
a seat by hand): the tests read a holder's served verbs from the seat's definition, and the uplink's decision is read
as naming ADR 0117. Principle 7 (the definition that exists serves). How it is checked: the manifest validator's tests pass on a seat
that gains a verb or a decision with no change to the test.