torchcell.knowledge_graphs.supported_queries.check.validate_query
- validate_query(registry: QueryRegistry, query_id: str, repo_root: Path, release: str) tuple[QueryRegistry, list[QueryDrift]][source]
Record
releaseas the onequery_idholds on.Returns the updated registry and no drifts, or the unchanged registry and the drifts that refuse the validation. Only
composite_changedis resolved by validating (it is what a new release is expected to change); any other drift is a query or schema problem that must be fixed first. Setssince_kg_versionwhen it is unset.