Container and scripts for AI-powered automation via AgentCore Harness.
harness/
├── Dockerfile # Container image for the harness runtime
├── harness_review.py # Invokes the harness to review PRs (SigV4 + event stream)
└── prompts/
├── system.md # System prompt (workspace context)
└── review.md # PR review task prompt
Reviews pull requests on open/reopen via .github/workflows/pr-ai-review.yml.
The Dockerfile takes two build args:
CLONE_TOKEN— baked into git config for cloning private reposGITHUB_TOKEN— baked intoghCLI auth for posting PR comments
finch build \
--build-arg CLONE_TOKEN=<pat-for-cloning> \
--build-arg GITHUB_TOKEN=<pat-for-gh-api> \
-t pr-reviewer .github/harness/This directory will also house a harness-based test runner.