The eleven other modules that bind finding-events (claude-code, mesh-healers, mesh-knowledge, mesh-provisioner, mesh-recovery, mesh-self-check, mesh-watcher, minio, nfs-server, restic, zfs) set max-mib 8 for 7 days, as the delivery modules' already do, so the indexer's finding-events rule (I6) judges every manifest alike. Builds: design 47 H2 §783; H-A-411 (1), H-A-430 (3)
102 lines
1.9 KiB
JSON
102 lines
1.9 KiB
JSON
{
|
|
"module": "mesh-healers",
|
|
"version": "0.1",
|
|
"class": "core",
|
|
"runs-as": "mesh-healers",
|
|
"claims": [
|
|
{
|
|
"name": "mesh-healers",
|
|
"scope": "mesh",
|
|
"serves": [
|
|
"healers",
|
|
"heal",
|
|
"drill"
|
|
]
|
|
}
|
|
],
|
|
"consumes": [
|
|
"mesh-conditions.condition-raised",
|
|
"mesh-conditions.condition-changed",
|
|
"mesh-hand-acts.act-recorded",
|
|
"mesh-conditions.findings-asked"
|
|
],
|
|
"invokes": [
|
|
"seat:mesh-hand-acts.hand-act",
|
|
"seat:mesh-hand-acts.hand-acts"
|
|
],
|
|
"reads": [
|
|
"mesh-conditions.conditions"
|
|
],
|
|
"state": [
|
|
{
|
|
"name": "attempts",
|
|
"key-ttl": true
|
|
},
|
|
{
|
|
"name": "would",
|
|
"key-ttl": true
|
|
},
|
|
{
|
|
"name": "wakes",
|
|
"key-ttl": true
|
|
}
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-healers",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-healers",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-healers"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-healers",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-healers",
|
|
"binary": "mesh-healers",
|
|
"loads": [
|
|
"mesh-healers"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"requires": [
|
|
{
|
|
"name": "findings",
|
|
"storage": "key-value",
|
|
"template": "state"
|
|
},
|
|
{
|
|
"name": "finding-events",
|
|
"storage": "stream",
|
|
"template": "events",
|
|
"options": {
|
|
"events": [
|
|
"finding-written.*",
|
|
"finding-cleared.*",
|
|
"findings-stated.*"
|
|
],
|
|
"max-age-days": 7,
|
|
"max-mib": 8
|
|
}
|
|
}
|
|
]
|
|
}
|