ci(sdlc): enable the code-review agent - #4168
Open
dearsimanovich-epam wants to merge 1 commit into
Open
dearsimanovich-epam wants to merge 1 commit into
dearsimanovich-epam wants to merge 1 commit into
Conversation
Renames `agents/_code-review` to `agents/code-review`, which is the harness's on-switch: match-agents.py globs `agents/*/agent.yml` and skips only underscore-prefixed directories. Kept separate from the harness PR so merge order cannot produce a broken state. The agent invokes `/code-review-and-quality`, so this must land after the skill exists; until then the harness stays inert on its own. Verified locally: the dispatcher discovers `code-review` with this tree, and STAGE_CODE_REVIEW_ENABLED=false still suppresses it, so there is a way to turn it off without a revert. Still requires credentials, which are not repo state: either DIAL_CORE_URL + DIAL_API_KEY, or ANTHROPIC_API_KEY. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
dearsimanovich-epam
requested review from
PolinaGurinovich97,
alexey-ban and
nepalevov
as code owners
August 12, 2026 09:17
dearsimanovich-epam
requested review from
NastassiaKryshtal and
ya092
as code owners
August 12, 2026 09:17
dearsimanovich-epam
changed the base branch from
development
to
feat/port-agent-tooling
August 12, 2026 09:18
PolinaGurinovich97
approved these changes
Aug 13, 2026
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 free
to 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.
Description:
Flips the harness on. One file, a rename:
agents/_code-review→agents/code-review. That underscoreis the dispatcher's on-switch —
match-agents.pyglobsagents/*/agent.ymland skips onlyunderscore-prefixed directories.
Deliberately separate from #4163 so merge order can't produce a broken state. The agent invokes
/code-review-and-quality, so this must land after #4166; until it does, #4163 stays inert on itsown.
Issues:
Base is
feat/port-agent-tooling, notdevelopment— the rename only makes sense on top of #4163,and this keeps the diff to the one file it changes. GitHub retargets it to
developmentautomaticallywhen #4163 merges.
Merge order: #4163 (harness) and #4166 (skills) first, in either order, then this.
Verified locally:
code-reviewSTAGE_CODE_REVIEW_ENABLED=falsestill suppresses it, so it can be turned off without a revertStill required, and not repo state — set these before or after merging:
DIAL_CORE_URL+ secretDIAL_API_KEY(optionallyDIAL_ROUTE_PATH,DIAL_MODEL)ANTHROPIC_API_KEYrun-agent.ymlpicks the route automatically from whetherDIAL_CORE_URLis set. Neither isconfigured today — the repo currently has only
ACTIONS_BOT_TOKENand the DockerHub secrets, and norepo variables at all. Without credentials the agent job fails fast rather than silently passing.
Two things to expect on the first run:
.claude/**,.github/workflows/**,agents/**, or adding a symlink — including this one. That's by design; anormal feature PR is what exercises the agent.
model: claude-sonnet-4-6resolves asanthropic.claude-sonnet-4-6on theDIAL route, matching what
claude-security-review.ymlalready uses. If that deployment isn'tavailable, set
DIAL_MODELor bump the pin — an unavailable deployment fails the run.Breaking Changes: none, but this is the point where AI review starts commenting on PRs.
STAGE_CODE_REVIEW_ENABLED=falseis the kill switch.Checklist:
(Issue #<TICKET_ID>)— no tracking issue for this work