mesh-issues: record who acted as the caller the runtime proves (hq issue 365)
The tool runner now takes a call's caller from the subject it arrived on and hands it to the module through the SDK (stdio.CallerOf); the tracker records that bus user on what each verb writes instead of unproven. Never from the arguments, which still refuse any caller, and unproven where the runtime proves none. Needs mesh-sdk's go/caller.go (pinned at its branch head until merged).
This commit is contained in:
@@ -7,9 +7,9 @@ package main
|
||||
// from a caller for `worker-stale-after` (24 hours) is stale: `list` says so, and it may be taken over without a
|
||||
// reason.
|
||||
//
|
||||
// `by` is what the worker says it is, not who called: the runtime does not yet hand a module its caller (hq
|
||||
// issue 340), so who acted stays recorded as the runtime proves it (Unproven), and the worker is a way for
|
||||
// agents and people to see each other, not a lock against someone giving a false name.
|
||||
// `by` is what the worker says it is, not who called: who acted is recorded beside it as the runtime proves it
|
||||
// (the caller's bus user, hq issue 365, or Unproven), and the worker is a way for agents and people to see each
|
||||
// other, not a lock against someone giving a false name.
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
Reference in New Issue
Block a user