mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-06 23:24:20 +09:00
The Cloud ran only PR Reviewer. It now runs what each Mochi needs: - GitHub events: new PR (PR Reviewer), new issue (Issue Triage), an issue labelled for an unscheduled Night Shift, a failed run on the default branch (CI Fixer, its failed logs in the prompt); - schedules in the user's time zone, once per slot (Night Shift takes the oldest labelled issue it hasn't worked on, Deps & Security, Ship Log from the week's commits); - a click on the Mac (POST /v1/mochis/:id/run: Release Prep, or any of them now); - Prod Watch every 15 minutes, no AI, a run only when an address changes. A Mochi that changes files is asked, once its report is written, to run a pack script mounted in the sandbox: the changed files go to the session's outputs and the Worker keeps them until the click, which makes the draft PR with GitHub's API (blobs, tree, commit, a mochi/ branch, the PR). Nothing is pushed from the sandbox, which keeps read-only tokens; each GitHub token asks only what its step needs. Issue Triage's reply is posted on the issue. Mac: brain 0.9.1 sends kind, tools, schedule, label, addresses, runs a day and the time zone; a Cloud Mochi no longer runs on the Mac's schedule, Run now goes to the Cloud, turning one on or off reaches the Cloud, and Cloud runs keep their link and what started them. The Cloud page lists Prod Watch and says why a Mochi stays on the Mac. Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT Co-authored-by: Claude <noreply@anthropic.com>