Loading...
Loading...
Worker that runs parallel external agent reviews (Codex + Gemini) on Story/Tasks. Background tasks, process-as-arrive, critical verification with debate. Returns filtered suggestions for Story validation.
npx skill4agent add levnikolaevich/claude-code-skills ln-311-agent-reviewerPaths: File paths (,shared/,references/) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.../ln-*
storyIdshared/references/agent_delegation_pattern.mdpython shared/agents/agent_runner.py --health-checkskill_groups{verdict: "SKIPPED", reason: "no agents available"}"Agent Health: codex-review OK, gemini-review OK"get_issue(storyId)list_issues(filter: {parent: {id: storyId}})docs/tasks/.agent-review/.gitignore.agent-review/.agent-review/.gitignore*!.gitignore.agent-review/{agent}/.agent-review/.gitignoreshared/agents/prompt_templates/story_review.md{story_ref}- Linear: {url}- File: {path}{task_refs}- {identifier}: {url_or_path}.agent-review/{agent}/{identifier}_storyreview_prompt.mdpython shared/agents/agent_runner.py --agent codex-review --prompt-file .agent-review/codex/{identifier}_storyreview_prompt.md --output-file .agent-review/codex/{identifier}_storyreview_result.md --cwd {cwd}python shared/agents/agent_runner.py --agent gemini-review --prompt-file .agent-review/gemini/{identifier}_storyreview_prompt.md --output-file .agent-review/gemini/{identifier}_storyreview_result.md --cwd {cwd}.agent-review/{agent}/{identifier}_storyreview_result.md<!-- AGENT_REVIEW_RESULT --><!-- END_AGENT_REVIEW_RESULT -->session_id.agent-review/{agent}/{identifier}_session.json{"agent": "...", "session_id": "...", "review_type": "storyreview", "created_at": "..."}shared/references/agent_delegation_pattern.mdsession_id.agent-review/{agent}/{identifier}_session.json--resume-session {session_id}session_resumed: false{review_type}.agent-review/{agent}/{identifier}_storyreview_challenge_{N}_prompt.md_result.md.agent-review/{agent}/{identifier}_storyreview_followup_{N}_prompt.md_result.md.agent-review/{agent}/(area, issue)confidence >= 90impact_percent > 2verdict: STORY_ACCEPTABLE | SUGGESTIONS | SKIPPED
suggestions:
- area: "security | performance | architecture | feasibility | best_practices | risk_analysis"
issue: "What is wrong or could be improved"
suggestion: "Specific change to Story or Tasks"
confidence: 95
impact_percent: 15
source: "codex-review"
resolution: "accepted | accepted_after_debate | accepted_after_followup | rejected"
agent_stats:
- name: "codex-review"
duration_s: 8.2
suggestion_count: 2
accepted_count: 1
challenged_count: 1
followup_count: 1
status: "success | failed | timeout"
debate_log:
- suggestion_summary: "Missing rate limiting on POST /api/users"
agent: "codex-review"
rounds:
- round: 1
claude_position: "Rate limiting exists in nginx config"
agent_decision: "DEFEND"
resolution: "follow_up"
- round: 2
claude_position: "Nginx config covers /api/* routes, agent cited only app-level"
agent_decision: "MODIFY"
resolution: "accepted_after_followup"
final_resolution: "accepted_after_followup"| Condition | Action |
|---|---|
| Both agents succeed | Aggregate verified suggestions from both |
| One agent fails | Use successful agent's verified suggestions, log failure |
| Both agents fail | Return |
| Parent skill (ln-310) | Falls back to Self-Review (native Claude) |
--json--output-format json.agent-review/{agent}/.agent-review/.gitignore.agent-review/.agent-review/{agent}/.agent-review/{agent}/.agent-review/.gitignore.agent-review/.agent-review/{agent}/{identifier}_session.jsonshared/references/agent_delegation_pattern.mdshared/agents/prompt_templates/story_review.mdshared/agents/prompt_templates/challenge_review.mdshared/agents/agent_registry.jsonshared/agents/agent_runner.pyshared/agents/schemas/challenge_review_schema.json