Skip to content

Claude/automated review agent ep45cl - #1

Merged
VanDerLars merged 7 commits into
mainfrom
claude/automated-review-agent-ep45cl
Oct 13, 2026
Merged

VanDerLars merged 7 commits into
mainfrom
claude/automated-review-agent-ep45cl

Conversation

@VanDerLars

Copy link
Copy Markdown
Member

No description provided.

claude and others added 7 commits October 10, 2026 13:59
…dio tools

Monorepo scaffold (pnpm, TypeScript) with the first end-to-end slice of the
automated user review:

- core: zod schemas (findings, evidence, acceptance results, review request
  and report), budget tiers, strictness/verbosity rendering, repo config
- github: PR context with changed files, linked issues from body and branch
  name, PR comment posting
- browser: Playwright driver that launches Chromium and attaches Playwright
  MCP over CDP so Claudio can capture console/network and take screenshots
  in the same browser; adaptive auto-login plus recipe-based login with
  credentials kept on the host; Chrome extension driver stub for live mode;
  file-backed run store; Claudio tools (login_as, capture_evidence,
  get_console, get_network, report_finding, record_ac_result, note, todo_*)
  usable in-process and as a stdio MCP server
- agent: Agent SDK runner with budget-driven model/effort/turn limits,
  PreToolUse guard (host allowlist, step budget), prompts and subagent
  definitions, report writer
- cli: `claudio review` with driver, budget, verbosity, strictness options
  and offline mode via a PR-context fixture
- demo-target: tiny dispatch app with deliberate bugs, fixture PR and an
  example report from a real run
- docs: architecture plan and README

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NirxwvzzAcZMDVkE3AYN2x
…alive unconfigured

- runner: strictMcpConfig so the repo's .mcp.json (same server name "claudio",
  meant for the Chrome live mode) is not loaded next to the in-process tools;
  the project entry won the name and left the agent without Claudio tools
- stdio tool server: start without CLAUDIO_RUN_DIR / CLAUDIO_INSTANCE_URL and
  let the tools explain what is missing, instead of exiting at startup when
  Claude Code loads .mcp.json for an ordinary session

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NirxwvzzAcZMDVkE3AYN2x
- Implemented `repo-config.ts` to handle role environment variable names and build repository configurations.
- Created `schema.ts` to define database tables for users, sessions, repositories, roles, reviews, analyses, findings, and test scripts.
- Added tests for encryption and repository configuration in `crypto.test.ts`.
- Introduced TypeScript configuration for the database package.
…cision logic

- Added `verifyWebhookSignature` function to validate GitHub webhook signatures.
- Introduced `decideTrigger` function to determine actions based on GitHub events.
- Created `renderInstanceUrl` function to generate PR instance URLs from templates.
- Defined `AutomationSettings` type for repository-specific automation configurations.
- Implemented tests for signature verification, instance URL rendering, and trigger decision logic.

feat(tests): add unit tests for webhook functionality

- Added tests for `verifyWebhookSignature`, `renderInstanceUrl`, and `decideTrigger` functions.
- Covered various scenarios including comment triggers, label triggers, and push events.

chore: add error message structure in markdown format

- Created a markdown file to document error messages for internal errors.
…n scripts

- Implemented freshAccessToken function to handle GitHub OAuth token renewal and storage in the database.
- Created oauth.ts for managing token exchange and refresh with GitHub's OAuth API.
- Added create-deploy-kubeconfig.sh to set up Kubernetes credentials for GitHub Actions deployment.
- Introduced create-k8s-secret.sh for interactive creation and updating of Kubernetes secrets, including GitHub and database credentials.
@VanDerLars
VanDerLars merged commit f4690a4 into main Oct 13, 2026
1 check passed
@VanDerLars
VanDerLars deleted the claude/automated-review-agent-ep45cl branch October 13, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants