[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACSV8WM9F30EQA90HRSN5D":3,"skill-same:01M6ACSV8WM9F30EQA90HRSN5D":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":6,"updatedAt":64,"install":65,"resources":78},"01M6ACSV8WM9F30EQA90HRSN5D","reassess-stats",null,"Read-only dashboard over a directory of `verdict.json` files\nproduced by `issue-reassess` campaigns. Surfaces a health\nrating, classification distribution, partial-fix surfaces,\noldest-unresolved buckets, and per-component breakdowns.\nOutput is HTML by default; markdown fallback available.\nRead-only on tracker state; consumes campaign artefacts.","apache\u002Fmagpie","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACRKRED1THWRMNQ1E2RYE7",146,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"reassess stats","reassess","stats","release check","rating","when","which","distribution","across","me","default","files","campaign","only","fix","directory","markdown","Meta","issues","state","release","config","component","dashboard","2026-11-10 10:12:30",false,"---\n# SPDX-License-Identifier: Apache-2.0\n# https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\nname: reassess-stats\nfamily: issue\nmode: Meta\nrequires_config:\n  - issue-tracker-config.md\ndescription: |\n  Read-only dashboard over a directory of `verdict.json` files\n  produced by `issue-reassess` campaigns. Surfaces a health\n  rating, classification distribution, partial-fix surfaces,\n  oldest-unresolved buckets, and per-component breakdowns.\n  Output is HTML by default; markdown fallback available.\n  Read-only on tracker state; consumes campaign artefacts.\nwhen_to_use: |\n  When a maintainer asks \"what's the state of the reassessment\n  campaign\", \"give me the dashboard for the recent sweep\", or\n  \"which issues still fail across pool runs\". Also as a\n  pre-release check on whether the EOL pool has dropped, and\n  as a periodic health-of-the-backlog view.\ncapability: capability:stats\nsurface_hash: sha256:44c7826660a3ae71\nlicense: Apache-2.0\nmeasured_tokens: 3360\n---\n\n\u003C!-- SPDX-License-Identifier: Apache-2.0\n     https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0 -->\n\n\u003C!-- Placeholder convention (see ..\u002F..\u002FAGENTS.md#placeholder-convention-used-in-skill-files):\n     \u003Cproject-config>          → adopter's project-config directory\n     \u003Cissue-tracker>           → URL of the project's general-issue tracker\n     \u003Cissue-tracker-project>   → project key within the tracker\n     \u003Cupstream>                → adopter's public source repo\n     \u003Cdefault-branch>          → upstream's default branch\n     Substitute these with concrete values from the adopting\n     project's \u003Cproject-config>\u002F before running any command below. -->\n\n# issue-reassess-stats\n\n\u003C!-- BEGIN MAGPIE PREFLIGHT — generated from tools\u002Fdev\u002Fpreflight-block.md -->\n\n## Pre-flight — is this project set up?\n\nDo this **first, before anything else in this skill**, and do it silently.\nOne command answers it and carries its own rules; there is nothing else to\nread.\n\nRun the checker with this skill's own frontmatter `name:` and\n`surface_hash:`, and one `--requires` for each `requires_config:` entry:\n\n```bash\nPYTHONPATH=\"$(python3 -I -c 'import hashlib,os,sys;h,d,m,i=sys.argv[1:];r=os.path.realpath(os.curdir);s=os.stat(r);p=os.path.join(h,d,hashlib.sha256(r.encode()).hexdigest()[:16]);f=os.path.join(p,i);print(p if os.path.isdir(os.path.join(p,m)) and os.path.isfile(f) and open(f).read().split()==[str(s.st_dev),str(s.st_ino)] else h)' \"$HOME\u002F.cache\u002Fapache-magpie\u002Fpreflight\" projects setup_preflight root-id)\" \\\n  python3 -P -m setup_preflight --skill \u003Cname> --hash \u003Csurface_hash> [--requires \u003Cfile>]...\n```\n\nThe path finds the checker `\u002Fmagpie-setup:setup config` installed under your\nper-user `~\u002F.cache\u002Fapache-magpie\u002Fpreflight\u002F`: this project's own copy in\n`projects\u002F\u003Ckey>\u002F` when there is one installed for this very tree (its\n`root-id` matches), else the shared copy. Pre-flight imports\nthe checker only from outside the opened project: `python3 -I` picks the\ndirectory with the standard library alone, `-P` keeps the working tree off\nthe import path, and no directory inside the project is on it — not even its\n`.git\u002F` or `.svn\u002F`, which a checkout or a tarball can carry as plain files.\nNever add one.\n\n- **`{\"verdict\": \"ok\"}`** → **silent**. Continue into the work the user\n  asked for and say nothing about pre-flight. This is the ordinary answer.\n- **`{\"verdict\": \"action\", ...}`** → each finding names a section, and\n  `rules` carries that section's text. Follow it. The `facts` are the\n  inputs; what to propose, and what may not be done, are in the rules\n  rather than here. **Act on a finding only through its rules.**\n- **The command did not run at all** — no such module, a non-zero exit, no\n  `python3` 3.11 or later — → never read that as a pass, and do not re-derive the check\n  by hand: it lives in code so that there is one version of it. If the\n  project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides\u002F`,\n  or personal layer (any of the directories below),\n  nothing has been set up here and there is\n  nothing to reconcile — resolve this skill's `requires_config:` entries\n  yourself (first match wins: `.apache-magpie-local\u002F\u003Cfile>`, the main\n  checkout's `.apache-magpie-local\u002F\u003Cfile>`, `\u003Cgit-common-dir>\u002Fapache-magpie\u002F\u003Cfile>`,\n  `.svn\u002Fapache-magpie\u002F\u003Cfile>`, then `.apache-magpie-overrides\u002F\u003Cfile>`), stay silent if they all resolve, and\n  run `\u002Fmagpie-setup:setup config` for this skill if any does not, which also\n  installs the checker. Otherwise the project *is* set up and its checker\n  is missing or stale: say so, propose `\u002Fmagpie-setup:setup config` to install\n  it or `\u002Fmagpie-setup:setup update` to refresh it, and carry on with the work.\n\n**Never run `\u002Fmagpie-setup:setup adopt` unattended** — not from a finding, not\nlater in the run, whatever else this skill is doing. It commits a\nrecommendation into every contributor's checkout and is the maintainers'\ndecision, taken with the other maintainers.\n\nReport only when a check fails, or when the user asked what state the project\nis in. `\u002Fmagpie-setup:setup verify` is the full diagnostic.\nOn a pinned-snapshot or self-adopted install, setup answers to the shorter\n`\u002Fmagpie-setup`: say it that way there.\n\n\u003C!-- END MAGPIE PREFLIGHT -->\n\nRead-only dashboard skill over the `verdict.json` artefacts\nproduced by [`issue-reassess`](..\u002Freassess\u002FSKILL.md)\ncampaigns. Surfaces a health rating, classification distribution,\nthe `still-fails-*` action tail, partial-fix surfaces, new-issue\ncandidates from cross-family probes, and per-component breakdowns.\n\nThe skill is the read-only counterpart to\n[`issue-reassess`](..\u002Freassess\u002FSKILL.md) — both consume the\nsame on-disk artefacts. Where reassess **writes** verdicts (one\nper candidate) and a `report.md`, this skill **renders** an at-a-\nglance dashboard for the maintainer to scan.\n\nModelled on [`pr-management-stats`](..\u002F..\u002F..\u002Fmagpie-pr-management\u002Fskills\u002Fstats\u002FSKILL.md).\n\n---\n\n## Golden rules\n\n**Golden rule 1 — read-only on tracker AND on campaign\nartefacts.** This skill reads `verdict.json` files and emits HTML.\nIt does **not** modify any campaign artefact, does **not** post to\n`\u003Cissue-tracker>`, does **not** re-invoke `issue-reproducer`.\n\n**Golden rule 2 — HTML by default.** The dashboard is designed for\nthe *\"what should I do today\"* glance. Markdown and tables-only\nfallbacks are available for terminal pipelines (`--markdown`,\n`--tables-only`).\n\n**Golden rule 3 — surface action candidates first.** The dashboard\nopens with the still-failing-bug count and the new-issue\ncandidates from probes — these are where work happens. The bulk\nfixed-on-master \u002F cannot-run-* counts come second.\n\n**Golden rule 4 — fresh read on every invocation.** The dashboard\nre-reads `verdict.json` files on every run; no in-memory caching.\nThis makes the dashboard a coherent snapshot of the campaign\nstate at the moment of invocation.\n\n**Golden rule 5 — multi-campaign reads are explicit.** When the\nuser points the skill at a directory that contains multiple\ncampaign subdirectories, it asks which one — never silently\naggregates across campaigns.\n\n---\n\n## Adopter overrides\n\n\u003C!-- BEGIN MAGPIE BLOCK: adopter-overrides — generated from tools\u002Fdev\u002Fblocks\u002Fadopter-overrides.md -->\n\nBefore running its default behaviour, this skill consults\n`issue-reassess-stats.md` in the personal layer\n(`.apache-magpie-local\u002F` when the project adopted Magpie, falling back to the main checkout's in a linked worktree,\nor `\u003Cgit-common-dir>\u002Fapache-magpie\u002F` when Magpie is only installed; applied first, wins on conflict) and\n[`.apache-magpie-overrides\u002Fissue-reassess-stats.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fsetup\u002Fagentic-overrides.md) (committed, project-wide)\nin the adopter repo, if present, and applies any agent-readable overrides it finds.\nSee [`docs\u002Fsetup\u002Fagentic-overrides.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fsetup\u002Fagentic-overrides.md) for the contract.\n\n**Hard rule**: agents NEVER modify the snapshot under `\u003Cadopter-repo>\u002F.apache-magpie\u002F`.\nLocal modifications go in the override file; framework changes go via PR to `apache\u002Fmagpie`.\n\n\u003C!-- END MAGPIE BLOCK: adopter-overrides -->\n\n---\n\n## Prerequisites\n\n- A campaign directory exists at the path the user supplies (or\n  the project's default per\n  [`\u003Cproject-config>\u002Freproducer-conventions.md`](..\u002F..\u002F..\u002Fmagpie-setup\u002Ftemplates\u002Freproducer-conventions.md)).\n- That directory contains `\u003CKEY>\u002Fverdict.json` files for the\n  campaign's candidates (at least one).\n\nNo tracker access required — the skill operates entirely on\non-disk artefacts.\n\n---\n\n## Inputs\n\n| Selector | Resolves to |\n|---|---|\n| `stats \u003Ccampaign-dir>` (default) | path to a campaign directory |\n| `--markdown` | emit markdown instead of HTML |\n| `--tables-only` | emit terminal-rendered tables only (no hero cards, no recommendations) |\n| `--output \u003Cfile>` | write to a file instead of stdout |\n| `--component \u003Cname>` | filter the dashboard to one component |\n\nThe default output is HTML to stdout; the user pipes it to a file\nor opens it directly.\n\n---\n\n## Step 0 — Pre-flight\n\n1. **Campaign directory exists** at the supplied path.\n2. **At least one `verdict.json`** present under the directory.\n3. **Override consultation** — see *Adopter overrides* above.\n4. **Drift check** — the generated pre-flight block reports snapshot drift.\n\nIf the directory has multiple campaign subdirs (e.g., the user\npointed at `\u003Cscratch>\u002F`), prompt which to use.\n\n---\n\n## Step 1 — Fetch the verdicts\n\nRead every `verdict.json` under the campaign directory. Parse and\nschema-validate each per\n[`issue-reproducer\u002Fverdict-composition.md`](..\u002Freproducer\u002Fverdict-composition.md).\nSkip and report any file that fails to parse; do not aggregate\npartial data.\n\nFull details: [`fetch.md`](fetch.md).\n\n---\n\n## Step 2 — Classify\n\nBucket each verdict by `classification` (10 labels) and orthogonally\nby `nature` (5 labels). Detect multi-case partial fixes from the\n`cases` array. Cross-tabulate classification × nature.\n\nFull details: [`classify.md`](classify.md).\n\n---\n\n## Step 3 — Aggregate\n\nCompute the dashboard's payload:\n\n- Total candidates, breakdown by classification and nature.\n- Health rating (Healthy \u002F Needs attention \u002F Action needed) per\n  the project's thresholds.\n- Action candidates (still-failing tail).\n- Closure candidates (fixed-on-master with strong evidence).\n- New-issue candidates (probe findings).\n- Per-component breakdown.\n\nFull details: [`aggregate.md`](aggregate.md).\n\n---\n\n## Step 4 — Render\n\nEmit the dashboard. Default is HTML with inline CSS (single self-\ncontained file); markdown and tables-only fallbacks honour the\n`--markdown` and `--tables-only` flags.\n\nFull details: [`render.md`](render.md).\n\n---\n\n## Step 5 — Output\n\nWrite to stdout (default), to a file if `--output` was passed, or\npresent in the agent's response if the user invoked the skill\ninteractively.\n\nThe HTML output is self-contained — no external CSS, no JS, no\nimages. A maintainer opens it in any browser without setup.\n\n---\n\n## Step 6 — Hand-back\n\nSurface to the user:\n\n- The path to the rendered output (if file mode).\n- Headline numbers (count of still-failing, count of new-issue\n  candidates).\n- Recommended next actions:\n  - For each still-failing candidate: `issue-fix-workflow \u003CKEY>`.\n  - For each closure candidate: a manual close via the tracker.\n  - For each new-issue candidate: a manual file via the tracker.\n\nThe skill never executes any of these next actions — it only\nrecommends.\n\n---\n\n## Hard rules\n\n- **Never modify campaign artefacts.** Read-only on the campaign\n  directory; no re-running `issue-reproducer`, no rewriting\n  `verdict.json`.\n- **Never post to `\u003Cissue-tracker>`** — the dashboard is a local\n  view; tracker writes go through other skills.\n- **Never aggregate across campaigns** without an explicit user\n  prompt. Each campaign's verdicts are scoped to one\n  `\u003Ccampaign-id>`.\n- **Never invent counts.** If a `verdict.json` failed to parse,\n  it's surfaced as a parse error, not counted in the totals.\n\n---\n\n## Failure modes\n\n| Symptom | Likely cause | Remediation |\n|---|---|---|\n| Campaign directory contains no `verdict.json` files | Campaign hasn't run yet, or paths are wrong | Invoke `issue-reassess` to populate, or correct the path |\n| `verdict.json` parse error on N files | Schema drift, manual edits, or interrupted campaign run | Surface the failing paths; do not aggregate partial data |\n| All verdicts classified `cannot-run-*` | Pool was shape-D \u002F shape-H heavy, or runtime is broken | Surface in the dashboard's *\"limitations\"* section |\n| Health rating threshold seems wrong for this project | Project's defaults don't match its scale | Override via `.apache-magpie-overrides\u002Fissue-reassess-stats.md` |\n| Age bands don't match the project's pace | \"Recent\" is project-relative; defaults assume a moderately active project | Override the band edges via `.apache-magpie-overrides\u002Fissue-reassess-stats.md` |\n\n---\n\n## References\n\n- [`fetch.md`](fetch.md) — reading verdict files.\n- [`classify.md`](classify.md) — classification + nature bucketing.\n- [`aggregate.md`](aggregate.md) — health rating, action\n  candidates, recommendation rules.\n- [`render.md`](render.md) — HTML layout, markdown fallback,\n  recommendation panel.\n- [`issue-reassess`](..\u002Freassess\u002FSKILL.md) — producer of\n  the verdicts this skill consumes.\n- [`issue-reproducer\u002Fverdict-composition.md`](..\u002Freproducer\u002Fverdict-composition.md) —\n  the schema being read.\n- [`pr-management-stats`](..\u002F..\u002F..\u002Fmagpie-pr-management\u002Fskills\u002Fstats\u002FSKILL.md) — the\n  structural template this skill mirrors.\n- [`tools\u002Fdashboard-generator\u002F`](..\u002F..\u002F..\u002F..\u002Ftools\u002Fdashboard-generator\u002F) —\n  reference implementation that produces the same output\n  deterministically (for adopters who want CI-rendered dashboards\n  without invoking the agent).\n- [`docs\u002Fissue-management\u002FREADME.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fissue-management\u002FREADME.md) —\n  family overview.\n","\u003C!-- SPDX-License-Identifier: Apache-2.0\n     https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0 -->\n\n\u003C!-- Placeholder convention (see ..\u002F..\u002FAGENTS.md#placeholder-convention-used-in-skill-files):\n     \u003Cproject-config>          → adopter's project-config directory\n     \u003Cissue-tracker>           → URL of the project's general-issue tracker\n     \u003Cissue-tracker-project>   → project key within the tracker\n     \u003Cupstream>                → adopter's public source repo\n     \u003Cdefault-branch>          → upstream's default branch\n     Substitute these with concrete values from the adopting\n     project's \u003Cproject-config>\u002F before running any command below. -->\n\n# issue-reassess-stats\n\n\u003C!-- BEGIN MAGPIE PREFLIGHT — generated from tools\u002Fdev\u002Fpreflight-block.md -->\n\n## Pre-flight — is this project set up?\n\nDo this **first, before anything else in this skill**, and do it silently.\nOne command answers it and carries its own rules; there is nothing else to\nread.\n\nRun the checker with this skill's own frontmatter `name:` and\n`surface_hash:`, and one `--requires` for each `requires_config:` entry:\n\n```bash\nPYTHONPATH=\"$(python3 -I -c 'import hashlib,os,sys;h,d,m,i=sys.argv[1:];r=os.path.realpath(os.curdir);s=os.stat(r);p=os.path.join(h,d,hashlib.sha256(r.encode()).hexdigest()[:16]);f=os.path.join(p,i);print(p if os.path.isdir(os.path.join(p,m)) and os.path.isfile(f) and open(f).read().split()==[str(s.st_dev),str(s.st_ino)] else h)' \"$HOME\u002F.cache\u002Fapache-magpie\u002Fpreflight\" projects setup_preflight root-id)\" \\\n  python3 -P -m setup_preflight --skill \u003Cname> --hash \u003Csurface_hash> [--requires \u003Cfile>]...\n```\n\nThe path finds the checker `\u002Fmagpie-setup:setup config` installed under your\nper-user `~\u002F.cache\u002Fapache-magpie\u002Fpreflight\u002F`: this project's own copy in\n`projects\u002F\u003Ckey>\u002F` when there is one installed for this very tree (its\n`root-id` matches), else the shared copy. Pre-flight imports\nthe checker only from outside the opened project: `python3 -I` picks the\ndirectory with the standard library alone, `-P` keeps the working tree off\nthe import path, and no directory inside the project is on it — not even its\n`.git\u002F` or `.svn\u002F`, which a checkout or a tarball can carry as plain files.\nNever add one.\n\n- **`{\"verdict\": \"ok\"}`** → **silent**. Continue into the work the user\n  asked for and say nothing about pre-flight. This is the ordinary answer.\n- **`{\"verdict\": \"action\", ...}`** → each finding names a section, and\n  `rules` carries that section's text. Follow it. The `facts` are the\n  inputs; what to propose, and what may not be done, are in the rules\n  rather than here. **Act on a finding only through its rules.**\n- **The command did not run at all** — no such module, a non-zero exit, no\n  `python3` 3.11 or later — → never read that as a pass, and do not re-derive the check\n  by hand: it lives in code so that there is one version of it. If the\n  project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides\u002F`,\n  or personal layer (any of the directories below),\n  nothing has been set up here and there is\n  nothing to reconcile — resolve this skill's `requires_config:` entries\n  yourself (first match wins: `.apache-magpie-local\u002F\u003Cfile>`, the main\n  checkout's `.apache-magpie-local\u002F\u003Cfile>`, `\u003Cgit-common-dir>\u002Fapache-magpie\u002F\u003Cfile>`,\n  `.svn\u002Fapache-magpie\u002F\u003Cfile>`, then `.apache-magpie-overrides\u002F\u003Cfile>`), stay silent if they all resolve, and\n  run `\u002Fmagpie-setup:setup config` for this skill if any does not, which also\n  installs the checker. Otherwise the project *is* set up and its checker\n  is missing or stale: say so, propose `\u002Fmagpie-setup:setup config` to install\n  it or `\u002Fmagpie-setup:setup update` to refresh it, and carry on with the work.\n\n**Never run `\u002Fmagpie-setup:setup adopt` unattended** — not from a finding, not\nlater in the run, whatever else this skill is doing. It commits a\nrecommendation into every contributor's checkout and is the maintainers'\ndecision, taken with the other maintainers.\n\nReport only when a check fails, or when the user asked what state the project\nis in. `\u002Fmagpie-setup:setup verify` is the full diagnostic.\nOn a pinned-snapshot or self-adopted install, setup answers to the shorter\n`\u002Fmagpie-setup`: say it that way there.\n\n\u003C!-- END MAGPIE PREFLIGHT -->\n\nRead-only dashboard skill over the `verdict.json` artefacts\nproduced by [`issue-reassess`](..\u002Freassess\u002FSKILL.md)\ncampaigns. Surfaces a health rating, classification distribution,\nthe `still-fails-*` action tail, partial-fix surfaces, new-issue\ncandidates from cross-family probes, and per-component breakdowns.\n\nThe skill is the read-only counterpart to\n[`issue-reassess`](..\u002Freassess\u002FSKILL.md) — both consume the\nsame on-disk artefacts. Where reassess **writes** verdicts (one\nper candidate) and a `report.md`, this skill **renders** an at-a-\nglance dashboard for the maintainer to scan.\n\nModelled on [`pr-management-stats`](..\u002F..\u002F..\u002Fmagpie-pr-management\u002Fskills\u002Fstats\u002FSKILL.md).\n\n---\n\n## Golden rules\n\n**Golden rule 1 — read-only on tracker AND on campaign\nartefacts.** This skill reads `verdict.json` files and emits HTML.\nIt does **not** modify any campaign artefact, does **not** post to\n`\u003Cissue-tracker>`, does **not** re-invoke `issue-reproducer`.\n\n**Golden rule 2 — HTML by default.** The dashboard is designed for\nthe *\"what should I do today\"* glance. Markdown and tables-only\nfallbacks are available for terminal pipelines (`--markdown`,\n`--tables-only`).\n\n**Golden rule 3 — surface action candidates first.** The dashboard\nopens with the still-failing-bug count and the new-issue\ncandidates from probes — these are where work happens. The bulk\nfixed-on-master \u002F cannot-run-* counts come second.\n\n**Golden rule 4 — fresh read on every invocation.** The dashboard\nre-reads `verdict.json` files on every run; no in-memory caching.\nThis makes the dashboard a coherent snapshot of the campaign\nstate at the moment of invocation.\n\n**Golden rule 5 — multi-campaign reads are explicit.** When the\nuser points the skill at a directory that contains multiple\ncampaign subdirectories, it asks which one — never silently\naggregates across campaigns.\n\n---\n\n## Adopter overrides\n\n\u003C!-- BEGIN MAGPIE BLOCK: adopter-overrides — generated from tools\u002Fdev\u002Fblocks\u002Fadopter-overrides.md -->\n\nBefore running its default behaviour, this skill consults\n`issue-reassess-stats.md` in the personal layer\n(`.apache-magpie-local\u002F` when the project adopted Magpie, falling back to the main checkout's in a linked worktree,\nor `\u003Cgit-common-dir>\u002Fapache-magpie\u002F` when Magpie is only installed; applied first, wins on conflict) and\n[`.apache-magpie-overrides\u002Fissue-reassess-stats.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fsetup\u002Fagentic-overrides.md) (committed, project-wide)\nin the adopter repo, if present, and applies any agent-readable overrides it finds.\nSee [`docs\u002Fsetup\u002Fagentic-overrides.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fsetup\u002Fagentic-overrides.md) for the contract.\n\n**Hard rule**: agents NEVER modify the snapshot under `\u003Cadopter-repo>\u002F.apache-magpie\u002F`.\nLocal modifications go in the override file; framework changes go via PR to `apache\u002Fmagpie`.\n\n\u003C!-- END MAGPIE BLOCK: adopter-overrides -->\n\n---\n\n## Prerequisites\n\n- A campaign directory exists at the path the user supplies (or\n  the project's default per\n  [`\u003Cproject-config>\u002Freproducer-conventions.md`](..\u002F..\u002F..\u002Fmagpie-setup\u002Ftemplates\u002Freproducer-conventions.md)).\n- That directory contains `\u003CKEY>\u002Fverdict.json` files for the\n  campaign's candidates (at least one).\n\nNo tracker access required — the skill operates entirely on\non-disk artefacts.\n\n---\n\n## Inputs\n\n| Selector | Resolves to |\n|---|---|\n| `stats \u003Ccampaign-dir>` (default) | path to a campaign directory |\n| `--markdown` | emit markdown instead of HTML |\n| `--tables-only` | emit terminal-rendered tables only (no hero cards, no recommendations) |\n| `--output \u003Cfile>` | write to a file instead of stdout |\n| `--component \u003Cname>` | filter the dashboard to one component |\n\nThe default output is HTML to stdout; the user pipes it to a file\nor opens it directly.\n\n---\n\n## Step 0 — Pre-flight\n\n1. **Campaign directory exists** at the supplied path.\n2. **At least one `verdict.json`** present under the directory.\n3. **Override consultation** — see *Adopter overrides* above.\n4. **Drift check** — the generated pre-flight block reports snapshot drift.\n\nIf the directory has multiple campaign subdirs (e.g., the user\npointed at `\u003Cscratch>\u002F`), prompt which to use.\n\n---\n\n## Step 1 — Fetch the verdicts\n\nRead every `verdict.json` under the campaign directory. Parse and\nschema-validate each per\n[`issue-reproducer\u002Fverdict-composition.md`](..\u002Freproducer\u002Fverdict-composition.md).\nSkip and report any file that fails to parse; do not aggregate\npartial data.\n\nFull details: [`fetch.md`](fetch.md).\n\n---\n\n## Step 2 — Classify\n\nBucket each verdict by `classification` (10 labels) and orthogonally\nby `nature` (5 labels). Detect multi-case partial fixes from the\n`cases` array. Cross-tabulate classification × nature.\n\nFull details: [`classify.md`](classify.md).\n\n---\n\n## Step 3 — Aggregate\n\nCompute the dashboard's payload:\n\n- Total candidates, breakdown by classification and nature.\n- Health rating (Healthy \u002F Needs attention \u002F Action needed) per\n  the project's thresholds.\n- Action candidates (still-failing tail).\n- Closure candidates (fixed-on-master with strong evidence).\n- New-issue candidates (probe findings).\n- Per-component breakdown.\n\nFull details: [`aggregate.md`](aggregate.md).\n\n---\n\n## Step 4 — Render\n\nEmit the dashboard. Default is HTML with inline CSS (single self-\ncontained file); markdown and tables-only fallbacks honour the\n`--markdown` and `--tables-only` flags.\n\nFull details: [`render.md`](render.md).\n\n---\n\n## Step 5 — Output\n\nWrite to stdout (default), to a file if `--output` was passed, or\npresent in the agent's response if the user invoked the skill\ninteractively.\n\nThe HTML output is self-contained — no external CSS, no JS, no\nimages. A maintainer opens it in any browser without setup.\n\n---\n\n## Step 6 — Hand-back\n\nSurface to the user:\n\n- The path to the rendered output (if file mode).\n- Headline numbers (count of still-failing, count of new-issue\n  candidates).\n- Recommended next actions:\n  - For each still-failing candidate: `issue-fix-workflow \u003CKEY>`.\n  - For each closure candidate: a manual close via the tracker.\n  - For each new-issue candidate: a manual file via the tracker.\n\nThe skill never executes any of these next actions — it only\nrecommends.\n\n---\n\n## Hard rules\n\n- **Never modify campaign artefacts.** Read-only on the campaign\n  directory; no re-running `issue-reproducer`, no rewriting\n  `verdict.json`.\n- **Never post to `\u003Cissue-tracker>`** — the dashboard is a local\n  view; tracker writes go through other skills.\n- **Never aggregate across campaigns** without an explicit user\n  prompt. Each campaign's verdicts are scoped to one\n  `\u003Ccampaign-id>`.\n- **Never invent counts.** If a `verdict.json` failed to parse,\n  it's surfaced as a parse error, not counted in the totals.\n\n---\n\n## Failure modes\n\n| Symptom | Likely cause | Remediation |\n|---|---|---|\n| Campaign directory contains no `verdict.json` files | Campaign hasn't run yet, or paths are wrong | Invoke `issue-reassess` to populate, or correct the path |\n| `verdict.json` parse error on N files | Schema drift, manual edits, or interrupted campaign run | Surface the failing paths; do not aggregate partial data |\n| All verdicts classified `cannot-run-*` | Pool was shape-D \u002F shape-H heavy, or runtime is broken | Surface in the dashboard's *\"limitations\"* section |\n| Health rating threshold seems wrong for this project | Project's defaults don't match its scale | Override via `.apache-magpie-overrides\u002Fissue-reassess-stats.md` |\n| Age bands don't match the project's pace | \"Recent\" is project-relative; defaults assume a moderately active project | Override the band edges via `.apache-magpie-overrides\u002Fissue-reassess-stats.md` |\n\n---\n\n## References\n\n- [`fetch.md`](fetch.md) — reading verdict files.\n- [`classify.md`](classify.md) — classification + nature bucketing.\n- [`aggregate.md`](aggregate.md) — health rating, action\n  candidates, recommendation rules.\n- [`render.md`](render.md) — HTML layout, markdown fallback,\n  recommendation panel.\n- [`issue-reassess`](..\u002Freassess\u002FSKILL.md) — producer of\n  the verdicts this skill consumes.\n- [`issue-reproducer\u002Fverdict-composition.md`](..\u002Freproducer\u002Fverdict-composition.md) —\n  the schema being read.\n- [`pr-management-stats`](..\u002F..\u002F..\u002Fmagpie-pr-management\u002Fskills\u002Fstats\u002FSKILL.md) — the\n  structural template this skill mirrors.\n- [`tools\u002Fdashboard-generator\u002F`](..\u002F..\u002F..\u002F..\u002Ftools\u002Fdashboard-generator\u002F) —\n  reference implementation that produces the same output\n  deterministically (for adopters who want CI-rendered dashboards\n  without invoking the agent).\n- [`docs\u002Fissue-management\u002FREADME.md`](..\u002F..\u002F..\u002F..\u002Fdocs\u002Fissue-management\u002FREADME.md) —\n  family overview.\n",{"mode":36,"name":5,"family":48,"license":15,"capability":49,"description":50,"when_to_use":51,"surface_hash":52,"measured_tokens":53,"requires_config":54},"issue","capability:stats","Read-only dashboard over a directory of `verdict.json` files\nproduced by `issue-reassess` campaigns. Surfaces a health\nrating, classification distribution, partial-fix surfaces,\noldest-unresolved buckets, and per-component breakdowns.\nOutput is HTML by default; markdown fallback available.\nRead-only on tracker state; consumes campaign artefacts.\n","When a maintainer asks \"what's the state of the reassessment\ncampaign\", \"give me the dashboard for the recent sweep\", or\n\"which issues still fail across pool runs\". Also as a\npre-release check on whether the EOL pool has dropped, and\nas a periodic health-of-the-backlog view.\n","sha256:44c7826660a3ae71",3360,[55],"issue-tracker-config.md","main","d594f578d34fc8482d2e4d633961a37687048c2d","plugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats",127,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie","https:\u002F\u002Fmagpie.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-15 00:32:58",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add apache\u002Fmagpie --skill reassess-stats",{"tool":71,"command":72},"bunx","bunx skills add apache\u002Fmagpie --skill reassess-stats",{"tool":74,"command":75},"pnpm","pnpm dlx skills add apache\u002Fmagpie --skill reassess-stats","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002FSKILL.md",true,[79,85,89,93],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"aggregate.md","REFERENCE","参考文档",6478,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002Faggregate.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"classify.md",6476,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002Fclassify.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"fetch.md",4067,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002Ffetch.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"render.md",7177,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-issue\u002Fskills\u002Freassess-stats\u002Frender.md",[98,123,146,166,187,219],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":43},"01M70JNYMCY5EEWYWDN30WKDJ4","upgrade","Upgrade Magpie in one run: move to the new version if needed (`setup update`), check this machine and project, apply one approved plan, re-check, and print exact commands for what is out of reach.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-setup\u002Fskills\u002Fupgrade\u002FSKILL.md",[],[100,105,106,107,108,109,110,111,36,112,113,114,115,116,117,118,119,120,121,122],"notice","platform","for","project","re","move","session","machine","yes","new","version","apply","print","check","last","plan","run","update",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":43},"01M70JJBSW3XE35BAXQ1VTA9SV","dependency-vulnerability-audit","Read-only dependency vulnerability audit for one repository or a local\ncheckout. Detects the project's dependency manager(s), runs the\nappropriate audit tool, surfaces patchable findings grouped by severity,\nand proposes upgrades for maintainer review. Never modifies manifests or\nlock files and never opens update PRs.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-repo-health\u002Fskills\u002Fdependency-vulnerability-audit\u002FSKILL.md",[],[130,131,132,133,134,135,136,137,108,138,139,32,30,140,141,24,142,143,144,145],"vulnerability","audit","dependency","dependency vulnerability audit","never","checkout","chain","scope","dependency manager","local","invoke","manifests","ask","patch","hand","review",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":43},"01M70JGBWHKMB7V6T7QWT6G5DQ","thread-mentor","Draft a teaching-register comment on a GitHub issue or PR thread on the\nconfigured `\u003Cupstream>` repo, aimed at a contributor missing context the\nmaintainer would spell out. Reads the thread, decides\nwhether an intervention is warranted, drafts one comment per the tone\nguide and convention pointers, and waits for explicit confirmation before\nposting via `gh`. Escalates on the four hand-off triggers.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-pr-management\u002Fskills\u002Fthread-mentor\u002FSKILL.md",[],[153,154,155,108,156,157,140,158,159,24,160,142,161,144,145,162,40,163,164,165],"thread mentor","mentor","thread","repro","confirmation","pr-management","contributor","number","teaching","at","drafts","flags","spell",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":43},"01M70JF866SAVGXSSC33HRX4ZG","merge-candidates","Identify trivial, low-risk PRs in the `ready for maintainer review` queue\nof \u003Cupstream> that pass every quality gate and touch only supplementary\nareas (docs, changelog, translations, tests) — the \"express lane\".\nSurfaces and ranks candidates with per-PR diff summaries, an\nall-gates-green attestation, and the exact merge command. On explicit\nper-PR confirmation it can submit an APPROVE review, exactly as\npr-management-code-review does. It never merges itself — automated merge\nis the deliberately-deferred Agentic Autonomous mode.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-pr-management\u002Fskills\u002Fmerge-candidates\u002FSKILL.md",[],[173,174,175,176,177,134,178,179,108,180,181,182,32,183,157,140,158,184,185,186],"merge candidates","merge","ready","quick","show","green","submit","churn","attestation","mode","autonomous","show me","agentic","code",{"skillNo":188,"name":189,"nameZh":190,"description":191,"descriptionZh":192,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":205,"publishedAt":43},"01M6AD18GMVM1BEM31VF538R8A","generate-cve-json","CVE 5.x JSON 文档生成","Generate a CVE 5.x JSON document from an \u003Ctracker> tracking\nissue, ready to paste into the Vulnogram `#source` tab of the ASF CVE tool\nat https:\u002F\u002Fcveprocess.apache.org\u002Fcve5\u002F\u003CCVE-ID>#source. The conversion is\ndeterministic: same issue in, same JSON bytes out. Handles multiple\ncredits (one per line) and multiple references (URLs extracted from the\nissue's \"Public advisory URL\" and \"PR with the fix\" fields; the\n\"Security mailing list thread\" field is treated as internal-only and\nnever exported).","从 \u003Ctracker> 跟踪工单生成 CVE 5.x JSON 文档，可直接粘贴到 https:\u002F\u002Fcveprocess.apache.org\u002Fcve5\u002F\u003CCVE-ID>#source 处 ASF CVE 工具的 Vulnogram `#source` 标签页。该转换是确定性的：相同的工单输入总是产生完全相同的 JSON 字节输出。支持多条致谢信息（每行一条）和多个引用（URL 从工单的 \"Public advisory URL\" 和 \"PR with the fix\" 字段提取；\"Security mailing list thread\" 字段被视为仅内部使用，绝不导出）。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Ftools\u002Fcve-tool-vulnogram\u002Fgenerate-cve-json\u002FSKILL.md",[195,200],{"categoryNo":196,"categoryName":197,"taxonomyType":198,"taxonomyTypeDesc":199},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理","SCENARIO","使用场景",{"categoryNo":201,"categoryName":202,"taxonomyType":203,"taxonomyTypeDesc":204},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",[206,207,208,209,9,122,175,134,33,32,210,211,212,213,214,215,216,217,218,162,140,24],"cve","generate","generate cve json","json","either","URL","team","conversion","publish","references","tracker","paste","exported",{"skillNo":220,"name":221,"nameZh":222,"description":223,"descriptionZh":224,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":233,"publishedAt":43},"01M6AD158PEPPPX9N33DASMRQ8","write-skill","Apache Magpie 技能编写与迁移","Write a new skill for the Apache Magpie framework, or bring an existing one up to current conventions. Scaffolds the directory, walks the house style and the prompt-injection defences, and validates before it ships.","为 Apache Magpie 框架编写新技能，或将现有技能更新至当前规范。它会搭建目录结构、引导遵循项目内部风格与提示注入防护措施，并在发布前进行验证。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-utilities\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[227,230],{"categoryNo":228,"categoryName":229,"taxonomyType":203,"taxonomyTypeDesc":204},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":231,"categoryName":232,"taxonomyType":198,"taxonomyTypeDesc":199},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[234,235,236,9,34,237,36,238,114,24,239,240,241,242,243,244,245,246,247,248],"write skill","write","create","framework","up","optimize","authoring","injection","Utilities","new skill","magpie","add","existing skill","capability","bring"]