v2026.6.12
·
183 commits
to main
since this release
Fixed
- Release-provenance writes are now FK-free — kills the DHQ-051
cleo release plan/reconcileFK class. On the consolidatedcleo.dbthe release/provenance drizzle symbols (commits,task_commits,releases,release_commits,pr_*,release_*,brain_release_links) were bound to the bare legacy tables, whosetask_id/epic_idcarried a cross-domain FK into the baretaskstable — empty after consolidation — so a release upsert aborted onFOREIGN KEY constraint failed. This release completes the task-family cutover: (1) the runtime provenance symbols are rebound onto the PREFIXED consolidated tables (tasks_commits, …), whosetask_id/epic_idare plain text with no cross-domain FK, so provenance writes succeed directly; (2) theensureProvenanceTaskFkParentsFK-parent shim and its NULL-on-unresolvable fallback are retired; (3) the task invariant + handoff triggers are restored on the prefixed tables; (4) the missingUNIQUEindex ontasks_releases.version(dropped during the consolidation build) is repaired so the release upsert'sON CONFLICTresolves. A latent enum bug is also fixed:task_commits.link_sourcenow emits the valid'commit-subject'member (the no-CHECK legacy table had silently accepted the out-of-enum'commit-message'). (provenance: T11883; #987, #992)