Design 47 H2: H-A-584 to H-A-587, the lead's answers to the review's open questions
The corrections of H-A-568 to H-A-583 left four questions open; the lead answered them at 15:31 against the principles, so each becomes a line the developers and the reviewers by architectural domain can read: a vault get stays the vault's to refuse, the gate takes a late running into its ended record, the window before a new rule's needs reach every entry is accepted, and narrowing a live consumer's filter is a queued tool.
This commit is contained in:
@@ -2170,3 +2170,39 @@ line below writes one correction and names the answer it withdraws or amends. Th
|
||||
changes, holding a nested resource with an owner of its own, an entry of a user other than the previous owner and a
|
||||
file with two hard links, keeps those three and what lies below the first two as they were, and gives every other
|
||||
entry the new owner, the contents before the directory (H-A-550, H-A-554 (2), H-A-579). Principle 3.
|
||||
- **H-A-584 (a get without runs-as is not refused by the manifest validator, 15:40)** 23 Nov, the lead's answer of
|
||||
15:31 CET to H-A-576's open question, amends H-A-576: the manifest validator does not refuse a manifest whose
|
||||
`invokes` names `seat:mesh-vault.get` and that declares no `runs-as`; the vault's refusal at the call, which hands a
|
||||
value only to an account of its own (ADR 0349 §11, ADR 0550 §3), is the one check of such a get, and it is loud at the
|
||||
first call (principle 3). Holding claude-code's deliveries for it would block work no principle asks to block
|
||||
(principle 7); claude-code's move to an account of its own stays issue 569's. The refusal of own-put without
|
||||
`runs-as` (H-A-545 (3), H-A-576) stands. How it is checked: unit (manifest validator): a manifest naming
|
||||
`seat:mesh-vault.get` without `runs-as` is accepted, one naming `seat:mesh-vault.own-put` without it is refused.
|
||||
Principles 3 and 7.
|
||||
- **H-A-585 (the gate applies a `running` heard after its record ended to that record, 15:42)** 23 Nov, the lead's
|
||||
answer of 15:31 CET: mesh-sdk's `stdio` hands each event to the module on its own goroutine, and the gate hears the
|
||||
assigner's `wanted` and the node-engine seat's `running` on two consumers that no ordering joins, so a record can end
|
||||
on `wanted` before the last `running` of its movers is applied, and that delivery's time is lost (issue 721, note 11).
|
||||
So: the gate (the holder of `mesh-delivery`) applies a `running` that names a mover of a record already ended to that
|
||||
ended record: it marks the mover running on that machine (G §144), and when that `running` is later than the
|
||||
record's `ended` it writes `ended` and `delivery-time` again from it (H2 §810, H-A-394 (3)), keeping the record's
|
||||
`class` as it was read when the record opened; it says `record-ended` no second time, and writes one journal line
|
||||
naming the record, the module, the machine and both times (principle 3: nothing fails silently). `gate_times` and the
|
||||
self-check's probe read the written time at their next read. Events of one consumer are not put in order by the
|
||||
runtime for this: it would not join the two consumers (principle 7). How it is checked: whole (gate): a record whose
|
||||
`wanted` is applied before its last mover's `running` ends, then takes that `running` with its later `ended` and
|
||||
`delivery-time` and a journal line. Principles 3 and 7.
|
||||
- **H-A-586 (the window before a new rule's needs reach every entry is accepted, 15:44)** 23 Nov, the lead's answer of
|
||||
15:31 CET, amends H-A-569 (2): an entry the take-in wrote with an older manifest validator lacks a newer rule's need
|
||||
until the next take-in, which derives it (H-A-569 (2)); a machine away that returns in that window applies its own
|
||||
node-engine want last (H §771), so the earlier node-engine may apply such a module's want there first. The window is
|
||||
accepted, not closed: the machines present are ordered by the pipeline's tiers (H-A-569 (1)), and a rule change
|
||||
meeting a machine away within it is rare and loud at that module's health (the instruction rules-are-weighed).
|
||||
Nothing is built for it. Principle 7.
|
||||
- **H-A-587 (a live consumer's filter is narrowed by a tool of the bus module, queued, 15:46)** 23 Nov, the lead's
|
||||
answer of 15:31 CET, amends H-A-578 (2): narrowing a filter for a dropped `consumes` entry is a hand act (ADR 0640
|
||||
§3), and every recovery has a tool (principle 4), while `nats_consumer_remove` refuses a durable of a module of an
|
||||
accepted manifest (H-A-127, H-A-128). So the bus module (the holder of `mesh-broker`) gets a tool that narrows one
|
||||
live consumer's filter to what its module's manifest consumes, a hand act with its `why`; it is queued on issue 329 and
|
||||
not built in this milestone. Until it exists, the indexer's handlers that acknowledge with no work the subjects it no
|
||||
longer consumes (H-A-578 (2)) stay. Principle 4; ADR 0640 §3.
|
||||
|
||||
Reference in New Issue
Block a user