Skip to content

chore(autoreview): sync canonical review skill - #974

Merged
vincentkoc merged 1 commit into
mainfrom
chore/autoreview-gpt-5-6-sol
Jul 12, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
chore/autoreview-gpt-5-6-sol

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

  • Problem: the vendored autoreview skill had drifted from openclaw/agent-skills.
  • Why it matters: review defaults and safety behavior must be consistent across OpenClaw repositories.
  • What changed: synced the complete canonical skills/autoreview directory from openclaw/agent-skills@4664d27da471d1cb71bebdd9845dc8a6c56d6bbe.
  • User impact: Codex review now defaults to gpt-5.6-sol with high reasoning and retries gpt-5.6-terra only when Sol access is unavailable.
  • What did NOT change (scope boundary): no Windows node runtime, tray, MCP, gateway, setup, or product behavior changed.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor
  • Docs / instructions
  • Tests / validation
  • Security hardening
  • Chore / infra

Scope (select all touched areas)

  • Tray / WinUI UX
  • Windows node capability
  • Local MCP / winnode
  • Gateway / connection / pairing
  • Setup / onboarding
  • Permissions / privacy / security
  • Tests / CI / docs

Linked Issue/PR

Validation

  • python3 .agents/skills/autoreview/scripts/autoreview --self-test - passed.
  • python3 .agents/skills/autoreview/scripts/autoreview_test.py - 26 passed.
  • python3 .agents/skills/autoreview/tests/test_autoreview_hardening.py - 192 passed, 1 skipped.
  • git diff --check - passed.
  • Exact Git subtree parity: 0c6893e09512920c2af2ddb71c3a5de308cd47f0.
  • Canonical Ubuntu and Windows validation passed on openclaw/agent-skills PR Overheight menu doesn't scroll vertically #82.
  • Local ./build.ps1 and .NET test commands are blocked because this checkout is on Darwin without pwsh or dotnet; exact-head hosted Windows CI is the required platform proof.

Real behavior proof

  • Environment tested: macOS/Darwin for canonical Python tests; GitHub-hosted Windows runner pending for repository gates.
  • PR head / commit tested: 9adafb5b.
  • Exact steps or command run: commands listed under Validation.
  • Evidence after fix: the downstream subtree hash exactly equals canonical openclaw/agent-skills@4664d27d.
  • Observed result: canonical self-tests and hardening suites pass.
  • Screenshot/artifact links verified? (Yes/No/N/A): N/A
  • Not verified / blocked: native local Windows build/tests; this host has no PowerShell or .NET SDK.

Security Impact (required)

  • New permissions/capabilities? (Yes/No): No
  • Secrets/tokens handling changed? (Yes/No): Yes
  • New/changed network calls? (Yes/No): No
  • Command/tool execution surface changed? (Yes/No): Yes
  • Data access scope changed? (Yes/No): No
  • If any Yes, explain risk + mitigation: canonical autoreview hardens secret scanning and reviewer subprocess isolation. The complete directory is vendored byte-for-byte, with exact tree parity and canonical tests.

Compatibility / Migration

  • Backward compatible? (Yes/No): Yes
  • Config/env changes? (Yes/No): No
  • Migration needed? (Yes/No): No
  • If yes, exact upgrade steps: N/A

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only conversations that still need reviewer or maintainer judgment.

@vincentkoc
vincentkoc marked this pull request as ready for review July 12, 2026 09:26
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. labels Jul 12, 2026
@clawsweeper

clawsweeper Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codex review: found issues before merge. Reviewed July 12, 2026, 5:36 AM ET / 09:36 UTC.

Summary
The PR vendors the merged canonical autoreview skill, changes Codex to a Sol-first model policy with Terra access fallback, expands security hardening, and refuses reviewer engines that cannot meet the new isolation boundary.

Reproducibility: yes. Current main contains runnable Droid, Copilot, and OpenCode paths, while the proposed revision explicitly refuses those engines and removes them from both harness engine lists.

Review metrics: 4 noteworthy metrics.

  • Vendored surface: 8 files; +11,829/-643. The sync replaces most of the executable and hardening-test surface.
  • Disabled engines: 3 previously runnable. Droid, Copilot, and OpenCode workflows on current main become fail-closed after merge.
  • Canonical parity: 1 exact matching Git tree. Byte-identical provenance ties this patch to the merged upstream implementation and validation.
  • Repository checks: 9 passed, 2 running, 1 skipped. Functional and security checks passed, but both architecture-specific Windows builds remain incomplete.

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🐚 platinum hermit
Patch quality: 🦐 gold shrimp
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Correct the backward-compatibility statement and document replacement engines after maintainer approval.
  • Wait for the win-x64 and win-arm64 exact-head builds to finish successfully.

Risk before merge

  • [P1] Existing scripts or developers selecting Droid, Copilot, or OpenCode will encounter a hard isolation error after upgrade; the PR body currently describes the change as backward compatible and gives no migration guidance.
  • [P1] The win-x64 and win-arm64 exact-head build checks were still running, so repository-required Windows build completion remains a merge gate even though the test and E2E checks passed.

Maintainer options:

  1. Land with an explicit migration (recommended)
    Keep the secure fail-closed behavior, correct the backward-compatibility claim, document supported replacement engines, and require completed Windows builds.
  2. Preserve a deliberate unsafe mode
    Allow the legacy engines only through a documented default-off option with focused tests for secure-default and opt-in behavior.
  3. Pause downstream adoption
    Delay the sync until the canonical contract supplies a repository-approved compatibility path.

