{
  "version": 1,
  "repo": "langchain-ai/langchainjs",
  "builtAt": "2026-11-10T22:34:58.421Z",
  "baseRate": 0.0911983032873807,
  "prs": 999,
  "labelled": 943,
  "bad": 86,
  "rules": [
    {
      "id": "learned.risk.hotspot-file:libs/langchain/src/agents/ReactAgent.ts",
      "title": "Hotspot: libs/langchain/src/agents/ReactAgent.ts",
      "category": "risk",
      "paths": [
        "libs/langchain/src/agents/ReactAgent.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 23,
      "bad": 9,
      "rate": 0.391304347826087,
      "lift": 4.290697674418605,
      "examples": [
        {
          "number": 11990,
          "title": "fix(langchain): avoid full-state copies in parallel tool tasks",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11990",
          "fixedBy": [
            {
              "number": 12043,
              "url": "https://github.com/langchain-ai/langchainjs/pull/12043"
            }
          ],
          "reverted": false
        },
        {
          "number": 11712,
          "title": "fix(langchain): return failed returnDirect tool calls to the model",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11712",
          "fixedBy": [
            {
              "number": 11880,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11880"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-anthropic/src/chat_models.ts",
      "title": "Hotspot: libs/providers/langchain-anthropic/src/chat_models.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-anthropic/src/chat_models.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 31,
      "bad": 10,
      "rate": 0.3225806451612903,
      "lift": 3.5371342835708925,
      "examples": [
        {
          "number": 11278,
          "title": "fix(core): redact MCP tracing credentials",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11278",
          "fixedBy": [
            {
              "number": 11310,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11310"
            }
          ],
          "reverted": false
        },
        {
          "number": 11255,
          "title": "feat(anthropic): add Claude Opus 5 support",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11255",
          "fixedBy": [
            {
              "number": 11278,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11278"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/langchain/src/agents/index.ts",
      "title": "Hotspot: libs/langchain/src/agents/index.ts",
      "category": "risk",
      "paths": [
        "libs/langchain/src/agents/index.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 9,
      "bad": 5,
      "rate": 0.5555555555555556,
      "lift": 6.091731266149871,
      "examples": [
        {
          "number": 11568,
          "title": "feat(langchain): add middleware trace policies",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11568",
          "fixedBy": [
            {
              "number": 11594,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11594"
            }
          ],
          "reverted": true
        },
        {
          "number": 11062,
          "title": "feat(langchain): surface tool-dispatched subagents on run.subagents",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11062",
          "fixedBy": [
            {
              "number": 11087,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11087"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/langchain/src/agents/nodes/AgentNode.ts",
      "title": "Hotspot: libs/langchain/src/agents/nodes/AgentNode.ts",
      "category": "risk",
      "paths": [
        "libs/langchain/src/agents/nodes/AgentNode.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 21,
      "bad": 7,
      "rate": 0.3333333333333333,
      "lift": 3.6550387596899223,
      "examples": [
        {
          "number": 11712,
          "title": "fix(langchain): return failed returnDirect tool calls to the model",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11712",
          "fixedBy": [
            {
              "number": 11880,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11880"
            }
          ],
          "reverted": false
        },
        {
          "number": 10165,
          "title": "fix(agents): propagate store and checkpointer in ReactAgent",
          "url": "https://github.com/langchain-ai/langchainjs/pull/10165",
          "fixedBy": [
            {
              "number": 10245,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10245"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/langchain-core/src/messages/base.ts",
      "title": "Hotspot: libs/langchain-core/src/messages/base.ts",
      "category": "risk",
      "paths": [
        "libs/langchain-core/src/messages/base.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 13,
      "bad": 5,
      "rate": 0.38461538461538464,
      "lift": 4.217352415026834,
      "examples": [
        {
          "number": 10512,
          "title": "fix(core): fix _mergeLists id-only fallback and SystemMessage.concat lc_kwargs nesting",
          "url": "https://github.com/langchain-ai/langchainjs/pull/10512",
          "fixedBy": [
            {
              "number": 10528,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10528"
            }
          ],
          "reverted": false
        },
        {
          "number": 9974,
          "title": "fix: formatting",
          "url": "https://github.com/langchain-ai/langchainjs/pull/9974",
          "fixedBy": [
            {
              "number": 9991,
              "url": "https://github.com/langchain-ai/langchainjs/pull/9991"
            },
            {
              "number": 10008,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10008"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-openai/src/converters/completions.ts",
      "title": "Hotspot: libs/providers/langchain-openai/src/converters/completions.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-openai/src/converters/completions.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 13,
      "bad": 5,
      "rate": 0.38461538461538464,
      "lift": 4.217352415026834,
      "examples": [
        {
          "number": 11232,
          "title": "feat(openai): support explicit prompt caching",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11232",
          "fixedBy": [
            {
              "number": 11735,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11735"
            }
          ],
          "reverted": false
        },
        {
          "number": 11403,
          "title": "fix(openai): drop Gemini functionCall content blocks in Chat Completions message conversion",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11403",
          "fixedBy": [
            {
              "number": 11419,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11419"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-openai/src/converters/responses.ts",
      "title": "Hotspot: libs/providers/langchain-openai/src/converters/responses.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-openai/src/converters/responses.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 29,
      "bad": 7,
      "rate": 0.2413793103448276,
      "lift": 2.6467522052927026,
      "examples": [
        {
          "number": 11232,
          "title": "feat(openai): support explicit prompt caching",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11232",
          "fixedBy": [
            {
              "number": 11735,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11735"
            }
          ],
          "reverted": false
        },
        {
          "number": 11399,
          "title": "fix(openai): retain cache_write_tokens, update to v7 sdk",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11399",
          "fixedBy": [
            {
              "number": 11448,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11448"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/langchain/src/agents/utils.ts",
      "title": "Hotspot: libs/langchain/src/agents/utils.ts",
      "category": "risk",
      "paths": [
        "libs/langchain/src/agents/utils.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 10,
      "bad": 4,
      "rate": 0.4,
      "lift": 4.3860465116279075,
      "examples": [
        {
          "number": 11682,
          "title": "fix(langchain): preserve agent graph callbacks",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11682",
          "fixedBy": [
            {
              "number": 11712,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11712"
            }
          ],
          "reverted": false
        },
        {
          "number": 9974,
          "title": "fix: formatting",
          "url": "https://github.com/langchain-ai/langchainjs/pull/9974",
          "fixedBy": [
            {
              "number": 9991,
              "url": "https://github.com/langchain-ai/langchainjs/pull/9991"
            },
            {
              "number": 10008,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10008"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-google/src/chat_models/base.ts",
      "title": "Hotspot: libs/providers/langchain-google/src/chat_models/base.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-google/src/chat_models/base.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 27,
      "bad": 6,
      "rate": 0.2222222222222222,
      "lift": 2.436692506459948,
      "examples": [
        {
          "number": 11940,
          "title": "fix(google): support Argon thinking and preserve streaming usage",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11940",
          "fixedBy": [
            {
              "number": 11958,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11958"
            }
          ],
          "reverted": true
        },
        {
          "number": 11433,
          "title": "fix(google): route Vertex multi-region endpoints",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11433",
          "fixedBy": [
            {
              "number": 11611,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11611"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-anthropic/src/utils/message_inputs.ts",
      "title": "Hotspot: libs/providers/langchain-anthropic/src/utils/message_inputs.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-anthropic/src/utils/message_inputs.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 13,
      "bad": 4,
      "rate": 0.3076923076923077,
      "lift": 3.373881932021467,
      "examples": [
        {
          "number": 9932,
          "title": "feat(anthropic): update for Feb 5th api changes",
          "url": "https://github.com/langchain-ai/langchainjs/pull/9932",
          "fixedBy": [
            {
              "number": 9946,
              "url": "https://github.com/langchain-ai/langchainjs/pull/9946"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:libs/providers/langchain-openai/src/chat_models/completions.ts",
      "title": "Hotspot: libs/providers/langchain-openai/src/chat_models/completions.ts",
      "category": "risk",
      "paths": [
        "libs/providers/langchain-openai/src/chat_models/completions.ts"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 11,
      "bad": 3,
      "rate": 0.2727272727272727,
      "lift": 2.990486257928118,
      "examples": [
        {
          "number": 11232,
          "title": "feat(openai): support explicit prompt caching",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11232",
          "fixedBy": [
            {
              "number": 11735,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11735"
            }
          ],
          "reverted": false
        },
        {
          "number": 11399,
          "title": "fix(openai): retain cache_write_tokens, update to v7 sdk",
          "url": "https://github.com/langchain-ai/langchainjs/pull/11399",
          "fixedBy": [
            {
              "number": 11448,
              "url": "https://github.com/langchain-ai/langchainjs/pull/11448"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.hygiene.title-style",
      "title": "Titles follow \"Conventional Commits (type(scope): summary)\"",
      "category": "hygiene",
      "when": {
        "titleMustMatch": "^(feat|fix|chore|docs|refactor|test|tests|perf|ci|build|style|revert)(\\([^)]+\\))?!?: \\S"
      },
      "kind": "title",
      "fileLevel": false,
      "matched": 24,
      "bad": 4,
      "rate": 0.16666666666666666,
      "lift": 1.8275193798449612,
      "examples": [
        {
          "number": 10258,
          "title": "Align Zod Importation For 'libs/langchain/src/agents/nodes/utils.ts'",
          "url": "https://github.com/langchain-ai/langchainjs/pull/10258",
          "fixedBy": [
            {
              "number": 10545,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10545"
            }
          ],
          "reverted": false
        },
        {
          "number": 10267,
          "title": "feat(@langchain/google) Test Gemini 3.1 Flash-Lite",
          "url": "https://github.com/langchain-ai/langchainjs/pull/10267",
          "fixedBy": [
            {
              "number": 10292,
              "url": "https://github.com/langchain-ai/langchainjs/pull/10292"
            }
          ],
          "reverted": false
        }
      ]
    }
  ]
}
