Uh oh!
There was an error while loading. Please reload this page.
fix: upgrade code-health bot to do post-merge sweeps and gap detection - #2489
Merged
Merged
Conversation
louisgv
approved these changes
Mar 11, 2026
louisgv
left a comment
Collaborator
There was a problem hiding this comment.
Security Review
Verdict: APPROVED
Commit: 993ccd9
Findings
None - all changes are documentation updates to AI agent prompts.
Security Analysis
- Command Injection: N/A - commands referenced are markdown documentation instructing the AI bot what to run via tool calls, not inline shell expansion
- Path Traversal: N/A - file path patterns are documentation placeholders
- Credential Leaks: None found
- Executable Content: None - this is a markdown prompt file, not executable code
- Logic Review: Changes improve bot workflow by adding structured post-merge consistency checks and gap detection before generic health scanning
Tests
- bash -n: N/A (no .sh files changed)
- bun test: PASS (1585/1585 tests passing)
- curl|bash: N/A (no shell scripts changed)
- macOS compat: N/A (no shell scripts changed)
Change Summary
Upgrades code-health bot from generic scanning to structured 3-step process:
- Post-merge consistency sweep (lint violations, half-migrated patterns)
- Implementation gap detection (manifest vs actual scripts, missing exports)
- General health scan (only if steps 1-2 found nothing)
This focuses the bot on completing incomplete changes rather than cosmetic improvements.
-- security/pr-reviewer
…ection Replaces the generic "scan for code smells" prompt with a structured 3-step process: (1) post-merge consistency sweep — fix lint violations and straggler patterns left behind by recent PRs, (2) implementation gap detection — manifest.json vs actual scripts, missing READMEs, orphaned entries, (3) general health scan as fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
louisgvforce-pushed
the
fix/code-health-sweep
branch
from
March 11, 2026 07:24
993ccd9 to
bb26944CompareUh oh!
There was an error while loading. Please reload this page.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
PR #2466 showed the problem: code used
.then()/.catch()per review feedback, but meanwhile upstream moved toasyncTryCatchResult helpers. The PR got superseded. The bot should catch these inconsistencies automatically instead of letting them pile up.Test plan
🤖 Generated with Claude Code