Files
mesh-delivery/modules/mesh-delivery-teller/module.json
T
jschoubben 2165b3b296 §717 (3), the teller: it follows the asks and the answers by their seats, at the holders the seat-holders view names
The teller followed mesh-delivery-assigner's asks and mesh-delivery-view's answers by module name. It now gains the catalog
half's reader (§614), whose claimant of mesh-module-assigner's seat-holders view is its holder function (A-298), and
follows mesh-wants' asks and mesh-delivery-view's answers through views.ProcessReader.FollowSeat, each apart (issue 1906):
started before any module holds a seat it waits, and follows the holder once it is placed and as it moves. Its code names
neither module; its manifest invokes the catalog half's revision and the gate's source, and consumes the seat-holders view,
catalog-revision and source-moved; the assigner's seat-holders first-view tool answers the teller (A-131's module form).

Builds: design 47 G §717, §614, A-298, A-295, A-296

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 19:55:29 +01:00

155 lines
3.2 KiB
JSON

{
"module": "mesh-delivery-teller",
"version": "0.1",
"slug": "teller",
"tools": [
"teller_end_ask",
"teller_answers",
"teller_read_answers",
"teller_first_views",
"teller_first_view_again",
"teller_widens_said"
],
"invokes": [
"seat:mesh-hand-acts.hand-act",
"seat:mesh-catalog.registrations",
"seat:mesh-catalog.revision",
"seat:mesh-delivery.source",
"seat:mesh-broker.show",
"seat:operator-channel.notify",
"seat:mesh-module-assigner.assignments"
],
"consumes": [
"mesh-conditions.findings-asked",
"seat:mesh-wants.views.asks",
"seat:mesh-delivery-view.views.answers",
"seat:mesh-module-assigner.views.seat-holders",
"mesh-catalog.catalog-revision",
"mesh-delivery.source-moved",
"mesh-catalog.registration-changed",
"mesh-pipeline-runner.pipeline-ended",
"mesh-delivery.recovery-merged",
"mesh-delivery.record-opened",
"mesh-broker.recreated",
"mesh-broker.dropped"
],
"emits": [
"answered",
"ask-ended",
"views.answers"
],
"state": [
{
"name": "answers",
"history": 5
},
{
"name": "asked",
"history": 1
},
{
"name": "ends",
"history": 1
},
{
"name": "first-views",
"history": 1
},
{
"name": "widens-said",
"history": 1
},
{
"name": "teller-marks",
"history": 1
}
],
"uses": [
"operator-channel"
],
"own-secrets": {
"broker": "${dir:state}/broker"
},
"secrets-owner": "mesh-delivery-teller",
"resources": [
{
"id": "account",
"type": "user",
"name": "mesh-delivery-teller",
"shell": "/usr/bin/nologin",
"home": "/var/lib/mesh-delivery-teller"
},
{
"id": "state",
"type": "directory",
"mode": "0700",
"owner": "mesh-delivery-teller",
"place": ".",
"unknown": "program"
},
{
"id": "teller",
"type": "process",
"name": "mesh-delivery-teller",
"artifact": "program",
"run": [
"./mesh-delivery-teller"
],
"env": {
"MESH_BROKER_FILE": "${dir:state}/broker"
},
"user": "mesh-delivery-teller",
"health": {
"kind": "unit"
}
}
],
"build": {
"artifacts": [
{
"name": "program",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/mesh-delivery-teller",
"binary": "mesh-delivery-teller"
},
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/mesh-delivery-teller-tools",
"binary": "mesh-delivery-teller-tools",
"loads": [
"mesh-delivery-teller-tools"
]
}
]
},
"requires": [
{
"name": "findings",
"storage": "key-value",
"template": "state",
"options": {
"history": 1
}
},
{
"name": "finding-events",
"storage": "stream",
"template": "events",
"options": {
"events": [
"finding-written.*",
"finding-cleared.*",
"findings-stated.*"
],
"max-age-days": 7,
"max-mib": 16
}
}
]
}