Next step before merge

  • [P1] A repository owner must approve the intentional fail-closed compatibility break, require accurate migration wording, and wait for both Windows builds before merge.

Maintainer decision needed

  • Question: Should this repository intentionally disable previously runnable Droid, Copilot, and OpenCode autoreviews to enforce the canonical isolation boundary?
  • Rationale: Failing closed is the safest implementation, but it breaks existing engine-selected workflows; choosing hard removal, an explicit unsafe compatibility mode, or deferral requires repository-owner intent.
  • Likely owner: vincentkoc — Vincent Koc introduced the feature and authored the canonical hardening and downstream sync, providing the strongest evidence of intended security behavior.
  • Options:
    • Approve fail-closed removal (recommended): Accept the break, correct the compatibility statement, and document Codex, Claude, or Pi as the supported migration path.
    • Add unsafe opt-in: Retain legacy engines only behind a conspicuous default-off switch that states their missing repository, filesystem, and network isolation guarantees.
    • Defer the sync: Wait until those reviewer CLIs expose adequate isolation or the canonical project adopts another compatibility policy.

Security
Cleared: The exact canonical sync strengthens subprocess, configuration, credential, filesystem, and network isolation, with no concrete new security or supply-chain regression found.

Review findings

  • [P1] Document and approve the breaking engine removal — .agents/skills/autoreview/scripts/test-review-harness.py:16
Review details

Best possible solution:

Adopt the canonical fail-closed security boundary after explicitly approving the compatibility break, correcting the PR’s compatibility statement, documenting Codex, Claude, or Pi as replacements, and waiting for both exact-head Windows builds to pass.

Do we have a high-confidence way to reproduce the issue?

Yes. Current main contains runnable Droid, Copilot, and OpenCode paths, while the proposed revision explicitly refuses those engines and removes them from both harness engine lists.

Is this the best way to solve the issue?

Mostly yes for security: fail closed is safer than running unisolated reviewers, but upgrade safety requires explicit maintainer acceptance, accurate compatibility wording, and a migration path.

Full review comments:

  • [P1] Document and approve the breaking engine removal — .agents/skills/autoreview/scripts/test-review-harness.py:16
    This narrows the harness from six runnable engines to three while the synced helper deliberately hard-fails Droid, Copilot, and OpenCode for isolation reasons. Existing automation selecting those engines therefore stops working after upgrade, contrary to the PR’s backward-compatible claim; obtain explicit owner approval and add a clear migration path, or preserve them behind a separately approved default-off compatibility mode.
    Confidence: 0.94

Overall correctness: patch is incorrect
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against cab6f02eb9b6.

Label changes

Label changes:

  • add P3: This is low-urgency internal security-tooling maintenance rather than a user-facing runtime regression.
  • add merge-risk: 🚨 compatibility: Previously runnable engine selections will hard-fail after merge without a compatibility mode or documented migration path.
  • add merge-risk: 🚨 security-boundary: The PR intentionally tightens reviewer isolation by refusing engines that cannot confine project, filesystem, host, or network access.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The PR is member-authored, so the external-contributor proof gate does not apply; exact-head Python results, canonical parity, upstream Windows/Ubuntu validation, and current repository CI provide useful supplemental proof.

Label justifications:

  • P3: This is low-urgency internal security-tooling maintenance rather than a user-facing runtime regression.
  • merge-risk: 🚨 compatibility: Previously runnable engine selections will hard-fail after merge without a compatibility mode or documented migration path.
  • merge-risk: 🚨 security-boundary: The PR intentionally tightens reviewer isolation by refusing engines that cannot confine project, filesystem, host, or network access.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The PR is member-authored, so the external-contributor proof gate does not apply; exact-head Python results, canonical parity, upstream Windows/Ubuntu validation, and current repository CI provide useful supplemental proof.
Evidence reviewed

What I checked:

Likely related people:

  • vincentkoc: Vincent Koc introduced the vendored skill in this repository and authored both the merged upstream hardening and this exact downstream sync. (role: feature introducer and canonical hardening author; confidence: high; commits: f6a2d5d18f5c, 4664d27da471, 9adafb5bfcc6; files: .agents/skills/autoreview/SKILL.md, .agents/skills/autoreview/scripts/autoreview, .agents/skills/autoreview/tests/test_autoreview_hardening.py)
  • Paul Campbell: Paul Campbell added the repository’s Windows autoreview harness support, whose accepted engine set changes in this PR. (role: Windows harness contributor; confidence: high; commits: b163d741ed4d; files: .agents/skills/autoreview/scripts/test-review-harness.ps1, .agents/skills/autoreview/scripts/test-review-harness.py)
  • Scott Hanselman: Scott Hanselman’s release commit is the latest current-main commit carrying the existing vendored autoreview files. (role: recent subtree integrator; confidence: medium; commits: 4166e0fd63f8; files: .agents/skills/autoreview/SKILL.md, .agents/skills/autoreview/scripts/autoreview)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@vincentkoc
vincentkoc merged commit 06b4f63 into main Jul 12, 2026
13 checks passed
@vincentkoc
vincentkoc deleted the chore/autoreview-gpt-5-6-sol branch July 12, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant