Compare commits
6
Commits
v1.10.0
...
00bac19705
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00bac19705 | ||
|
|
c60c6aa970 | ||
|
|
8df9070cd8 | ||
|
|
5962b9b6fb | ||
|
|
7bb4d13dc0 | ||
|
|
f7d23a7c04 |
No files matched your search
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"disableSkillShellExecution": true
|
||||
}
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
dockerfile: Dockerfile
|
||||
job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
|
||||
- name: ci
|
||||
version: 0.2.32
|
||||
version: 0.2.33
|
||||
subpath: ""
|
||||
dockerfile: images/ci/Dockerfile
|
||||
job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
|
||||
|
||||
+4
-3
@@ -13,9 +13,10 @@ vault-pass*
|
||||
gitleaks-report.json
|
||||
# galaxy-importer output
|
||||
importer_result.json
|
||||
# APM: apm_modules/ is the dependency cache; .claude/skills,
|
||||
# agents and hooks are `apm install` deploy output, regenerated on every install.
|
||||
# APM: apm_modules/ is the dependency cache. Deployed skills and agents stay out
|
||||
# while their source is private; deployed hooks are committed for review.
|
||||
apm_modules/
|
||||
.claude/skills/
|
||||
.claude/agents/
|
||||
.claude/hooks/
|
||||
# Claude Code: personal settings and allowlists, never shared
|
||||
.claude/settings.local.json
|
||||
+431
-876
File diff suppressed because it is too large.
Load diff
@@ -3,27 +3,18 @@ version: 0.1.0
|
||||
description: Ansible Collection mortis.kamino. Consumer-side apm manifest for holocron skills.
|
||||
license: GPL-3.0-or-later
|
||||
|
||||
# Consumer side: holocron plugins are addressed as git+path objects rather than
|
||||
# <name>@holocron marketplace aliases, so nothing outside this manifest is
|
||||
# needed. Unpinned (default branch) on purpose: Renovate cannot keep a pin
|
||||
# current here. Its apm manager documents only the string form (not these
|
||||
# git+path objects), is not in
|
||||
# renovate.json's enabledManagers, and holocron's v* tags are repo-wide and
|
||||
# lag main (v2.0.1 is 164 commits behind and predates plugins/mattpocock). A
|
||||
# hand-kept ref would just go stale. The third-party skills are pinned inside
|
||||
# plugins/mattpocock/apm.yml, upstream of this manifest.
|
||||
# git and mattpocock only (#104): bin and core are unused here, and gitea returns once it is
|
||||
# rebuilt on the tea CLI.
|
||||
|
||||
# Hook primitives come from apm; no instruction primitive is deployed until the root AGENTS.md
|
||||
# has a managed section. `apm approve` writes the executables.allow entry into this file, and it
|
||||
# is committed because an unattended `apm install` cannot answer the prompt.
|
||||
targets:
|
||||
- claude
|
||||
dependencies:
|
||||
apm:
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/bin
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/core
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/git
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/gitea
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/mattpocock
|
||||
mcp: []
|
||||
@@ -41,8 +41,12 @@ held by review until an offline link check exists.
|
||||
*Held by:* aspirational.
|
||||
- **The tracked `.claude/settings.json` never holds `permissions.allow`; `deny` and `ask` rules are
|
||||
allowed. Your own allowlist and personal guards go in `.claude/settings.local.json`, which is never
|
||||
committed.** (`.gitignore` lists it once issue #196 lands; until then, leave it out of your commits.)
|
||||
committed.**
|
||||
*Reason:* a branch's settings take effect for whoever opens it with an agent, so an `allow` rule
|
||||
pushed on an unmerged branch lets that branch's commands run without a prompt before anyone has
|
||||
reviewed it, while a `deny` or `ask` rule can only add prompts.
|
||||
*Held by:* review (`.claude/` is under `CODEOWNERS`).
|
||||
- **Every hook in the tracked `.claude/settings.json` arrives through apm; personal hooks go in
|
||||
`.claude/settings.local.json`.**
|
||||
*Reason:* a hook nobody owns is checked by nothing.
|
||||
*Held by:* review (`.claude/` is under `CODEOWNERS`).
|
||||
+1184
-6
File diff suppressed because it is too large.
Load diff
@@ -12,3 +12,6 @@ pre-commit==4.7.0
|
||||
antsibull-changelog==0.37.0
|
||||
galaxy-importer==0.4.44
|
||||
reuse==6.3.0
|
||||
# apm-cli: for changing apm.yml (run apm install, commit the lock). Keep it at 0.36.1 or later (#252):
|
||||
# before 0.29.0, `apm audit --ci` compares the whole .claude/settings.json and fails on any hand-written key.
|
||||
apm-cli==0.36.1
|
||||
@@ -38,8 +38,8 @@ nothing tested. A role whose directory is gone (the role was deleted) selects no
|
||||
|
||||
The workflow runs this script from the base branch's copy, not the pull request's, so a pull
|
||||
request cannot edit the rules it is judged by (the same reason lint.yml runs
|
||||
check_bot_pr_diff.py from origin/main). A change to this file therefore selects everything
|
||||
under the base copy's rules, because the file is not on the IGNORED list.
|
||||
check_bot_pr_diff.py from origin/main). No scenario runs the pull request's copy, so this file
|
||||
is on the IGNORED list: its unit tests test it, and the push run after the merge runs it.
|
||||
|
||||
Exit codes: 0 ok (an empty selection from an all-ignored diff is ok), 1 no scenario exists at
|
||||
all, or a changed role has none, 2 bad usage. Notices go to stderr as `::notice::` lines, with
|
||||
@@ -63,7 +63,8 @@ IGNORED = (
|
||||
"SECURITY.md",
|
||||
"GLOSSARY.md",
|
||||
"AGENTS.md",
|
||||
"roles/AGENTS.md",
|
||||
"*/AGENTS.md",
|
||||
"roles/*/README.md",
|
||||
"CODEOWNERS",
|
||||
"CHANGELOG.rst",
|
||||
"COPYING",
|
||||
@@ -75,6 +76,7 @@ IGNORED = (
|
||||
".ansible-lint",
|
||||
".ansible-lint-ignore",
|
||||
".pre-commit-config.yaml",
|
||||
".python-version",
|
||||
"requirements-dev.txt",
|
||||
"requirements-dev.lock",
|
||||
"ruff.toml",
|
||||
@@ -100,6 +102,8 @@ IGNORED = (
|
||||
"scripts/ansible-test-sanity.sh",
|
||||
"scripts/dev-setup.sh",
|
||||
"scripts/reuse_lint.py",
|
||||
"scripts/lock-requirements.sh",
|
||||
"scripts/select_molecule_scenarios.py",
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -162,6 +162,32 @@ class SelectTest(unittest.TestCase):
|
||||
chosen, _reason = sel.select(ALL, ["AGENTS.md"])
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_nested_agent_guidance_selects_nothing(self):
|
||||
chosen, _reason = self.select(
|
||||
[
|
||||
".gitea/workflows/AGENTS.md",
|
||||
"scripts/AGENTS.md",
|
||||
"roles/docker/AGENTS.md",
|
||||
],
|
||||
)
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_role_readme_selects_nothing(self):
|
||||
# A role's README is documentation; its scenarios and its users' do not read it.
|
||||
chosen, _reason = self.select(["roles/docker/README.md"])
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_selector_and_dev_python_select_nothing(self):
|
||||
# Molecule runs the base copy of the selector and the runner's own venv.
|
||||
chosen, _reason = self.select(
|
||||
[
|
||||
"scripts/select_molecule_scenarios.py",
|
||||
"scripts/lock-requirements.sh",
|
||||
".python-version",
|
||||
],
|
||||
)
|
||||
self.assertEqual(chosen, [])
|
||||
|
||||
def test_issue_and_pull_request_templates_select_nothing(self):
|
||||
# Gitea reads them for its web forms; no scenario does, and they are not shipped.
|
||||
chosen, _reason = self.select(
|
||||
@@ -184,7 +210,6 @@ class SelectTest(unittest.TestCase):
|
||||
"plugins/modules/x.py",
|
||||
"extensions/molecule/image-smoke/molecule.yml",
|
||||
".gitea/workflows/molecule.yml",
|
||||
"scripts/select_molecule_scenarios.py",
|
||||
"tests/unit/x.py",
|
||||
"new_top_level_file",
|
||||
"roles/README.md",
|
||||
|
||||
Reference in new issue
Block a user