evolve-lite-adapt-memo…
Mirror a just-saved native memory into the shared evolve store so it becomes shareable and auditable
Adversarial, reproduce-by-execution review of a GitHub PR (fan-out sub-agents, verify, draft review)
> /plugin marketplace add AgentToolkit/altk-evolve > /plugin install evolve-lite@evolve-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/adversarial-reviewContext preview
What this command does when you run it.
Adversarial, reproduce-by-execution review of a GitHub PR (fan-out sub-agents, verify, draft review)
description: Adversarial, reproduce-by-execution review of a GitHub PR (fan-out sub-agents, verify, draft review) argument-hint: <PR#> [owner/repo] [--post] [--sandbox|--no-sandbox] allowed-tools: Bash, Read, Grep, Glob, Agent, Write
Run an adversarial code review of pull request **#$1**, following `docs/adversarial-review.md`.
Method — evidence over opinion; every finding carries a reproduction or it doesn't ship. Do NOT report style nits.
Parse `$ARGUMENTS` positionally and by flag, independently of each other:
1. **Fetch & size the PR.**
2. **If this is a re-review, load every prior finding.** The status table in step 7 is per finding, so the summary bodies alone are not enough:
3. **Isolate — files *and* execution.** A git worktree isolates files; it does not isolate processes, credentials, host mounts or network. Anything you run from the PR head is code the PR author controls.
# phase 1 — dependency install, networked
docker run --rm -v "<WORKTREE>":/workspace -w /workspace claude-sandbox uv sync --all-extras
# phase 2 — everything that runs the PR's code, no network
docker run --rm -it --network=none -v "<WORKTREE>":/workspace -w /workspace claude-sandbox bashPhase 1 still executes the PR's `pyproject.toml` (a build backend runs arbitrary code at install time), so read the packaging diff first when the head is genuinely untrusted.
4. **Baseline BEFORE judging.** Install extras if the PR needs them, then run the project's lint / type / test commands and record results, so PR-caused breakage is distinguishable from environmental noise. Use `git diff <baseRefOid>...<headRefOid>` for "what this PR changed".
5. **Fan out independent skeptics.** Launch 2–3 sub-agents **in parallel** (one message, multiple Agent calls), each scoped to ONE risk surface (e.g. core algorithm / integration & breaking changes / plugins-config-tests-packaging). Give each the sub-agent prompt template from `docs/adversarial-review.md`, filled in for its surface — including the base SHA and, when sandboxed, how to run commands inside the container. They must reproduce findings by execution and not duplicate each other.
6. **Verify headline claims yourself.** Re-run each agent's most severe finding with your own repro. Only keep what survives. Watch for claims that are wrong *in the author's favor* too (mis-stated breaking changes, "deleted" tests that were merely moved).
7. **Synthesize & show the user.** Rank blocker → high → medium → low; separate verified from hypothesized; **credit what's genuinely
Coding agents repeat the same mistakes because they start fresh every session. Evolve gives agents memory — they learn from what worked and what didn't, so each session is better than the last.
Repo: AgentToolkit/altk-evolve
Mirror a just-saved native memory into the shared evolve store so it becomes shareable and auditable
Analyze saved trajectories and recall audit events offline to record whether recalled guidelines influenced completed sessions.
Publish a private guideline to a configured write-scope repo.
Apply data-retention rules to the local evolve store — flag or delete stale and unused memories and expired sessions (dry-run by default)
Save the current conversation as a trajectory JSON file in OpenAI chat completion format for analysis and fine-tuning
Captures the current session's successful workflow and saves it as a reusable skill with SKILL.md and helper scripts