Files
Mike Schwarz b72abee350 feat(daemon): ring a hosted member's webhook when work lands for it (#2115)
A hosted member, an outside tool on the team whose roster entry declares a webhook trigger, is now rung when work lands for it. The daemon POSTs a pointer to the row (its id, destination, sender and summary, never its body) to the member's declared webhook, taking credentials only from secret refs. Credentials in the URL are sent as a Basic Authorization header, and no credential appears in any recorded result or posted finding.

An accepted ring is recorded as accepted, not as picked up, on the wake that rang. A daemon restart doesn't ring that same accepted wake again, while a new wake for the row, such as an unblock or a resolve decision, still rings, and a failed ring is retried. A member whose entry declares no trigger stays unroutable, so its person is told, as before. `rig queue create --verify` says the trigger accepted the ring, not that the member picked it up.

14 files, +608 -75, of which 316 are test lines.
2026-10-26 10:47:36 -07:00

27 lines
1001 B
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"lib": ["ES2022"],
"types": ["node"],
"baseUrl": ".",
"paths": {
"@openrig/daemon/local-reading": ["../daemon/dist/local-reading-surface.d.ts"],
"@openrig/daemon/codex-auth": ["../daemon/dist/codex-auth-surface.d.ts"],
"@openrig/daemon/crash-cart": ["../daemon/dist/crash-cart-surface.d.ts"],
"@openrig/daemon/gateway-human-registry": ["../daemon/dist/gateway-human-registry-surface.d.ts"],
"@openrig/daemon/rosters": ["../daemon/dist/rosters-surface.d.ts"],
"@openrig/daemon/spec-conformance": [
"../daemon/dist/spec-conformance-surface.d.ts"
],
"@openrig/daemon/gateway-protocol": ["../daemon/dist/gateway-protocol-surface.d.ts"],
"@openrig/daemon/instance-initialization": [
"../daemon/dist/instance-initialization-surface.d.ts"
]
}
},
"include": ["src"],
"exclude": ["dist", "test"]
}