[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70H0ANBKZAVEP1NVV4K28M3":3,"skill-same:01M70H0ANBKZAVEP1NVV4K28M3":68},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M70H0ANBKZAVEP1NVV4K28M3","sweeper-query",null,"Answer natural-language questions about the VS Code Sweeper's published issue index (index-\u003Cname>.json for microsoft\u002Fvscode and the enrolled family repos) — which issues are agent-ready to implement or plan, what the sweeper proposed for an assignee or area, whether the sweeper knows a report as a duplicate, the highest-value open bugs in a lane — and, for one issue, the review's full record (evidence with file citations, fix brief, proposed comment). Use ONLY when the request explicitly names the sweeper — \"sweeper\", \"vscodesweeper\", \"sweeper-query\", a sweeper verdict, record, brief or index, an agent-ready issue — or asks what \"the sweeper\" found, proposed or knows. Do NOT use for general questions about issues, duplicates, priorities or ranking that do not mention the sweeper. Read-only; discovery only.","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195369,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsweeper-query\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"sweeper","sweeper query","query","ready","review","when","request","which","natural-language","ranking","code","duplicates","issues","only","fix","read","plan","open","Citations","brief","2026-11-10 10:12:30",false,"---\nname: sweeper-query\ndescription: Answer natural-language questions about the VS Code Sweeper's published issue index (index-\u003Cname>.json for microsoft\u002Fvscode and the enrolled family repos) — which issues are agent-ready to implement or plan, what the sweeper proposed for an assignee or area, whether the sweeper knows a report as a duplicate, the highest-value open bugs in a lane — and, for one issue, the review's full record (evidence with file citations, fix brief, proposed comment). Use ONLY when the request explicitly names the sweeper — \"sweeper\", \"vscodesweeper\", \"sweeper-query\", a sweeper verdict, record, brief or index, an agent-ready issue — or asks what \"the sweeper\" found, proposed or knows. Do NOT use for general questions about issues, duplicates, priorities or ranking that do not mention the sweeper. Read-only; discovery only.\n---\n\n# Query the sweeper's index\n\nThe sweeper reviews every open issue of microsoft\u002Fvscode and a family of enrolled\nrepos nightly and publishes one JSON index per repo. Each row carries the review's\nverdict, a value score, an agent-readiness tier, a duplicate canonical, the\nassignee, labels and lifecycle stamps. This skill turns a question in plain language\ninto a `jq` query over that file and answers with a short table. For ONE issue it can\ngo one level deeper and read the review record behind the row (section 5).\n\n**You write the jq.** There is no query language to learn and no helper script: read\nthe field reference at the end of this file, map the question onto fields, run `jq`\nagainst the cached index, answer. When the question is ambiguous (which repo? which\nassignee? open only?), prefer the defaults below and say which you used — ask only\nwhen the answer would be useless under every default.\n\n**Read-only, discovery only.** Never comment on, label, close, react to or edit any\nissue, and never write to the state repo. This skill itself acts on nothing: it does\nnot start implementing an issue and it does not pick the next step; the deliverable\nis the list (or, for one issue, the record). What happens next is the caller's call —\nthe user in their own words, or a skill or agent that uses this one as its discovery\nstep (section 6) — under the caller's own rules, never this skill's.\n\n## 1. Pick the repository\n\nOne repo per question. Default: microsoft\u002Fvscode (`index-vscode.json`). Resolve any\nother repo through the roster, never from memory:\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\ngh api \"repos\u002F$STATE\u002Fcontents\u002Ftargets.json?ref=main\" -H \"Accept: application\u002Fvnd.github.raw\" \\\n  | jq -r '.targets[] | select(.sandbox != true) | \"\\(.name)\\t\\(.repo)\\tfixLane=\\(.fixLane)\"'\n```\n\n`name` picks the file (`index-\u003Cname>.json`); `fixLane: false` means the repo's rows\nnever carry `agentReadiness`. Entries flagged `sandbox: true` are the operator's test\nrepo — show them only when asked for by name. A repo not in the roster is not swept;\nsay so instead of guessing a file name.\n\n## 2. Get the index (cached, validated on every question)\n\nThe file is 10–15 MB for vscode and changes only when the sweeper publishes (nightly,\nplus the occasional hand run). Cache it once per target and re-validate the cache\nagainst the file's latest commit before each question — one small request, no\nre-download unless it changed. The recipe stops when either request fails: a stale\ncache must never answer silently (say that GitHub was unreachable instead):\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\nNAME=vscode                                   # from targets.json .targets[].name\nDIR=\"${TMPDIR:-\u002Ftmp}\u002Fsweeper-query\"; mkdir -p \"$DIR\"\nFILE=\"index-$NAME.json\"\nSHA=$(gh api \"repos\u002F$STATE\u002Fcommits?path=$FILE&sha=main&per_page=1\" --jq '.[0].sha') \\\n  && [ -n \"$SHA\" ] || { echo \"cannot validate the cache: commit lookup for $FILE failed\" >&2; exit 1; }\nif [ ! -s \"$DIR\u002F$FILE\" ] || [ \"$(cat \"$DIR\u002F$FILE.sha\" 2>\u002Fdev\u002Fnull)\" != \"$SHA\" ]; then\n  gh api \"repos\u002F$STATE\u002Fcontents\u002F$FILE?ref=main\" -H \"Accept: application\u002Fvnd.github.raw\" > \"$DIR\u002F$FILE.tmp\" \\\n    && mv \"$DIR\u002F$FILE.tmp\" \"$DIR\u002F$FILE\" && printf '%s' \"$SHA\" > \"$DIR\u002F$FILE.sha\" \\\n    || { echo \"refresh of $FILE failed; not answering from a stale cache\" >&2; exit 1; }\nfi\njq -r '\"\\(.target) · \\(.rows | length) rows · generated \\(.generatedAt) · schema \\(.schema)\"' \"$DIR\u002F$FILE\"\n```\n\n`gh api` works whether the state repo is public or private (it will move into the\norg); `gh auth status` must pass. While the repo is public,\n`curl -s https:\u002F\u002Fraw.githubusercontent.com\u002F$STATE\u002Fmain\u002F$FILE` is an equivalent\nfallback for the download step. Refuse an index whose `schema` major is not the one\ndocumented below.\n\n## 3. Write the query — the idioms that matter\n\n- **Open issues have no `currentState`.** Default to open rows unless the question is\n  about closes: `select(.currentState == null)`.\n- **Sparse keys.** A missing key is the default, so write `(.valueRaw \u002F\u002F 0)`,\n  `.linkedPr == null`, `.dismissed != true`, not `.dismissed == false`.\n- **Labels are one comma-joined string.** Exact label match:\n  `((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\"))`. The same for `areaLabels`.\n  A bare `test(\"terminal\")` also matches `terminal-tabs` and `integrated-terminal`;\n  say so if you use it.\n- **\"My issues\" = `owner`**, the assignee login at review time. If the user's login\n  is unknown, `gh api user --jq .login`. Call it \"assignee\" in the answer, not \"owner\".\n- **Ready to implement** (the default meaning of \"agent-ready\" \u002F \"ready to fix\"):\n  `.currentState == null and .agentReadiness == \"implement\" and .linkedPr == null and .skillPr == null and .dismissed != true`.\n  **Ready to plan**: the same with `\"plan\"` — the brief lists open decisions; an\n  agent can start there too. Offer both tiers when the user does not specify. Say\n  that readiness is a review-time snapshot: re-check the live issue (open, no\n  `security` label, no open PR) before anyone starts.\n- **Ranking.** Sort laned rows by `-(.valueRaw \u002F\u002F 0)`. The score is comparable across\n  assignees and areas WITHIN one lane (it has no per-assignee term), never across\n  lanes: features outrank bugs by construction, so filter on `lane` before sorting.\n  `lane == \"bugs\"` has `severity`, `lane == \"features\"` has `signal`.\n- **Time windows.** `reviewedAt`, `createdAt`, `closedAt`, `lastCommentAt` are ISO\n  strings: `.reviewedAt >= (now - 7*86400 | todate)` for \"this week\".\n- **Duplicates.** A duplicate proposal is `closeReason == \"duplicate\"` with the target\n  in `canonical` (`\"12345\"` or `\"owner\u002Frepo#12345\"`); `verifyVerdict` says whether the\n  blinded second review confirmed it.\n- **Hide dismissed rows** (`.dismissed != true`) unless asked about them.\n\n## 4. Answer format\n\n- TSV from jq, `number` first, then `title`, then only the fields the question asked\n  for. Render it as a Markdown table in the answer; link numbers as\n  `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cn>` (the repo is the envelope's `target`).\n- At most 50 rows, and always the total matched (`length` on the filtered array).\n  Offer to narrow rather than print more.\n- Always state the snapshot: the envelope's `generatedAt`, and that `owner`, labels,\n  readiness and open state are as of the review, not live.\n- Never print `proposedComment` for more than one issue, and never dump rows the\n  question did not ask for.\n\n## 5. Drill into one issue — the review record\n\nThe index row is the verdict's summary line. The record behind it carries the\nreview's reasoning: a Summary, the Evidence section with file and line citations into\nthe checkout, the canonical search (which candidates were read and why they were\nrejected), the fix brief under `## Auto-fix candidate` (implement records) or\n`## Plan brief` with its open decisions (plan records), the full proposed comment, and\na few fields the index drops (`breadth`, `priority`, `visionFit`, `milestone`,\n`refutedReason`). Read it when the question is about ONE issue — \"what did the sweeper\nfind on 12345?\", \"why does it think this is a duplicate?\", \"show me the brief\" — or to\nexplain a single row the index query returned. Read the record only when the question\nasks for what the row does not carry — the reasoning, the evidence, the brief or the\nproposed comment; a verdict, readiness, assignee, label or staleness question is\nanswered from the row alone (offer the brief, don't paste it). Never read records in\nbulk; the index is the corpus query.\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\nREPO=microsoft\u002Fvscode                        # the envelope's .target\nN=12345\ngh api \"repos\u002F$STATE\u002Fcontents\u002Frecords\u002F$REPO\u002Fitems\u002F$N.md?ref=state\" -H \"Accept: application\u002Fvnd.github.raw\"\n```\n\nA 404 means the sweeper has not reviewed the issue (it is closed, filtered, or newer\nthan the last sweep) — say so. The row's `reviewUrl`, when present, overrides the\npath. Present the record by its sections, not verbatim: Summary · Proposed action\n(with the proposed comment — one issue, so printing it is fine) · the brief, if any ·\nEvidence as a list of cited locations. Two caveats go in every record answer: the\nrecord is as of its `reviewedAt` (`contentStale` on the index row means the issue has\nchanged since), and evidence line numbers drift with main — point the reader at the\ncited FILE, and let them re-find the lines.\n\n## 6. Use from another skill or script\n\nThis skill composes as instructions, not as a function: an agent that follows another\nskill (say, one that picks and implements bugs) loads this file beside it. Four rules\nkeep the two compatible:\n\n- **The query stays read-only; the caller owns every action.** Nothing in this skill\n  comments, labels, closes or writes, whoever invokes it. A caller that acts on a\n  row does so under its own rules and its own identity.\n- **Machine mode.** When the result feeds a next step instead of a person, emit\n  `jq -c` JSON lines (one row per line, the fields the caller needs, `number` always),\n  no Markdown table, no prose, and no row cap unless the caller sets one — but still\n  state the envelope's `generatedAt` once, so the caller can record the snapshot.\n- **The caller re-checks live before acting.** The index is a review-time snapshot.\n  For each row it is about to act on, the caller verifies against GitHub (read-only):\n  the issue is still open, has no `security` label, has no open PR referencing it,\n  and the assignee has not changed. A row that fails any check is skipped, not fixed.\n- **Records one at a time, for the rows about to be worked.** The caller drills into\n  the record (section 5) only for the issue it is about to act on, when it needs the\n  brief under `## Auto-fix candidate` (or `## Plan brief`) — never for the whole set.\n\nThe stable interfaces are the fetch recipe in section 2 (cache path, SHA validation),\nthe record path in section 5, the ready-to-implement \u002F ready-to-plan predicates in\nsection 3, and the record's `## Auto-fix candidate` \u002F `## Plan brief` sections. The\nmachine-mode form of the implement-ready set, highest value first:\n\n```bash\njq -c '[.rows[] | select(.currentState == null and .agentReadiness == \"implement\"\n        and .linkedPr == null and .skillPr == null and .dismissed != true and .lane == \"bugs\")]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[] | {number, title, owner, labels, severity, valueRaw, reviewedAt, contentStale}' \"$DIR\u002F$FILE\"\n```\n\n## Worked examples\n\n**\"What did the sweeper propose in my area this week?\"** (area = the `terminal`\nlabel; proposals = rows with a `triageAction`, i.e. not keep-open)\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .triageAction != null\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\"))\n        and .reviewedAt >= (now - 7*86400 | todate))]\n  | sort_by(.reviewedAt) | reverse\n  | .[:50][] | [.number, .triageAction, (.closeReason \u002F\u002F .proposedLabel \u002F\u002F \"\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\n**\"Is this a known duplicate before I file?\"** (the report: minimap renders blurry\non a scaled display) — search open titles by the symptom's keywords, then show\nwhether each hit itself carries a duplicate proposal, and whether the blinded second\nreview confirmed it:\n\n```bash\njq -r '[.rows[] | select(.currentState == null\n        and (.title | test(\"minimap\"; \"i\")) and (.title | test(\"blur|scal|dpi|zoom\"; \"i\")))]\n  | sort_by(-(.upvotes \u002F\u002F 0))\n  | .[:20][] | [.number, (.upvotes \u002F\u002F 0), (.canonical \u002F\u002F \"\"), (.verifyVerdict \u002F\u002F \"\"),\n                (if .verifyStale == true then \"stale\" else \"\" end), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\nRead the result for the user. A `canonical` is a PROPOSAL, not a fact: only\n`verifyVerdict == \"confirmed\"` with no `verifyStale` means the family tracks the hit\nunder that canonical — say \"duplicate of N (confirmed)\". A `refuted`, `unverifiable`,\nunverified or stale proposal is \"the sweeper proposed N; not confirmed\", and the user\nshould look at both before deciding not to file. No hit means the index knows no open\nreport with those words (it is a title search, not a semantic one — suggest one more\nphrasing before concluding).\n\n**\"Pick me three implementable papercuts in terminal.\"**\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .agentReadiness == \"implement\"\n        and .linkedPr == null and .skillPr == null and .dismissed != true\n        and .severity == \"papercut\"\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\")))]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[:3][] | [.number, (.valueRaw \u002F\u002F 0), (.owner \u002F\u002F \"unassigned\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\nIf fewer than three match, say so and widen one axis at a time (drop `papercut`, then\noffer `plan`-tier rows), naming the widening.\n\n**\"alexdima's open minimap bugs, by value\"** — the one-liner that seeded this skill:\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .owner == \"alexdima\" and .lane == \"bugs\"\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"editor-minimap\")))]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[:50][] | [.number, (.valueRaw \u002F\u002F 0), (.severity \u002F\u002F \"\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\n**\"What did the sweeper find on 285145?\"** — one issue, so read its record (section\n5). Confirm the row first (open? which verdict? `contentStale`?), then fetch:\n\n```bash\njq -r '.rows[] | select(.number == 285145)\n  | [.number, (.triageAction \u002F\u002F \"keep-open\"), (.agentReadiness \u002F\u002F \"none\"), (.contentStale \u002F\u002F false), .reviewedAt, .title] | @tsv' \"$DIR\u002F$FILE\"\ngh api \"repos\u002F$STATE\u002Fcontents\u002Frecords\u002Fmicrosoft\u002Fvscode\u002Fitems\u002F285145.md?ref=state\" -H \"Accept: application\u002Fvnd.github.raw\"\n```\n\nAnswer with the verdict line, the Summary, the proposed comment (one issue), the brief\nwhen the record is agent-ready, and the Evidence as a list of file citations — with\nthe `reviewedAt` date and the line-drift caveat. If the user then wants to act on\nit, that is their call and a separate task.\n\n## Field reference\n\n\u003C!-- index-schema:start -->\n_Generated from `src\u002Findex-schema.ts` — index schema 2. Do not edit by hand; run `npm run sync-skills`._\n\n**Source.** State repo `egamma\u002Fvscodesweeper-state`, branch `main`: `targets.json` (the roster — one entry per enrolled repo, `name` picks the file) and `index-\u003Cname>.json` per repo (`index-vscode.json` for microsoft\u002Fvscode).\n\n**Envelope.** `{ schema, target, generatedAt, site: { stateRepo, stateBranch }, rows }` — `schema` is the shape version (refuse a major you don't know), `target` the `owner\u002Frepo`, `generatedAt` when the index was built, `rows` the records below.\n\n**Rows are sparse.** A key is omitted when it would hold its default: an open issue has no `currentState`, an unassigned one no `owner`, a non-agent-ready one no `agentReadiness`. Always write `(.x \u002F\u002F default)` or `.x == null` checks. `labels` and `areaLabels` are comma-joined strings, not arrays.\n\n| Field | Type | Present | Meaning |\n|---|---|---|---|\n| `number` | number | always | The issue number. Link: `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cnumber>`. |\n| `title` | string | always | The issue title at review time. |\n| `url` | string | only when the issue URL is not the canonical `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cnumber>` | Safety valve; derive the link from `number` otherwise. |\n| `reviewUrl` | string | only when the record lives off the canonical path | The review record's URL. Canonical: `https:\u002F\u002Fgithub.com\u002F\u003CstateRepo>\u002Fblob\u002Fstate\u002Frecords\u002F\u003Crepo>\u002Fitems\u002F\u003Cnumber>.md`. |\n| `owner` | string | when the issue had an assignee at review time | The assignee's GitHub login (a review-time snapshot, not the live assignee). Say \"assignee\" to users. |\n| `createdAt` | string | always (ISO 8601) | When the issue was opened — the issue's age. |\n| `reviewedAt` | string | always (ISO 8601) | When the sweeper last reviewed the issue. |\n| `labels` | string | when the issue had labels at review time | The issue's labels, COMMA-JOINED into one string (`\"bug, terminal, help wanted\"`). Split before matching: `(.labels \u002F\u002F \"\") \\| split(\", \") \\| index(\"terminal\")`. |\n| `areaLabels` | string | when the review suggested area labels | Area labels the review proposed (or found), comma-joined like `labels`. Informational — nothing applies them. |\n| `itemType` | string | always | What kind of item the review judged this to be. Values: `bug`, `feature-request`, `debt`, `polish`, `upstream`, `question`, `under-discussion`. |\n| `triageAction` | string | when NOT `keep-open` (the absent default; route-to-area is folded into keep-open) | What the sweeper proposes. A proposal is never applied by the sweeper itself. Values: `propose-close`, `needs-info`. |\n| `proposedLabel` | string | when the verdict proposes a label (absent = `none`) | A real label of the repo the verdict proposes (`*duplicate`, `info-needed`, `bug`, …). |\n| `closeReason` | string | on close proposals | Why the close is proposed. Values: `duplicate`, `implemented-on-main`, `as-designed`, `not-reproducible`, `out-of-scope`, `question`, `invalid`. |\n| `canonical` | string | on duplicate close proposals | The issue this one duplicates: `\"12345\"` (same repo) or `\"owner\u002Frepo#12345\"` (cross-repo). |\n| `confidence` | number | always (0–1) | The review's confidence in its verdict. |\n| `proposedComment` | string | when the verdict drafted a comment | The full proposed comment (long). Print it for ONE issue when asked, never in bulk. |\n| `verification` | string | on bugs the review assessed | Reproduction strength tier, best → worst. Values: `Confirmed`, `Source-confirmed`, `Traced`, `Plausible`, `Unverified`, `Inconclusive`, `not applicable`. |\n| `agentReadiness` | string | when not `none` (the absent default) | `implement`: diagnosis done, bounded change, named validation — an agent can go straight to code. `plan`: goal clear, but a design\u002Fdiagnosis decision is open first. A review-time snapshot: the issue may have gained a PR or a `security` label since. Values: `implement`, `plan`. |\n| `autoFixable` | string | always, as the STRING `\"true\"`\u002F`\"false\"` | Legacy boolean = `agentReadiness == \"implement\"`. Prefer `agentReadiness`. |\n| `linkedPr` | string | on agent-ready rows an OPEN contributor PR already references | That PR's URL. Treat the issue as taken. |\n| `skillPr` | string | when a sweeper-implement skill PR exists for the issue | That PR's URL. |\n| `skillPrState` | string | beside `skillPr` | Its state when last seen. Values: `open`, `merged`, `closed`. |\n| `fixPr` | string | historical rows only (retired fork lane) | URL of a draft fix PR from the retired fork lane. |\n| `implementPr` | string | historical rows only (retired implement lane) | URL of a draft PR from the retired implement lane. |\n| `lane` | string | on open keep-open rows of the two ranked types | Which ranking the row belongs to. Rows without a lane are not ranked (closed, close proposals, needs-info, other item types). Values: `bugs`, `features`. |\n| `valueRaw` | number | beside `lane` | The UN-normalized value score (demand × severity\u002Fbreadth, age-damped). Comparable across assignees WITHIN one lane, never across lanes (features outrank bugs by construction); sort with `sort_by(-(.valueRaw \u002F\u002F 0))`. |\n| `upvotes` | number | beside `lane` | 👍 reactions at review time. |\n| `comments` | number | beside `lane` | Comment count at review time. |\n| `severity` | string | bugs lane | The bug's severity class. Values: `crash`, `data-loss`, `freeze`, `perf`, `correctness`, `visual`, `papercut`, `none`. |\n| `signal` | string | features lane | Demand signal: `backlog-candidate` (milestoned Backlog), `active` (recent demand), `dormant`. Values: `backlog-candidate`, `active`, `dormant`. |\n| `infoRequestedAt` | string | on a needs-info row whose request still stands (ISO, or `unknown`) | When the repo's needs-info label was applied. |\n| `infoAnsweredAt` | string | beside `infoRequestedAt`, when the reporter answered but the label is still on | The reporter's first reply after the ask — the issue now waits on the maintainer. |\n| `infoAnsweredBy` | string | beside `infoAnsweredAt` | Who answered. Values: `reporter`. |\n| `infoRequestedBy` | string | on needs-info rows with a post-review request | Login that applied the label. |\n| `infoCommentUsed` | string | on needs-info rows with a post-review request | Whether the proposed question was posted. Values: `verbatim`, `embedded`, `edited`, `none`, `not-proposed`. |\n| `infoActedBy` | string | beside `infoCommentUsed` | Login that posted the question. |\n| `currentState` | string | when CLOSED (absent = open) | Open issues carry no `currentState`. Filter open rows with `select(.currentState == null)`. Values: `closed`. |\n| `closedAt` | string | closed rows (ISO) | When the issue was closed. |\n| `stateReason` | string | closed rows | GitHub's close reason. Values: `completed`, `not_planned`, `duplicate`, `not_found`. |\n| `closedBy` | string | closed rows | Login that closed the issue. |\n| `proposedCommentUsed` | string | closed close-proposal rows | Whether the sweeper's proposed closing comment was posted. Values: `verbatim`, `embedded`, `edited`, `none`, `not-proposed`. |\n| `actedBy` | string | beside `proposedCommentUsed` | Login that posted it. |\n| `autoClosedAt` | string | rows the sweeper-close action closed (ISO) | An automatic close — never a maintainer action. |\n| `autoLane` | string | beside `autoClosedAt` | Which auto-close lane closed it. Values: `duplicate`, `implemented`. |\n| `autoObjectedAt` | string | auto-closed rows someone replied to afterwards (ISO) | A possible objection the assignee should look at. |\n| `lastCommentAt` | string | open rows with a non-bot comment (ISO) | The newest human comment. |\n| `lastCommentBy` | string | beside `lastCommentAt` | `reporter` for the issue author, else the login. |\n| `assigneeActedAt` | string | open rows where a live assignee acted (ISO) | The assignee's latest action. |\n| `previousTriageAction` | string | open rows re-reviewed after a comment | The verdict this review replaced (e.g. `needs-info` → now keep-open). |\n| `previousCloseReason` | string | beside `previousTriageAction` | The replaced verdict's close reason. |\n| `previousCanonical` | string | beside `previousTriageAction` | The replaced verdict's duplicate canonical. |\n| `verifyVerdict` | string | close\u002Fneeds-info proposals a blinded second review checked | The second review's verdict on the proposal. Values: `confirmed`, `refuted`, `unverifiable`. |\n| `verifyEvidence` | string | beside `verifyVerdict` | Its one-line rationale. |\n| `verifyKind` | string | beside `verifyVerdict`, where the lane classifies | Duplicate lane: canonical kind; implemented lane: `bug-fix` \\| `feature`. |\n| `verifyCanonical` | string | duplicate lane | The canonical the verifier found. |\n| `verifyCanonicalRepo` | string | when the verifier's canonical is in another repo | That repo (`owner\u002Fname`). |\n| `verifyStale` | boolean | when the row was re-reviewed after its verification | The verification no longer matches the current review. |\n| `verifyUnreleased` | boolean | implemented lane | Fixed on main but in no stable release yet. |\n| `disputedAgain` | boolean | refuted twice | A refuted proposal whose automatic re-review is spent — for a person. |\n| `verifiedUpdatedAt` | string | when set | Issue `updatedAt` as the verifier saw it. |\n| `dismissed` | boolean | when a maintainer removed the proposal | Hide by default: `select(.dismissed != true)`. |\n| `dismissedIssue` | string | beside `dismissed` | The state-repo issue that recorded the dismissal. |\n| `dismissedAt` | string | beside `dismissed` (ISO) | When. |\n| `dismissedBy` | string | beside `dismissed` | Who. |\n| `dismissedReason` | string | when a reason was given | The maintainer's one-line reason. |\n| `dismissedKind` | string | when classified | Why it was dismissed. Values: `disagree`, `other-direction`, `already-handled`, `keep-open-anyway`, `other`. |\n| `contentStale` | boolean | when the issue changed since its review | The verdict may be out of date. |\n\u003C!-- index-schema:end -->\n","# Query the sweeper's index\n\nThe sweeper reviews every open issue of microsoft\u002Fvscode and a family of enrolled\nrepos nightly and publishes one JSON index per repo. Each row carries the review's\nverdict, a value score, an agent-readiness tier, a duplicate canonical, the\nassignee, labels and lifecycle stamps. This skill turns a question in plain language\ninto a `jq` query over that file and answers with a short table. For ONE issue it can\ngo one level deeper and read the review record behind the row (section 5).\n\n**You write the jq.** There is no query language to learn and no helper script: read\nthe field reference at the end of this file, map the question onto fields, run `jq`\nagainst the cached index, answer. When the question is ambiguous (which repo? which\nassignee? open only?), prefer the defaults below and say which you used — ask only\nwhen the answer would be useless under every default.\n\n**Read-only, discovery only.** Never comment on, label, close, react to or edit any\nissue, and never write to the state repo. This skill itself acts on nothing: it does\nnot start implementing an issue and it does not pick the next step; the deliverable\nis the list (or, for one issue, the record). What happens next is the caller's call —\nthe user in their own words, or a skill or agent that uses this one as its discovery\nstep (section 6) — under the caller's own rules, never this skill's.\n\n## 1. Pick the repository\n\nOne repo per question. Default: microsoft\u002Fvscode (`index-vscode.json`). Resolve any\nother repo through the roster, never from memory:\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\ngh api \"repos\u002F$STATE\u002Fcontents\u002Ftargets.json?ref=main\" -H \"Accept: application\u002Fvnd.github.raw\" \\\n  | jq -r '.targets[] | select(.sandbox != true) | \"\\(.name)\\t\\(.repo)\\tfixLane=\\(.fixLane)\"'\n```\n\n`name` picks the file (`index-\u003Cname>.json`); `fixLane: false` means the repo's rows\nnever carry `agentReadiness`. Entries flagged `sandbox: true` are the operator's test\nrepo — show them only when asked for by name. A repo not in the roster is not swept;\nsay so instead of guessing a file name.\n\n## 2. Get the index (cached, validated on every question)\n\nThe file is 10–15 MB for vscode and changes only when the sweeper publishes (nightly,\nplus the occasional hand run). Cache it once per target and re-validate the cache\nagainst the file's latest commit before each question — one small request, no\nre-download unless it changed. The recipe stops when either request fails: a stale\ncache must never answer silently (say that GitHub was unreachable instead):\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\nNAME=vscode                                   # from targets.json .targets[].name\nDIR=\"${TMPDIR:-\u002Ftmp}\u002Fsweeper-query\"; mkdir -p \"$DIR\"\nFILE=\"index-$NAME.json\"\nSHA=$(gh api \"repos\u002F$STATE\u002Fcommits?path=$FILE&sha=main&per_page=1\" --jq '.[0].sha') \\\n  && [ -n \"$SHA\" ] || { echo \"cannot validate the cache: commit lookup for $FILE failed\" >&2; exit 1; }\nif [ ! -s \"$DIR\u002F$FILE\" ] || [ \"$(cat \"$DIR\u002F$FILE.sha\" 2>\u002Fdev\u002Fnull)\" != \"$SHA\" ]; then\n  gh api \"repos\u002F$STATE\u002Fcontents\u002F$FILE?ref=main\" -H \"Accept: application\u002Fvnd.github.raw\" > \"$DIR\u002F$FILE.tmp\" \\\n    && mv \"$DIR\u002F$FILE.tmp\" \"$DIR\u002F$FILE\" && printf '%s' \"$SHA\" > \"$DIR\u002F$FILE.sha\" \\\n    || { echo \"refresh of $FILE failed; not answering from a stale cache\" >&2; exit 1; }\nfi\njq -r '\"\\(.target) · \\(.rows | length) rows · generated \\(.generatedAt) · schema \\(.schema)\"' \"$DIR\u002F$FILE\"\n```\n\n`gh api` works whether the state repo is public or private (it will move into the\norg); `gh auth status` must pass. While the repo is public,\n`curl -s https:\u002F\u002Fraw.githubusercontent.com\u002F$STATE\u002Fmain\u002F$FILE` is an equivalent\nfallback for the download step. Refuse an index whose `schema` major is not the one\ndocumented below.\n\n## 3. Write the query — the idioms that matter\n\n- **Open issues have no `currentState`.** Default to open rows unless the question is\n  about closes: `select(.currentState == null)`.\n- **Sparse keys.** A missing key is the default, so write `(.valueRaw \u002F\u002F 0)`,\n  `.linkedPr == null`, `.dismissed != true`, not `.dismissed == false`.\n- **Labels are one comma-joined string.** Exact label match:\n  `((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\"))`. The same for `areaLabels`.\n  A bare `test(\"terminal\")` also matches `terminal-tabs` and `integrated-terminal`;\n  say so if you use it.\n- **\"My issues\" = `owner`**, the assignee login at review time. If the user's login\n  is unknown, `gh api user --jq .login`. Call it \"assignee\" in the answer, not \"owner\".\n- **Ready to implement** (the default meaning of \"agent-ready\" \u002F \"ready to fix\"):\n  `.currentState == null and .agentReadiness == \"implement\" and .linkedPr == null and .skillPr == null and .dismissed != true`.\n  **Ready to plan**: the same with `\"plan\"` — the brief lists open decisions; an\n  agent can start there too. Offer both tiers when the user does not specify. Say\n  that readiness is a review-time snapshot: re-check the live issue (open, no\n  `security` label, no open PR) before anyone starts.\n- **Ranking.** Sort laned rows by `-(.valueRaw \u002F\u002F 0)`. The score is comparable across\n  assignees and areas WITHIN one lane (it has no per-assignee term), never across\n  lanes: features outrank bugs by construction, so filter on `lane` before sorting.\n  `lane == \"bugs\"` has `severity`, `lane == \"features\"` has `signal`.\n- **Time windows.** `reviewedAt`, `createdAt`, `closedAt`, `lastCommentAt` are ISO\n  strings: `.reviewedAt >= (now - 7*86400 | todate)` for \"this week\".\n- **Duplicates.** A duplicate proposal is `closeReason == \"duplicate\"` with the target\n  in `canonical` (`\"12345\"` or `\"owner\u002Frepo#12345\"`); `verifyVerdict` says whether the\n  blinded second review confirmed it.\n- **Hide dismissed rows** (`.dismissed != true`) unless asked about them.\n\n## 4. Answer format\n\n- TSV from jq, `number` first, then `title`, then only the fields the question asked\n  for. Render it as a Markdown table in the answer; link numbers as\n  `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cn>` (the repo is the envelope's `target`).\n- At most 50 rows, and always the total matched (`length` on the filtered array).\n  Offer to narrow rather than print more.\n- Always state the snapshot: the envelope's `generatedAt`, and that `owner`, labels,\n  readiness and open state are as of the review, not live.\n- Never print `proposedComment` for more than one issue, and never dump rows the\n  question did not ask for.\n\n## 5. Drill into one issue — the review record\n\nThe index row is the verdict's summary line. The record behind it carries the\nreview's reasoning: a Summary, the Evidence section with file and line citations into\nthe checkout, the canonical search (which candidates were read and why they were\nrejected), the fix brief under `## Auto-fix candidate` (implement records) or\n`## Plan brief` with its open decisions (plan records), the full proposed comment, and\na few fields the index drops (`breadth`, `priority`, `visionFit`, `milestone`,\n`refutedReason`). Read it when the question is about ONE issue — \"what did the sweeper\nfind on 12345?\", \"why does it think this is a duplicate?\", \"show me the brief\" — or to\nexplain a single row the index query returned. Read the record only when the question\nasks for what the row does not carry — the reasoning, the evidence, the brief or the\nproposed comment; a verdict, readiness, assignee, label or staleness question is\nanswered from the row alone (offer the brief, don't paste it). Never read records in\nbulk; the index is the corpus query.\n\n```bash\nSTATE=egamma\u002Fvscodesweeper-state\nREPO=microsoft\u002Fvscode                        # the envelope's .target\nN=12345\ngh api \"repos\u002F$STATE\u002Fcontents\u002Frecords\u002F$REPO\u002Fitems\u002F$N.md?ref=state\" -H \"Accept: application\u002Fvnd.github.raw\"\n```\n\nA 404 means the sweeper has not reviewed the issue (it is closed, filtered, or newer\nthan the last sweep) — say so. The row's `reviewUrl`, when present, overrides the\npath. Present the record by its sections, not verbatim: Summary · Proposed action\n(with the proposed comment — one issue, so printing it is fine) · the brief, if any ·\nEvidence as a list of cited locations. Two caveats go in every record answer: the\nrecord is as of its `reviewedAt` (`contentStale` on the index row means the issue has\nchanged since), and evidence line numbers drift with main — point the reader at the\ncited FILE, and let them re-find the lines.\n\n## 6. Use from another skill or script\n\nThis skill composes as instructions, not as a function: an agent that follows another\nskill (say, one that picks and implements bugs) loads this file beside it. Four rules\nkeep the two compatible:\n\n- **The query stays read-only; the caller owns every action.** Nothing in this skill\n  comments, labels, closes or writes, whoever invokes it. A caller that acts on a\n  row does so under its own rules and its own identity.\n- **Machine mode.** When the result feeds a next step instead of a person, emit\n  `jq -c` JSON lines (one row per line, the fields the caller needs, `number` always),\n  no Markdown table, no prose, and no row cap unless the caller sets one — but still\n  state the envelope's `generatedAt` once, so the caller can record the snapshot.\n- **The caller re-checks live before acting.** The index is a review-time snapshot.\n  For each row it is about to act on, the caller verifies against GitHub (read-only):\n  the issue is still open, has no `security` label, has no open PR referencing it,\n  and the assignee has not changed. A row that fails any check is skipped, not fixed.\n- **Records one at a time, for the rows about to be worked.** The caller drills into\n  the record (section 5) only for the issue it is about to act on, when it needs the\n  brief under `## Auto-fix candidate` (or `## Plan brief`) — never for the whole set.\n\nThe stable interfaces are the fetch recipe in section 2 (cache path, SHA validation),\nthe record path in section 5, the ready-to-implement \u002F ready-to-plan predicates in\nsection 3, and the record's `## Auto-fix candidate` \u002F `## Plan brief` sections. The\nmachine-mode form of the implement-ready set, highest value first:\n\n```bash\njq -c '[.rows[] | select(.currentState == null and .agentReadiness == \"implement\"\n        and .linkedPr == null and .skillPr == null and .dismissed != true and .lane == \"bugs\")]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[] | {number, title, owner, labels, severity, valueRaw, reviewedAt, contentStale}' \"$DIR\u002F$FILE\"\n```\n\n## Worked examples\n\n**\"What did the sweeper propose in my area this week?\"** (area = the `terminal`\nlabel; proposals = rows with a `triageAction`, i.e. not keep-open)\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .triageAction != null\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\"))\n        and .reviewedAt >= (now - 7*86400 | todate))]\n  | sort_by(.reviewedAt) | reverse\n  | .[:50][] | [.number, .triageAction, (.closeReason \u002F\u002F .proposedLabel \u002F\u002F \"\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\n**\"Is this a known duplicate before I file?\"** (the report: minimap renders blurry\non a scaled display) — search open titles by the symptom's keywords, then show\nwhether each hit itself carries a duplicate proposal, and whether the blinded second\nreview confirmed it:\n\n```bash\njq -r '[.rows[] | select(.currentState == null\n        and (.title | test(\"minimap\"; \"i\")) and (.title | test(\"blur|scal|dpi|zoom\"; \"i\")))]\n  | sort_by(-(.upvotes \u002F\u002F 0))\n  | .[:20][] | [.number, (.upvotes \u002F\u002F 0), (.canonical \u002F\u002F \"\"), (.verifyVerdict \u002F\u002F \"\"),\n                (if .verifyStale == true then \"stale\" else \"\" end), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\nRead the result for the user. A `canonical` is a PROPOSAL, not a fact: only\n`verifyVerdict == \"confirmed\"` with no `verifyStale` means the family tracks the hit\nunder that canonical — say \"duplicate of N (confirmed)\". A `refuted`, `unverifiable`,\nunverified or stale proposal is \"the sweeper proposed N; not confirmed\", and the user\nshould look at both before deciding not to file. No hit means the index knows no open\nreport with those words (it is a title search, not a semantic one — suggest one more\nphrasing before concluding).\n\n**\"Pick me three implementable papercuts in terminal.\"**\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .agentReadiness == \"implement\"\n        and .linkedPr == null and .skillPr == null and .dismissed != true\n        and .severity == \"papercut\"\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"terminal\")))]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[:3][] | [.number, (.valueRaw \u002F\u002F 0), (.owner \u002F\u002F \"unassigned\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\nIf fewer than three match, say so and widen one axis at a time (drop `papercut`, then\noffer `plan`-tier rows), naming the widening.\n\n**\"alexdima's open minimap bugs, by value\"** — the one-liner that seeded this skill:\n\n```bash\njq -r '[.rows[] | select(.currentState == null and .owner == \"alexdima\" and .lane == \"bugs\"\n        and ((.labels \u002F\u002F \"\") | split(\", \") | index(\"editor-minimap\")))]\n  | sort_by(-(.valueRaw \u002F\u002F 0))\n  | .[:50][] | [.number, (.valueRaw \u002F\u002F 0), (.severity \u002F\u002F \"\"), .title] | @tsv' \"$DIR\u002F$FILE\"\n```\n\n**\"What did the sweeper find on 285145?\"** — one issue, so read its record (section\n5). Confirm the row first (open? which verdict? `contentStale`?), then fetch:\n\n```bash\njq -r '.rows[] | select(.number == 285145)\n  | [.number, (.triageAction \u002F\u002F \"keep-open\"), (.agentReadiness \u002F\u002F \"none\"), (.contentStale \u002F\u002F false), .reviewedAt, .title] | @tsv' \"$DIR\u002F$FILE\"\ngh api \"repos\u002F$STATE\u002Fcontents\u002Frecords\u002Fmicrosoft\u002Fvscode\u002Fitems\u002F285145.md?ref=state\" -H \"Accept: application\u002Fvnd.github.raw\"\n```\n\nAnswer with the verdict line, the Summary, the proposed comment (one issue), the brief\nwhen the record is agent-ready, and the Evidence as a list of file citations — with\nthe `reviewedAt` date and the line-drift caveat. If the user then wants to act on\nit, that is their call and a separate task.\n\n## Field reference\n\n\u003C!-- index-schema:start -->\n_Generated from `src\u002Findex-schema.ts` — index schema 2. Do not edit by hand; run `npm run sync-skills`._\n\n**Source.** State repo `egamma\u002Fvscodesweeper-state`, branch `main`: `targets.json` (the roster — one entry per enrolled repo, `name` picks the file) and `index-\u003Cname>.json` per repo (`index-vscode.json` for microsoft\u002Fvscode).\n\n**Envelope.** `{ schema, target, generatedAt, site: { stateRepo, stateBranch }, rows }` — `schema` is the shape version (refuse a major you don't know), `target` the `owner\u002Frepo`, `generatedAt` when the index was built, `rows` the records below.\n\n**Rows are sparse.** A key is omitted when it would hold its default: an open issue has no `currentState`, an unassigned one no `owner`, a non-agent-ready one no `agentReadiness`. Always write `(.x \u002F\u002F default)` or `.x == null` checks. `labels` and `areaLabels` are comma-joined strings, not arrays.\n\n| Field | Type | Present | Meaning |\n|---|---|---|---|\n| `number` | number | always | The issue number. Link: `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cnumber>`. |\n| `title` | string | always | The issue title at review time. |\n| `url` | string | only when the issue URL is not the canonical `https:\u002F\u002Fgithub.com\u002F\u003Crepo>\u002Fissues\u002F\u003Cnumber>` | Safety valve; derive the link from `number` otherwise. |\n| `reviewUrl` | string | only when the record lives off the canonical path | The review record's URL. Canonical: `https:\u002F\u002Fgithub.com\u002F\u003CstateRepo>\u002Fblob\u002Fstate\u002Frecords\u002F\u003Crepo>\u002Fitems\u002F\u003Cnumber>.md`. |\n| `owner` | string | when the issue had an assignee at review time | The assignee's GitHub login (a review-time snapshot, not the live assignee). Say \"assignee\" to users. |\n| `createdAt` | string | always (ISO 8601) | When the issue was opened — the issue's age. |\n| `reviewedAt` | string | always (ISO 8601) | When the sweeper last reviewed the issue. |\n| `labels` | string | when the issue had labels at review time | The issue's labels, COMMA-JOINED into one string (`\"bug, terminal, help wanted\"`). Split before matching: `(.labels \u002F\u002F \"\") \\| split(\", \") \\| index(\"terminal\")`. |\n| `areaLabels` | string | when the review suggested area labels | Area labels the review proposed (or found), comma-joined like `labels`. Informational — nothing applies them. |\n| `itemType` | string | always | What kind of item the review judged this to be. Values: `bug`, `feature-request`, `debt`, `polish`, `upstream`, `question`, `under-discussion`. |\n| `triageAction` | string | when NOT `keep-open` (the absent default; route-to-area is folded into keep-open) | What the sweeper proposes. A proposal is never applied by the sweeper itself. Values: `propose-close`, `needs-info`. |\n| `proposedLabel` | string | when the verdict proposes a label (absent = `none`) | A real label of the repo the verdict proposes (`*duplicate`, `info-needed`, `bug`, …). |\n| `closeReason` | string | on close proposals | Why the close is proposed. Values: `duplicate`, `implemented-on-main`, `as-designed`, `not-reproducible`, `out-of-scope`, `question`, `invalid`. |\n| `canonical` | string | on duplicate close proposals | The issue this one duplicates: `\"12345\"` (same repo) or `\"owner\u002Frepo#12345\"` (cross-repo). |\n| `confidence` | number | always (0–1) | The review's confidence in its verdict. |\n| `proposedComment` | string | when the verdict drafted a comment | The full proposed comment (long). Print it for ONE issue when asked, never in bulk. |\n| `verification` | string | on bugs the review assessed | Reproduction strength tier, best → worst. Values: `Confirmed`, `Source-confirmed`, `Traced`, `Plausible`, `Unverified`, `Inconclusive`, `not applicable`. |\n| `agentReadiness` | string | when not `none` (the absent default) | `implement`: diagnosis done, bounded change, named validation — an agent can go straight to code. `plan`: goal clear, but a design\u002Fdiagnosis decision is open first. A review-time snapshot: the issue may have gained a PR or a `security` label since. Values: `implement`, `plan`. |\n| `autoFixable` | string | always, as the STRING `\"true\"`\u002F`\"false\"` | Legacy boolean = `agentReadiness == \"implement\"`. Prefer `agentReadiness`. |\n| `linkedPr` | string | on agent-ready rows an OPEN contributor PR already references | That PR's URL. Treat the issue as taken. |\n| `skillPr` | string | when a sweeper-implement skill PR exists for the issue | That PR's URL. |\n| `skillPrState` | string | beside `skillPr` | Its state when last seen. Values: `open`, `merged`, `closed`. |\n| `fixPr` | string | historical rows only (retired fork lane) | URL of a draft fix PR from the retired fork lane. |\n| `implementPr` | string | historical rows only (retired implement lane) | URL of a draft PR from the retired implement lane. |\n| `lane` | string | on open keep-open rows of the two ranked types | Which ranking the row belongs to. Rows without a lane are not ranked (closed, close proposals, needs-info, other item types). Values: `bugs`, `features`. |\n| `valueRaw` | number | beside `lane` | The UN-normalized value score (demand × severity\u002Fbreadth, age-damped). Comparable across assignees WITHIN one lane, never across lanes (features outrank bugs by construction); sort with `sort_by(-(.valueRaw \u002F\u002F 0))`. |\n| `upvotes` | number | beside `lane` | 👍 reactions at review time. |\n| `comments` | number | beside `lane` | Comment count at review time. |\n| `severity` | string | bugs lane | The bug's severity class. Values: `crash`, `data-loss`, `freeze`, `perf`, `correctness`, `visual`, `papercut`, `none`. |\n| `signal` | string | features lane | Demand signal: `backlog-candidate` (milestoned Backlog), `active` (recent demand), `dormant`. Values: `backlog-candidate`, `active`, `dormant`. |\n| `infoRequestedAt` | string | on a needs-info row whose request still stands (ISO, or `unknown`) | When the repo's needs-info label was applied. |\n| `infoAnsweredAt` | string | beside `infoRequestedAt`, when the reporter answered but the label is still on | The reporter's first reply after the ask — the issue now waits on the maintainer. |\n| `infoAnsweredBy` | string | beside `infoAnsweredAt` | Who answered. Values: `reporter`. |\n| `infoRequestedBy` | string | on needs-info rows with a post-review request | Login that applied the label. |\n| `infoCommentUsed` | string | on needs-info rows with a post-review request | Whether the proposed question was posted. Values: `verbatim`, `embedded`, `edited`, `none`, `not-proposed`. |\n| `infoActedBy` | string | beside `infoCommentUsed` | Login that posted the question. |\n| `currentState` | string | when CLOSED (absent = open) | Open issues carry no `currentState`. Filter open rows with `select(.currentState == null)`. Values: `closed`. |\n| `closedAt` | string | closed rows (ISO) | When the issue was closed. |\n| `stateReason` | string | closed rows | GitHub's close reason. Values: `completed`, `not_planned`, `duplicate`, `not_found`. |\n| `closedBy` | string | closed rows | Login that closed the issue. |\n| `proposedCommentUsed` | string | closed close-proposal rows | Whether the sweeper's proposed closing comment was posted. Values: `verbatim`, `embedded`, `edited`, `none`, `not-proposed`. |\n| `actedBy` | string | beside `proposedCommentUsed` | Login that posted it. |\n| `autoClosedAt` | string | rows the sweeper-close action closed (ISO) | An automatic close — never a maintainer action. |\n| `autoLane` | string | beside `autoClosedAt` | Which auto-close lane closed it. Values: `duplicate`, `implemented`. |\n| `autoObjectedAt` | string | auto-closed rows someone replied to afterwards (ISO) | A possible objection the assignee should look at. |\n| `lastCommentAt` | string | open rows with a non-bot comment (ISO) | The newest human comment. |\n| `lastCommentBy` | string | beside `lastCommentAt` | `reporter` for the issue author, else the login. |\n| `assigneeActedAt` | string | open rows where a live assignee acted (ISO) | The assignee's latest action. |\n| `previousTriageAction` | string | open rows re-reviewed after a comment | The verdict this review replaced (e.g. `needs-info` → now keep-open). |\n| `previousCloseReason` | string | beside `previousTriageAction` | The replaced verdict's close reason. |\n| `previousCanonical` | string | beside `previousTriageAction` | The replaced verdict's duplicate canonical. |\n| `verifyVerdict` | string | close\u002Fneeds-info proposals a blinded second review checked | The second review's verdict on the proposal. Values: `confirmed`, `refuted`, `unverifiable`. |\n| `verifyEvidence` | string | beside `verifyVerdict` | Its one-line rationale. |\n| `verifyKind` | string | beside `verifyVerdict`, where the lane classifies | Duplicate lane: canonical kind; implemented lane: `bug-fix` \\| `feature`. |\n| `verifyCanonical` | string | duplicate lane | The canonical the verifier found. |\n| `verifyCanonicalRepo` | string | when the verifier's canonical is in another repo | That repo (`owner\u002Fname`). |\n| `verifyStale` | boolean | when the row was re-reviewed after its verification | The verification no longer matches the current review. |\n| `verifyUnreleased` | boolean | implemented lane | Fixed on main but in no stable release yet. |\n| `disputedAgain` | boolean | refuted twice | A refuted proposal whose automatic re-review is spent — for a person. |\n| `verifiedUpdatedAt` | string | when set | Issue `updatedAt` as the verifier saw it. |\n| `dismissed` | boolean | when a maintainer removed the proposal | Hide by default: `select(.dismissed != true)`. |\n| `dismissedIssue` | string | beside `dismissed` | The state-repo issue that recorded the dismissal. |\n| `dismissedAt` | string | beside `dismissed` (ISO) | When. |\n| `dismissedBy` | string | beside `dismissed` | Who. |\n| `dismissedReason` | string | when a reason was given | The maintainer's one-line reason. |\n| `dismissedKind` | string | when classified | Why it was dismissed. Values: `disagree`, `other-direction`, `already-handled`, `keep-open-anyway`, `other`. |\n| `contentStale` | boolean | when the issue changed since its review | The verdict may be out of date. |\n\u003C!-- index-schema:end -->\n",{"name":5,"description":7},"main","4991a88ff5fb439088caf416d41d54d81446539d",".github\u002Fskills\u002Fsweeper-query",43835,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode","https:\u002F\u002Fcode.visualstudio.com","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 03:00:24",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add microsoft\u002Fvscode --skill sweeper-query",{"tool":60,"command":61},"bunx","bunx skills add microsoft\u002Fvscode --skill sweeper-query",{"tool":63,"command":64},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill sweeper-query","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsweeper-query\u002FSKILL.md",true,[],[69,77,84,91,126,146],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7B4XRMJX3WB67XWMX3GVHNN","vscode-ui","Present metrics, comparisons, tables, bar charts, and expandable details as native visuals inside an Agents window response. Use when numbers or a comparison are clearer shown than described. Not for diagrams, mockups, or standalone documents.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fvscode-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M78JJQ6C7V7NR93D5D9N2VCA","html-preview","Create visual reports, implementation plans, code-review explainers, comparisons, diagrams, and static UI mockups as inline HTML previews in the Agents window. Use when the user asks for visual or rendered output, not ordinary HTML code examples.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fhtml-preview\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M78JJDRGWKHBBZY6W3GY2CQ9","endgame-status","Report VS Code endgame status, focusing on test-plan progress, tester activity, release-branch PRs, and release-build availability.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fendgame-status\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":94,"description":95,"descriptionZh":96,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":109,"publishedAt":39},"01M699DRJS4YJCV600Q72SVVWE","update-skills","仓库技能与指令更新","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","当在会话中发现重要经验教训时，创建或更新仓库技能与指令。当用户说\"learn!\"、识别出重要模式或陷阱，或需要为未来会话捕获可复用的领域知识时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[99,104],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":105,"categoryName":106,"taxonomyType":107,"taxonomyTypeDesc":108},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理","SCENARIO","使用场景",[110,111,112,113,114,115,116,117,24,118,119,120,121,122,123,124,125],"update skills","update","for","sessions","domain","session","knowledge","use","reusable","learn","learnings","create","instructions","repository","pattern","user",{"skillNo":127,"name":128,"nameZh":129,"description":130,"descriptionZh":131,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":138,"publishedAt":39},"01M699DPWHZ72B66P82EW31RNE","update-pr","Pull Request 更新与推送","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","更新当前会话的拉取请求（Pull Request）。当用户希望把新变更推送到已有 PR 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[134,135],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},{"categoryNo":136,"categoryName":137,"taxonomyType":107,"taxonomyTypeDesc":108},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[111,139,140,117,141,24,125,112,115,142,143,144,145,25],"pr","update pr","Existing","pull","push","changes","pull request",{"skillNo":147,"name":148,"nameZh":149,"description":150,"descriptionZh":151,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":156,"publishedAt":39},"01M699DJMR6CE1MH5XCJZ0GFQ0","sync","Git 分支同步与发布","Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.","将当前会话分支与其上游分支同步，或将当前会话分支发布到远程仓库。当用户要求同步分支、拉取最新变更、变基到上游、推送当前分支、发布分支或设置上游分支时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[154,155],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},{"categoryNo":136,"categoryName":137,"taxonomyType":107,"taxonomyTypeDesc":108},[148,157,158,142,159,143,115,160,161,117,24,162,144,163,164,125],"with","SET","branch","upstream","remote","publish","latest","rebase"]