{"record":{"id":"be5fb475964256c9","repo":"abhigyanpatwari/GitNexus","slug":"compound-engineering-plugin-skills-directory-is-mi","errorCode":null,"errorMessage":"Compound Engineering plugin skills directory is missing: {skills}","messagePattern":"Compound Engineering plugin skills directory is missing: (.+?)","errorType":"exception","errorClass":"SandboxError","httpStatus":null,"severity":"error","filePath":"eval/workflow_bench/runtime_mounts.py","lineNumber":310,"sourceCode":"        manifest_root_metadata = manifest_root.lstat()\n    except OSError as exc:\n        raise SandboxError(\n            f\"Compound Engineering plugin manifest directory is unavailable: {manifest_root}: {exc}\"\n        ) from exc\n    if stat.S_ISLNK(manifest_root_metadata.st_mode) or not stat.S_ISDIR(manifest_root_metadata.st_mode):\n        raise SandboxError(f\"Compound Engineering plugin manifest directory must be real: {manifest_root}\")\n    required_manifest = _ALLOWED_PLUGIN_MANIFESTS[0]\n    manifest_path = source / Path(*required_manifest.parts)\n    if not manifest_path.exists():\n        raise SandboxError(f\"Compound Engineering plugin manifest is missing: {manifest_path}\")\n    for relative in _ALLOWED_PLUGIN_MANIFESTS:\n        candidate = source / Path(*relative.parts)\n        if candidate.exists():\n            yield relative, candidate\n\n    skills = source / \"skills\"\n    if not skills.exists():\n        raise SandboxError(f\"Compound Engineering plugin skills directory is missing: {skills}\")\n\n    def walk(directory: Path, relative_dir: PurePosixPath) -> Iterator[tuple[PurePosixPath, Path]]:\n        try:\n            with os.scandir(directory) as scanned:\n                entries = sorted(scanned, key=lambda entry: entry.name)\n        except OSError as exc:\n            raise SandboxError(f\"Compound Engineering plugin directory is unreadable: {directory}: {exc}\") from exc\n        for entry in entries:\n            relative = relative_dir / entry.name\n            if _is_forbidden_plugin_path(relative):\n                continue\n            try:\n                metadata = entry.stat(follow_symlinks=False)\n            except OSError as exc:\n                raise SandboxError(f\"Compound Engineering plugin entry is unreadable: {entry.path}: {exc}\") from exc\n            if stat.S_ISLNK(metadata.st_mode):\n                raise SandboxError(f\"Compound Engineering plugin entries must not be symlinks: {entry.path}\")\n            if stat.S_ISDIR(metadata.st_mode):","sourceCodeStart":292,"sourceCodeEnd":328,"githubUrl":"https://github.com/abhigyanpatwari/GitNexus/blob/d540b00184d71a896261ee02670da9a92d59d8f7/eval/workflow_bench/runtime_mounts.py#L292-L328","documentation":"_plugin_files() requires a top-level skills/ directory in the plugin source. It is the first of the _ALLOWED_PLUGIN_DIRS and is checked explicitly before walking because CE skills are mandatory for the comparator arms.","triggerScenarios":"source/skills does not exist (.exists() is False) when _plugin_files() is called.","commonSituations":"Plugin assembled from a subset of directories; generator run that skipped skills; wrong source directory passed to --ce-plugin-dir.","solutions":["Create skills/ and populate it with the required SKILL.md files (ce-plan, ce-work, ce-code-review).","Verify you pointed --ce-plugin-dir at the plugin root, not a subdirectory."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"from pathlib import Path\n\ndef skills_dir_present(source: Path) -> bool:\n    return (source / \"skills\").exists()","typeGuard":null,"tryCatchPattern":"try:\n    list(_plugin_files(source))\nexcept SandboxError as exc:\n    if \"skills directory is missing\" in str(exc):\n        # create skills/ with the required SKILL.md files\n        ...\n    raise","preventionTips":["Always ship skills/ with at least ce-plan, ce-work, ce-code-review.","Verify --ce-plugin-dir points at the plugin root, not a subdirectory."],"tags":["ce-plugin","skills","structure"],"backgroundTag":null,"analyzedSha":"d540b00184d71a896261ee02670da9a92d59d8f7","analyzedAt":"2026-08-12T19:50:25.132Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}