mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-22 05:27:07 +08:00
ai-source-v2 finding F-01 for RockChinQ/GitHubKit 0.2.3: the background poller wrapped its whole lifetime in bind_invocation(handler, config, binding), so after the scheduling command ended the loop still ran under a freshly created, active invocation - tenant config, GitHub token and Host authority retained outside the SDK's invocation lifetime. Background Host calls (plugin KV read/write and message pushes) now pass the immutable installation binding as their explicit action_context. call_action validates it against the live connection (Workspace, installation, revision and artifact), so the Host decides whether that installation may still act and refuses a detached or superseded revision. The poller task starts in an empty Context and keeps no invocation and no config snapshot; GC-visible token, interval and language settings are re-read when the poller is (re)created. Co-authored-by: multica-agent <github@multica.ai>