feat(reflexion): implement issue-driven cloud runner#78
Conversation
Implements the WS-7 issue-driven cloud runner for the Reflexion loop. The runner allows developers to start and interact with the AI engineering loop entirely through GitHub issues and comments. - Adds `.github/workflows/reflexion-issue-runner.yml` to trigger on labeled issues, specific comments, and manual workflow dispatch. - Introduces `scripts/reflexion-issue-runner.js` to process START and RESUME paths without ever pushing code directly. - Handles artifact zip extraction using `adm-zip` and inputs using Zod schema validation (`js-yaml`). - Enforces a 10-turn cap per issue loop. - Uses `<!-- processed-comment-id:XXX -->` markers to ensure strict idempotency of webhook re-deliveries. - Adds `docs/reflexion-issue-runner.md` for workflow setup.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR implements WS-7: Issue-driven cloud runner per the loop-engineering playbook. The core requirement is that the Reflexion Loop can be interacted with exclusively through GitHub issues without the Action ever pushing code to the repository.
Changes
GitHub Workflow (
.github/workflows/reflexion-issue-runner.yml):issues(labeledreflexion:run),issue_comment(starting with/reflexion), andworkflow_dispatch.issues: write,actions: read,contents: read.Runner Script (
scripts/reflexion-issue-runner.js):fetch) internally since theghCLI does not run on Node natively.adm-zip.js-yamland strictzodschema definitions.processed-comment-idinvisible HTML markers in bot responses.Pure Logic Scripts (
scripts/reflexion-issue-runner-utils.js):Docs (
docs/reflexion-issue-runner.md):Dependencies:
adm-zipandjs-yaml.Evidence
PR created automatically by Jules for task 4741346364888340434 started by @bronz3beard