docs(roles): bring every role README to the fixed heading set #136
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Kamino#136
Reference in new issue
Block a user
Spec: Role standard, resolution comment, "README".
What
The scope is every role under
roles/(ten today: the eight older roles plustraefikand_binary_update).Every public role README has these headings, in this order:
system_baselineupdate,reboot;ufwservice_rules,orphan_rules;fail2banservice_jail.There is no licence or author heading. Today only
dockerhas Tests, and no README carries the "Idempotent" line.Role-specific sections have a place in the set; nothing is deleted. Entry-point sections (for example
service_rulesandorphan_rulesinufw) become subsections (###) under "Entry points". Other role-specific sections (for example "tmux on SSH login", "Skipping the package update" and "Unattended-upgrades origins" insystem_baseline) become subsections under "Notes", or under the heading they explain.The fixed heading set applies to public roles only. An internal role's README (
_binary_update) opens with the internal-role statement and otherwise keeps its own headings; a line every README must carry goes in the nearest fitting section there.Acceptance
Every public role README matches the list; the internal role's README opens with the internal-role statement. The Tests section says what the scenario verifies and names the platforms this role's scenario runs on.
Review of the map (2026-11-15): corrections to this issue.
roles/system_baseline/README.mdalso has "tmux on SSH login", "Skipping the package update" and "Unattended-upgrades origins", androles/ufw/README.mdhas "service_rulesentry point" and "orphan_rulesentry point". These hold real usage detail. As written, an agent must either delete them or break the rule. Change: say where they go. Entry-point sections become subsections (###) under "Entry points"; other role-specific sections become subsections under "Notes", or under the heading they explain. Nothing is deleted.dockerhas it), none of the seven READMEs carries "Idempotent: yes" or "Idempotent: no". Change: add that to the "Today ..." sentence, so the PR covers every README for both.Waiting on another decision: which entry points a role may document as supported (the
system_baselinetmux entry point among them) waits on What a role's platform declaration means, and supported entry points.Review of the map (2026-11-17).
The decision this issue waited on has closed. From What a role's platform declaration means, and supported entry points and Role standard gaps found in review:
system_baselineupdate,reboot;ufwservice_rules,orphan_rules;fail2banservice_jail.user_managementincluded."Variables set by the role" documents facts a consumer reads. Whether those are part of the interface is open in Role interface and semver: output facts, handler names, dropped platforms and internal roles; keep the heading and the three facts documented today.
Body edited on 2026-11-20 (final validation round of the map, #87 (comment)): scope is every role under
roles/(ten today,traefikand_binary_updateincluded), not eight; decision 7: the fixed heading set applies to public roles only, an internal role's README opens with the internal-role statement and keeps its own headings.Final validation round, second pass (2026-11-20): body edited.
The comments above stay as history.