pelagia-portal/.gitignore
Hardik 7acd86e3dd
All checks were successful
PR checks / checks (pull_request) Successful in 47s
PR checks / integration (pull_request) Successful in 32s
feat(automation): watcher that addresses claude-review: comments on Claude PRs
Sibling to claude-issue-watcher.sh: polls open Claude-raised PRs (head
branch under claude/, or labelled claude-pr) for review comments carrying
the marker `claude-review:` — in the PR conversation, review summaries, or
inline on-file comments — and runs headless Claude Code on the PR's own
branch to address them, pushing the follow-up commit(s) to the same branch.

- Authorization gate: only repo collaborators (write access) + the owner can
  trigger it; the bot's own comments are ignored.
- Idempotent: handled comments are tracked by a hidden marker on the bot's
  acknowledgements, so the 10-min poll never redoes a comment.
- Own clone (~/pelagia-pr-review), config, and lock so it never races the
  issue watcher. Token needs write:repository + write:issue.

Adds the script, an example config, .gitignore entries for the live
config/lock, and an automation/README.md section with deploy + cron steps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 15:21:04 +05:30

48 lines
No EOL
793 B
Text

# Python
__pycache__/
*.pyc
*.pyo
# Node / Next.js (nested app has its own .gitignore too)
node_modules/
.next/
.pnpm-store/
# Env files with real secrets
App/.env
App/.env.local
App/.env.*.local
# Build / generated
App/.vercel/
App/coverage/
# Local AI tool artifacts
.claude/
.codex/
.antigravity/
# Local AI tool artifacts
.claude/
.codex/
.antigravity/
# Claude issue watcher (real token + logs stay local)
automation/watcher.config.json
automation/logs/
automation/.watcher.lock
# Claude PR-review-comment watcher (real token + lock stay local; shares logs/)
automation/pr-review-watcher.config.json
automation/.pr-review-watcher.lock
# OS
.DS_Store
Thumbs.db
# Claude
.claude
App/.claude
# Nested wiki working clone (separate repo: pelagia-portal.wiki.git)
pelagia-portal.wiki/