From aa30861cc9f5649a59ebc34b51021e68286c7302 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 22 Nov 2026 20:17:24 +0000 Subject: [PATCH] fix(marketplace): make the empty ansible and k8s packages installable A package fetched from a remote is valid only when it has a .apm/ directory, declares dependencies, or ships a skills/ bundle (apm_cli/models/validation.py, detect_package_type). ansible and k8s were published in #205 with none of these, so installing either fails with "has apm.yml but is missing the required .apm/ directory". So does gitops, which depends on k8s. The scratch check in #205 missed this because a local-path install skips that validation. Each package gets an empty .apm/ that git can track through a .gitkeep. The placeholder becomes redundant once the package's first skill lands. apm's validator now reports all four packages as valid. On main it reports ansible and k8s as invalid. Refs: #188 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN --- plugins/ansible/.apm/.gitkeep | 0 plugins/k8s/.apm/.gitkeep | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 plugins/ansible/.apm/.gitkeep create mode 100644 plugins/k8s/.apm/.gitkeep diff --git a/plugins/ansible/.apm/.gitkeep b/plugins/ansible/.apm/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/plugins/k8s/.apm/.gitkeep b/plugins/k8s/.apm/.gitkeep new file mode 100644 index 0000000..e69de29 -- 2.43.0