{"record":{"id":"bf0079566f91b7fb","repo":"github/spec-kit","slug":"downloaded-extension-archive-contains-multiple-ext","errorCode":null,"errorMessage":"Downloaded extension archive contains multiple extension.yml manifests","messagePattern":"Downloaded extension archive contains multiple extension\\.yml manifests","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"src/specify_cli/extensions/_commands.py","lineNumber":1910,"sourceCode":"\n                # 5. Download new version\n                archive_path = catalog.download_extension(extension_id)\n                try:\n                    # 6. Validate the archive and extension ID before modifying\n                    # the existing installation. The shared extractor applies\n                    # the same bounded security checks to ZIP and tar archives.\n                    with tempfile.TemporaryDirectory(\n                        prefix=\"speckit-update-archive-\"\n                    ) as archive_tmpdir:\n                        extracted_root = Path(archive_tmpdir)\n                        try:\n                            safe_extract_archive(archive_path, extracted_root)\n                        except ValueError as exc:\n                            if (\n                                \"Conflicting path\" in str(exc)\n                                and \"extension.yml\" in str(exc).casefold()\n                            ):\n                                raise ValueError(\n                                    \"Downloaded extension archive contains multiple \"\n                                    \"extension.yml manifests\"\n                                ) from exc\n                            raise\n                        manifest_root = extracted_root\n                        top_level = list(extracted_root.iterdir())\n                        root_manifest_entries = [\n                            entry\n                            for entry in top_level\n                            if entry.name.casefold() == \"extension.yml\"\n                        ]\n                        if any(\n                            entry.name != \"extension.yml\"\n                            for entry in root_manifest_entries\n                        ):\n                            raise ValueError(\n                                \"Archive must use canonical 'extension.yml' casing\"\n                            )","sourceCodeStart":1892,"sourceCodeEnd":1928,"githubUrl":"https://github.com/github/spec-kit/blob/bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c/src/specify_cli/extensions/_commands.py#L1892-L1928","documentation":"Error \"Downloaded extension archive contains multiple extension.yml manifests\" thrown in github/spec-kit.","triggerScenarios":"Thrown at src/specify_cli/extensions/_commands.py:1910 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the extension archive so it contains exactly one extension.yml manifest."],"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"}