{"record":{"id":"43596e817ed237ad","repo":"github/spec-kit","slug":"missing-integration-field","errorCode":null,"errorMessage":"Missing integration.{field}","messagePattern":"Missing integration\\.(.+?)","errorType":"validation","errorClass":"IntegrationDescriptorError","httpStatus":null,"severity":"error","filePath":"src/specify_cli/integrations/catalog.py","lineNumber":714,"sourceCode":"            if field not in self.data:\n                raise IntegrationDescriptorError(\n                    f\"Missing required field: {field}\"\n                )\n\n        if self.data[\"schema_version\"] != self.SCHEMA_VERSION:\n            raise IntegrationDescriptorError(\n                f\"Unsupported schema version: {self.data['schema_version']} \"\n                f\"(expected {self.SCHEMA_VERSION})\"\n            )\n\n        integ = self.data[\"integration\"]\n        if not isinstance(integ, dict):\n            raise IntegrationDescriptorError(\n                \"'integration' must be a mapping\"\n            )\n        for field in (\"id\", \"name\", \"version\", \"description\"):\n            if field not in integ:\n                raise IntegrationDescriptorError(\n                    f\"Missing integration.{field}\"\n                )\n            if not isinstance(integ[field], str):\n                raise IntegrationDescriptorError(\n                    f\"integration.{field} must be a string, got {type(integ[field]).__name__}\"\n                )\n\n        if not re.match(r\"^[a-z0-9-]+$\", integ[\"id\"]):\n            raise IntegrationDescriptorError(\n                f\"Invalid integration ID '{integ['id']}': \"\n                \"must be lowercase alphanumeric with hyphens only\"\n            )\n\n        try:\n            pkg_version.Version(integ[\"version\"])\n        except (pkg_version.InvalidVersion, TypeError):\n            raise IntegrationDescriptorError(\n                f\"Invalid version '{integ['version']}'\"","sourceCodeStart":696,"sourceCodeEnd":732,"githubUrl":"https://github.com/github/spec-kit/blob/bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c/src/specify_cli/integrations/catalog.py#L696-L732","documentation":"Error \"Missing integration.{field}\" thrown in github/spec-kit.","triggerScenarios":"Thrown at src/specify_cli/integrations/catalog.py:714 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add the missing integration.<field> entry to the descriptor."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c","analyzedAt":"2026-08-14T19:43:37.150Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}