Skip to content

tim-hub/powerball-harness / harness/skills/harness-review

harness-review

Verified

Multi-angle code and plan review with security, scope, and UI profiles. Use when reviewing code, plans, PRs, or running pre-merge quality gates.

references/codex-review.md

View on GitHub
# Codex Environment — harness-review

Load this reference only when **both** conditions are true:
1. `command -v codex` succeeds (Codex CLI is installed)
2. The user explicitly requests Codex review or duo review (e.g., `--dual`, "use codex", "duo review")

The `--dual` flag is handled separately via [`dual-review.md`](${CLAUDE_SKILL_DIR}/references/dual-review.md).
This file covers the Codex environment fallback behavior when harness-review runs **inside** Codex CLI.

---

## Codex CLI Environment Fallbacks

In Codex CLI environments (`CODEX_CLI=1`), some tools are unavailable. Use these fallbacks:

| Normal Environment | Codex Fallback |
|-------------------|----------------|
| Get task list with `TaskList` | Read Plans.md and check WIP/TODO tasks |
| Update status with `TaskUpdate` | Directly update Plans.md markers with `Edit` (e.g., `cc:WIP` → `cc:Done`) |
| Write review result to Task | Output review result to stdout |

### Detection

```bash
if [ "${CODEX_CLI:-}" = "1" ]; then
  # Codex environment: Plans.md-based fallback
fi
```

### Review Output in Codex Environment

Since Task tools are not supported, review results are output to stdout in markdown format.
The Lead agent or user reads the results and decides the next action.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall