Acts are kept 400 days under the runtime-proven caller and said as act-recorded; a warrant is read from the router's own record and recorded once per ask; hand-acts answers over both logs. The act layout is a copy of mesh-sdk's until L5-S2 lands.
24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
# mesh-hand-acts
|
|
|
|
Holds the seat `mesh-hand-acts` (novox/hq ADR 0565 §10, §11): the hand-act log, moved out of the controller. Go, one
|
|
binary (`cmd/mesh-hand-acts`), served by a runtime of its own on its own bus account (`runs-as`), so that its account
|
|
alone writes the log.
|
|
|
|
## What it keeps
|
|
|
|
- `mesh-hand-acts_acts`: every act, one key `act-<ns>-<n>` (`warrant-<asker>-<ask>` for a warrant) in the layout of the
|
|
controller's log, kept 400 days by the bucket's age. Each act is said as `act-recorded`.
|
|
- `mesh-hand-acts_warrants`: one key `<asker>.<ask>` per warrant recorded, made once by create, naming its act.
|
|
|
|
## Its verbs
|
|
|
|
- `mesh-hand-acts.hand-act`: what, why, cause, the condition addressed, and the act's verb (a repair when not given;
|
|
`hand-act drill` for a drill, whose cause is always `drill`). Who did it is the caller the runtime proves.
|
|
- `mesh-hand-acts.warranted`: asker and ask. Read from the router's own record of that ask (`messenger.asks`), never
|
|
from the caller, and recorded once per ask; an ask still open, ended without a choice or another asker's is refused.
|
|
- `mesh-hand-acts.hand-acts`: both logs, this one and the controller's `mesh-controller_hand-acts` until its lease
|
|
ends, newest first, with the causes repaired by hand twice within a fortnight; `warrants=true` lists the warrants.
|
|
|
|
No act is written to both logs: every recorder calls this seat from its delivery, and the controller keeps its own
|
|
acts in its own bucket until it loses its lease.
|