{
  "slug": "jj-revsets-add-forks-272a36ed7f39",
  "title": "jj revsets add forks()",
  "tools": [
    "jj"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-02T01:41:45.000Z",
  "announced_at": "2026-07-02T01:41:45.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need commits with multiple children, run `jj log -r 'forks()'` to select and display them.",
    "examples": [
      "jj log -r 'forks()'"
    ],
    "gotchas": [
      "Version: v0.43.0",
      "`forks()`: Takes no arguments; selects commits with more than one child.",
      "`-r <REVSET>` (required): Passes a revset to `jj log`; `forks()` is the revset in this invocation.",
      "Prerequisite: Use jj v0.43.0 or later, where `forks()` was added."
    ]
  },
  "why_it_matters": "Select commits with multiple child commits in a revset.",
  "sources": [
    "https://github.com/jj-vcs/jj/releases/tag/v0.43.0",
    "https://github.com/jj-vcs/jj/blob/v0.43.0/docs/revsets.md"
  ],
  "rank": 0.92022,
  "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-3d090da5bbc970bd-10:gate",
    "evidence_hash": "1ce02c8b44d08972b23b2a328eec9c3909f56a34e201a70c87df06dd5f607b21"
  },
  "review": {
    "draft_hash": "8bc51af0098c2e08420d50bbde8476db30c6e24bfd778d18f1650b7ed5025095",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
