[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70FQYWBWPKH0P4QNZ8DDCA9":3,"skill-same:01M70FQYWBWPKH0P4QNZ8DDCA9":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":13,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M70FQYWBWPKH0P4QNZ8DDCA9","adversarial-proposal",null,"Automated adversarial proposal framework using Claude Code Agent Teams. Spawns 3 persistent teammates (Proposer A, Proposer B, Synthesizer C) to investigate a technical problem through 4 rounds of isolated analysis, synthesis, critique, and reconciliation. A and B investigate the same problem independently with zero knowledge of each other; C reviews both and synthesizes; A and B critique C from their original contexts; C reconciles into a final plan. Trigger on: \"adversarial proposal\", \"adversarial review\", \"multi-proposal\", \"debate approach\", or explicit requests to investigate a bug\u002Fplan a feature\u002Fdesign an architecture with high confidence. For ambiguous phrases like \"write a proposal\" or \"draft a plan\", ASK whether the user wants the full adversarial flow or a single-pass hand-rolled document before proceeding. For small, bounded problems use `adversarial-lite` instead.","SirTheOracle\u002Fforge-toolkit","SirTheOracle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264051384?v=4","01M70FNRYMQR4XHVN77S3NJPAW","01M70FNRZAGW58XJ1CC6JRY1PA",0,"MIT","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"adversarial","adversarial proposal","proposal","bug","write","critique","plan","review","hand","architecture","code","analysis","ask","knowledge","design","agent teams","problem","reviews","reconciliation","debate","2026-11-10 10:12:30",false,"---\nname: adversarial-proposal\ndescription: >\n  Automated adversarial proposal framework using Claude Code Agent Teams. Spawns 3 persistent\n  teammates (Proposer A, Proposer B, Synthesizer C) to investigate a technical problem through\n  4 rounds of isolated analysis, synthesis, critique, and reconciliation. A and B investigate\n  the same problem independently with zero knowledge of each other; C reviews both and\n  synthesizes; A and B critique C from their original contexts; C reconciles into a final plan.\n  Trigger on: \"adversarial proposal\", \"adversarial review\", \"multi-proposal\", \"debate approach\",\n  or explicit requests to investigate a bug\u002Fplan a feature\u002Fdesign an architecture with high\n  confidence. For ambiguous phrases like \"write a proposal\" or \"draft a plan\", ASK whether the\n  user wants the full adversarial flow or a single-pass hand-rolled document before proceeding.\n  For small, bounded problems use `adversarial-lite` instead.\n---\n\n# Adversarial Proposal Framework\n\n## Overview\n\nThree persistent teammates investigate a technical problem through 4 rounds. The critical design principle is **information isolation** — A and B each have their own context window and never see each other's work. Only Synthesizer C sees both. A and B critique C from their original contexts (in Round 3 they see only their own isolated review file, never C's full synthesis or the other proposer's ideas). C reconciles into a final plan.\n\nThe full tool-call sequence lives in `references\u002Fagent-teams-workflow.md`. **Read that file before orchestrating.** This document is the high-level guide.\n\n## When to Use\n\n- Bug investigation where the root cause is non-obvious\n- Feature planning where scope decisions carry real cost (schema, API shape, etc.)\n- Architecture decisions with tradeoffs (simplicity vs scalability, etc.)\n- Refactors that could go clean-break or incremental\n- Any problem where a single-pass plan is likely to miss something\n\n## When NOT to Use\n\n- **Small, bounded problems** — one file, clear scope, low blast radius. Use `adversarial-lite` (2 rounds, no feedback loop).\n- **Trivial bugs** — typos, one-line fixes, known recipes. Just fix them.\n- **Problems where the user already has a plan** — don't re-deliberate a decision the user has made. Ask what they need help with specifically.\n\nBefore starting, if the problem is clearly bounded and low-risk, offer `adversarial-lite` first: \"This looks bounded — want to use adversarial-lite (faster, lighter) or the full framework?\"\n\n## Prerequisites\n\nRequires Claude Code Agent Teams:\n\n```bash\n# In ~\u002F.claude\u002Fsettings.json\n{ \"env\": { \"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS\": \"1\" } }\n```\n\nTakes effect on new Claude Code sessions. If Teams is not available (tool calls to `TeamCreate` \u002F `SendMessage` error out), fall back to `references\u002Fsubagent-fallback.md` — functionally equivalent but loses cross-round teammate persistence.\n\n## Modes\n\n| Mode | Flag | Behavior |\n|---|---|---|\n| **Default** | — | Fully automated. Lead orchestrates all rounds without pausing. |\n| **Interactive** | `--interactive` | Pauses after Round 1 (user reviews proposals) and after Round 2 (user reviews synthesis) before continuing. |\n\n---\n\n## Architecture\n\n```\nROUND 0  Setup: problem type → strategy pair → team → tasks\nROUND 1  proposer-a + proposer-b investigate in parallel (isolated)\n           ─► proposal-A.md, proposal-B.md\n         ▼  quality gate + convergence check + (interactive) checkpoint 1\nROUND 2  synthesizer-c reads both → produces 3 artifacts\n           ─► proposal-C.md, review-for-A.md, review-for-B.md\n         ▼  artifact gate + (interactive) checkpoint 2\nROUND 3  A and B resume from their Round 1 context, each reads ONLY its own\n         review file → SendMessage feedback back to lead\nROUND 4  synthesizer-c resumes → reconciles both critiques\n           ─► reconciliation-notes.md + final-plan.md\nROUND 5  (optional) external reviewer → review-external.md\nROUND 6  shutdown all teammates, TeamDelete, present to user\n```\n\n### Problem-type → strategy-pair table\n\n| Problem type | Strategy A | Strategy B |\n|---|---|---|\n| bug_fix | Trace FORWARD from entry | Trace BACKWARD from symptom |\n| feature | MINIMAL viable | ROBUST\u002Fextensible |\n| architecture | Optimize for SIMPLICITY | Optimize for SCALABILITY |\n| refactoring | INCREMENTAL migration | CLEAN-BREAK rewrite |\n\n### Why isolation works\n\nEach teammate has its own context window. A and B share no conversation history. All communication goes through the lead. The lead NEVER forwards A's work to B or vice versa. Round 3 isolation is maintained via per-proposer review files (`review-for-A.md`, `review-for-B.md`) that each teammate reads exclusively.\n\nEmpirically (audited over 300+ teammate transcripts): isolation holds strongly. The only common \"violation\" is cross-slug reads of a declared dependency's `final-plan.md`, which the isolation rule now explicitly permits (see below).\n\n### Why teammates stay alive\n\n- A and B retain full Round 1 investigation context when critiquing C in Round 3. This makes their pushback grounded in *why* they chose their original approach, not just what the review file claims.\n- C retains its synthesis reasoning from Round 2 when reconciling in Round 4.\n\nPersistence is the main reason to use Teams over the fallback. With fresh subagents per round, Round 3 critiques have to reconstruct intent from artifacts alone.\n\n---\n\n## How to Execute\n\nYou (the lead) orchestrate everything. The exact tool-call sequence is in `references\u002Fagent-teams-workflow.md`. Below is the orchestration checklist.\n\n### Step 0 — Gather context and detect problem type\n\n**0A. Empty-args short-circuit.** If invoked with no problem statement (e.g. `\u002Fadversarial-proposal` with empty `$ARGUMENTS`), stop immediately. Respond once with:\n\n> \"This skill needs a problem statement. Provide the problem in a single message with: (1) what's wrong or what you want to build, (2) the relevant source files or subdirectories, (3) any existing context (related PRs, prior decisions). If you want a lighter flow, use `adversarial-lite`.\"\n\nDo NOT start drifting through the codebase looking for something to investigate. If the user doesn't provide a payload in the next turn, end the session.\n\n**0B. Disambiguate skill vs. single-plan.** If the user said \"write a proposal\" or \"draft a plan\" (phrases that could mean either the adversarial flow or a single-file hand-rolled doc), ASK once:\n\n> \"Do you want the full adversarial flow (2 isolated investigators, synthesis, critique, reconciliation — ~15 min) or a single-pass plan document (~2 min)?\"\n\nDefault to adversarial when in doubt on non-trivial problems.\n\n**0C. Exploration budget.** Before spawning A and B, the lead reads **at most 3–5 files** to orient. The proposers re-read the source independently — that's the point. Over-exploration in the lead burns context that A\u002FB will duplicate anyway. If you need more context, ask the user for specific files rather than searching broadly.\n\n**0D. Detect problem type**: classify as `bug_fix`, `feature`, `architecture`, or `refactoring`. This selects the strategy pair.\n\n**0E. Detect dependencies.** If the problem depends on a prior workstream (e.g. \"3B-payload-assembly\" depends on \"3A-assignment-source-fetch\"), collect the dependency's `final-plan.md` path and include it in the proposer prompts under **Dependency paths** (see isolation rule below).\n\n**0F. Create output directory** `{project}\u002F.dev\u002Fproposals\u002F{slug}\u002F` and write `problem-statement.md`.\n\n### Step 1 — Team setup\n\n```\nTeamCreate(team_name=\"adv-\u003Cshort-slug>\", description=\u003Cshort>)\n# Create 5 tasks (A, B, C, critique, reconcile) with dependency chain\n```\n\nDetails in `references\u002Fagent-teams-workflow.md` §\"Round 0\".\n\n### Step 2 — Round 1: Spawn A and B in parallel (same turn)\n\nTwo `Agent(team_name=..., name=\"proposer-a\", ...)` calls in a single message. Each prompt embeds the **proposer role** (`agents\u002Fproposer.md`), the **proposal format** (`references\u002Fproposal-format.md`), the assigned strategy, the **isolation rule** (see below), and explicit **\"wait, don't exit\"** instructions.\n\nThen the lead waits — teammate \"done\" messages arrive as new conversation turns. **Waiting is not idling.** Apply the **output watchdog** (§\"Error Handling\") at this and every later wait: poll for bytes on disk at `{output_dir}\u002Fproposal-A.md` and `{output_dir}\u002Fproposal-B.md`, **timeout 5 minutes per proposer**, then ping once. A silent inbox is not evidence of work.\n\n**Every Round 1 proposer prompt must also embed the frame-challenge clause, verbatim:**\n\n> Before proposing, read `constraints.yml` beside `problem-statement.md`. Wherever the\n> statement's prose *restates* a `verbatim` rather than quoting it, and the restatement\n> narrows, widens or reframes it, that is a finding. Wherever a `principle` does not\n> follow from its `verbatim`, or a `binds` merely repeats its `asked_about`, that is a\n> finding. You may return `REJECT: \u003Cclause>` on the problem statement itself. It was\n> written by the actor whose translation you are checking.\n\nThis is not optional politeness toward the problem statement. `problem-statement.md` is\nauthored by the orchestrator, which is also the only actor that saw the operator's raw\nwords — an unchecked translation. A proposer that adopts the statement's framing without\ntesting it against the ledger has demonstrated the defect rather than found it. A\n`REJECT: \u003Cclause>` verdict is a pipeline stop condition and escalates to the operator via\n`forge ask`, not back to the orchestrator that wrote the clause.\n\n### Step 3 — Gates after Round 1\n\n**Quality**: each proposal has required sections, ≥1 confidence annotation, ≥3 concrete code references. Failure → `SendMessage(to=\"proposer-a|b\", message=\"revise: \u003Cspecific>\")`. Teammate resumes with full context.\n\n**Convergence**: same core finding AND same approach? If yes, skip to §\"Convergence path\" in `agent-teams-workflow.md` — spawn C for lightweight review only, no Round 2\u002F3.\n\n**(Interactive) checkpoint 1**: pause for user review of proposal-A\u002FB.\n\n### Step 4 — Round 2: Synthesizer C\n\nSpawn `synthesizer-c` teammate. Prompt embeds `agents\u002Fsynthesizer.md` and instructs Phase 0 (independent code exam) before reading proposals. Produce THREE files.\n\n### Step 5 — Round 2 artifact gate (required)\n\nBefore Round 3, **verify on disk**:\n- `proposal-C.md` exists\n- `review-for-A.md` exists\n- `review-for-B.md` exists\n\nIf any is missing, `SendMessage(to=\"synthesizer-c\", message=\"\u003Cname the missing file>\")`. Do not proceed with partial artifacts — past runs have silently skipped `proposal-C.md` and produced orphaned final plans.\n\n**(Interactive) checkpoint 2**: pause for user review of proposal-C.md.\n\n### Step 6 — Round 3: Critique (pinned teammate descriptions)\n\nTwo `SendMessage` calls in one turn, using these exact `description` values for the underlying Agent tasks:\n- `\"Critic A: Round 3 feedback on proposal-A\"`\n- `\"Critic B: Round 3 feedback on proposal-B\"`\n\n(Consistent naming makes transcripts scriptable and breach detection straightforward.)\n\nEach message embeds `agents\u002Fcritic.md` and the per-proposer isolation rule (read ONLY own review file + own proposal). Teammates resume with full Round 1 context. Each message must also instruct the critic to **save its feedback to `{output_dir}\u002Ffeedback-A.md` (resp. `feedback-B.md`)** as well as replying — the file is what the output watchdog polls, and a reply alone leaves nothing on disk to verify.\n\n### Step 7 — Round 4: Reconciliation\n\nWhen both critiques arrive, `SendMessage(to=\"synthesizer-c\", ...)` with both feedback bodies inline and `agents\u002Freconciler.md` embedded. C produces TWO files:\n\n- `final-plan.md` — the deliverable\n- `reconciliation-notes.md` — one line per critique: `A: \u003Cpoint> → ACCEPTED\u002FPARTIAL\u002FREJECTED — \u003Creason>` (reduces reconciler-bias blind spot)\n\n### Step 8 — Round 5 (optional): External review\n\nFor high-stakes or cross-service problems, dispatch a fresh un-teamed `Agent` (general-purpose) to review `final-plan.md` against the source and write `review-external.md`. Useful because in-team critics share strategy-pair biases by design; an outside pair of eyes catches what the adversarial frame missed. Skip for routine work.\n\n### Step 9 — Cleanup\n\n```\nSendMessage(to=\"proposer-a\", message={\"type\": \"shutdown_request\", ...})  # all three in parallel\n# Wait for shutdown acknowledgments (idle notifications)\nTeamDelete()\n```\n\nPresent `final-plan.md` (+ `reconciliation-notes.md` + optional `review-external.md`) to the user.\n\n---\n\n## Isolation Rule (embed verbatim in proposer prompts)\n\n```\nISOLATION RULE — strict.\n\nAllowed reads:\n- Files listed under \"Source files\" in this prompt\n- problem-statement.md in the current output directory\n- Files listed under \"Dependency paths\" in this prompt (prior workstreams'\n  final plans that this work depends on)\n\nForbidden reads, in the current output directory:\n- proposal-A.md, proposal-B.md, proposal-C.md  (except your own proposal in Round 3)\n- review-for-A.md, review-for-B.md              (except your own review in Round 3)\n- final-plan.md, reconciliation-notes.md, review-external.md\n\nWhen you finish, SendMessage the team lead \"team-lead\" with a one-line\nplain-text summary. Then go idle — do NOT exit. You will be messaged again\nin Round 3 to critique a technical review of your work.\n```\n\nRound 3 adds: \"Read ONLY review-for-A.md (or review-for-B.md for B) and your own proposal-A.md. Do NOT read proposal-C.md, the other proposer's review, or the other proposer's proposal.\"\n\n---\n\n## Building the Teammate Prompts\n\nEach teammate prompt must be **self-contained** — embed everything inline since teammates don't inherit the lead's conversation.\n\n### What to Embed in Every Prompt\n\n1. **The full problem statement** — verbatim from the user\n2. **Source file paths** — explicit list of every file to examine (plus Dependency paths per Step 0E)\n3. **The agent role** — full content from the relevant `agents\u002F*.md` file\n4. **The proposal format** — full content from `references\u002Fproposal-format.md` (for Rounds 1-2)\n5. **The output path and filename** — exact save location\n6. **The isolation rule** — for A and B in Rounds 1 and 3 (verbatim block above)\n7. **The strategy assignment** — for A and B in Round 1\n8. **The \"wait\" instruction** — tell teammates to wait for further messages after completing their task\n\n### Adapting to Problem Type\n\nTailor the investigation emphasis in the proposer prompts:\n\n| Problem Type | Emphasis |\n|-------------|---------|\n| Bug fix | Trace data flow, find where output diverges from expected, identify root cause |\n| Feature | Requirements analysis, integration points, risk assessment, API design |\n| Architecture | Tradeoffs, scalability, maintenance burden, migration path |\n| Refactoring | Before\u002Fafter contracts, migration strategy, rollback plan |\n\n---\n\n## Error Handling\n\n### Teammate Timeout \u002F Exit Recovery\n\n| Round | Failure | Recovery |\n|-------|---------|----------|\n| Round 1 | One proposer fails | Wait for the other. Skip adversarial process — C reviews the single proposal for blind spots. |\n| Round 1 | Both fail | Abort workflow. Report to user. |\n| Round 2 | Synthesizer fails | Re-spawn C **writing to distinct paths** (`proposal-C-r2.md`, `review-for-A-r2.md`, `review-for-B-r2.md`) so a late-waking original cannot clobber them. If second attempt fails, present raw proposals. |\n| Round 3 | One proposer fails | Proceed to Round 4 with available feedback. Note which is missing. |\n| Round 3 | Both fail | Proceed to Round 4 with no feedback. C produces final-plan.md from synthesis alone. |\n| Round 4 | Synthesizer fails | Re-spawn reconciler **writing to distinct paths** (`final-plan-r2.md`, `reconciliation-notes-r2.md`). If second attempt fails, present proposal-C.md. |\n\n### Output watchdog (applies to every wait in this workflow)\n\nA teammate that produces no output while \"running\" is indistinguishable from one that is working. All four of these apply at every wait site — none is optional.\n\n1. **Poll for output.** Verify bytes on disk before assuming progress; a silent inbox is not evidence of work. Round 1 polls `proposal-A.md` + `proposal-B.md`; Round 2 polls `proposal-C.md` + `review-for-A.md` + `review-for-B.md`; Round 3 polls `feedback-A.md` + `feedback-B.md`; Round 4 polls `final-plan.md` + `reconciliation-notes.md`.\n2. **Timeout budget.** **5 minutes** per proposer or critic (Rounds 1 and 3); **8 minutes** for the synthesizer and the reconciler (Rounds 2 and 4). When the budget expires with the deliverable still absent from disk, apply the recovery row above.\n3. **Ping once, then keep waiting.** Ping once via SendMessage — a ping can wake a wedged teammate. **No reply does not mean dead:** a pinged teammate can surface minutes later, so never conclude a silent teammate is gone, and never give a replacement the original's output paths.\n4. **Distinct output paths for any replacement.** A re-spawned teammate MUST write to a distinct path from the original (`proposal-C.md` → `proposal-C-r2.md`) so a late-waking original cannot clobber it. This is wired into the recovery rows above.\n\n### Quality Gate Failures\n\nIf a proposal fails the structural quality check after Round 1, message the proposer with specific feedback and request revision before proceeding.\n\n---\n\n## Known Tradeoffs\n\n**Reconciler bias toward own synthesis.** C naturally favors its own proposal-C when reconciling. Mitigations:\n- `agents\u002Freconciler.md` includes steelman \u002F perspective-test \u002F convergent-signal guidance (soft).\n- `reconciliation-notes.md` (required in Step 7) forces C to state explicitly which critique points were accepted vs rejected. Makes bias visible.\n- Optional Step 8 external review catches cases where C rubber-stamped itself.\n- `--interactive` mode lets the user review proposal-C.md before Round 3 critiques, providing a human check.\n\n**Lead context pressure.** Orchestration across many rounds can fill the lead's window. Stay disciplined: the lead doesn't re-read source files (the teammates do). The lead reads problem-statement.md, the three synthesis artifacts, and the final plan. Everything else is teammate-scoped.\n\n**Strategy pair can mismatch.** If the problem doesn't fit a neat bug\u002Ffeature\u002Farch\u002Frefactor bucket, the strategy pair may converge prematurely. The proposer role includes an escape hatch (\"if the assigned strategy doesn't fit, note why and investigate naturally\").\n\n---\n\n## Invoking the Skill\n\n### Direct prompt\n```\nUse the adversarial proposal framework to investigate this bug:\n\n\u003Cproblem description, including relevant files>\n```\n\n### As a Claude Code command\n\n`~\u002F.claude\u002Fcommands\u002Fadversarial-proposal.md`:\n```\nRead .claude\u002Fskills\u002Fadversarial-proposal\u002FSKILL.md and\n.claude\u002Fskills\u002Fadversarial-proposal\u002Freferences\u002Fagent-teams-workflow.md,\nthen orchestrate the workflow.\n\nProblem: $ARGUMENTS\n```\n\nInvocation:\n```\n\u002Fadversarial-proposal There is a bug with video prompt generation not including dialogue...\n\u002Fadversarial-proposal --interactive There is a bug...\n```\n\nIf `$ARGUMENTS` is empty, follow Step 0A (empty-args short-circuit).\n\n---\n\n## Output Directory\n\n```\n{project}\u002F.dev\u002Fproposals\u002F{slug}\u002F\n├── problem-statement.md\n├── proposal-A.md\n├── proposal-B.md\n├── proposal-C.md              ← lead-only (absent on convergence path)\n├── review-for-A.md            ← A's eyes only; zero references to B (absent on convergence path)\n├── review-for-B.md            ← B's eyes only; zero references to A (absent on convergence path)\n├── reconciliation-notes.md    ← accepted\u002Frejected critiques with reasons (absent on convergence path)\n├── final-plan.md              ← the deliverable\n└── review-external.md         ← optional Step 8\n```\n\nThe presence or absence of `proposal-C.md` + reviews is the structural signal of which path ran:\n- **Full run**: all files present\n- **Convergence run**: proposal-A\u002FB + problem-statement + final-plan only\n\n---\n\n## Reference Files\n\n| File | When to read | Purpose |\n|---|---|---|\n| `references\u002Fagent-teams-workflow.md` | Before orchestrating | Exact tool-call sequence for all rounds |\n| `references\u002Fproposal-format.md` | When building proposer\u002Fsynthesizer prompts | Proposal template to embed |\n| `references\u002Fsubagent-fallback.md` | Only if Teams is unavailable | Task-based fallback with file coordination |\n| `agents\u002Fproposer.md` | Building A\u002FB prompts | Investigation role + strategy table |\n| `agents\u002Fsynthesizer.md` | Building C's Round 2 prompt | Synthesis role with 3-file output spec |\n| `agents\u002Fcritic.md` | Building Round 3 messages | Critique guidance |\n| `agents\u002Freconciler.md` | Building Round 4 message | Bias-aware reconciliation + reconciliation-notes.md spec |\n\n## Agent Roles Summary\n\n| Agent | File | Used in | Purpose |\n|---|---|---|---|\n| Proposer | `agents\u002Fproposer.md` | Round 1 (A, B) | Independent investigation with assigned strategy |\n| Synthesizer | `agents\u002Fsynthesizer.md` | Round 2 (C) | Independent exam, synthesis, isolated review files |\n| Critic | `agents\u002Fcritic.md` | Round 3 (A, B) | Review own isolated critique, give grounded response |\n| Reconciler | `agents\u002Freconciler.md` | Round 4 (C) | Bias-aware reconciliation + reconciliation-notes.md |\n","# Adversarial Proposal Framework\n\n## Overview\n\nThree persistent teammates investigate a technical problem through 4 rounds. The critical design principle is **information isolation** — A and B each have their own context window and never see each other's work. Only Synthesizer C sees both. A and B critique C from their original contexts (in Round 3 they see only their own isolated review file, never C's full synthesis or the other proposer's ideas). C reconciles into a final plan.\n\nThe full tool-call sequence lives in `references\u002Fagent-teams-workflow.md`. **Read that file before orchestrating.** This document is the high-level guide.\n\n## When to Use\n\n- Bug investigation where the root cause is non-obvious\n- Feature planning where scope decisions carry real cost (schema, API shape, etc.)\n- Architecture decisions with tradeoffs (simplicity vs scalability, etc.)\n- Refactors that could go clean-break or incremental\n- Any problem where a single-pass plan is likely to miss something\n\n## When NOT to Use\n\n- **Small, bounded problems** — one file, clear scope, low blast radius. Use `adversarial-lite` (2 rounds, no feedback loop).\n- **Trivial bugs** — typos, one-line fixes, known recipes. Just fix them.\n- **Problems where the user already has a plan** — don't re-deliberate a decision the user has made. Ask what they need help with specifically.\n\nBefore starting, if the problem is clearly bounded and low-risk, offer `adversarial-lite` first: \"This looks bounded — want to use adversarial-lite (faster, lighter) or the full framework?\"\n\n## Prerequisites\n\nRequires Claude Code Agent Teams:\n\n```bash\n# In ~\u002F.claude\u002Fsettings.json\n{ \"env\": { \"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS\": \"1\" } }\n```\n\nTakes effect on new Claude Code sessions. If Teams is not available (tool calls to `TeamCreate` \u002F `SendMessage` error out), fall back to `references\u002Fsubagent-fallback.md` — functionally equivalent but loses cross-round teammate persistence.\n\n## Modes\n\n| Mode | Flag | Behavior |\n|---|---|---|\n| **Default** | — | Fully automated. Lead orchestrates all rounds without pausing. |\n| **Interactive** | `--interactive` | Pauses after Round 1 (user reviews proposals) and after Round 2 (user reviews synthesis) before continuing. |\n\n---\n\n## Architecture\n\n```\nROUND 0  Setup: problem type → strategy pair → team → tasks\nROUND 1  proposer-a + proposer-b investigate in parallel (isolated)\n           ─► proposal-A.md, proposal-B.md\n         ▼  quality gate + convergence check + (interactive) checkpoint 1\nROUND 2  synthesizer-c reads both → produces 3 artifacts\n           ─► proposal-C.md, review-for-A.md, review-for-B.md\n         ▼  artifact gate + (interactive) checkpoint 2\nROUND 3  A and B resume from their Round 1 context, each reads ONLY its own\n         review file → SendMessage feedback back to lead\nROUND 4  synthesizer-c resumes → reconciles both critiques\n           ─► reconciliation-notes.md + final-plan.md\nROUND 5  (optional) external reviewer → review-external.md\nROUND 6  shutdown all teammates, TeamDelete, present to user\n```\n\n### Problem-type → strategy-pair table\n\n| Problem type | Strategy A | Strategy B |\n|---|---|---|\n| bug_fix | Trace FORWARD from entry | Trace BACKWARD from symptom |\n| feature | MINIMAL viable | ROBUST\u002Fextensible |\n| architecture | Optimize for SIMPLICITY | Optimize for SCALABILITY |\n| refactoring | INCREMENTAL migration | CLEAN-BREAK rewrite |\n\n### Why isolation works\n\nEach teammate has its own context window. A and B share no conversation history. All communication goes through the lead. The lead NEVER forwards A's work to B or vice versa. Round 3 isolation is maintained via per-proposer review files (`review-for-A.md`, `review-for-B.md`) that each teammate reads exclusively.\n\nEmpirically (audited over 300+ teammate transcripts): isolation holds strongly. The only common \"violation\" is cross-slug reads of a declared dependency's `final-plan.md`, which the isolation rule now explicitly permits (see below).\n\n### Why teammates stay alive\n\n- A and B retain full Round 1 investigation context when critiquing C in Round 3. This makes their pushback grounded in *why* they chose their original approach, not just what the review file claims.\n- C retains its synthesis reasoning from Round 2 when reconciling in Round 4.\n\nPersistence is the main reason to use Teams over the fallback. With fresh subagents per round, Round 3 critiques have to reconstruct intent from artifacts alone.\n\n---\n\n## How to Execute\n\nYou (the lead) orchestrate everything. The exact tool-call sequence is in `references\u002Fagent-teams-workflow.md`. Below is the orchestration checklist.\n\n### Step 0 — Gather context and detect problem type\n\n**0A. Empty-args short-circuit.** If invoked with no problem statement (e.g. `\u002Fadversarial-proposal` with empty `$ARGUMENTS`), stop immediately. Respond once with:\n\n> \"This skill needs a problem statement. Provide the problem in a single message with: (1) what's wrong or what you want to build, (2) the relevant source files or subdirectories, (3) any existing context (related PRs, prior decisions). If you want a lighter flow, use `adversarial-lite`.\"\n\nDo NOT start drifting through the codebase looking for something to investigate. If the user doesn't provide a payload in the next turn, end the session.\n\n**0B. Disambiguate skill vs. single-plan.** If the user said \"write a proposal\" or \"draft a plan\" (phrases that could mean either the adversarial flow or a single-file hand-rolled doc), ASK once:\n\n> \"Do you want the full adversarial flow (2 isolated investigators, synthesis, critique, reconciliation — ~15 min) or a single-pass plan document (~2 min)?\"\n\nDefault to adversarial when in doubt on non-trivial problems.\n\n**0C. Exploration budget.** Before spawning A and B, the lead reads **at most 3–5 files** to orient. The proposers re-read the source independently — that's the point. Over-exploration in the lead burns context that A\u002FB will duplicate anyway. If you need more context, ask the user for specific files rather than searching broadly.\n\n**0D. Detect problem type**: classify as `bug_fix`, `feature`, `architecture`, or `refactoring`. This selects the strategy pair.\n\n**0E. Detect dependencies.** If the problem depends on a prior workstream (e.g. \"3B-payload-assembly\" depends on \"3A-assignment-source-fetch\"), collect the dependency's `final-plan.md` path and include it in the proposer prompts under **Dependency paths** (see isolation rule below).\n\n**0F. Create output directory** `{project}\u002F.dev\u002Fproposals\u002F{slug}\u002F` and write `problem-statement.md`.\n\n### Step 1 — Team setup\n\n```\nTeamCreate(team_name=\"adv-\u003Cshort-slug>\", description=\u003Cshort>)\n# Create 5 tasks (A, B, C, critique, reconcile) with dependency chain\n```\n\nDetails in `references\u002Fagent-teams-workflow.md` §\"Round 0\".\n\n### Step 2 — Round 1: Spawn A and B in parallel (same turn)\n\nTwo `Agent(team_name=..., name=\"proposer-a\", ...)` calls in a single message. Each prompt embeds the **proposer role** (`agents\u002Fproposer.md`), the **proposal format** (`references\u002Fproposal-format.md`), the assigned strategy, the **isolation rule** (see below), and explicit **\"wait, don't exit\"** instructions.\n\nThen the lead waits — teammate \"done\" messages arrive as new conversation turns. **Waiting is not idling.** Apply the **output watchdog** (§\"Error Handling\") at this and every later wait: poll for bytes on disk at `{output_dir}\u002Fproposal-A.md` and `{output_dir}\u002Fproposal-B.md`, **timeout 5 minutes per proposer**, then ping once. A silent inbox is not evidence of work.\n\n**Every Round 1 proposer prompt must also embed the frame-challenge clause, verbatim:**\n\n> Before proposing, read `constraints.yml` beside `problem-statement.md`. Wherever the\n> statement's prose *restates* a `verbatim` rather than quoting it, and the restatement\n> narrows, widens or reframes it, that is a finding. Wherever a `principle` does not\n> follow from its `verbatim`, or a `binds` merely repeats its `asked_about`, that is a\n> finding. You may return `REJECT: \u003Cclause>` on the problem statement itself. It was\n> written by the actor whose translation you are checking.\n\nThis is not optional politeness toward the problem statement. `problem-statement.md` is\nauthored by the orchestrator, which is also the only actor that saw the operator's raw\nwords — an unchecked translation. A proposer that adopts the statement's framing without\ntesting it against the ledger has demonstrated the defect rather than found it. A\n`REJECT: \u003Cclause>` verdict is a pipeline stop condition and escalates to the operator via\n`forge ask`, not back to the orchestrator that wrote the clause.\n\n### Step 3 — Gates after Round 1\n\n**Quality**: each proposal has required sections, ≥1 confidence annotation, ≥3 concrete code references. Failure → `SendMessage(to=\"proposer-a|b\", message=\"revise: \u003Cspecific>\")`. Teammate resumes with full context.\n\n**Convergence**: same core finding AND same approach? If yes, skip to §\"Convergence path\" in `agent-teams-workflow.md` — spawn C for lightweight review only, no Round 2\u002F3.\n\n**(Interactive) checkpoint 1**: pause for user review of proposal-A\u002FB.\n\n### Step 4 — Round 2: Synthesizer C\n\nSpawn `synthesizer-c` teammate. Prompt embeds `agents\u002Fsynthesizer.md` and instructs Phase 0 (independent code exam) before reading proposals. Produce THREE files.\n\n### Step 5 — Round 2 artifact gate (required)\n\nBefore Round 3, **verify on disk**:\n- `proposal-C.md` exists\n- `review-for-A.md` exists\n- `review-for-B.md` exists\n\nIf any is missing, `SendMessage(to=\"synthesizer-c\", message=\"\u003Cname the missing file>\")`. Do not proceed with partial artifacts — past runs have silently skipped `proposal-C.md` and produced orphaned final plans.\n\n**(Interactive) checkpoint 2**: pause for user review of proposal-C.md.\n\n### Step 6 — Round 3: Critique (pinned teammate descriptions)\n\nTwo `SendMessage` calls in one turn, using these exact `description` values for the underlying Agent tasks:\n- `\"Critic A: Round 3 feedback on proposal-A\"`\n- `\"Critic B: Round 3 feedback on proposal-B\"`\n\n(Consistent naming makes transcripts scriptable and breach detection straightforward.)\n\nEach message embeds `agents\u002Fcritic.md` and the per-proposer isolation rule (read ONLY own review file + own proposal). Teammates resume with full Round 1 context. Each message must also instruct the critic to **save its feedback to `{output_dir}\u002Ffeedback-A.md` (resp. `feedback-B.md`)** as well as replying — the file is what the output watchdog polls, and a reply alone leaves nothing on disk to verify.\n\n### Step 7 — Round 4: Reconciliation\n\nWhen both critiques arrive, `SendMessage(to=\"synthesizer-c\", ...)` with both feedback bodies inline and `agents\u002Freconciler.md` embedded. C produces TWO files:\n\n- `final-plan.md` — the deliverable\n- `reconciliation-notes.md` — one line per critique: `A: \u003Cpoint> → ACCEPTED\u002FPARTIAL\u002FREJECTED — \u003Creason>` (reduces reconciler-bias blind spot)\n\n### Step 8 — Round 5 (optional): External review\n\nFor high-stakes or cross-service problems, dispatch a fresh un-teamed `Agent` (general-purpose) to review `final-plan.md` against the source and write `review-external.md`. Useful because in-team critics share strategy-pair biases by design; an outside pair of eyes catches what the adversarial frame missed. Skip for routine work.\n\n### Step 9 — Cleanup\n\n```\nSendMessage(to=\"proposer-a\", message={\"type\": \"shutdown_request\", ...})  # all three in parallel\n# Wait for shutdown acknowledgments (idle notifications)\nTeamDelete()\n```\n\nPresent `final-plan.md` (+ `reconciliation-notes.md` + optional `review-external.md`) to the user.\n\n---\n\n## Isolation Rule (embed verbatim in proposer prompts)\n\n```\nISOLATION RULE — strict.\n\nAllowed reads:\n- Files listed under \"Source files\" in this prompt\n- problem-statement.md in the current output directory\n- Files listed under \"Dependency paths\" in this prompt (prior workstreams'\n  final plans that this work depends on)\n\nForbidden reads, in the current output directory:\n- proposal-A.md, proposal-B.md, proposal-C.md  (except your own proposal in Round 3)\n- review-for-A.md, review-for-B.md              (except your own review in Round 3)\n- final-plan.md, reconciliation-notes.md, review-external.md\n\nWhen you finish, SendMessage the team lead \"team-lead\" with a one-line\nplain-text summary. Then go idle — do NOT exit. You will be messaged again\nin Round 3 to critique a technical review of your work.\n```\n\nRound 3 adds: \"Read ONLY review-for-A.md (or review-for-B.md for B) and your own proposal-A.md. Do NOT read proposal-C.md, the other proposer's review, or the other proposer's proposal.\"\n\n---\n\n## Building the Teammate Prompts\n\nEach teammate prompt must be **self-contained** — embed everything inline since teammates don't inherit the lead's conversation.\n\n### What to Embed in Every Prompt\n\n1. **The full problem statement** — verbatim from the user\n2. **Source file paths** — explicit list of every file to examine (plus Dependency paths per Step 0E)\n3. **The agent role** — full content from the relevant `agents\u002F*.md` file\n4. **The proposal format** — full content from `references\u002Fproposal-format.md` (for Rounds 1-2)\n5. **The output path and filename** — exact save location\n6. **The isolation rule** — for A and B in Rounds 1 and 3 (verbatim block above)\n7. **The strategy assignment** — for A and B in Round 1\n8. **The \"wait\" instruction** — tell teammates to wait for further messages after completing their task\n\n### Adapting to Problem Type\n\nTailor the investigation emphasis in the proposer prompts:\n\n| Problem Type | Emphasis |\n|-------------|---------|\n| Bug fix | Trace data flow, find where output diverges from expected, identify root cause |\n| Feature | Requirements analysis, integration points, risk assessment, API design |\n| Architecture | Tradeoffs, scalability, maintenance burden, migration path |\n| Refactoring | Before\u002Fafter contracts, migration strategy, rollback plan |\n\n---\n\n## Error Handling\n\n### Teammate Timeout \u002F Exit Recovery\n\n| Round | Failure | Recovery |\n|-------|---------|----------|\n| Round 1 | One proposer fails | Wait for the other. Skip adversarial process — C reviews the single proposal for blind spots. |\n| Round 1 | Both fail | Abort workflow. Report to user. |\n| Round 2 | Synthesizer fails | Re-spawn C **writing to distinct paths** (`proposal-C-r2.md`, `review-for-A-r2.md`, `review-for-B-r2.md`) so a late-waking original cannot clobber them. If second attempt fails, present raw proposals. |\n| Round 3 | One proposer fails | Proceed to Round 4 with available feedback. Note which is missing. |\n| Round 3 | Both fail | Proceed to Round 4 with no feedback. C produces final-plan.md from synthesis alone. |\n| Round 4 | Synthesizer fails | Re-spawn reconciler **writing to distinct paths** (`final-plan-r2.md`, `reconciliation-notes-r2.md`). If second attempt fails, present proposal-C.md. |\n\n### Output watchdog (applies to every wait in this workflow)\n\nA teammate that produces no output while \"running\" is indistinguishable from one that is working. All four of these apply at every wait site — none is optional.\n\n1. **Poll for output.** Verify bytes on disk before assuming progress; a silent inbox is not evidence of work. Round 1 polls `proposal-A.md` + `proposal-B.md`; Round 2 polls `proposal-C.md` + `review-for-A.md` + `review-for-B.md`; Round 3 polls `feedback-A.md` + `feedback-B.md`; Round 4 polls `final-plan.md` + `reconciliation-notes.md`.\n2. **Timeout budget.** **5 minutes** per proposer or critic (Rounds 1 and 3); **8 minutes** for the synthesizer and the reconciler (Rounds 2 and 4). When the budget expires with the deliverable still absent from disk, apply the recovery row above.\n3. **Ping once, then keep waiting.** Ping once via SendMessage — a ping can wake a wedged teammate. **No reply does not mean dead:** a pinged teammate can surface minutes later, so never conclude a silent teammate is gone, and never give a replacement the original's output paths.\n4. **Distinct output paths for any replacement.** A re-spawned teammate MUST write to a distinct path from the original (`proposal-C.md` → `proposal-C-r2.md`) so a late-waking original cannot clobber it. This is wired into the recovery rows above.\n\n### Quality Gate Failures\n\nIf a proposal fails the structural quality check after Round 1, message the proposer with specific feedback and request revision before proceeding.\n\n---\n\n## Known Tradeoffs\n\n**Reconciler bias toward own synthesis.** C naturally favors its own proposal-C when reconciling. Mitigations:\n- `agents\u002Freconciler.md` includes steelman \u002F perspective-test \u002F convergent-signal guidance (soft).\n- `reconciliation-notes.md` (required in Step 7) forces C to state explicitly which critique points were accepted vs rejected. Makes bias visible.\n- Optional Step 8 external review catches cases where C rubber-stamped itself.\n- `--interactive` mode lets the user review proposal-C.md before Round 3 critiques, providing a human check.\n\n**Lead context pressure.** Orchestration across many rounds can fill the lead's window. Stay disciplined: the lead doesn't re-read source files (the teammates do). The lead reads problem-statement.md, the three synthesis artifacts, and the final plan. Everything else is teammate-scoped.\n\n**Strategy pair can mismatch.** If the problem doesn't fit a neat bug\u002Ffeature\u002Farch\u002Frefactor bucket, the strategy pair may converge prematurely. The proposer role includes an escape hatch (\"if the assigned strategy doesn't fit, note why and investigate naturally\").\n\n---\n\n## Invoking the Skill\n\n### Direct prompt\n```\nUse the adversarial proposal framework to investigate this bug:\n\n\u003Cproblem description, including relevant files>\n```\n\n### As a Claude Code command\n\n`~\u002F.claude\u002Fcommands\u002Fadversarial-proposal.md`:\n```\nRead .claude\u002Fskills\u002Fadversarial-proposal\u002FSKILL.md and\n.claude\u002Fskills\u002Fadversarial-proposal\u002Freferences\u002Fagent-teams-workflow.md,\nthen orchestrate the workflow.\n\nProblem: $ARGUMENTS\n```\n\nInvocation:\n```\n\u002Fadversarial-proposal There is a bug with video prompt generation not including dialogue...\n\u002Fadversarial-proposal --interactive There is a bug...\n```\n\nIf `$ARGUMENTS` is empty, follow Step 0A (empty-args short-circuit).\n\n---\n\n## Output Directory\n\n```\n{project}\u002F.dev\u002Fproposals\u002F{slug}\u002F\n├── problem-statement.md\n├── proposal-A.md\n├── proposal-B.md\n├── proposal-C.md              ← lead-only (absent on convergence path)\n├── review-for-A.md            ← A's eyes only; zero references to B (absent on convergence path)\n├── review-for-B.md            ← B's eyes only; zero references to A (absent on convergence path)\n├── reconciliation-notes.md    ← accepted\u002Frejected critiques with reasons (absent on convergence path)\n├── final-plan.md              ← the deliverable\n└── review-external.md         ← optional Step 8\n```\n\nThe presence or absence of `proposal-C.md` + reviews is the structural signal of which path ran:\n- **Full run**: all files present\n- **Convergence run**: proposal-A\u002FB + problem-statement + final-plan only\n\n---\n\n## Reference Files\n\n| File | When to read | Purpose |\n|---|---|---|\n| `references\u002Fagent-teams-workflow.md` | Before orchestrating | Exact tool-call sequence for all rounds |\n| `references\u002Fproposal-format.md` | When building proposer\u002Fsynthesizer prompts | Proposal template to embed |\n| `references\u002Fsubagent-fallback.md` | Only if Teams is unavailable | Task-based fallback with file coordination |\n| `agents\u002Fproposer.md` | Building A\u002FB prompts | Investigation role + strategy table |\n| `agents\u002Fsynthesizer.md` | Building C's Round 2 prompt | Synthesis role with 3-file output spec |\n| `agents\u002Fcritic.md` | Building Round 3 messages | Critique guidance |\n| `agents\u002Freconciler.md` | Building Round 4 message | Bias-aware reconciliation + reconciliation-notes.md spec |\n\n## Agent Roles Summary\n\n| Agent | File | Used in | Purpose |\n|---|---|---|---|\n| Proposer | `agents\u002Fproposer.md` | Round 1 (A, B) | Independent investigation with assigned strategy |\n| Synthesizer | `agents\u002Fsynthesizer.md` | Round 2 (C) | Independent exam, synthesis, isolated review files |\n| Critic | `agents\u002Fcritic.md` | Round 3 (A, B) | Review own isolated critique, give grounded response |\n| Reconciler | `agents\u002Freconciler.md` | Round 4 (C) | Bias-aware reconciliation + reconciliation-notes.md |\n",{"name":5,"description":7},"main","50bb36677eced958128cea262c304bf9ceee4d4e","skills\u002Fadversarial-proposal","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit","https:\u002F\u002Fgithub.com\u002FSirTheOracle","2026-10-20 00:50:37",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add SirTheOracle\u002Fforge-toolkit --skill adversarial-proposal",{"tool":55,"command":56},"bunx","bunx skills add SirTheOracle\u002Fforge-toolkit --skill adversarial-proposal",{"tool":58,"command":59},"pnpm","pnpm dlx skills add SirTheOracle\u002Fforge-toolkit --skill adversarial-proposal","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002FSKILL.md",true,[63,69,73,77,81,85,89],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"agents\u002Fcritic.md","REFERENCE","参考文档",1824,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Fagents\u002Fcritic.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fproposer.md",2955,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Fagents\u002Fproposer.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"agents\u002Freconciler.md",4195,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Fagents\u002Freconciler.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"agents\u002Fsynthesizer.md",4992,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Fagents\u002Fsynthesizer.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fagent-teams-workflow.md",12627,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Freferences\u002Fagent-teams-workflow.md",{"path":86,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fproposal-format.md",3376,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Freferences\u002Fproposal-format.md",{"path":90,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fsubagent-fallback.md",11052,"https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fadversarial-proposal\u002Freferences\u002Fsubagent-fallback.md",[94,120,143,163,184,206],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":38},"01M70FS350DG1MT6NBPYRPBFBQ","forge-orchestrator","tmux-based orchestrator for multi-agent building. Coordinates work across Claude Code and two Codex workers via forge-bridge. Translates user requests into dispatched tasks with structured audit logging. Replaces forge-dispatch, forge-state.yml, and stage-routing-map.yml.","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fforge-orchestrator\u002FSKILL.md",[],[101,102,103,104,105,28,106,107,108,109,110,111,112,113,114,115,116,117,118,119],"forge","orchestrator","forge orchestrator","bridge","map","tasks","across","work","audit","multi-agent","logging","tmux","for","audit logging","workers","stage","with","multi","state",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":38},"01M70FRYFZC51YWHVNNS3862PY","forge-fix-runner","Drain the GitHub `forge-fix` issue queue through the forge fix pipeline, one service at a time. Tallies actionable issues worst-first, scouts a service into a routing plan (clusters + quick\u002Ffull tiers), gets human approval, then dispatches fixes (quick = dispatched fix-code; full = forge-pipeline), gating every `Closes #N` on per-issue verification. Trigger when the user wants to fix triaged QA issues, \"work the forge-fix queue\", or \"run the fix runner\".","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fforge-fix-runner\u002FSKILL.md",[],[127,128,101,129,130,131,132,133,134,135,136,137,28,138,108,24,139,140,141,142],"runner","fix","forge fix runner","quick","pipeline","actionable","time","issues","qa","gating","when","verification","human","run","at","issue",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M70FRVVW3JAGQQK3FFR2VYRC","forge-coder","Procedural coding skill. Reads implementation.md, validates diffs against the codebase, applies changes in execution order, runs tests after each commit group, and produces a coder-report.md artifact.","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fforge-coder\u002FSKILL.md",[],[101,150,151,152,153,154,155,156,157,158,159,160,161,162],"forge coder","coder","diffs","tests","execution","commit","changes","artifact","procedural","report","codebase","implementation","coding",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":38},"01M70FRRYF6E22ECC8AGYYJEQ7","fix-reproducer","Optional first stage of the fix-pipeline. Verifies a reported bug is reproducible and captures deterministic repro steps, environment state, and evidence. Single procedural executor — does not spawn sub-agents and does not diagnose. Branches by environment: dev path runs the bug locally; prod path gathers observational evidence from the deployed environment. Always writes repro.md, even on NOT REPRODUCED. Trigger when the user invokes a fix-pipeline with the reproduce step enabled.","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Ffix-reproducer\u002FSKILL.md",[],[170,171,128,172,173,174,175,131,176,177,178,179,180,181,182,137,116,117,119,183],"reproducer","fix reproducer","deterministic","evidence","executor","diagnose","Reproducible","environment","trigger","branches","dev","single","repro","first",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":38},"01M70FRN8THYBT2DJVX99XQ3CM","fix-plan-reviewer","Single-agent adversarial reviewer for fix plans. Reads diagnosis.md and fix-plan.md, verifies the plan actually addresses the diagnosed cause, attacks the plan from multiple angles (cause coverage, defense adequacy, scope correctness, regression risk, rollback integrity, test plan integrity, risk honesty), and produces fix-review.md with severity-rated issues. Does NOT propose fixes for the issues — that is the revise mode of adversarial-fix-plan. Does NOT re-investigate the diagnosis. Trigger as the review stage of a fix-pipeline, after adversarial-fix-plan has produced fix-plan.md.","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Ffix-plan-reviewer\u002FSKILL.md",[],[191,128,192,24,193,194,195,196,131,197,198,134,25,199,200,201,202,203,204,205],"fix plan reviewer","reviewer","plan reviewer","coverage","scope","regression","re","mode","diagnosis","defense","integrity","addresses","revise","attacks","as",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":38},"01M70FRHGG6HN0VW483NDKX161","fix-coder","Mechanical single-executor that applies a vetted fix plan to the codebase. Reads fix-plan.md (the Changes, Defenses, and Test Plan sections), translates file-level changes into concrete diffs, applies them, runs the test plan, validates that the bug is no longer reproducible (dev) or that the test exercising the failing path passes (prod), and produces a single fix commit. Stays strictly in scope: does NOT modify the plan, does NOT re-investigate, does NOT touch files outside the plan. Always writes fix-coder-report.md, even on failure. Trigger as the implementation stage of a fix-pipeline, after fix-plan-reviewer has approved fix-plan.md.","https:\u002F\u002Fgithub.com\u002FSirTheOracle\u002Fforge-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Ffix-coder\u002FSKILL.md",[],[128,213,151,174,195,131,197,214,215,152,216,155,192,24,21,217,205,218,176,178],"fix coder","failing","mechanical","files","path","test plan"]