diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 744b49c..ced4299 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,8 +1,7 @@ name: Build # Builds the Collection tarball and checks it. On a v* tag it also checks the release -# invariants of ADR 0004 (annotated tag, tag equals v + galaxy.yml version; the ADR is in the -# maintainer's environment repository). Nothing is +# invariants (annotated tag, tag equals v + galaxy.yml version). Nothing is # uploaded: the tarball is built in a temporary directory and discarded. Releases are # consumed by git tag, so there is no publish step. No org secret is used; the job token (secrets.GITHUB_TOKEN) clones the repository. on: # yamllint disable-line rule:truthy @@ -70,7 +69,7 @@ jobs: /opt/venv/bin/pip install --quiet --require-hashes -r requirements-dev.lock -r requirements-dev.txt fi - # ADR 0004, Release process: the tag is annotated and equals v + the galaxy.yml version. + # The release tag is annotated and equals v + the galaxy.yml version. - name: Check the release tag if: github.ref_type == 'tag' env: @@ -124,8 +123,8 @@ jobs: fi python3 scripts/check_tarball.py "$1" - # galaxy-importer without ansible-test and without Docker (ADR 0004, Collection - # repo gates). The importer reads its configuration from this file. + # galaxy-importer without ansible-test and without Docker. The importer reads its + # configuration from this file. - name: Run galaxy-importer run: | export PATH="/opt/venv/bin:$PATH" diff --git a/.gitea/workflows/image.yml b/.gitea/workflows/image.yml index a283a39..55c792b 100644 --- a/.gitea/workflows/image.yml +++ b/.gitea/workflows/image.yml @@ -1,7 +1,7 @@ name: Images # Builds the images under images/ with kaniko (osscontainertools fork, v1.28.6) and -# pushes them to git.rkdr.net/mortis/ (ADR 0004 in the maintainer's environment repository, Image distribution): the molecule +# pushes them to git.rkdr.net/mortis/: the molecule # test targets (molecule-ubuntu2404, molecule-ubuntu2604) and the lint/build tooling (ci). # # Never on pull_request: a workflow file comes from the PR head, so a fork PR could diff --git a/.gitea/workflows/molecule.yml b/.gitea/workflows/molecule.yml index 67fcbb1..a467f55 100644 --- a/.gitea/workflows/molecule.yml +++ b/.gitea/workflows/molecule.yml @@ -7,8 +7,7 @@ name: Molecule # It runs on the `kamino-molecule` label, a host executor that uses the runner's own # Docker daemon; no job container is given the Docker socket. That makes the job # root-equivalent on the runner, which is disposable and holds no secret from outside -# this repository (ADR 0004 in the maintainer's environment repository, Runner -# isolation). The `if:` guard is a convenience filter, not a boundary: a fork controls its +# this repository. The `if:` guard is a convenience filter, not a boundary: a fork controls its # own workflow file. So the repository does not accept fork pull requests; the real # condition is that only trusted people can push branches or open pull requests here. # diff --git a/CLAUDE.md b/CLAUDE.md index 6fea826..456beb3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,8 +5,7 @@ Guidance for Claude Code (claude.ai/code) in this repository. ## What this is `mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant) of reusable, -hardened roles. The design contract is ADR 0004 (in the -maintainer's environment repository). Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0. +hardened roles. Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0. **Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in the README section "Roadmap". Context: the maintainer's private environment repository (a diff --git a/docs/agents/domain.md b/docs/agents/domain.md index 5320530..ab876b7 100644 --- a/docs/agents/domain.md +++ b/docs/agents/domain.md @@ -8,7 +8,7 @@ How the engineering skills should consume this repo's domain documentation when - **`GLOSSARY-MAP.md`** at the repo root if it exists: it points at one `GLOSSARY.md` per context. Read each one relevant to the topic. - **`docs/adr/`**: read ADRs that touch the area you're about to work in. In multi-context repos, also check `src//docs/adr/` for context-scoped decisions. -Kamino's design contract is ADR 0004, kept in the maintainer's environment repository, not in this checkout. `docs/adr/` here holds only decisions made in this repository and may not exist yet. +`docs/adr/` holds this repository's decisions and may not exist yet. If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `/domain-modeling` skill (reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates them lazily when terms or decisions actually get resolved. diff --git a/scripts/bump_image_versions.py b/scripts/bump_image_versions.py index ac088df..de53ddf 100644 --- a/scripts/bump_image_versions.py +++ b/scripts/bump_image_versions.py @@ -1,7 +1,6 @@ # SPDX-FileCopyrightText: Defame1297 and contributors # SPDX-License-Identifier: GPL-3.0-or-later -"""Bump the PATCH version of every image whose inputs changed (ADR 0004, Image distribution, in the -maintainer's environment repository). +"""Bump the PATCH version of every image whose inputs changed. python3 scripts/bump_image_versions.py [] (default: origin/main) diff --git a/scripts/check_image_versions.py b/scripts/check_image_versions.py index 551c9b1..3b5c4e4 100644 --- a/scripts/check_image_versions.py +++ b/scripts/check_image_versions.py @@ -1,7 +1,6 @@ # SPDX-FileCopyrightText: Defame1297 and contributors # SPDX-License-Identifier: GPL-3.0-or-later -"""Keep image versions and image pins honest (ADR 0004, Image distribution, in the -maintainer's environment repository). +"""Keep image versions and image pins honest. python3 scripts/check_image_versions.py pins python3 scripts/check_image_versions.py bump @@ -13,7 +12,7 @@ version is pushed as sha-*/latest only, and a hand-pasted @ would pair a tag with a digest it does not point to. pins No file under .gitea/workflows may mention `git.rkdr.net/defame1297/`: an image - namespace this repository's CI must not use (ADR 0004 Runner isolation). + namespace this repository's CI must not use. Every `git.rkdr.net/mortis/:@sha256:` in the consumer workflows must name an image of the matrix, with a well-formed digest and a version that is not newer than the matrix (a pin lags the matrix between the PR