원클릭으로
review-fix-oc
Review a committed fix for correctness, test coverage, and similar issues (opencode variant — uses glm-5.1 for review)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review a committed fix for correctness, test coverage, and similar issues (opencode variant — uses glm-5.1 for review)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
One tick of a CI watchdog — check main-branch GHA status; spawn an agent to fix if failing and no investigation is in flight.
One tick of the henyey mainnet monitor — checks, metrics scan, deploy, status report
Continuous always-on orchestrator for the henyey project pipeline. Each pass queries the board, central-picks up to N actionable issues by priority, and fans out parallel foreground specialist sub-agents (triage/plan/do/review-pr) with the right Claude model per stage. Owns concurrency, conflict-avoidance, CI pipelining, sibling-nit consolidation, and a self-reflection pass that files pipeline-improvement issues. Replaces scripts/project-tick-loop.sh. Use when the operator asks to "run the loop", "process the board continuously", or "keep the pipeline going".
Single-pick dispatcher primitive for the henyey project pipeline. One tick = pick one actionable issue from the project board and dispatch the right specialist sub-agent for its current state. Used for manual single picks and `--issue=` recovery; the continuous orchestrator is `/project-loop`, which owns concurrency centrally. Use when the user asks to "run a tick", "pick up an issue", or "process one board item".
Run two parallel adversarial PR reviewers and combine their verdicts with external PR reviews (GH Copilot bot, humans, other bots) and CI state into a merge decision. Agent reviewers post structured comment verdicts (since the agent is the PR author and cannot self-approve via GH native review). External CHANGES_REQUESTED reviews block merge identically to agent CHANGES_REQUESTED. Operates on issues in `in-review`. Auto-merges with --admin on all-green (after filing follow-up issues for unaddressed inline review comments, so non-critical feedback is preserved as backlog instead of dropped); bounces to `ready-for-doing` on any request-changes or CI red; blocks after 3 bounce-backs on the same code state. At the lifetime cap (6 bounces since last `## Review: Reset`) the PR enters **force-converge mode**: if CI is green, the PR auto-merges and unresolved reviewer concerns become follow-up issues; only red/pending CI at the cap still blocks. Use when invoked by /project-tick with an issue in in-review, or manuall
Audit a Rust crate's adherence to its Stellar protocol spec (spec-driven, walks every normative claim)
| name | review-fix-oc |
| description | Review a committed fix for correctness, test coverage, and similar issues (opencode variant — uses glm-5.1 for review) |
| argument-hint | <commit-hash> |
Parse $ARGUMENTS:
$COMMIT with it.Model configuration. This opencode variant hardcodes the review sub-agent to use
glm-5.1. The orchestrator (you) runs askimi-k2.6. There is no--modelflag — the model is fixed.
Review the fix in commit $COMMIT to assess correctness, test coverage, and
whether similar issues exist elsewhere in the codebase. This formalizes the
post-fix review process described in AGENTS.md:
After committing a fix, review and consider: Is it true to the design of the system? Can there be similar issues? Can we redesign the system to avoid these category of issues.
Run:
git log -1 --format=fuller $COMMIT
git show $COMMIT --stat
git diff $COMMIT~1..$COMMIT
Identify: the commit message, author, files changed, lines added/removed, and the full diff. Read the complete current state of every file touched by the commit to understand surrounding context.
From the diff (what was removed or changed) and the commit message, reconstruct:
Read the code before and after the fix. Do not guess — if the root cause is unclear, read callers, callees, and related types until you understand it.
Evaluate the fix along these dimensions:
Classify the fix:
Check whether the commit includes regression tests:
Also assess existing test coverage of the affected code:
cargo test -p <crate> -- --list to see what tests exist for the crate.Use subagents (Task tool with explore type) to scan the codebase for patterns
similar to the one that was buggy. The search strategy depends on the root cause:
For each potential similar issue found, assess:
Do not report false positives. Read the surrounding code to confirm before including a finding.
Consider whether the code can be restructured to make this category of bug impossible or unlikely:
Only suggest refactors that are proportionate to the risk. A one-off typo does not justify a type-system overhaul.
# Fix Review: $COMMIT_SHORT_HASH
## Commit Summary
- **Hash**: full hash
- **Message**: commit message
- **Author**: author
- **Files changed**: list with line counts
## Problem Analysis
- **Bug**: What was wrong
- **Root cause**: Why the original code was incorrect
- **Impact**: What observable behavior was affected
## Fix Analysis
- **Approach**: What the fix does
- **Correctness**: Does it address the root cause?
- **Design fit**: Is it consistent with the system's design?
- **Edge cases**: Any cases not covered?
- **Parity**: Does it maintain stellar-core parity? (if applicable)
- **Side effects**: Any unintended behavioral changes?
- **Verdict**: SOUND / CONCERNS / INCOMPLETE / WRONG — summary
## Test Coverage
- **Regression test included**: Yes/No
- **Test quality**: Would it have caught the original bug?
- **Existing coverage**: Are other paths through this code tested?
- **Gaps**: Any untested scenarios that should be covered
## Similar Issues
| # | Location | Pattern | Risk | Confirmed |
|---|----------|---------|------|-----------|
(Locations in the codebase with the same pattern that might harbor the same
class of bug. "Confirmed" = Yes if you read the code and verified it is a real
issue, Likely if the pattern matches but you could not fully confirm.)
If no similar issues found, state: "No similar issues identified."
## Refactoring Opportunities
(Concrete suggestions for redesigning the code to prevent this category of
issue. Include file:line references and sketch the proposed change.)
If no refactoring warranted, state: "No refactoring needed — the fix is
proportionate and the pattern is isolated."
## Recommendations
Prioritized list of follow-up actions (if any).
file:line for every claim."model": "glm-5.1" and "subagent_type": "reviewer".