Hodor v0.7.0
Hodor v0.7.0
Hodor 0.7.0 adds reusable review profiles, moves the shared Bedrock runtime to Claude Opus 5, and makes repeat reviews faster and more reliable.
Review profiles
Hodor can now run specialized security, code-quality, migration, or domain-focused reviews without replacing its review harness.
--review-instructions <path>selects a profile that replaces the bundled review profile.--additional-instructions <text>adds a narrow request after the selected profile.- The bundled default profile remains the default when no profile is supplied.
- Hodor still owns diff scope, read-only behavior, priorities, tool discipline, and structured output.
- Profile files are validated as non-empty UTF-8 regular files and are included in review-cache identity.
hodor <PR_OR_MR_URL> \
--review-instructions review-profiles/security.md \
--additional-instructions "Check the migration rollback path."See the review-profile guide for complete security and code-quality examples, CI setup, repository skills, migration guidance, and troubleshooting.
Claude Opus 5 on Bedrock
- Upgraded the Pi runtime to
0.82.1. - Added registered support for
global.anthropic.claude-opus-5on Amazon Bedrock. - Routine and incremental reviews use
highreasoning by default. - Risky, large, and full reviews automatically use
xhighreasoning. - The Opus 5 model entry supports a 1,000,000-token context window and up to 128,000 output tokens.
Faster repeat reviews
- Successful reviews can reuse the exact reviewed commit without another model request.
- Incremental reviews compare the latest reviewed snapshot directly with the current head.
- Small and medium diffs are embedded in the first prompt, reducing setup turns and repeated Git commands.
--fullforces a from-scratch source-versus-target review.--target-branchselects the base branch for full reviews.
More reliable review delivery
- Finding locations can be corrected from the model's exact
existing_codesnippet before comments are posted. - Snippet matching is bounded to the checked-out workspace and uses surrounding context to resolve duplicate code.
- GitLab review history is preserved across pagination and repeat reviews.
- Structured review recovery handles models that return valid review JSON without calling
submit_review. - Review profiles, additional instructions, and Hodor's protocol are composed at the system-prompt level while the PR task remains the first user message.
Release safety
- npm and Docker releases now run a private-content disclosure gate before publication.
- GitHub secret scanning and push protection are enabled for the repository.
- npm releases use trusted publishing with provenance.
Migration from legacy prompt flags
The old custom-prompt flags have been removed:
| Previous | Replacement |
|---|---|
--prompt "Check authorization" |
--additional-instructions "Check authorization" |
--prompt-file review.md |
--review-instructions review.md |
A previous prompt file that contains a complete review task, tool directions, placeholders, or output schema should be rewritten as a profile. Keep only the review mission, investigation areas, and finding standard.
Install
npx @mrkaran/hodor@0.7.0 <PR_OR_MR_URL>docker pull ghcr.io/mr-karan/hodor:0.7.0Full changelog: v0.6.1...v0.7.0