bd42306059
Keep query definition identity scoped to interfaces present in the generated query schema. Exclude retention provenance from both interface revisions and generic applications while preserving nominal identities, closed arguments, operation contracts, documents, budgets and fragment dependencies. Advance the query semantics version so prior compiler outputs cannot share the new identity. Add a generic compiler regression covering unrelated imports, retained generic sources and invalidation when an observed getter changes. This fixes Studio's CLIENT_QUERY_MISMATCH when template contracts become editable local repositories. Validation: protocol tests (296 total, 293 passed, 3 existing skips); nix fmt, monorepo lint, final formatting check and diff check; camino-dev/qx-workspace builds. All 17 Studio query descriptors match a rebuilt copy of the user's workspace. Headless fresh-workspace canvas/library/Reader/reload check passes. Repair the existing local qx-reader workbench through its ordinary check and activation path, updating only its pinned protocol/checker CLI. Retain the original toolchain GC root and record checker provenance. Source commit, runtime and template pins, and database are preserved. Verify the selected candidate is ready at epoch 2 and its canvas loads through the corrected Studio bundle without creating application objects. Stop the independent smoke-test services.