{
  "slug": "github-graphql-api-projectv2-items-filters-by-archived-state-a252043c0738",
  "title": "github-graphql-api ProjectV2.items filters by archived state",
  "tools": [
    "github-graphql-api"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-08T00:00:00.000Z",
  "announced_at": "2026-06-08T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When querying a project’s items, pass `archivedStates` to filter by archive status. Use `ARCHIVED` for archived items or `NOT_ARCHIVED` for unarchived items; the default returns only unarchived items.",
    "examples": [
      "query { node(id: \"<PROJECT_ID>\") { ... on ProjectV2 { items(first: 20, archivedStates: [ARCHIVED]) { nodes { id } } } } }"
    ],
    "gotchas": [
      "archivedStates: Filters items by archived state. Defaults to returning only items that are not archived.",
      "ARCHIVED: Selects archived project items.",
      "NOT_ARCHIVED: Selects project items that are not archived.",
      "first: Returns the first n items from the connection.",
      "id (required): The project node ID supplied to `node`."
    ]
  },
  "why_it_matters": "Query ProjectV2 items filtered by whether they are archived.",
  "sources": [
    "https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-06-08",
    "https://docs.github.com/en/graphql/reference/projects"
  ],
  "rank": 0.93033,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-92b3a6a55f262a92-0:gate",
    "evidence_hash": "08e3941dda3a362baf84a7f6998e5f367f3a461d7e6f6775addb5399dbda3f2c"
  },
  "review": {
    "draft_hash": "db77b1c067248485111f27183ba66a766e4412db082853a93b593f56c7f34906",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
