From acc5f0115563cc65674a9c08cddea0de28d489e7 Mon Sep 17 00:00:00 2001 From: HAL 9000 Date: Thu, 9 Apr 2026 10:08:57 +0000 Subject: [PATCH] docs(changelog): add plan action-arguments UNIQUE constraint fix (#4197) Documents the fix for sqlite3.IntegrityError when agents plan use is called on an action that already has arguments registered via action create. ISSUES CLOSED: #6856 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cf791e12..012ccee16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -203,6 +203,11 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `pr-merge-pool-supervisor` to the product-builder's supervisor launch list (18 total supervisors). Updated all numeric references, pre-flight checklists, and validation logic. +- `ActionRepository.update()` now uses explicit bulk `sa_delete()` + `session.flush()` + before re-inserting child rows for `action_arguments` and `action_invariants`, fixing + a `sqlite3.IntegrityError: UNIQUE constraint failed` crash when `agents plan use` was + called on an action that already had arguments registered via `action create`. (#4197) + --- ## [3.8.0] — 2026-04-05 -- 2.52.0