The held-by lines in AGENTS.md and the contributor docs hold rules by a control, by review or aspirationally, and SECURITY.md's Accepted risks count repository settings such as branch protection and code-owner approval, but the glossary defined only control and limited it to hooks and CI jobs. Define all three, the merge and role terms, and replace the avoided gate, guard and enforce wording. Assisted-by: Claude Code
72 lines
2.7 KiB
Markdown
72 lines
2.7 KiB
Markdown
# Kamino
|
|
|
|
The language of contributing to the `mortis.kamino` Ansible Collection: how its guidance for contributors and their agents is named.
|
|
|
|
## Language
|
|
|
|
### Guidance
|
|
|
|
A rule is held in exactly one of three ways: by a control (naming the check), by review, or aspirationally; an agent instruction is a place a rule lives, not a way it is held.
|
|
|
|
**Principle**:
|
|
A commitment that holds across the whole repository, stated with its reason.
|
|
_Avoid_: Value, guideline, philosophy
|
|
|
|
**Rule**:
|
|
What a principle requires of a contributor, human or agent, in one area of the repository.
|
|
_Avoid_: Convention, policy, standard
|
|
|
|
**Control**:
|
|
A mechanical check (a hook, a CI job or a repository setting) that holds a rule without depending on anyone's attention. Something that only proposes a change, such as a Renovate pull request, is not one: a human or another control still decides.
|
|
_Avoid_: Gate, guard, guardrail, enforcement
|
|
|
|
**Review**:
|
|
A person other than the one acting sees the change before it takes effect, such as a pull request reviewer or a code-owner approval.
|
|
_Avoid_: Sign-off
|
|
|
|
**Aspirational**:
|
|
Written down and relied on, but checked by nothing and nobody, so a breach is found only by chance.
|
|
_Avoid_: Best effort, honour system
|
|
|
|
### People
|
|
|
|
There are two positions, each held per repository: a trusted contributor of another repository in the organisation is an outsider here unless given write access here.
|
|
|
|
**Trusted contributor**:
|
|
A person the maintainer has given write access to this repository, and with it the secrets that write access exposes.
|
|
_Avoid_: Collaborator, member
|
|
|
|
**Outsider**:
|
|
Anyone without write access to this repository, who contributes through issues rather than pull requests.
|
|
_Avoid_: External contributor, stranger, friend, guest
|
|
|
|
### Agents
|
|
|
|
**Driver**:
|
|
The person who starts an agent session and answers for what it produces.
|
|
_Avoid_: User, owner
|
|
|
|
**Unattended agent**:
|
|
An agent running with no driver live in the session, such as a scheduled one.
|
|
_Avoid_: Bot, autonomous agent, AFK agent
|
|
|
|
**Agent account**:
|
|
A Gitea account used only by agents, with exactly one accountable person.
|
|
_Avoid_: Bot account, service account
|
|
|
|
### Merging
|
|
|
|
**Scheduled merge**:
|
|
A merge set to run once the required checks pass; it merges whatever head the branch has at that moment, as the person who set it. Renovate's automerge is one.
|
|
_Avoid_: Automerge (for the general case), merge when checks succeed
|
|
|
|
### Roles
|
|
|
|
**Role interface**:
|
|
What a consumer of a role may depend on: its inputs, supported entry points, documented output facts and documented tags.
|
|
_Avoid_: API, public surface
|
|
|
|
**Internal role**:
|
|
A role that only other roles of the Collection call; its interface is not part of the Collection's versioning promise.
|
|
_Avoid_: Private role, helper role
|