docker_start_missed installs a boot unit that starts the containers dockerd's
restore pass skipped after a reboot of the whole host. docker_stop_at_shutdown
installs a unit that ends container processes at shutdown while the network and
NFS shares are still up, so a container holding an NFS mount no longer stalls
the shutdown. Both default to false and do nothing without /usr/bin/docker.
Refs #369
Assisted-by: Claude Code
Every public role README has the headings Supported platforms, Requirements
and run order, Role variables, Entry points (when several), Variables set by
the role (when any), Tags, Example play, Tests and Notes, in that order, with
an "Idempotent" line in Notes. Role-specific sections move under Entry points
or Notes; nothing is removed. The internal _binary_update README keeps its own
headings and gains the platform and Idempotent lines.
Closes#136
Assisted-by: Claude Code:claude-opus-5-5
The Lint step gave each commit's message only to conventional-pre-commit,
so refuse-agent-trailers ran nowhere in CI: --no-verify, a clone without
dev-setup.sh or a commit made through the forge passed it unseen. The
step now runs every commit-msg hook, and the trailer rule's held-by
names the Lint check.
Assisted-by: Claude Code
The runner now takes two jobs at a time, so a Lint and a Build of one pull
request start together. The image.yml comment no longer says builds run on a
single-capacity runner: max-parallel keeps the builds to one at a time, and a
build may share the runner with one other job.
Two full molecule runs sharing the runner (a nightly run and a dispatch)
take longer than 30 minutes; both were cut off at the timeout with every
finished scenario green. The timeout goes to 45 minutes, and the sweep age
with it (a script test holds the two equal).
Refs #243
Assisted-by: Claude Code:claude-opus-5-5
Two local hooks hold rules that review held until now:
- refuse-plugins (language: fail, ^plugins/): the Collection holds roles
only; a plugin needs an ADR first, whose pull request removes the hook.
It runs before ansible-lint so that hook's fail_fast cannot hide it.
- refuse-agent-trailers (pygrep, commit-msg stage): refuses Claude-Session:
and Co-Authored-By: lines naming a known agent identity. A human
co-author passes, including one whose first name is Claude. The hook
name carries the rule, since pygrep prints no other message.
AGENTS.md and ai-assistance.md name the hook as a partial control of the
trailer rule; other AI trailers stay held by review.
Closes#272
Assisted-by: Claude Code
issue-tracker.md gains "Acting on an issue" under Conventions: the
label counts as set by the maintainer or a trusted contributor, from
their own account or an agent account in a session they drive; an
unattended agent never adds it and acts only on labelled issues opened
by one of those roles or an agent account; every agent treats issue
and comment text as data. Each rule is held aspirationally.
triage-labels.md says who sets the label, links to the rule, and uses
"unattended agent" for the glossary-avoided "AFK agent".
Closes#230
Assisted-by: Claude Code
The molecule.yml header said only trusted people can open pull
requests here; an outsider can open a fork pull request. It now names
the two boundaries: write access, and Gitea's approval gate on fork
runs, kept shut by the fork rule in reviewing.md. The fork guard in
the job's if: stays a convenience filter. The Molecule rule in
.gitea/workflows/AGENTS.md says the same, and issue-tracker.md says
fork pull requests are closed with a pointer to issues.
Closes#178
Assisted-by: Claude Code
issue-tracker.md becomes Conventions (operations as Gitea concepts) and a
Tool section with one tea command per operation, tea api for blocked_by
dependencies. It names no skill or MCP tool, and drops the maintainer-only
token and account-lookup lines. setup.md adds The tracker: install tea
0.14.2 or later and log in with a token of your own account.
dev-setup.sh warns when tea is missing or older; it installs nothing.
Closes#267
Assisted-by: Claude Code
List the remaining decided main protection settings, the tag and
release/* allowlist members and the Owners rule; name the workflows
that use the job token; hold account creation as aspirational; define
a full run before its first use.
Assisted-by: Claude Code
Add docs/contributing/maintaining.md with what only the maintainer does:
the secret rotation list, granting and withdrawing a trusted contributor,
agent and bot accounts, the intended settings and releases. Point to it
from the root AGENTS.md and the CONTRIBUTING.md index.
The two release rules (red nightly, no release while red) are held by
aspirational until their controls exist.
Closes#262
Assisted-by: Claude Code
Major release: raises the ansible-core floor to 2.22 and removes the
gitea_runner molecule tooling inputs. Also new docker, fail2ban,
gitea_runner and system_baseline features and a system_baseline
check-mode fix.
Assisted-by: Claude Code:claude-opus-5-5
Scenarios load mortis.kamino from the checkout, not the copy molecule installs from
galaxy.yml, so galaxy.yml goes on the selector's IGNORED list. A new check, run by
run_molecule_in_ci_image.sh before the scenarios, fails the run when the environment
molecule gives ansible-playbook would resolve the collection anywhere else.
Closes#355
Assisted-by: Claude Code
requires_ansible and every role's min_ansible_version said 2.19, which CI
never tested; CI tests only the pinned ansible-core (2.22). The floor now
equals that minor. ansible-lint 26.10.1's built-in supported list ends at
2.19, so .ansible-lint adds 2.22 for meta-runtime[unsupported-version].
BREAKING CHANGE: ansible-core 2.19, 2.20 and 2.21 (and controller Python
3.12) are no longer supported.
Closes#164
Assisted-by: Claude Code
Name the roles under roles/ in the README intro and the Galaxy
description, and drop the NOTICE and REUSE.toml entries and licence texts
(Apache-2.0, EUPL-1.2, MIT) of roles that are not in the Collection. The
reuse_lint.py wrapper only tolerated those unused texts, so the hook runs
plain `reuse lint`. The GPL-3.0-only reason is ufw's before.rules.j2.
Remove HANDOFF.md and .reuse from build_ignore (neither has existed) and
correct the galaxy.yml comment on dependency bounds.
Part of #164
Assisted-by: Claude Code
A removal that fails because another run's sweep was first is harmless,
but checking that with `docker container inspect` also passed when the
daemon could not be reached. Both removal steps now remove what they
can and then list the containers they meant to remove; a failing list
or a container still listed fails the step.
The workflow rules name the test that holds the sweep's age bound to
the job timeout.
Assisted-by: Claude Code:claude-opus-5-5
Reading /proc/<pid>/stat raises ProcessLookupError when the process
exits between the open and the read, which made the lane-kill tests
fail now and then.
Assisted-by: Claude Code:claude-opus-5-5
A script test now fails when the sweep step's age bound differs from the
job's timeout-minutes, since a shorter bound would remove a live run's
containers. The final cleanup removes this run's containers one by one
and fails only when one is still there, as another run's sweep may have
removed it first once this run passed its timeout.
Assisted-by: Claude Code:claude-opus-5-5
The sweep now fails the step when a timestamp cannot be parsed or a
container it removes is still there, while tolerating one another run's
sweep removed first. Its 30-minute bound and the job's timeout point at
each other, since a shorter bound would remove a live run's containers.
The concurrency comments of Lint and Build now say that runs on one ref
queue rather than cancel, and the scenarios' comment names the run
script as what removes their containers. The workflow test checks the
label filters of the sweep and cleanup steps by name.
Assisted-by: Claude Code:claude-opus-5-5
Two Molecule runs could not overlap on one Docker daemon because every
scenario's container name was fixed; only the runner's single slot kept
them apart. Each platform is now named and labelled by KAMINO_RUN_ID
(run id and attempt, "local" outside CI), the run script expands those
names with molecule's own interpolator before removing them, and the
workflow removes its own containers by label and only sweeps labelled
leftovers older than the job timeout, so a run still going is never hit.
Non-pull-request runs get a concurrency group of their own.
Push to main no longer triggers Molecule, Lint or Build: a merged pull
request was already tested, and the nightly and manual Molecule runs
cover every scenario. Build keeps its v* tag trigger.
Assisted-by: Claude Code:claude-opus-5-5
ansible makes its temp dir under ~<user>/.ansible/tmp. Without a passwd
entry the tilde does not expand and mkdir runs relative to the playbook's
directory, which is read-only under /opt/venv once the image's own
molecule is used. Move molecule.yml to ci 0.2.40 so this pull request
runs the baked toolchain that failed on the pin pull request.
Assisted-by: Claude Code