{"record":{"id":"919df0caff4eb58f","repo":"rohitg00/ai-engineering-from-scratch","slug":"manifestversion-must-be-the-supported-integer-valu","errorCode":null,"errorMessage":"manifestVersion must be the supported integer value 1","messagePattern":"manifestVersion must be the supported integer value 1","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"phases/13-tools-and-protocols/27-skill-evals-packaging-and-portability/outputs/skill-release-gate/scripts/evaluate_skill.py","lineNumber":459,"sourceCode":"            or check_id in seen\n        ):\n            raise ValueError(\n                f\"{field} ids must be unique non-empty strings without surrounding whitespace\"\n            )\n        if type(passed) is not bool:\n            raise ValueError(f\"{field} check {check_id!r} needs a boolean verdict\")\n        if not isinstance(evidence, str) or not evidence.strip():\n            raise ValueError(f\"{field} check {check_id!r} needs evidence\")\n        seen.add(check_id)\n        checks.append({\"id\": check_id, \"passed\": passed, \"evidence\": evidence})\n    return {\"passed\": all(bool(check[\"passed\"]) for check in checks), \"cases\": checks}\n\n\ndef verify_manifest(bundle: Path, config: dict[str, object]) -> dict[str, object]:\n    if type(config.get(\"manifestVersion\")) is not int or config.get(\n        \"manifestVersion\"\n    ) != 1:\n        raise ValueError(\"manifestVersion must be the supported integer value 1\")\n    if config.get(\"algorithm\") != \"sha256\":\n        raise ValueError(\"manifest algorithm must be 'sha256'\")\n    raw_files = config.get(\"files\")\n    if not isinstance(raw_files, dict) or not raw_files:\n        raise ValueError(\"manifest files must be a non-empty object\")\n    expected: dict[str, str] = {}\n    issues: list[str] = []\n    for raw_path, digest in raw_files.items():\n        if not isinstance(raw_path, str) or not isinstance(digest, str):\n            issues.append(\"manifest paths and digests must be strings\")\n            continue\n        relative = PurePosixPath(raw_path)\n        if (\n            \"\\\\\" in raw_path\n            or relative.is_absolute()\n            or any(part in {\"\", \".\", \"..\"} for part in relative.parts)\n            or raw_path != relative.as_posix()\n        ):","sourceCodeStart":441,"sourceCodeEnd":477,"githubUrl":"https://github.com/rohitg00/ai-engineering-from-scratch/blob/39ea8a1c6d0b61f071226eff7ede4d4105fed820/phases/13-tools-and-protocols/27-skill-evals-packaging-and-portability/outputs/skill-release-gate/scripts/evaluate_skill.py#L441-L477","documentation":"Error \"manifestVersion must be the supported integer value 1\" thrown in rohitg00/ai-engineering-from-scratch.","triggerScenarios":"Thrown at phases/13-tools-and-protocols/27-skill-evals-packaging-and-portability/outputs/skill-release-gate/scripts/evaluate_skill.py:459 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"39ea8a1c6d0b61f071226eff7ede4d4105fed820","analyzedAt":"2026-08-26T03:13:46.626Z","schemaVersion":2},"datasetVersion":"2026-08-26T07:17:17.940Z"}