feat(agent-think): sync feature docs and resume on CI#1867
Open
mattzcarey wants to merge 1 commit into
Open
Conversation
|
agents
@cloudflare/ai-chat
@cloudflare/codemode
create-think
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
cb96641 to
cf7e51a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a third agent-think skill for syncing user-facing pull request changes into
cloudflare/cloudflare-docs.production, reports one status comment on the source PR, and never clones the multi-gigabyte docs repository in full.wake_uptool: a Think turn registers a stable external action ID and ends;AgentThink.wakeUplater submits the action result as a durable user message on the same thread.WakeUpRegistryDurable Object, with atomic delivery claims, event idempotency, collision protection, and stale-redelivery protection.The private gh-app companion is deliberately narrower than the generic wake-up primitive: it accepts only
workflow_run.completedfor theCIworkflow incloudflare/cloudflare-docs, validates the bot-owned draft PR/branch/current SHA, mints a fresh installation token, and wakes the registered session. Failed docs CI can produce up to three automatic repair rounds; each follow-up push re-registers the same action ID.This change is additive and inert on merge. The sync skill is not available to the deployed agent until it is explicitly seeded to R2, and no docs CI event can trigger a continuation until the private gh-app companion is deployed with the Workflow run subscription and
cloudflare/cloudflare-docsinstallation access. Nothing from this branch has been deployed or seeded.Testing
pnpm run checkpnpm --filter @cloudflare/agent-think testpnpm --filter @cloudflare/agent-think typecheckpnpm run affected:check