mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
A Cloudflare Worker (cloud/) that runs the PR Reviewer while the Mac is off: a GitHub App webhook for pull_request starts a Claude Managed Agents session on the subscriber's own Anthropic key, on the PR's head commit, with the diff in the prompt and a spend ceiling; a cron collects the finished sessions every minute; the review waits until the click posts it as a comment. D1 keeps the GitHub id and login, the hash of the Mac's token, the Anthropic key sealed with AES-GCM, the Cloud Mochis and each run's result. Never the code. The prompt and the Managed Agents requests move to two modules with no Node API, shared by the brain and the Worker: brain/src/prompt-core.ts (buildRepoPrompt, languageRule, repoSystem) and brain/src/cloud-core.ts (the client, the diff, agent/environment/session params, summarize, looksLikeReport, withoutNotes). brain cloud try now uses them too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
34 lines
752 B
Plaintext
34 lines
752 B
Plaintext
# Build artefacts
|
|
NotchBuddy/build/
|
|
NotchBuddy/NotchBuddy.xcodeproj/project.xcworkspace/xcuserdata/
|
|
NotchBuddy/NotchBuddy.xcodeproj/xcuserdata/
|
|
NotchBuddy/NotchBuddy.xcodeproj/xcshareddata/
|
|
*.xcuserstate
|
|
|
|
# Xcode DerivedData (outside repo — listed for clarity)
|
|
DerivedData/
|
|
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# iCloud stubs
|
|
*.icloud
|
|
|
|
# Local only (never published)
|
|
.claude/
|
|
_prive/
|
|
|
|
# Auto-generated by the Write Git Hash build phase
|
|
NotchBuddy/Sources/App/Voice/GitHash.generated.swift
|
|
|
|
# Brain module build output and local config
|
|
brain/dist/
|
|
brain/node_modules/
|
|
cloud/node_modules/
|
|
cloud/.wrangler/
|
|
brain/brain.config.local.json
|
|
# Real golden set lives outside the repo (~/CoucouBrain/.state/golden-set.json)
|
|
brain/tests/golden-set.json
|