Summary
Land a Go counterpart to examples/triggers-demo/ and add a Go-flavored section to the skill reference so the agentfield-multi-reasoner-builder skill emits correct Go scaffolds.
Part of the epic #508. Depends on the public surface and dispatch path from the sibling issues.
Scope
New Files
| File |
Purpose |
examples/triggers-demo-go/main.go |
Three deterministic reasoners — handle_payment (Stripe), handle_pr (GitHub), handle_tick (cron). Same shape and memory-write semantics as examples/triggers-demo/agent.py |
examples/triggers-demo-go/Dockerfile |
Build the Go agent into a container |
examples/triggers-demo-go/docker-compose.yml |
Control plane + Go agent + shared demo secrets — drop-in replacement for the Python demo |
examples/triggers-demo-go/README.md |
Quick-start + UI tour |
examples/triggers-demo-go/scripts/fire-events.sh |
Symlink or copy of examples/triggers-demo/scripts/fire-events.sh — same script, same signed payloads |
Modified Files
| File |
Change |
skills/agentfield-multi-reasoner-builder/references/triggers.md |
Add a Go-flavored section showing the same trigger declarations in Go so the skill produces correct Go scaffolds |
Acceptance
References
Summary
Land a Go counterpart to
examples/triggers-demo/and add a Go-flavored section to the skill reference so theagentfield-multi-reasoner-builderskill emits correct Go scaffolds.Part of the epic #508. Depends on the public surface and dispatch path from the sibling issues.
Scope
New Files
examples/triggers-demo-go/main.gohandle_payment(Stripe),handle_pr(GitHub),handle_tick(cron). Same shape and memory-write semantics asexamples/triggers-demo/agent.pyexamples/triggers-demo-go/Dockerfileexamples/triggers-demo-go/docker-compose.ymlexamples/triggers-demo-go/README.mdexamples/triggers-demo-go/scripts/fire-events.shexamples/triggers-demo/scripts/fire-events.sh— same script, same signed payloadsModified Files
skills/agentfield-multi-reasoner-builder/references/triggers.mdAcceptance
cd examples/triggers-demo-go && docker compose upbrings up control-plane + go-agent./scripts/fire-events.sh(the existing script, unmodified) fires Stripe + GitHub events that dispatch successfullylocalhost:8080/ui/triggersshows three triggers, all enabled, withsignature: validon dispatched eventsReferences
examples/triggers-demo/skills/agentfield-multi-reasoner-builder/references/triggers.md