Refs #188 (fix for #205; the root wiring PR follows)
Problem
ansible and k8s were published in #205 with only an apm.yml. apm accepts a package fetched from a remote only if it has a .apm/ directory, declares dependencies, or ships a skills/ bundle (apm_cli/models/validation.py, detect_package_type). So installing either one fails:
Not a valid APM package: k8s has apm.yml but is missing the required .apm/ directory.
gitops depends on k8s, so installing gitops from main fails too. delivery declares dependencies and is unaffected. #205's scratch check missed this because a local-path install skips the validation.
Fix
Add an empty .apm/ to ansible and k8s, kept in git by a .gitkeep. It becomes redundant once each package's first skill lands.
Verification
apm's validator (validate_apm_package), run on git archive exports of each branch: on main, ansible and k8s are INVALID with the error above; on this branch, all four packages are valid.
Real remote install from this pushed branch (git: …Holocron.git, path: plugins/{k8s,ansible}, ref: fix/empty-packages-install): exit 0, nothing deployed.
Hooks:pre-commit run --all-files and pre-commit run --hook-stage pre-push --all-files all pass.
Next
Once this merges, a follow-up PR adds the four packages to root apm.yml, runs apm install, the suite and the pre-push hooks, and closes#188.
Refs #188 (fix for #205; the root wiring PR follows)
## Problem
`ansible` and `k8s` were published in #205 with only an `apm.yml`. apm accepts a package fetched from a remote only if it has a `.apm/` directory, declares dependencies, or ships a `skills/` bundle (`apm_cli/models/validation.py`, `detect_package_type`). So installing either one fails:
> Not a valid APM package: k8s has apm.yml but is missing the required .apm/ directory.
`gitops` depends on `k8s`, so **installing `gitops` from `main` fails too**. `delivery` declares dependencies and is unaffected. #205's scratch check missed this because a local-path install skips the validation.
## Fix
Add an empty `.apm/` to `ansible` and `k8s`, kept in git by a `.gitkeep`. It becomes redundant once each package's first skill lands.
## Verification
- **apm's validator** (`validate_apm_package`), run on `git archive` exports of each branch: on `main`, `ansible` and `k8s` are INVALID with the error above; on this branch, all four packages are valid.
- **Real remote install** from this pushed branch (`git: …Holocron.git`, `path: plugins/{k8s,ansible}`, `ref: fix/empty-packages-install`): exit 0, nothing deployed.
- **Hooks:** `pre-commit run --all-files` and `pre-commit run --hook-stage pre-push --all-files` all pass.
## Next
Once this merges, a follow-up PR adds the four packages to root `apm.yml`, runs `apm install`, the suite and the pre-push hooks, and closes #188.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refs #188 (fix for #205; the root wiring PR follows)
Problem
ansibleandk8swere published in #205 with only anapm.yml. apm accepts a package fetched from a remote only if it has a.apm/directory, declares dependencies, or ships askills/bundle (apm_cli/models/validation.py,detect_package_type). So installing either one fails:gitopsdepends onk8s, so installinggitopsfrommainfails too.deliverydeclares dependencies and is unaffected. #205's scratch check missed this because a local-path install skips the validation.Fix
Add an empty
.apm/toansibleandk8s, kept in git by a.gitkeep. It becomes redundant once each package's first skill lands.Verification
validate_apm_package), run ongit archiveexports of each branch: onmain,ansibleandk8sare INVALID with the error above; on this branch, all four packages are valid.git: …Holocron.git,path: plugins/{k8s,ansible},ref: fix/empty-packages-install): exit 0, nothing deployed.pre-commit run --all-filesandpre-commit run --hook-stage pre-push --all-filesall pass.Next
Once this merges, a follow-up PR adds the four packages to root
apm.yml, runsapm install, the suite and the pre-push hooks, and closes #188.🤖 Generated with Claude Code
https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN