[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76RX1B9GV7N1PRFJX5WZCDH":3,"skill-same:01M76RX1B9GV7N1PRFJX5WZCDH":44},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M76RX1B9GV7N1PRFJX5WZCDH","swarm-pr-feedback",null,"Ingest and resolve known pull request feedback with skeptical source verification. Use when addressing pasted PR feedback, GitHub review comments or threads, requested changes, CI\u002Fcheck failures, merge conflicts, stale PR branches, or PR follow-up work that must close all known issues without dropping findings. Supports multi-round bot reviews (the repository's bot posts a new review after every push) via the iterative pattern documented in the body.","AlexanderNarbaev\u002Fagi","AlexanderNarbaev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33544956?v=4","01M755ZKB1JJ26ZBNZSDJ4C0TV","01M755ZKBX072HZMHVQBWK7MK7",1,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-feedback\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: swarm-pr-feedback\ndescription: >\n  Ingest and resolve known pull request feedback with skeptical source verification.\n  Use when addressing pasted PR feedback, GitHub review comments or threads,\n  requested changes, CI\u002Fcheck failures, merge conflicts, stale PR branches, or\n  PR follow-up work that must close all known issues without dropping findings.\n  Supports multi-round bot reviews (the repository's bot posts a new review\n  after every push) via the iterative pattern documented in the body.\n---\n\n# Swarm PR Feedback\n\nUse this skill to close known PR feedback. This is not a fresh broad PR review.\n`swarm-pr-review` discovers new findings; `swarm-pr-feedback` ingests existing\nfeedback surfaces, verifies each claim, clusters related problems, fixes confirmed\nissues, validates the branch, and reports closure status for every item.\n\nWhen the work starts from a prior `swarm-pr-review` run, ingest the review's\nhandoff artifact (for example\n`.swarm\u002Fpr-review\u002F\u003Crun_id>\u002Ffeedback-handoff.md` or `.json`) before triage.\nCarry forward the original review finding IDs, classifications, reviewer\u002Fcritic\nprovenance, and any operational blockers instead of renumbering them as new\ndiscoveries.\n\n## Multi-Round Bot Reviews (Iterative Pattern)\n\nThe repository's bot reviewer (`hermes-pr-review` \u002F Qwen3.6 + Gemma-4 dual-model)\nposts a new review comment after **every push** to the PR branch, not just the\nfinal state. Expect N rounds of review for N pushes, and budget for it.\n\n**Round N+1 deltas vs Round N:**\n- Fresh `FB-###` ledger IDs for new findings (do not reuse IDs from earlier rounds)\n- Findings from prior rounds that remain unfixed will reappear with the same evidence\n- Findings you marked DISPROVED with new evidence may reappear if the bot disagrees\n- New findings may be introduced that the prior round did not see (the bot's read scope\n  is the new commit, not the full diff history)\n\n**Operating principles for multi-round triage:**\n\n1. **Continue the ledger, do not start over.** Append to the same `FB-###` counter\n   across rounds. Track each finding's state per round (open, fixed, disproved,\n   awaiting-decision, repeated).\n2. **Carry forward unresolved items.** Findings you marked `PARTIAL` or `NEEDS_USER_DECISION`\n   in round N will still be open in round N+1. The closure ledger should show their\n   evolution (e.g., \"PARTIAL round 1 → CONFIRMED round 2 after evidence collected\").\n3. **Apply the 3-strikes-then-defense-in-depth rule.** When the same finding is\n   raised 3+ times across rounds, prefer to add the suggested code change with a\n   defense-in-depth rationale comment rather than continue to debate. One extra\n   condition is cheap; per-round debate is expensive. Document the parent-vs-inner\n   relationship inline so future readers see the rationale.\n   **When not to apply 3-strikes:** If the suggested fix would add incorrect,\n   misleading, or redundant code — e.g., an outer guard that already exists at an\n   inner scope and whose addition would imply the inner guard is absent, a type\n   narrowing that masks a real error class, or a check whose presence asserts a\n   false invariant — do not add the change. A wrong fix embedded in the code is\n   harder to remove than a repeated rebuttal in a comment thread. Apply item 6's\n   \"surface to user\" path instead, with the cumulative evidence that the fix\n   direction is incorrect.\n4. **Verify bot fix-direction suggestions against actual file structure.** Bots\n   read files linearly and can miss parent-block guards. For any \"add an X check\"\n   suggestion, read the surrounding function\u002Fblock to confirm the check is genuinely\n   missing or already exists at a higher scope.\n5. **Each round produces its own closure ledger as a PR comment.** Prefix with\n   \"Round N\" so the bot and reviewers can see progression. Maintain a running\n   summary table at the end of each comment showing totals across rounds\n   (confirmed+fixed \u002F disproved \u002F partial \u002F awaiting-decision).\n6. **Stop the cycle deliberately.** If a finding is disproved with code evidence 3+\n   times and the bot keeps re-raising it, leave the comment, post the closure\n   ledger with the cumulative evidence, and surface the disagreement to the user\n   rather than continuing to push fixes. The user can resolve persistent\n   reviewer-AI disagreement.\n\n**Why this matters:** Without the multi-round pattern, each round looks like\n\"start over, re-triage everything.\" With it, the rounds become incremental:\neach round's work is bounded by new findings + carried-forward items only.\nThis matches how the bot actually behaves and avoids wasted cycles.\n\n### Bot Review Verification Traps\n\nWhen a bot or pasted review cites a code fact, verify the fact against the\ncurrent branch before editing:\n\n- **Import\u002Fexport claims:** Check the exact import path used by the changed file.\n  A symbol may be missing from an internal submodule but correctly exported by the\n  public barrel the tests or runtime actually import.\n- **Line numbers:** Treat bot line references as approximate after any follow-up\n  push or local edit. Re-locate the symbol or block with `rg` before patching.\n- **Ordering claims:** If the concern is about rule precedence, add or run a\n  direct precedence test that would fail under the wrong ordering; comments alone\n  are not enough.\n- **Disproved findings:** Do not change unrelated code to satisfy a false claim.\n  Keep the finding in the closure ledger with the source or test evidence that\n  disproves it.\n- **Cache\u002Fstate claims:** Test both relevant state orders when the behavior\n  depends on cache priming, singleton state, or prior calls.\n\n## Operating Stance\n\nTreat every review comment, CI failure, bot summary, PR body claim, and pasted note\nas a claim until source evidence proves it. Do not silently drop, defer, or mark\nitems out of scope. Ask the user only for product or scope decisions that cannot\nbe proven from the PR, repo, or explicit instructions.\n\nDo not run a fresh broad PR review while addressing existing feedback. Inspect\nadjacent code only as needed to verify reachability, dependencies, shared root\ncauses, regression risk, or sibling changes required by a confirmed item.\n\nGitHub review-thread resolution is user-controlled. Do not resolve or mark review\nthreads resolved unless the user explicitly instructs you to do so.\n\nDo not act on review-discovered findings from a prior `swarm-pr-review` run\nunless the user has explicitly approved the transition into `swarm-pr-feedback`.\nThe handoff artifact is triage input, not standing authorization to change code.\n\n## Pre-flight: Check Out the PR Branch Locally\n\nBefore verifying any claim or making any fix, ensure the PR branch is the working\ntree:\n\n- If `head_ref` is a remote branch that is not checked out locally, fetch it\n  (`git fetch origin \u003Chead_ref>`).\n- **Check for parallel work first.** Before checkout, run the\n  [`parallel-work-check`](..\u002Fgenerated\u002Fparallel-work-check\u002FSKILL.md) protocol to\n  detect concurrent pushes from other agents (e.g., `hermes-pr-review` bot\n  following up, maintainer pushing fixes, parallel swarm work). If remote has new\n  commits: read `git log local..remote`, evaluate whether the parallel work\n  supersedes your planned fixes, and prefer the parallel work if it's more\n  comprehensive (more tests, better edge coverage, clearer error handling).\n  Abort your rebase, take the remote state, then add minor improvements on top.\n- Verify the working tree is clean first (`git status --porcelain`). If uncommitted\n  changes exist, stash them or abort to prevent data loss.\n- **Check out the head branch locally.** Feedback verification reads the working-tree\n  filesystem (`Read`\u002F`Glob`\u002F`Grep`), and fixes must land on the PR branch — without a\n  checkout you would verify and patch the base branch's code instead. Record the\n  `base_ref..head_ref` range for diff-scoped inspection.\n - If no PR reference was provided (a pasted-feedback session on the current branch),\n   confirm the current branch is the intended PR branch before editing.\n\nWhen a verification lane result includes `output_ref`, treat `output` as a\npreview and call `retrieve_lane_output` before using it to classify, resolve,\ndisprove, or group feedback items. If the result is `output_degraded`,\n`transcript_incomplete`, or truncated without a usable ref, keep the affected\nledger items as `NEEDS_MORE_EVIDENCE` or re-dispatch a narrower read-only lane.\n\n## Pre-flight: Dirty Worktree Handling\n\nBefore staging any files for the PR commit, check the working tree state:\n\n**The problem:** `git add -A` stages every uncommitted change in the working tree,\nincluding pre-existing changes from other branches or prior work. This was hit twice\nin one session during PR #1472 review, producing a 59-file commit instead of the\nintended 2-file targeted fix.\n\n**The check:** Run `git status --porcelain` first. If output is non-empty, identify\nwhich files are PR-related vs pre-existing uncommitted changes.\n\n**The rule:** Stage files explicitly by path when the working tree contains files\nunrelated to the PR. For example:\n\n```bash\ngit add src\u002Ffoo.ts tests\u002Ffoo.test.ts\n```\n\nNever use `git add -A` when the working tree has pre-existing changes from other\nbranches or prior work sessions.\n\n*Reference: Caught during PR #1472 Round 1 closure.*\n\n## Pre-flight: Scope Discipline\n\n`declare_scope({ taskId, files })` enforces that the delegated coder agent may only modify the declared files. The enforcement requires an active `.swarm\u002Fplan.json` — calling `declare_scope` in a feedback-closure run (which does not go through `save_plan`) rejects with \"No plan found.\"\n\n**When to use `declare_scope` (preferred):** any feedback round that touches 2+ files, OR any feedback round where the file scope is not 100% obvious from the prompt. Before delegating, save a minimal plan via `save_plan` with a single phase containing the feedback-closure tasks, then call `declare_scope` per task with the exact file list.\n\n**Carve-out for direct Task delegation:** 1-file, single-function changes where the file path appears verbatim in the coder's prompt may use direct `Task(subagent_type=\"paid_coder\", ...)` delegation without `declare_scope`. This is a narrow exception; the orchestrator is responsible for verifying the scope is unambiguous.\n\n**Anti-pattern:** do not use `Task` delegation for multi-file feedback fixes just to skip `save_plan` — the loss of scope discipline is not worth the saved ceremony.\n\n## Intake Surfaces\n\nBuild a complete feedback ledger before editing. Include every available source:\n\n- validated findings and operational blockers handed off from `swarm-pr-review`,\n- pasted user or reviewer feedback,\n- GitHub review threads, inline review comments, and review summaries,\n- PR issue comments and requested-changes reviews,\n- CI\u002Fcheck failures, check annotations, and relevant logs,\n- mergeability, conflicts, base drift, and stale PR branch state,\n- local validation failures,\n- PR body checkboxes, test-plan claims, linked issues, and acceptance criteria,\n- commit history and bot\u002Fapp commits on the PR branch.\n\nIf a source is unavailable, retry with alternative access paths. If unavailable after retry, the source is a coverage gap that must be reported to the user — do not silently \"record that limitation\" and proceed as if the source doesn't matter.\n\n### Async advisory verification lanes\n\nAfter the complete feedback ledger exists and before editing, use\n`dispatch_lanes_async` when available for independent read-only verification lanes:\ncomment classification, CI\u002Flog root-cause inspection, test impact mapping,\nrelease\u002Fdocs claim checks, and stale-branch\u002Fconflict analysis. Partition the\nledger so each `FB-###` item is owned by exactly one verification lane and the\nunion of lanes covers the entire ledger — no feedback item may be left\nunassigned to a lane; state each lane's owned `FB-###` range in its prompt. Scale\nthe lane count to the ledger size: a 1–3 item round may use a single combined\nlane, while a large multi-round intake may warrant one lane per category above.\nCap each `dispatch_lanes_async` batch at 8 lanes (`MAX_LANES`); if the ledger\nneeds more than 8 verification lanes, dispatch in sequential batches and settle\neach batch's COVERAGE GATE before the next — do not over-spawn lanes for a\ntrivial round. Record each returned `batch_id`, then continue only ledger-safe\narchitect work: normalize feedback IDs, gather deterministic PR metadata, prepare\nreproduction commands, and plan likely fix groups. Do not edit, close items, or\nmark feedback resolved from running lanes.\n\nBefore the Verification step can mark any item `RESOLVED`, `DISPROVED`,\n`PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, or `NEEDS_USER_DECISION`, every open\nverification batch must be fully settled. Poll with `collect_lane_results` (wait\nomitted or `false`) to process settled lanes incrementally — clustering confirmed\nitems and pre-reading files for settled findings while ledger-safe work remains —\nthen issue a final `collect_lane_results` with `wait: true` per batch once\nindependent work is exhausted, to confirm every lane is settled.\nMissing, stale, cancelled, or failed lanes are coverage gaps that must be closed\nbefore marking any item RESOLVED\u002FDISPROVED\u002FPRE_EXISTING. Apply the COVERAGE GATE:\nretry failed lanes (max 2), deploy a verified equivalent alternative (same agent\ntype, same prompt, same scope, same isolation), or report INCOMPLETE to the user.\nDo not proceed with \"blocking verification and record that async advisory lanes\nwere unavailable\" — record-and-continue is not coverage closure.\n\n### CI matrix cascade check (do this before fixing)\n\nWhen the PR's `unit` job is a matrix across multiple OSes and downstream jobs\n(`integration`, `smoke`) have `needs: unit`, an OS leg failure blocks the\nentire pipeline. Before triaging, check:\n\n1. Are `integration` or `smoke` jobs in `skipped` or `cancelled` state rather\n   than `failed`? That signals a unit matrix cascade — the unit job failed\n   on one OS leg, blocking the downstream jobs from running on the current\n   HEAD.\n2. If a unit OS leg is the blocker, classify the failure:\n   - **Code issue** — the test itself fails. Reproduce locally; if the\n     test passes locally, the runner is the problem.\n   - **Runner performance** — the test step exceeds the configured timeout.\n     Run all files in the step locally with per-file timing; if cumulative\n     local runtime is \u003C10 min and the runner can't complete in 60+ min, the\n     issue is runner performance. Bump the CI timeout as a stopgap and file\n     a follow-up issue for parallelization. Do not loop bumping the timeout\n     past 90 min without filing the follow-up.\n3. Surface cascade failures to the user explicitly. The downstream jobs'\n   results don't exist; the code's coverage of the current HEAD cannot be\n   confirmed by CI alone.\n\n### PR body claim verification\n\nPR body text like \"PHASE 2 council APPROVED (5\u002F5, round 2)\" or \"Final council\nAPPROVED\" must be backed by an evidence file in `.swarm\u002Fevidence\u002F`\n(typically `phase-council.json` or `final-council.json`). Bot-generated PR\nbodies commonly auto-fill these claims without real review. Before accepting\nsuch a claim as part of triage:\n\n1. Check whether the corresponding evidence file exists with `verdict:APPROVED`.\n2. If the claim is unsupported, mark the closure ledger item as\n   `NEEDS_MORE_EVIDENCE` rather than `CONFIRMED`. Do not silently drop the\n   claim — it indicates the PR body was generated without a real review.\n\n## Feedback Ledger\n\nNormalize each item before triage:\n\n```text\nFB-001 | source | author\u002Ftool | status: UNTRIAGED | location | claim | raw link\u002Fquote | depends_on\n```\n\nRules:\n\n- Preserve prior `F-###`, `CI-###`, `CONFLICT-###`, `STALE-###`, and similar\n  IDs from a review handoff when they already exist. Only mint fresh `FB-###`\n  IDs for new feedback discovered after the handoff.\n- Preserve reviewer\u002Fcritic provenance from the handoff artifact so the closure\n  ledger can show which items were review-validated before fix work began.\n- Preserve exact reviewer wording or log summary when practical.\n- Split compound comments into separate ledger items only when they require\n  different evidence or fixes.\n- Keep duplicate symptoms linked to one root cause rather than deleting them.\n- Include conflicts, stale branch state, obsolete older-head CI,\n  generated-output (`dist\u002F`) drift, and other CI failures as first-class ledger\n  items.\n- Use explicit IDs for non-review feedback when useful, for example\n  `CONFLICT-001` for merge\u002Fbase drift and `CI-001` for check failures, so PR\n  bodies can show exactly how operational blockers were closed.\n\n### Mandatory: integrate all PR comments with feedback or findings before validation\n\n**Before the Verification step begins, every PR comment that contains feedback\nor findings MUST be integrated into the total feedback ledger as a\n`FB-###` item.** This is a hard requirement, not a best-effort step.\n\nWhat counts as \"feedback or findings\":\n- A reviewer request for a code change (\"please rename this\", \"add a test for\n  X\", \"this should call `_internals.foo`\")\n- A reviewer claim about correctness, security, or style (\"this is\n  incorrect\", \"X will leak\")\n- A bot reviewer's findings table entries\n- A CI failure with a specific file:line root cause\n- A reviewer question that implies a code change is needed (\"why is this\n  static?\")\n- PR review summaries or aggregate comments\n\nWhat does NOT count (and is therefore not required to be a ledger item):\n- Pure acknowledgements (\"LGTM\", \"looks good\")\n- PR-level metadata changes (title, label, milestone)\n- Force-push acknowledgements\n\nRules:\n- **No finding may be addressed outside the ledger.** If you fix something a\n  reviewer mentioned, the corresponding `FB-###` item MUST be in the ledger\n  before the fix. If you skip the fix, the `FB-###` item MUST be in the\n  ledger with a `DISPROVED`, `PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, or\n  `NEEDS_USER_DECISION` status before validation can begin.\n- **Status semantics for unaddressed items:**\n  - `CONFIRMED` and `PARTIAL` items must be addressed (fixed or\n    disproved) before validation can begin. A `CONFIRMED` item that is\n    left unaddressed is a regression against the review.\n  - `DISPROVED`, `PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, and\n    `NEEDS_USER_DECISION` items may remain open at validation time, but\n    each must be explicitly justified in the closure ledger.\n- **The closure ledger at the end of the run must account for every `FB-###`\n  item** with a final status (fixed \u002F disproved \u002F pre-existing \u002F needs user\n  decision \u002F needs more evidence).\n- **Comments from the latest bot round take precedence over earlier rounds**\n  for the same finding; the earlier-round `FB-###` item is updated with the\n  new evidence rather than a new item being created.\n- **Multi-round pattern continues to apply** (see \"Multi-Round Bot Reviews\"\n  section). A new bot round adds new `FB-###` items for findings that\n  weren't in the prior round; the prior round's items are carried forward\n  and updated with the new evidence.\n\nRationale: silently addressing a review comment without a corresponding\nledger item means the closure summary at the end of the run cannot\ndemonstrate that every review comment was considered. The closure summary\nis the only artifact the user\u002Fmaintainer reads to confirm the PR is ready\nto merge. Missing items in the ledger = missing items in the closure = a\nPR that ships with unreviewed feedback.\n\n## Verification\n\nClassify every ledger item before fixing:\n\n| Status | Meaning |\n|---|---|\n| `CONFIRMED` | The issue is real, reachable or structurally proven, and introduced or exposed by the PR. |\n| `PARTIAL` | The comment points at a real concern, but the framing, severity, or requested fix is incomplete. |\n| `DISPROVED` | Source, tests, or execution context prove the claim is false, unreachable, or already mitigated. |\n| `PRE_EXISTING` | The issue exists on the base branch and is not materially worsened by the PR. |\n| `NEEDS_MORE_EVIDENCE` | The claim (e.g., \"council APPROVED\") is unsupported by stored evidence (e.g., a missing or failed `.swarm\u002Fevidence\u002F` artifact); more information is required before triage. |\n| `NEEDS_USER_DECISION` | The item requires a product, UX, compatibility, or scope choice that cannot be inferred. |\n\nVerification checklist:\n\n- Read the referenced file and surrounding code.\n- Check caller context, reachability, feature flags, schema validation, guards,\n  state-machine rules, and permission boundaries.\n- Determine whether the issue is PR-introduced, pre-existing, or unresolved.\n- Check related tests and whether a failing\u002Fproposed test would prove the item.\n- Check whether multiple feedback items share one root cause.\n\n### DI seam migration validation\n\nWhen a test file mutates a DI seam object (e.g., `_internals.foo = mock`),\nverify that the production source reads from the seam at call time. A common\nanti-pattern: the test mutates the seam object, but the production code\nimports the named function (`import { foo } from '.\u002Fmodule'`) which is bound\nat module load. The seam mutation has no effect on the named reference,\nso the test fails even though the seam object's `foo === mock`.\n\nVerification: open the source file and grep for call sites. If you see\n`import { foo } from '...'` followed by `foo(...)` in the production code,\nand the test does `_internals.foo = mock`, the test will fail. The fix is\nto change the production code to call `_internals.foo(...)` (or equivalent\nactive-seam pattern) so the seam mutation is read at call time.\n\nIf only a few call sites exist, fix them in the source. If many call sites\nexist, consider whether the migration should use `mock.module()` instead,\nwhich replaces the entire module object (including the named export\nreference).\n\n## Fix Planning\n\nCluster ledger items by root cause before coding. Fix in this order unless a user\ninstruction or dependency requires otherwise:\n\n1. Merge conflicts, stale branch state, and base drift.\n2. Deterministic CI, build, typecheck, formatting, and test failures.\n3. Confirmed correctness, security, data-loss, persistence, git\u002Fwrite-safety, and\n   permission issues.\n4. Test gaps needed to prove confirmed fixes.\n5. Docs, release notes, PR body, and migration guidance.\n6. Reviewer communication and closure summaries.\n\nFor each cluster, record:\n\n```text\nROOT-001 | ledger items: FB-001, FB-004 | files | fix approach | tests | docs | risk\n```\n\nDo not make scope decisions yourself. If the right fix depends on product intent\nor compatibility policy, mark the item `NEEDS_USER_DECISION` and ask.\n\n## Implementation Rules\n\n- Patch only confirmed or partial items, plus required tests\u002Fdocs.\n- Do not implement speculative cleanup while feedback remains unclosed.\n- Never ship unwired code. Any new command, tool, skill, config, docs surface, or\n  generated artifact must be fully registered and validated.\n- Never defer work or declare it out of scope without explicit user instruction.\n- Keep invalid or disproved findings in the closure ledger with the evidence.\n- For CI failures, verify the failing job belongs to the current PR head before\n  treating it as current evidence.\n- For generated output or dist failures, inspect the failing log before rebuilding\n  and commit regenerated files only when the PR touches the source surface.\n- When `main` has a merge queue enabled, do not rebase or force-push a PR only\n  because `main` advanced. Once required checks and review are green, queue the PR\n  and let the merge queue perform final current-base validation. Still resolve real\n  merge conflicts and SHA-dependent review threads before queuing.\n\n## Validation\n\nRun targeted validation for every changed surface:\n\n- exact failing CI\u002Ftest command when reproducing a failure,\n- tests for changed behavior or newly covered gaps,\n- lint\u002Fformat\u002Ftypecheck\u002Fbuild where relevant,\n- `git diff --check`,\n- PR metadata checks after push: head SHA, check status, mergeability\u002Fconflicts,\n  and unresolved feedback state.\n- After conflict fixes, verify remote mergeability is clean (`MERGEABLE` \u002F\n  `CLEAN`), not only that local conflict markers disappeared.\n- For current-head CI, prefer run-level details when PR checks look stale:\n  `gh run view \u003Crun-id> --json headSha,status,conclusion,jobs,url`.\n\nIf a validation failure is suspected pre-existing, prove it on the base branch or\nlabel it `UNVERIFIED`. Do not call the branch green while required checks are\nnon-green.\n\n## Publishing And Communication\n\nAfter fixes, update the PR body or comment with a closure ledger:\n\n```text\nFB-001 | fixed | commit\u002Ftest evidence\nFB-002 | disproved | code evidence\nFB-003 | pre-existing | base-branch evidence\nFB-004 | needs user decision | decision required\nFB-005 | needs more evidence | .swarm\u002Fevidence\u002Fphase-council.json missing\nCONFLICT-001 | fixed | remote mergeability is MERGEABLE\u002FCLEAN\nCI-001 | fixed | current-head check\u002Frun evidence\n```\n\nDo not resolve GitHub review threads unless explicitly instructed. If instructed,\nresolve only threads whose ledger item is fixed or disproved on the pushed PR\nhead, and record the exact evidence used.\n\n## Final Output\n\nReport:\n\n- intake sources checked and unavailable sources,\n- ledger counts by status,\n- root-cause clusters fixed,\n- tests and commands run,\n- unresolved user decisions,\n- CI\u002Fmergeability state,\n- whether review-thread resolution was skipped or explicitly performed.\n\nEnd with a complete ledger mapping every original item to its outcome.\n","# Swarm PR Feedback\n\nUse this skill to close known PR feedback. This is not a fresh broad PR review.\n`swarm-pr-review` discovers new findings; `swarm-pr-feedback` ingests existing\nfeedback surfaces, verifies each claim, clusters related problems, fixes confirmed\nissues, validates the branch, and reports closure status for every item.\n\nWhen the work starts from a prior `swarm-pr-review` run, ingest the review's\nhandoff artifact (for example\n`.swarm\u002Fpr-review\u002F\u003Crun_id>\u002Ffeedback-handoff.md` or `.json`) before triage.\nCarry forward the original review finding IDs, classifications, reviewer\u002Fcritic\nprovenance, and any operational blockers instead of renumbering them as new\ndiscoveries.\n\n## Multi-Round Bot Reviews (Iterative Pattern)\n\nThe repository's bot reviewer (`hermes-pr-review` \u002F Qwen3.6 + Gemma-4 dual-model)\nposts a new review comment after **every push** to the PR branch, not just the\nfinal state. Expect N rounds of review for N pushes, and budget for it.\n\n**Round N+1 deltas vs Round N:**\n- Fresh `FB-###` ledger IDs for new findings (do not reuse IDs from earlier rounds)\n- Findings from prior rounds that remain unfixed will reappear with the same evidence\n- Findings you marked DISPROVED with new evidence may reappear if the bot disagrees\n- New findings may be introduced that the prior round did not see (the bot's read scope\n  is the new commit, not the full diff history)\n\n**Operating principles for multi-round triage:**\n\n1. **Continue the ledger, do not start over.** Append to the same `FB-###` counter\n   across rounds. Track each finding's state per round (open, fixed, disproved,\n   awaiting-decision, repeated).\n2. **Carry forward unresolved items.** Findings you marked `PARTIAL` or `NEEDS_USER_DECISION`\n   in round N will still be open in round N+1. The closure ledger should show their\n   evolution (e.g., \"PARTIAL round 1 → CONFIRMED round 2 after evidence collected\").\n3. **Apply the 3-strikes-then-defense-in-depth rule.** When the same finding is\n   raised 3+ times across rounds, prefer to add the suggested code change with a\n   defense-in-depth rationale comment rather than continue to debate. One extra\n   condition is cheap; per-round debate is expensive. Document the parent-vs-inner\n   relationship inline so future readers see the rationale.\n   **When not to apply 3-strikes:** If the suggested fix would add incorrect,\n   misleading, or redundant code — e.g., an outer guard that already exists at an\n   inner scope and whose addition would imply the inner guard is absent, a type\n   narrowing that masks a real error class, or a check whose presence asserts a\n   false invariant — do not add the change. A wrong fix embedded in the code is\n   harder to remove than a repeated rebuttal in a comment thread. Apply item 6's\n   \"surface to user\" path instead, with the cumulative evidence that the fix\n   direction is incorrect.\n4. **Verify bot fix-direction suggestions against actual file structure.** Bots\n   read files linearly and can miss parent-block guards. For any \"add an X check\"\n   suggestion, read the surrounding function\u002Fblock to confirm the check is genuinely\n   missing or already exists at a higher scope.\n5. **Each round produces its own closure ledger as a PR comment.** Prefix with\n   \"Round N\" so the bot and reviewers can see progression. Maintain a running\n   summary table at the end of each comment showing totals across rounds\n   (confirmed+fixed \u002F disproved \u002F partial \u002F awaiting-decision).\n6. **Stop the cycle deliberately.** If a finding is disproved with code evidence 3+\n   times and the bot keeps re-raising it, leave the comment, post the closure\n   ledger with the cumulative evidence, and surface the disagreement to the user\n   rather than continuing to push fixes. The user can resolve persistent\n   reviewer-AI disagreement.\n\n**Why this matters:** Without the multi-round pattern, each round looks like\n\"start over, re-triage everything.\" With it, the rounds become incremental:\neach round's work is bounded by new findings + carried-forward items only.\nThis matches how the bot actually behaves and avoids wasted cycles.\n\n### Bot Review Verification Traps\n\nWhen a bot or pasted review cites a code fact, verify the fact against the\ncurrent branch before editing:\n\n- **Import\u002Fexport claims:** Check the exact import path used by the changed file.\n  A symbol may be missing from an internal submodule but correctly exported by the\n  public barrel the tests or runtime actually import.\n- **Line numbers:** Treat bot line references as approximate after any follow-up\n  push or local edit. Re-locate the symbol or block with `rg` before patching.\n- **Ordering claims:** If the concern is about rule precedence, add or run a\n  direct precedence test that would fail under the wrong ordering; comments alone\n  are not enough.\n- **Disproved findings:** Do not change unrelated code to satisfy a false claim.\n  Keep the finding in the closure ledger with the source or test evidence that\n  disproves it.\n- **Cache\u002Fstate claims:** Test both relevant state orders when the behavior\n  depends on cache priming, singleton state, or prior calls.\n\n## Operating Stance\n\nTreat every review comment, CI failure, bot summary, PR body claim, and pasted note\nas a claim until source evidence proves it. Do not silently drop, defer, or mark\nitems out of scope. Ask the user only for product or scope decisions that cannot\nbe proven from the PR, repo, or explicit instructions.\n\nDo not run a fresh broad PR review while addressing existing feedback. Inspect\nadjacent code only as needed to verify reachability, dependencies, shared root\ncauses, regression risk, or sibling changes required by a confirmed item.\n\nGitHub review-thread resolution is user-controlled. Do not resolve or mark review\nthreads resolved unless the user explicitly instructs you to do so.\n\nDo not act on review-discovered findings from a prior `swarm-pr-review` run\nunless the user has explicitly approved the transition into `swarm-pr-feedback`.\nThe handoff artifact is triage input, not standing authorization to change code.\n\n## Pre-flight: Check Out the PR Branch Locally\n\nBefore verifying any claim or making any fix, ensure the PR branch is the working\ntree:\n\n- If `head_ref` is a remote branch that is not checked out locally, fetch it\n  (`git fetch origin \u003Chead_ref>`).\n- **Check for parallel work first.** Before checkout, run the\n  [`parallel-work-check`](..\u002Fgenerated\u002Fparallel-work-check\u002FSKILL.md) protocol to\n  detect concurrent pushes from other agents (e.g., `hermes-pr-review` bot\n  following up, maintainer pushing fixes, parallel swarm work). If remote has new\n  commits: read `git log local..remote`, evaluate whether the parallel work\n  supersedes your planned fixes, and prefer the parallel work if it's more\n  comprehensive (more tests, better edge coverage, clearer error handling).\n  Abort your rebase, take the remote state, then add minor improvements on top.\n- Verify the working tree is clean first (`git status --porcelain`). If uncommitted\n  changes exist, stash them or abort to prevent data loss.\n- **Check out the head branch locally.** Feedback verification reads the working-tree\n  filesystem (`Read`\u002F`Glob`\u002F`Grep`), and fixes must land on the PR branch — without a\n  checkout you would verify and patch the base branch's code instead. Record the\n  `base_ref..head_ref` range for diff-scoped inspection.\n - If no PR reference was provided (a pasted-feedback session on the current branch),\n   confirm the current branch is the intended PR branch before editing.\n\nWhen a verification lane result includes `output_ref`, treat `output` as a\npreview and call `retrieve_lane_output` before using it to classify, resolve,\ndisprove, or group feedback items. If the result is `output_degraded`,\n`transcript_incomplete`, or truncated without a usable ref, keep the affected\nledger items as `NEEDS_MORE_EVIDENCE` or re-dispatch a narrower read-only lane.\n\n## Pre-flight: Dirty Worktree Handling\n\nBefore staging any files for the PR commit, check the working tree state:\n\n**The problem:** `git add -A` stages every uncommitted change in the working tree,\nincluding pre-existing changes from other branches or prior work. This was hit twice\nin one session during PR #1472 review, producing a 59-file commit instead of the\nintended 2-file targeted fix.\n\n**The check:** Run `git status --porcelain` first. If output is non-empty, identify\nwhich files are PR-related vs pre-existing uncommitted changes.\n\n**The rule:** Stage files explicitly by path when the working tree contains files\nunrelated to the PR. For example:\n\n```bash\ngit add src\u002Ffoo.ts tests\u002Ffoo.test.ts\n```\n\nNever use `git add -A` when the working tree has pre-existing changes from other\nbranches or prior work sessions.\n\n*Reference: Caught during PR #1472 Round 1 closure.*\n\n## Pre-flight: Scope Discipline\n\n`declare_scope({ taskId, files })` enforces that the delegated coder agent may only modify the declared files. The enforcement requires an active `.swarm\u002Fplan.json` — calling `declare_scope` in a feedback-closure run (which does not go through `save_plan`) rejects with \"No plan found.\"\n\n**When to use `declare_scope` (preferred):** any feedback round that touches 2+ files, OR any feedback round where the file scope is not 100% obvious from the prompt. Before delegating, save a minimal plan via `save_plan` with a single phase containing the feedback-closure tasks, then call `declare_scope` per task with the exact file list.\n\n**Carve-out for direct Task delegation:** 1-file, single-function changes where the file path appears verbatim in the coder's prompt may use direct `Task(subagent_type=\"paid_coder\", ...)` delegation without `declare_scope`. This is a narrow exception; the orchestrator is responsible for verifying the scope is unambiguous.\n\n**Anti-pattern:** do not use `Task` delegation for multi-file feedback fixes just to skip `save_plan` — the loss of scope discipline is not worth the saved ceremony.\n\n## Intake Surfaces\n\nBuild a complete feedback ledger before editing. Include every available source:\n\n- validated findings and operational blockers handed off from `swarm-pr-review`,\n- pasted user or reviewer feedback,\n- GitHub review threads, inline review comments, and review summaries,\n- PR issue comments and requested-changes reviews,\n- CI\u002Fcheck failures, check annotations, and relevant logs,\n- mergeability, conflicts, base drift, and stale PR branch state,\n- local validation failures,\n- PR body checkboxes, test-plan claims, linked issues, and acceptance criteria,\n- commit history and bot\u002Fapp commits on the PR branch.\n\nIf a source is unavailable, retry with alternative access paths. If unavailable after retry, the source is a coverage gap that must be reported to the user — do not silently \"record that limitation\" and proceed as if the source doesn't matter.\n\n### Async advisory verification lanes\n\nAfter the complete feedback ledger exists and before editing, use\n`dispatch_lanes_async` when available for independent read-only verification lanes:\ncomment classification, CI\u002Flog root-cause inspection, test impact mapping,\nrelease\u002Fdocs claim checks, and stale-branch\u002Fconflict analysis. Partition the\nledger so each `FB-###` item is owned by exactly one verification lane and the\nunion of lanes covers the entire ledger — no feedback item may be left\nunassigned to a lane; state each lane's owned `FB-###` range in its prompt. Scale\nthe lane count to the ledger size: a 1–3 item round may use a single combined\nlane, while a large multi-round intake may warrant one lane per category above.\nCap each `dispatch_lanes_async` batch at 8 lanes (`MAX_LANES`); if the ledger\nneeds more than 8 verification lanes, dispatch in sequential batches and settle\neach batch's COVERAGE GATE before the next — do not over-spawn lanes for a\ntrivial round. Record each returned `batch_id`, then continue only ledger-safe\narchitect work: normalize feedback IDs, gather deterministic PR metadata, prepare\nreproduction commands, and plan likely fix groups. Do not edit, close items, or\nmark feedback resolved from running lanes.\n\nBefore the Verification step can mark any item `RESOLVED`, `DISPROVED`,\n`PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, or `NEEDS_USER_DECISION`, every open\nverification batch must be fully settled. Poll with `collect_lane_results` (wait\nomitted or `false`) to process settled lanes incrementally — clustering confirmed\nitems and pre-reading files for settled findings while ledger-safe work remains —\nthen issue a final `collect_lane_results` with `wait: true` per batch once\nindependent work is exhausted, to confirm every lane is settled.\nMissing, stale, cancelled, or failed lanes are coverage gaps that must be closed\nbefore marking any item RESOLVED\u002FDISPROVED\u002FPRE_EXISTING. Apply the COVERAGE GATE:\nretry failed lanes (max 2), deploy a verified equivalent alternative (same agent\ntype, same prompt, same scope, same isolation), or report INCOMPLETE to the user.\nDo not proceed with \"blocking verification and record that async advisory lanes\nwere unavailable\" — record-and-continue is not coverage closure.\n\n### CI matrix cascade check (do this before fixing)\n\nWhen the PR's `unit` job is a matrix across multiple OSes and downstream jobs\n(`integration`, `smoke`) have `needs: unit`, an OS leg failure blocks the\nentire pipeline. Before triaging, check:\n\n1. Are `integration` or `smoke` jobs in `skipped` or `cancelled` state rather\n   than `failed`? That signals a unit matrix cascade — the unit job failed\n   on one OS leg, blocking the downstream jobs from running on the current\n   HEAD.\n2. If a unit OS leg is the blocker, classify the failure:\n   - **Code issue** — the test itself fails. Reproduce locally; if the\n     test passes locally, the runner is the problem.\n   - **Runner performance** — the test step exceeds the configured timeout.\n     Run all files in the step locally with per-file timing; if cumulative\n     local runtime is \u003C10 min and the runner can't complete in 60+ min, the\n     issue is runner performance. Bump the CI timeout as a stopgap and file\n     a follow-up issue for parallelization. Do not loop bumping the timeout\n     past 90 min without filing the follow-up.\n3. Surface cascade failures to the user explicitly. The downstream jobs'\n   results don't exist; the code's coverage of the current HEAD cannot be\n   confirmed by CI alone.\n\n### PR body claim verification\n\nPR body text like \"PHASE 2 council APPROVED (5\u002F5, round 2)\" or \"Final council\nAPPROVED\" must be backed by an evidence file in `.swarm\u002Fevidence\u002F`\n(typically `phase-council.json` or `final-council.json`). Bot-generated PR\nbodies commonly auto-fill these claims without real review. Before accepting\nsuch a claim as part of triage:\n\n1. Check whether the corresponding evidence file exists with `verdict:APPROVED`.\n2. If the claim is unsupported, mark the closure ledger item as\n   `NEEDS_MORE_EVIDENCE` rather than `CONFIRMED`. Do not silently drop the\n   claim — it indicates the PR body was generated without a real review.\n\n## Feedback Ledger\n\nNormalize each item before triage:\n\n```text\nFB-001 | source | author\u002Ftool | status: UNTRIAGED | location | claim | raw link\u002Fquote | depends_on\n```\n\nRules:\n\n- Preserve prior `F-###`, `CI-###`, `CONFLICT-###`, `STALE-###`, and similar\n  IDs from a review handoff when they already exist. Only mint fresh `FB-###`\n  IDs for new feedback discovered after the handoff.\n- Preserve reviewer\u002Fcritic provenance from the handoff artifact so the closure\n  ledger can show which items were review-validated before fix work began.\n- Preserve exact reviewer wording or log summary when practical.\n- Split compound comments into separate ledger items only when they require\n  different evidence or fixes.\n- Keep duplicate symptoms linked to one root cause rather than deleting them.\n- Include conflicts, stale branch state, obsolete older-head CI,\n  generated-output (`dist\u002F`) drift, and other CI failures as first-class ledger\n  items.\n- Use explicit IDs for non-review feedback when useful, for example\n  `CONFLICT-001` for merge\u002Fbase drift and `CI-001` for check failures, so PR\n  bodies can show exactly how operational blockers were closed.\n\n### Mandatory: integrate all PR comments with feedback or findings before validation\n\n**Before the Verification step begins, every PR comment that contains feedback\nor findings MUST be integrated into the total feedback ledger as a\n`FB-###` item.** This is a hard requirement, not a best-effort step.\n\nWhat counts as \"feedback or findings\":\n- A reviewer request for a code change (\"please rename this\", \"add a test for\n  X\", \"this should call `_internals.foo`\")\n- A reviewer claim about correctness, security, or style (\"this is\n  incorrect\", \"X will leak\")\n- A bot reviewer's findings table entries\n- A CI failure with a specific file:line root cause\n- A reviewer question that implies a code change is needed (\"why is this\n  static?\")\n- PR review summaries or aggregate comments\n\nWhat does NOT count (and is therefore not required to be a ledger item):\n- Pure acknowledgements (\"LGTM\", \"looks good\")\n- PR-level metadata changes (title, label, milestone)\n- Force-push acknowledgements\n\nRules:\n- **No finding may be addressed outside the ledger.** If you fix something a\n  reviewer mentioned, the corresponding `FB-###` item MUST be in the ledger\n  before the fix. If you skip the fix, the `FB-###` item MUST be in the\n  ledger with a `DISPROVED`, `PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, or\n  `NEEDS_USER_DECISION` status before validation can begin.\n- **Status semantics for unaddressed items:**\n  - `CONFIRMED` and `PARTIAL` items must be addressed (fixed or\n    disproved) before validation can begin. A `CONFIRMED` item that is\n    left unaddressed is a regression against the review.\n  - `DISPROVED`, `PRE_EXISTING`, `NEEDS_MORE_EVIDENCE`, and\n    `NEEDS_USER_DECISION` items may remain open at validation time, but\n    each must be explicitly justified in the closure ledger.\n- **The closure ledger at the end of the run must account for every `FB-###`\n  item** with a final status (fixed \u002F disproved \u002F pre-existing \u002F needs user\n  decision \u002F needs more evidence).\n- **Comments from the latest bot round take precedence over earlier rounds**\n  for the same finding; the earlier-round `FB-###` item is updated with the\n  new evidence rather than a new item being created.\n- **Multi-round pattern continues to apply** (see \"Multi-Round Bot Reviews\"\n  section). A new bot round adds new `FB-###` items for findings that\n  weren't in the prior round; the prior round's items are carried forward\n  and updated with the new evidence.\n\nRationale: silently addressing a review comment without a corresponding\nledger item means the closure summary at the end of the run cannot\ndemonstrate that every review comment was considered. The closure summary\nis the only artifact the user\u002Fmaintainer reads to confirm the PR is ready\nto merge. Missing items in the ledger = missing items in the closure = a\nPR that ships with unreviewed feedback.\n\n## Verification\n\nClassify every ledger item before fixing:\n\n| Status | Meaning |\n|---|---|\n| `CONFIRMED` | The issue is real, reachable or structurally proven, and introduced or exposed by the PR. |\n| `PARTIAL` | The comment points at a real concern, but the framing, severity, or requested fix is incomplete. |\n| `DISPROVED` | Source, tests, or execution context prove the claim is false, unreachable, or already mitigated. |\n| `PRE_EXISTING` | The issue exists on the base branch and is not materially worsened by the PR. |\n| `NEEDS_MORE_EVIDENCE` | The claim (e.g., \"council APPROVED\") is unsupported by stored evidence (e.g., a missing or failed `.swarm\u002Fevidence\u002F` artifact); more information is required before triage. |\n| `NEEDS_USER_DECISION` | The item requires a product, UX, compatibility, or scope choice that cannot be inferred. |\n\nVerification checklist:\n\n- Read the referenced file and surrounding code.\n- Check caller context, reachability, feature flags, schema validation, guards,\n  state-machine rules, and permission boundaries.\n- Determine whether the issue is PR-introduced, pre-existing, or unresolved.\n- Check related tests and whether a failing\u002Fproposed test would prove the item.\n- Check whether multiple feedback items share one root cause.\n\n### DI seam migration validation\n\nWhen a test file mutates a DI seam object (e.g., `_internals.foo = mock`),\nverify that the production source reads from the seam at call time. A common\nanti-pattern: the test mutates the seam object, but the production code\nimports the named function (`import { foo } from '.\u002Fmodule'`) which is bound\nat module load. The seam mutation has no effect on the named reference,\nso the test fails even though the seam object's `foo === mock`.\n\nVerification: open the source file and grep for call sites. If you see\n`import { foo } from '...'` followed by `foo(...)` in the production code,\nand the test does `_internals.foo = mock`, the test will fail. The fix is\nto change the production code to call `_internals.foo(...)` (or equivalent\nactive-seam pattern) so the seam mutation is read at call time.\n\nIf only a few call sites exist, fix them in the source. If many call sites\nexist, consider whether the migration should use `mock.module()` instead,\nwhich replaces the entire module object (including the named export\nreference).\n\n## Fix Planning\n\nCluster ledger items by root cause before coding. Fix in this order unless a user\ninstruction or dependency requires otherwise:\n\n1. Merge conflicts, stale branch state, and base drift.\n2. Deterministic CI, build, typecheck, formatting, and test failures.\n3. Confirmed correctness, security, data-loss, persistence, git\u002Fwrite-safety, and\n   permission issues.\n4. Test gaps needed to prove confirmed fixes.\n5. Docs, release notes, PR body, and migration guidance.\n6. Reviewer communication and closure summaries.\n\nFor each cluster, record:\n\n```text\nROOT-001 | ledger items: FB-001, FB-004 | files | fix approach | tests | docs | risk\n```\n\nDo not make scope decisions yourself. If the right fix depends on product intent\nor compatibility policy, mark the item `NEEDS_USER_DECISION` and ask.\n\n## Implementation Rules\n\n- Patch only confirmed or partial items, plus required tests\u002Fdocs.\n- Do not implement speculative cleanup while feedback remains unclosed.\n- Never ship unwired code. Any new command, tool, skill, config, docs surface, or\n  generated artifact must be fully registered and validated.\n- Never defer work or declare it out of scope without explicit user instruction.\n- Keep invalid or disproved findings in the closure ledger with the evidence.\n- For CI failures, verify the failing job belongs to the current PR head before\n  treating it as current evidence.\n- For generated output or dist failures, inspect the failing log before rebuilding\n  and commit regenerated files only when the PR touches the source surface.\n- When `main` has a merge queue enabled, do not rebase or force-push a PR only\n  because `main` advanced. Once required checks and review are green, queue the PR\n  and let the merge queue perform final current-base validation. Still resolve real\n  merge conflicts and SHA-dependent review threads before queuing.\n\n## Validation\n\nRun targeted validation for every changed surface:\n\n- exact failing CI\u002Ftest command when reproducing a failure,\n- tests for changed behavior or newly covered gaps,\n- lint\u002Fformat\u002Ftypecheck\u002Fbuild where relevant,\n- `git diff --check`,\n- PR metadata checks after push: head SHA, check status, mergeability\u002Fconflicts,\n  and unresolved feedback state.\n- After conflict fixes, verify remote mergeability is clean (`MERGEABLE` \u002F\n  `CLEAN`), not only that local conflict markers disappeared.\n- For current-head CI, prefer run-level details when PR checks look stale:\n  `gh run view \u003Crun-id> --json headSha,status,conclusion,jobs,url`.\n\nIf a validation failure is suspected pre-existing, prove it on the base branch or\nlabel it `UNVERIFIED`. Do not call the branch green while required checks are\nnon-green.\n\n## Publishing And Communication\n\nAfter fixes, update the PR body or comment with a closure ledger:\n\n```text\nFB-001 | fixed | commit\u002Ftest evidence\nFB-002 | disproved | code evidence\nFB-003 | pre-existing | base-branch evidence\nFB-004 | needs user decision | decision required\nFB-005 | needs more evidence | .swarm\u002Fevidence\u002Fphase-council.json missing\nCONFLICT-001 | fixed | remote mergeability is MERGEABLE\u002FCLEAN\nCI-001 | fixed | current-head check\u002Frun evidence\n```\n\nDo not resolve GitHub review threads unless explicitly instructed. If instructed,\nresolve only threads whose ledger item is fixed or disproved on the pushed PR\nhead, and record the exact evidence used.\n\n## Final Output\n\nReport:\n\n- intake sources checked and unavailable sources,\n- ledger counts by status,\n- root-cause clusters fixed,\n- tests and commands run,\n- unresolved user decisions,\n- CI\u002Fmergeability state,\n- whether review-thread resolution was skipped or explicitly performed.\n\nEnd with a complete ledger mapping every original item to its outcome.\n",{"name":5,"description":7},"main","7709dc9e5ebd3bd641124ad2a3f6bb053ac2dab6",".opencode\u002Fskills\u002Fswarm-pr-feedback",0,"https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev","2026-11-15 04:35:36",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add AlexanderNarbaev\u002Fagi --skill swarm-pr-feedback",{"tool":36,"command":37},"bunx","bunx skills add AlexanderNarbaev\u002Fagi --skill swarm-pr-feedback",{"tool":39,"command":40},"pnpm","pnpm dlx skills add AlexanderNarbaev\u002Fagi --skill swarm-pr-feedback","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-feedback\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M76RZHYHMGE1WP9JBCMNA801","springboot-patterns","Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fspringboot-patterns\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M76RZE6JNZH5HV7Q8JM7R0PN","search-first","Research-before-coding workflow. Search for existing tools, libraries, and patterns before writing custom code. Invokes the researcher agent.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fsearch-first\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M76RZBV42EMQV77H7GMFY4AJ","scholar-evaluation","Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fscholar-evaluation\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M76RZ97GC3XAY48H126C30PM","redis-patterns","Redis data structure patterns, caching strategies, distributed locks, rate limiting, pub\u002Fsub, and connection management for production applications.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fredis-patterns\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M76RZ528FANTKX7Q9XR0CXM7","react-patterns","React 18\u002F19 patterns including hooks discipline, server\u002Fclient component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Freact-patterns\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M76RZ1244PZQRQV5HBQ4PVYQ","query-patterns","SQL patterns, relational database design, query optimization, transactions, analytics, and dialect-aware best practices.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fquery-patterns\u002FSKILL.md",[],[]]