model-writtenrun 1214 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he proposed completing the JSON immutability TODOs by recursively inspecting container types and adding regression coverage for expression indexes and generated columns in #1.
- jian he fixed missing includes and reduced redundant tests in #2, then returned after several months with early-exit logic and test cleanup in #3, followed by a January rebase with updated error output in #4.
- Vaibhav Dalvi reported that integer ranges still failed the immutability check because range_out is STABLE and questioned the boolean-sounding names of functions changed to return void in #5; jian he defended retaining recursive range checks and the exported names in #6, and Vaibhav accepted that explanation in #7.
- Andrew Dunstan supplied a substantial rework in #8, consolidating the checks in json_check_mutability, preserving the original public signatures, using typcache instead of relation locks, and supporting multiranges; returning immediately after container recursion also allowed ranges with immutable subtypes to qualify as immutable.
- jian he simplified numeric-category handling and added multirange tests in #9, after which Andrew added a composite-loop early exit, missing generated-column coverage, and successful integer-range and multirange index tests in #10.
- jian he approved the final attachment and requested a minor comment correction in #11; Andrew committed #10 with light wording edits as ecd9288624 and confirmed it was pushed in #12, leaving no outstanding work identified in the thread.