Files
cleveragents-core/examples/actors/code_review.yaml
T
freemo e03fd2956d
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 18s
CI / lint (pull_request) Failing after 18s
CI / helm (pull_request) Successful in 24s
CI / typecheck (pull_request) Failing after 52s
CI / security (pull_request) Failing after 53s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / unit_tests (pull_request) Failing after 1m48s
CI / docker (pull_request) Has been skipped
CI / quality (pull_request) Successful in 3m42s
CI / e2e_tests (pull_request) Failing after 13m56s
CI / integration_tests (pull_request) Failing after 21m12s
CI / status-check (pull_request) Failing after 2s
test(actors): fix actor examples missing provider fields and incorrect name
Add missing provider: field to all actor examples in examples/actors/.
Fix llm_with_tools.yaml actor name from assistants/file_analyzer to
local/assistants-file_analyzer (custom actors must use local/ namespace
and cannot contain two slashes).

Add validate-all command to helper_actor_examples.py that uses ActorLoader
to validate all examples via business logic checks. Add integration test
Validate All Actor Examples Import Without Errors to actor_examples.robot
that confirms every example in examples/actors/ can be imported without
errors.

ISSUES CLOSED: #1504
2026-04-02 23:31:25 +00:00

48 lines
1.1 KiB
YAML

# LLM Actor - Code Review
# Runs a multi-step code review.
name: local/code-review
type: llm
description: Runs a code review and merges to make the best possible.
version: "0.0"
# LLM model form is Claude Opus 4
provider: anthropic
model: claude-opus-4-20250514
system_prompt: |
You are a code reviewer.
Use the tool `files/read_file` to read the instructions at `docs/development/review-playbook.md`.
Then use the tool `builtin/git-diff` to compare the current state of this code base against
the `master` branch of the code base.
Use your deep knowledge of testing, test flaws, performance, bug detection, and
security issues to find any possible problems in the code.
Create a report that summarizes all found problems.
tools:
- files/read_file
- files/list_directory
- builtin/git-status
- builtin/git-diff
- builtin/git-log
- builtin/git-blame
# Context settings
context_view: executor
memory:
enabled: true
max_messages: 30
max_tokens: 6000
context:
max_context_tokens: 16000
# Environment variables
env_vars:
WORK_DIR: ${HOME}
LOG_LEVEL: info