Skip to content

feat(cloudflare): draft PRs, per-thread answers to line comments, and a visual README - #21

Merged
K-Mistele merged 1 commit into
mainfrom
agent-draft-pull-requests
Oct 9, 2026
Merged

K-Mistele merged 1 commit into
mainfrom
agent-draft-pull-requests

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

What this does

  • Draft pull requests. createPullRequest takes draft; github_create_pull_request lets the agent open a draft.
  • Line comments answered in their threads. A mention's request is every comment its debounced batch posted, with IDs, and for line comments the file, line, diff, and review thread. The agent is told to answer each line comment in its own thread with github_post_comment and reply_to, and keep its final answer to a summary.
  • Docs. The example README now shows what the example is and how it works, with diagrams. Setup and manual checks moved to SETUP.md. The root README mounts the bot on your router with HttpRouter.toWebHandler instead of Layer.launch.

Tested

bun run check and bun run test (736 tests). The Mermaid diagrams render.

🤖 Generated with Claude Code

…r threads, and a README that shows how it works

The agent can open a draft pull request: createPullRequest takes `draft`,
and so does github_create_pull_request.

A mention's request is every comment its debounced batch posted, each with
its ID, and for line comments the file, line, diff, and review thread. The
agent is told to answer each line comment in its own thread with
github_post_comment and reply_to, and to keep its final answer to a
summary. The session records all of the request's comments, so the
discussion context does not repeat them.

The example README now shows what the example is and how it works, with
diagrams of its Durable Objects, a mention's sequence, a delivery's
states, and the Computer's file system, shell, and container. Setup and
manual checks moved to SETUP.md. The root README mounts the bot on your
own router with HttpRouter.toWebHandler instead of Layer.launch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HumanLayer-Session: https://app.dev.codelayer.gg/sessions/01a1196a-ea93-79e6-9500-a2651678f1ea
@humanlayer-channels-app humanlayer-channels-app Bot added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 9, 2026
@K-Mistele
K-Mistele merged commit 855800e into main Oct 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant