Repository navigation
chore(autoreview): use the shared canonical skill - #1599
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. Reviewed October 6, 2026, 3:07 PM ET / 19:07 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch replaces copied autoreview code and tests with instructions for a shared installation while preserving this repository’s P0–P3 review threshold. Merge readiness⛔ Needs changes before merge - 1 item remains The consolidation remains useful and no blocking introduced defect was found. The earlier Windows closeout request remains unresolved: current-head CI passes its core and tray jobs, but the body still explicitly reports that the required local validation was not run. Priority: P3 Review scores
Verification
How this fits togetherAutoreview supports developer code reviews rather than the Windows application runtime. The repository supplies Git changes and local review requirements to the installed shared helper, which returns structured findings. flowchart TD
A[Repository changes] --> D[Shared review helper]
B[Local review requirements] --> D
C[Repository skill entrypoint] --> E[Shared installation]
E --> D
D --> F[Structured review findings]
Before merge
Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep one upstream review implementation with explicit installation/update guidance and local severity requirements, supported by the repository’s Windows closeout evidence. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a tooling consolidation rather than a reported runtime bug; source inspection confirms the copied implementation still exists on current main. Is this the best way to solve the issue? Yes. The existing shared installer and working-directory-aware helper provide a focused replacement, and the explicit P3 override preserves local review requirements. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 11523b485b08. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
What Problem This Solves
Repository-local autoreview copies drift and can retain retired prerequisites such as TruffleHog.
User Impact
Install autoreview once from
openclaw/agent-skillsusing the setup linked in.agents/skills/autoreview/SKILL.md. Reviews run from this repository through that shared installation. Updating its source checkout updates all symlinked consumers; copy-mode users reinstall once. Product runtime behavior is unchanged.Why This Change Was Made
Keep only the canonical Markdown entrypoint and remove the copied helper, fixtures, and implementation tests.
Canonical owner and preserved downstream fixes: openclaw/agent-skills#305. Shared changes belong upstream; review runs do not download or update code automatically.
Evidence
git diff --checkpasses; independent integration review checked callers and removed gates.Required Proof Pools
none: this changes developer review instructions and retires copied tooling; no Windows product behavior changes.Validation
Entrypoint/template equality and
git diff --checkpass. Windows build, Shared tests, and Tray tests were not run on the Linux development host.Real Behavior Proof
The installed canonical helper passes preparation and reviewer-isolation dry runs from consumer repositories without a repository-local helper or TruffleHog. Native Windows launcher execution remains covered by the canonical skill's Windows CI lane; it was not executed locally.
Security Impact
No product permissions, credentials, data access, or runtime network calls change. Reviewer isolation and result validation remain owned by the canonical skill.
Landing follow-up
Repository instructions explicitly retain the original P0–P3 review gate with
--max-priority P3; direct invocation examples use that override. The shared entrypoint remains identical to the canonical template. The branch also incorporates the already-merged sidebar proof fix from #1597, which addresses the historical failed UI test; current-head CI is required.Hosted UI startup follow-up
The new UI job aborted before application startup: it logged
UIThreadProc: before bootstrap, never reachedbootstrap complete, and hit the five-minute inactivity watchdog (job). This matches the existing bootstrap investigation across 16 unrelated branches. A single retry of that job is requested after this attribution; passing it would not establish a bootstrap fix. No application/test source, timeout, assertion, or required CI gate is weakened.The single UI/accessibility retry passed, followed by the required CI Gate. The PR is merged; its shared entrypoint and retained P3 review policy were verified in the merge commit. The bootstrap failure remains an unresolved hosted-test issue, not a fix supplied by this PR.