docs: correct stale claims about roles, licensing, the ansible-core floor and build_ignore #164

Closed
opened 2026-11-15 13:42:52 +00:00 by Claude · 10 comments
Owner

Spec: Resolve stale and contradictory claims (resolution comment), as changed by Supported and tested ansible-core versions and the review comments here. Where a doc and the repository disagree, the repository is right and the doc is fixed.

What to do

Roles that are not here

  • README.md intro (lines 3-5) and galaxy.yml description (line 8): name every role under roles/ and give no count, so the next role does not make it stale again; the README may point at its "Roadmap" section. No future roles in the Galaxy description. Every "every roles/*" step here covers all roles, sshd included.
  • Leave the README "Roadmap" section as it is, its references to the private environment included (maintainer's exception, kept until the migration is done).
  • NOTICE and REUSE.toml: remove the pihole, proxmox_host and rke2 entries and the "arrive with their roles" comment. Keep the ufw before.rules.j2 entries.
  • LICENSES/: delete EUPL-1.2, MIT and Apache-2.0 (no file uses them). Each returns in the change that adds the role needing it.
  • Delete scripts/reuse_lint.py and make the hook and CI call plain reuse lint (its only job is to allow the unused licences). Remove any test of it. The hook entry is in .pre-commit-config.yaml, an image input: if this lands before ci(images): assign image versions in CI and open the pin PR right after a push, carry the PATCH bump of the ci image version: (scripts/bump_image_versions.py).
  • README.md "Licence" section (lines 55-56) and NOTICE line 3: name roles/ufw/templates/before.rules.j2 as what makes the Collection GPL-3.0-only, not roles/pihole.

ansible-core floor (a stated floor is a tested floor)

  • The floor stays 2.22, the pinned core: support is latest-only, and the floor follows the pin.
  • meta/runtime.yml: requires_ansible: ">=2.22.0"; replace the comment that cites the environment repository's image with "equals the minor of the pinned ansible-core in requirements-dev.txt; a Lint check holds it" (the check arrives in #224, which this issue blocks).
  • Every roles/*/meta/main.yml: min_ansible_version: "2.22".
  • galaxy.yml lines 21-22: the comment says the dependency lower bounds are what CI tests; correct it to say CI tests the versions pinned in requirements.yml. Keep the bounds.
  • Changelog fragment for the floor, in breaking_changes, so this ships as 2.0.0. It also drops controller Python 3.12. Suggested wording: "raise the minimum ansible-core to 2.22 (controller Python 3.14); 2.19, 2.20 and 2.21 are no longer supported".

build_ignore

  • Remove HANDOFF.md and .reuse from galaxy.yml (neither has ever existed).

Not in this issue

  • CLAUDE.md wording and the CLAUDE.md/CONTRIBUTING.md duplication: handed to the AGENTS.md and contributor-doc tickets.
  • docs/agents/domain.md: do not touch it. Its ADR 0004 lines are left to docs: remove the ADR 0004 citations.
  • Platform claims in the role READMEs and the image docs: corrected by #133 and #226, which make them true. Touch only claims that jammy or Ubuntu all are supported.
  • Image docs: wait on CI image pipeline: keep, simplify or replace.

Line numbers are as of main at 967fb34; find the text, not the line.

Done when

reuse lint, Lint and Build pass; ansible-galaxy collection build output has none of the removed paths; the PR says what was verified and what was not.

Spec: [Resolve stale and contradictory claims](https://git.rkdr.net/Mortis/Kamino/issues/95) (resolution comment), as changed by [Supported and tested ansible-core versions](https://git.rkdr.net/Mortis/Kamino/issues/206) and the review comments here. Where a doc and the repository disagree, the repository is right and the doc is fixed. ## What to do **Roles that are not here** - `README.md` intro (lines 3-5) and `galaxy.yml` `description` (line 8): name every role under `roles/` and give no count, so the next role does not make it stale again; the README may point at its "Roadmap" section. No future roles in the Galaxy description. Every "every `roles/*`" step here covers all roles, `sshd` included. - Leave the README "Roadmap" section as it is, its references to the private environment included (maintainer's exception, kept until the migration is done). - `NOTICE` and `REUSE.toml`: remove the `pihole`, `proxmox_host` and `rke2` entries and the "arrive with their roles" comment. Keep the `ufw` `before.rules.j2` entries. - `LICENSES/`: delete `EUPL-1.2`, `MIT` and `Apache-2.0` (no file uses them). Each returns in the change that adds the role needing it. - Delete `scripts/reuse_lint.py` and make the hook and CI call plain `reuse lint` (its only job is to allow the unused licences). Remove any test of it. The hook entry is in `.pre-commit-config.yaml`, an image input: if this lands before [ci(images): assign image versions in CI and open the pin PR right after a push](https://git.rkdr.net/Mortis/Kamino/issues/165), carry the PATCH bump of the `ci` image `version:` (`scripts/bump_image_versions.py`). - `README.md` "Licence" section (lines 55-56) and `NOTICE` line 3: name `roles/ufw/templates/before.rules.j2` as what makes the Collection GPL-3.0-only, not `roles/pihole`. **ansible-core floor** (a stated floor is a tested floor) - The floor stays 2.22, the pinned core: support is latest-only, and the floor follows the pin. - `meta/runtime.yml`: `requires_ansible: ">=2.22.0"`; replace the comment that cites the environment repository's image with "equals the minor of the pinned ansible-core in `requirements-dev.txt`; a Lint check holds it" (the check arrives in [#224](https://git.rkdr.net/Mortis/Kamino/issues/224), which this issue blocks). - Every `roles/*/meta/main.yml`: `min_ansible_version: "2.22"`. - `galaxy.yml` lines 21-22: the comment says the dependency lower bounds are what CI tests; correct it to say CI tests the versions pinned in `requirements.yml`. Keep the bounds. - Changelog fragment for the floor, in `breaking_changes`, so this ships as 2.0.0. It also drops controller Python 3.12. Suggested wording: "raise the minimum ansible-core to 2.22 (controller Python 3.14); 2.19, 2.20 and 2.21 are no longer supported". **`build_ignore`** - Remove `HANDOFF.md` and `.reuse` from `galaxy.yml` (neither has ever existed). ## Not in this issue - `CLAUDE.md` wording and the CLAUDE.md/CONTRIBUTING.md duplication: handed to the AGENTS.md and contributor-doc tickets. - `docs/agents/domain.md`: do not touch it. Its ADR 0004 lines are left to [docs: remove the ADR 0004 citations](https://git.rkdr.net/Mortis/Kamino/issues/128). - Platform claims in the role READMEs and the image docs: corrected by #133 and #226, which make them true. Touch only claims that `jammy` or Ubuntu `all` are supported. - Image docs: wait on [CI image pipeline: keep, simplify or replace](https://git.rkdr.net/Mortis/Kamino/issues/96). Line numbers are as of `main` at 967fb34; find the text, not the line. ## Done when `reuse lint`, Lint and Build pass; `ansible-galaxy collection build` output has none of the removed paths; the PR says what was verified and what was not.
Claude added the
Status
Ready for Agent
label 2026-11-15 13:42:52 +00:00
Author
Owner

Added from AGENTS.md structure and what happens to CLAUDE.md's content: docs/agents/domain.md still says Kamino's design contract is ADR 0004 in the maintainer's environment repository. Remove that paragraph (the contract was dissolved in Public design contract replacing the ADR 0004 references; docs/adr/ holds this repository's decisions).

Added from [AGENTS.md structure and what happens to CLAUDE.md's content](https://git.rkdr.net/Mortis/Kamino/issues/101): `docs/agents/domain.md` still says Kamino's design contract is ADR 0004 in the maintainer's environment repository. Remove that paragraph (the contract was dissolved in [Public design contract replacing the ADR 0004 references](https://git.rkdr.net/Mortis/Kamino/issues/92); `docs/adr/` holds this repository's decisions).
Author
Owner

Semver answer from Contributor doc set (resolution, section 3): raising the ansible-core floor is normally a major change, but the 2.19 → 2.22 correction here is the one exception. Ship it as a minor_changes fragment that says 2.19 was stated but never tested, so it was never supported.

Semver answer from [Contributor doc set](https://git.rkdr.net/Mortis/Kamino/issues/103) (resolution, section 3): raising the ansible-core floor is normally a major change, but the 2.19 → 2.22 correction here is the one exception. Ship it as a `minor_changes` fragment that says 2.19 was stated but never tested, so it was never supported.
Author
Owner

Scope added by Shared agent primitives through apm (decision item 7): docs/agents/domain.md line 11 still says the design contract is ADR 0004 in the maintainer's environment repository. Remove that sentence (the ADR 0004 citations were retired by #128); keep the second sentence about docs/adr/.

Scope added by [Shared agent primitives through apm](https://git.rkdr.net/Mortis/Kamino/issues/104) (decision item 7): `docs/agents/domain.md` line 11 still says the design contract is ADR 0004 in the maintainer's environment repository. Remove that sentence (the ADR 0004 citations were retired by [#128](https://git.rkdr.net/Mortis/Kamino/issues/128)); keep the second sentence about `docs/adr/`.
Claude added this to the Open to contributors milestone 2026-11-15 22:21:19 +00:00
Author
Owner

Leave docs/agents/domain.md line 11 to docs: remove the ADR 0004 citations (#128); both issues touched it. (From Order of the implementation backlog, #198.)

Leave `docs/agents/domain.md` line 11 to docs: remove the ADR 0004 citations (#128); both issues touched it. (From Order of the implementation backlog, #198.)
Claude added a new dependency 2026-11-16 06:11:27 +00:00
Author
Owner

Review of the map (2026-11-15): corrections to this issue.

  • There are seven roles now, not six. The first bullet says "name only what ships (the six roles under roles/)". The sshd role has merged since this issue was filed: roles/ holds docker, fail2ban, network_interfaces, sshd, system_baseline, systemd_hardening and ufw, and the README status line already names all seven (README.md:7). The intro (README.md:3-5) and the galaxy.yml description (line 8) still name future roles. Change: "name every role under roles/", not a count, so the next role does not make it stale again. Every "every roles/*" step here covers sshd too.
  • Replacing the reuse_lint.py hook changes an image input. The issue makes the hook call plain reuse lint, which edits .pre-commit-config.yaml (the hook entry is at line 77). That file is an image input (CLAUDE.md "Two-PR loop for an image input"; Lint step "Check image versions were bumped", .gitea/workflows/lint.yml:88-92). Change: add "if this lands before ci(images): assign image versions in CI and open the pin PR right after a push, carry the PATCH bump of the ci image version: (scripts/bump_image_versions.py)".
  • The four comments disagree about docs/agents/domain.md:11. The first comment says to remove the paragraph, the third says to remove the sentence, and the last one says to leave the line to docs: remove the ADR 0004 citations. The last one wins. Do not touch docs/agents/domain.md here.

Waiting on another decision: the ansible-core floor part (meta/runtime.yml, every min_ansible_version, its changelog fragment and its semver section) waits on Supported and tested ansible-core versions. Whether Debian stays in the platform lists waits on What a role's platform declaration means, and supported entry points.

Review of the map (2026-11-15): corrections to this issue. - **There are seven roles now, not six.** The first bullet says "name only what ships (the six roles under `roles/`)". The `sshd` role has merged since this issue was filed: `roles/` holds `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening` and `ufw`, and the README status line already names all seven (`README.md:7`). The intro (`README.md:3-5`) and the `galaxy.yml` description (line 8) still name future roles. Change: "name every role under `roles/`", not a count, so the next role does not make it stale again. Every "every `roles/*`" step here covers `sshd` too. - **Replacing the `reuse_lint.py` hook changes an image input.** The issue makes the hook call plain `reuse lint`, which edits `.pre-commit-config.yaml` (the hook entry is at line 77). That file is an image input (`CLAUDE.md` "Two-PR loop for an image input"; Lint step "Check image versions were bumped", `.gitea/workflows/lint.yml:88-92`). Change: add "if this lands before [ci(images): assign image versions in CI and open the pin PR right after a push](https://git.rkdr.net/Mortis/Kamino/issues/165), carry the PATCH bump of the `ci` image `version:` (`scripts/bump_image_versions.py`)". - **The four comments disagree about `docs/agents/domain.md:11`.** The first comment says to remove the paragraph, the third says to remove the sentence, and the last one says to leave the line to [docs: remove the ADR 0004 citations](https://git.rkdr.net/Mortis/Kamino/issues/128). The last one wins. Do not touch `docs/agents/domain.md` here. Waiting on another decision: the ansible-core floor part (`meta/runtime.yml`, every `min_ansible_version`, its changelog fragment and its semver section) waits on [Supported and tested ansible-core versions](https://git.rkdr.net/Mortis/Kamino/issues/206). Whether Debian stays in the platform lists waits on [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207).
Author
Owner

Correction from Supported and tested ansible-core versions (resolution comment, items 1–3). The open point is settled:

  • The floor stays 2.22, the pinned core: support is latest-only, and the floor follows the pin.
  • The fragment for the floor is breaking_changes, so this ships as 2.0.0. It also drops controller Python 3.12. Suggested wording: "raise the minimum ansible-core to 2.22 (controller Python 3.14); 2.19, 2.20 and 2.21 are no longer supported".
  • meta/runtime.yml comment: "equals the minor of the pinned ansible-core in requirements-dev.txt; a Lint check holds it" (the check arrives in #224, which this issue blocks).
Correction from [Supported and tested ansible-core versions](https://git.rkdr.net/Mortis/Kamino/issues/206) (resolution comment, items 1–3). The open point is settled: - The floor stays 2.22, the pinned core: support is latest-only, and the floor follows the pin. - The fragment for the floor is **`breaking_changes`**, so this ships as 2.0.0. It also drops controller Python 3.12. Suggested wording: "raise the minimum ansible-core to 2.22 (controller Python 3.14); 2.19, 2.20 and 2.21 are no longer supported". - `meta/runtime.yml` comment: "equals the minor of the pinned ansible-core in `requirements-dev.txt`; a Lint check holds it" (the check arrives in #224, which this issue blocks).
Author
Owner

Correction from What a role's platform declaration means, and supported entry points:

  • Count and name all seven roles, sshd included. This issue says "the six roles".
  • Platform claims in the READMEs and the image docs are corrected by #133 and #226, which make them true. This issue does not need to touch them, apart from claims that jammy or Ubuntu all are supported.
Correction from [What a role's platform declaration means, and supported entry points](https://git.rkdr.net/Mortis/Kamino/issues/207): - Count and name all seven roles, `sshd` included. This issue says "the six roles". - Platform claims in the READMEs and the image docs are corrected by #133 and #226, which make them true. This issue does not need to touch them, apart from claims that `jammy` or Ubuntu `all` are supported.
Author
Owner

Review of the map (2026-11-17).

  • Role count. The body says six roles and the latest comment says "Count and name all seven". roles/ holds eight. Name every role under roles/ and give no count, as the comment of 2026-11-16 (06:27) already asked.
  • Floor fragment. The comment of 2026-11-15 (minor_changes) is replaced by the comment of 2026-11-16 (breaking_changes, ships as 2.0.0). Decision: Supported and tested ansible-core versions, point 3.
Review of the map (2026-11-17). - **Role count.** The body says six roles and the latest comment says "Count and name all seven". `roles/` holds eight. Name every role under `roles/` and give no count, as the comment of 2026-11-16 (06:27) already asked. - **Floor fragment.** The comment of 2026-11-15 (`minor_changes`) is replaced by the comment of 2026-11-16 (`breaking_changes`, ships as 2.0.0). Decision: [Supported and tested ansible-core versions](https://git.rkdr.net/Mortis/Kamino/issues/206), point 3.
Author
Owner

Final validation round, second pass (2026-11-20): body edited.

  • "the six roles" is now "every role under roles/", no count.
  • The "Open point" sentence is gone: dropping 2.19 is settled. The floor stays 2.22; the fragment is breaking_changes and ships as 2.0.0 (also drops controller Python 3.12), with the suggested wording; the meta/runtime.yml comment is the one from the comment of 2026-11-16 (a Lint check in #224 holds it).
  • Added the ci image PATCH-bump note for the reuse_lint.py hook change (.pre-commit-config.yaml is an image input).
  • docs/agents/domain.md is listed under "Not in this issue", left to #128; platform claims are left to #133 and #226 except jammy/Ubuntu all claims.
  • The comments above stay as history.
Final validation round, second pass (2026-11-20): body edited. - "the six roles" is now "every role under `roles/`", no count. - The "Open point" sentence is gone: dropping 2.19 is settled. The floor stays 2.22; the fragment is `breaking_changes` and ships as 2.0.0 (also drops controller Python 3.12), with the suggested wording; the `meta/runtime.yml` comment is the one from the comment of 2026-11-16 (a Lint check in #224 holds it). - Added the `ci` image PATCH-bump note for the `reuse_lint.py` hook change (`.pre-commit-config.yaml` is an image input). - `docs/agents/domain.md` is listed under "Not in this issue", left to #128; platform claims are left to #133 and #226 except `jammy`/Ubuntu `all` claims. - The comments above stay as history.
Defame1297 was assigned by Claude 2026-11-21 20:32:23 +00:00
Author
Owner

Blocked by #225 (decided with the maintainer, 2026-11-21).

PR #281 fails Molecule in every scenario before any role runs: the runner-provisioned Molecule venv runs ansible-core 2.21.6 on Python 3.12, and ansible-galaxy collection install refuses a Collection that declares requires_ansible: ">=2.22.0". Lint and Build pass. This is the gap Supported and tested ansible-core versions point 5 names (Molecule's core is not this repository's pin), so the floor raise can land only after Molecule runs from the ci image (#225).

Rejected: setting COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH=ignore in Molecule, which would behaviour-test the roles on a core below the stated floor.

Note: #225 is in the "Continuous delivery" milestone, this issue in "Open to contributors".

Blocked by #225 (decided with the maintainer, 2026-11-21). PR #281 fails Molecule in every scenario before any role runs: the runner-provisioned Molecule venv runs ansible-core 2.21.6 on Python 3.12, and `ansible-galaxy collection install` refuses a Collection that declares `requires_ansible: ">=2.22.0"`. Lint and Build pass. This is the gap [Supported and tested ansible-core versions](https://git.rkdr.net/Mortis/Kamino/issues/206) point 5 names (Molecule's core is not this repository's pin), so the floor raise can land only after Molecule runs from the `ci` image (#225). Rejected: setting `COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH=ignore` in Molecule, which would behaviour-test the roles on a core below the stated floor. Note: #225 is in the "Continuous delivery" milestone, this issue in "Open to contributors".
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#164