Skip to content

chore: switch visual-kei-reviewer to haiku and add safety sections - #2646

Merged
roottool merged 3 commits into
mainfrom
chore/visual-kei-reviewer-haiku
Oct 14, 2026
Merged

roottool merged 3 commits into
mainfrom
chore/visual-kei-reviewer-haiku

Conversation

@roottool

Copy link
Copy Markdown
Owner

Summary

Switch the visual-kei-reviewer agent from Sonnet to Haiku 5.5 and bring its definition in line with the agent-authoring guidelines.

Motivation

Haiku 5.5 is now available. The agent is read-only and mostly checks code against a checklist backed by global.css, so a smaller, faster model is a good fit. The definition also lacked the safety sections that file-reading agents are expected to have.

Changes

Model and description

  • model: haiku. No effort is set; add it only if false positives show up on the carve-out rules (ALLOWED / NOT a violation).
  • Description rewritten as three sentences: when to use, what it does not do, and where to go instead (bun run lint).

Safety sections

  • Tool usage rules (no Bash, no WebFetch/WebSearch), parameters with a project_root containment check, off-limits scope (sensitive files, generated data, 500-result Glob cap), and prompt injection defense.

Intentionally unchanged

  • Rules 1-8, method, and report structure are untouched.
  • The body stays in English, matching AGENTS.md and CLAUDE.md, because this is a repo-shared asset.

Testing

  • bun run format and bun run lint pass
  • Run the agent against an existing component and compare with bun run lint to check Haiku's false-positive rate

🤖 Generated with Claude Code

Switch the model from sonnet to haiku, rewrite the description to the
agent-authoring format, and add tool usage rules, parameters, off-limits
scope, and prompt injection defense.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@roottool roottool self-assigned this Oct 14, 2026
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d12155ae-20f8-4df4-9a30-73b8c0adceec
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying portfolio with  Cloudflare Pages  Cloudflare Pages

Latest commit: 844c8b9
Status: ✅  Deploy successful!
Preview URL: https://bd408787.portfolio-6od.pages.dev
Branch Preview URL: https://chore-visual-kei-reviewer-ha.portfolio-6od.pages.dev

View logs

roottool and others added 2 commits October 15, 2026 08:02
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@roottool
roottool merged commit a5d0a34 into main Oct 14, 2026
14 checks passed
@roottool
roottool deleted the chore/visual-kei-reviewer-haiku branch October 14, 2026 23:20
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.

1 participant