Webhook emitter
Record one payment; idempotent per delivery key because the server deduplicates deliveries.
Capabilities
| Capability | Kind | Signature | Module | Summary |
|---|---|---|---|---|
handle_payment | traversal | (payment: Payment, trigger: TriggerContext | None = None) -> dict | examples/python/features/webhook_emitter/agent.py | Record one payment; idempotent per delivery key because the server deduplicates deliveries. |
handle_pr | traversal | (event: dict, trigger: TriggerContext | None = None) -> dict | examples/python/features/webhook_emitter/agent.py | Summarize a GitHub pull_request event; the raw event binds to ``event``. |
receive | skill | (value: int, trigger: TriggerContext | None = None) -> dict | examples/python/features/webhook_emitter/agent.py | Echo a value plus how it arrived (code binding doubles it; a manual emitter does not). |
Commands
python -m atfgraph.worker --module examples.python.features.webhook_emitter.agent:app
Files
examples/python/features/webhook_emitter/__init__.pyexamples/python/features/webhook_emitter/agent.pyexamples/python/features/webhook_emitter/agentnode.yaml