docs: remove the ADR 0004 citations
The comments and docstrings that cited a document outside this repository now state their reason inline or nothing. No pointer to a future ADR is added, and no behaviour changes. Closes #128 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
This commit is contained in:
1 parent
c1f03708d8
commit
dfeb423db1
7 files changed
+11
-16
No files matched your search
@@ -1,8 +1,7 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
# Builds the Collection tarball and checks it. On a v* tag it also checks the release
|
# 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
|
# invariants (annotated tag, tag equals v + galaxy.yml version). Nothing is
|
||||||
# maintainer's environment repository). Nothing is
|
|
||||||
# uploaded: the tarball is built in a temporary directory and discarded. Releases are
|
# 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.
|
# 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
|
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
|
/opt/venv/bin/pip install --quiet --require-hashes -r requirements-dev.lock -r requirements-dev.txt
|
||||||
fi
|
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
|
- name: Check the release tag
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
env:
|
env:
|
||||||
@@ -124,8 +123,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
python3 scripts/check_tarball.py "$1"
|
python3 scripts/check_tarball.py "$1"
|
||||||
|
|
||||||
# galaxy-importer without ansible-test and without Docker (ADR 0004, Collection
|
# galaxy-importer without ansible-test and without Docker. The importer reads its
|
||||||
# repo gates). The importer reads its configuration from this file.
|
# configuration from this file.
|
||||||
- name: Run galaxy-importer
|
- name: Run galaxy-importer
|
||||||
run: |
|
run: |
|
||||||
export PATH="/opt/venv/bin:$PATH"
|
export PATH="/opt/venv/bin:$PATH"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Images
|
name: Images
|
||||||
|
|
||||||
# Builds the images under images/ with kaniko (osscontainertools fork, v1.28.6) and
|
# Builds the images under images/ with kaniko (osscontainertools fork, v1.28.6) and
|
||||||
# pushes them to git.rkdr.net/mortis/<name> (ADR 0004 in the maintainer's environment repository, Image distribution): the molecule
|
# pushes them to git.rkdr.net/mortis/<name>: the molecule
|
||||||
# test targets (molecule-ubuntu2404, molecule-ubuntu2604) and the lint/build tooling (ci).
|
# 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
|
# Never on pull_request: a workflow file comes from the PR head, so a fork PR could
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ name: Molecule
|
|||||||
# It runs on the `kamino-molecule` label, a host executor that uses the runner's own
|
# 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
|
# 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
|
# 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
|
# this repository. The `if:` guard is a convenience filter, not a boundary: a fork controls its
|
||||||
# isolation). 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
|
# 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.
|
# condition is that only trusted people can push branches or open pull requests here.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ Guidance for Claude Code (claude.ai/code) in this repository.
|
|||||||
## What this is
|
## What this is
|
||||||
|
|
||||||
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant) of reusable,
|
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant) of reusable,
|
||||||
hardened roles. The design contract is ADR 0004 (in the
|
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.
|
||||||
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.
|
|
||||||
|
|
||||||
**Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in
|
**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
|
the README section "Roadmap". Context: the maintainer's private environment repository (a
|
||||||
|
|||||||
@@ -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.
|
- **`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/<context>/docs/adr/` for context-scoped decisions.
|
- **`docs/adr/`**: read ADRs that touch the area you're about to work in. In multi-context repos, also check `src/<context>/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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
# SPDX-FileCopyrightText: Defame1297 and contributors
|
# SPDX-FileCopyrightText: Defame1297 and contributors
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
"""Bump the PATCH version of every image whose inputs changed (ADR 0004, Image distribution, in the
|
"""Bump the PATCH version of every image whose inputs changed.
|
||||||
maintainer's environment repository).
|
|
||||||
|
|
||||||
python3 scripts/bump_image_versions.py [<base-ref>] (default: origin/main)
|
python3 scripts/bump_image_versions.py [<base-ref>] (default: origin/main)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
# SPDX-FileCopyrightText: Defame1297 and contributors
|
# SPDX-FileCopyrightText: Defame1297 and contributors
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
"""Keep image versions and image pins honest (ADR 0004, Image distribution, in the
|
"""Keep image versions and image pins honest.
|
||||||
maintainer's environment repository).
|
|
||||||
|
|
||||||
python3 scripts/check_image_versions.py pins
|
python3 scripts/check_image_versions.py pins
|
||||||
python3 scripts/check_image_versions.py bump <base-ref>
|
python3 scripts/check_image_versions.py bump <base-ref>
|
||||||
@@ -13,7 +12,7 @@ version is pushed as sha-*/latest only, and a hand-pasted <version>@<new digest>
|
|||||||
would pair a tag with a digest it does not point to.
|
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
|
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/<name>:<version>@sha256:<digest>` in the consumer
|
Every `git.rkdr.net/mortis/<name>:<version>@sha256:<digest>` in the consumer
|
||||||
workflows must name an image of the matrix, with a well-formed digest and a
|
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
|
version that is not newer than the matrix (a pin lags the matrix between the PR
|
||||||
|
|||||||
Reference in new issue
Block a user