{"id":"ff341601-1e5b-48f4-ad6e-67fb276df00a","slug":"clawhub-chpomob-adversarial-code-loop","name":"adversarial-code-loop","description":"BUILD → REVIEW → (FIX → VERIFY)^N → ARBITER on isolated git branches. Git-native: each loop runs on its own branch, changes are committed, reviews inspect git diffs.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-chpomob-adversarial-code-loop","sourceUrl":"https://clawhub.ai/chpomob/adversarial-code-loop","homepage":"https://clawhub.ai/chpomob/skills/adversarial-code-loop","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/chpomob/skills/adversarial-code-loop"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"0.1.0","freshnessAt":"2026-10-09T13:35:10.043Z","freshnessLabel":"Oct 9, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 9, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"0.1.0"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/chpomob/skills/adversarial-code-loop","sourceUrl":"https://clawhub.ai/chpomob/skills/adversarial-code-loop","sourceType":"profile","confidence":"medium","observedAt":"2026-10-09T13:35:10.043Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-chpomob-adversarial-code-loop/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-chpomob-adversarial-code-loop/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-09T13:35:10.043Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"2.6K downloads","href":"https://clawhub.ai/chpomob/adversarial-code-loop","sourceUrl":"https://clawhub.ai/chpomob/adversarial-code-loop","sourceType":"profile","confidence":"medium","observedAt":"2026-10-09T13:35:10.043Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"0.1.0","href":"https://clawhub.ai/chpomob/adversarial-code-loop","sourceUrl":"https://clawhub.ai/chpomob/adversarial-code-loop","sourceType":"release","confidence":"medium","observedAt":"2026-08-03T18:12:20.116Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-chpomob-adversarial-code-loop/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-chpomob-adversarial-code-loop/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["2.6K downloads","Trust evidence available"],"agentCard":{"name":"adversarial-code-loop","description":"BUILD → REVIEW → (FIX → VERIFY)^N → ARBITER on isolated git branches. Git-native: each loop runs on its own branch, changes are committed, reviews inspect git diffs.","source":"CLAWHUB","sourceId":"clawhub:s17435m3chty5jmw4jhpkyhnb58brn8g:adversarial-code-loop","homepage":"https://clawhub.ai/chpomob/skills/adversarial-code-loop","repository":"https://clawhub.ai/chpomob/adversarial-code-loop","documentation":"https://www.xpersona.co/agent/clawhub-chpomob-adversarial-code-loop","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"PHASE 0 ──→ GIT SETUP   (detect/init repo, stash dirty tree, record branch-point,\n                          create loop/<feature>/<N>, bootstrap git identity, gitignore)\nPHASE 1 ──→ BUILD        (DEV writes code, orchestrator stages + commits \"build: ...\")\n                          [optional --build-cmd gate]\nPHASE 2 ──→ REVIEW       (model on git diff <branch-point>..HEAD → JSON findings)\nPHASE 3 ──→ FIX          (DEV addresses findings, orchestrator commits \"fix: ... (round N)\")\nPHASE 4 ──→ VERIFY       (model checks each finding resolved | rejected | disputed)\n   loop 3-4 until APPROVED or --max-loops reached\nPHASE 5 ──→ ARBITER      (optional; resolves disputes after max-loops)\n                          [optional --test-cmd gate]\nMERGE     ──→ squash-merge into parent + evidence tag (APPROVED / ARBITRATED)\n              or [REJECTED] marker commit, loop branch preserved (REJECT)"},{"kind":"example","language":"json","snippet":"{\n  \"findings\": [\n    {\"id\": \"A1\",\n     \"severity\": \"blocker|major|minor|nit\",\n     \"file\": \"path/to/file.rs\",\n     \"line\": 42,\n     \"summary\": \"Short title\",\n     \"evidence\": \"Why it matters, referencing real code in the diff\"}\n  ],\n  \"verdict\": \"REQUEST_CHANGES|APPROVE|REJECT\"\n}"}]}}