mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-03 19:20:07 +02:00
Resolves the one real conflict (server/internal/daemon/execenv/runtime_config.go): main's MUL-4297 retired the legacy verbose runtime brief in favor of the slim brief as the only path. This branch had added a "## Space Context" section and --space flag docs to the legacy builder; the slim builder (runtime_config_sections.go) already carries the identical Space Context section (writeSpaceContext) and --space references independently, so taking main's side (delete the legacy branch) loses nothing — confirmed by diffing this branch against main for the file before resolving. Also fixes a real incompatibility main introduced after the conflict: comment_reconcile_test.go (new on main, MUL-4195) creates issues via raw SQL without space_id, which main's schema (space_id nullable) allows but this branch's migration 132 (space_id NOT NULL) rejects. Added space_id via a workspace_space subquery, matching the existing pattern in workspace_scope_guard_test.go. Verification: full go test ./... (isolated database, not the shared dev DB) passes; go build/vet clean; core/views/web/desktop typecheck clean; core (804 tests) and views (1703 tests) suites pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>