mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-05 01:19:42 +02:00
Conflict resolution on top of the team-rollout architecture: - issueguard: keep main's LockAndFindRecentAutopilotDuplicate alongside the team-aware active-duplicate lock key - handler/issue.go SearchIssues: adopt main's runSearchQuery statement-timeout wrapper (MUL-4059) with the team-aware scan columns (team_id/key/name) - service/issue.go: new IssueCreateOpts.PreCreate hook — runs inside the create tx before numbering/insert so caller guards hold their advisory locks until commit - service/autopilot.go: dispatchCreateIssue passes the WS-1465 recent-duplicate guard via PreCreate and links the run to the issue inside BeforeCommit (the guard's EXISTS clause only counts issues with a linked run) - search_test.go: main's new MUL-4059 tests updated to the team-aware buildSearchQuery signature Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>