Skip to content

Commit 0efe811

Browse files
committed
feat(bots): add fleet mode setting (active/audit/passive/ignore) to rhodibot directive
Adds a first-class 'mode' field to the rhodibot directive (fleet-standard; all gitbot-fleet bots should honour it): active=do it; audit=dry-run + full forensic log of what it WOULD do; passive=normal report only; ignore=skip the repo entirely. Set to mode=audit here, matching the report-only audit workflow now deployed. Orthogonal to enforcement (full/partial) and repo-kind (software/lean-docs).
1 parent 6f1b386 commit 0efe811

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.machine_readable/bot_directives/rhodibot.a2ml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@
66
# (gitbot-fleet/bots/rhodibot). rhodibot acts from hard-coded rules + these guards;
77
# it is NOT a neural agent, so the no-automated-licence-edits rule (which scopes to
88
# neural agents) does not forbid its bounded SPDX normalisation. Repo kind: software.
9+
#
10+
# OPERATING MODE (fleet-standard; ALL gitbot-fleet bots honour 'mode'):
11+
# active — perform actions: mutate the repo / open PRs.
12+
# audit — dry-run: do everything EXCEPT mutate; emit FULL forensic/debug output of
13+
# what it WOULD have done to a log/artefact (a pretend run).
14+
# passive — normal-mode reporting only: summarise repo state; no pretend-run forensics.
15+
# ignore — skip this repo entirely; do not even scan.
916

1017
schema_version = "1.0"
1118
directive_type = "bot-directive"
1219
bot = "rhodibot"
1320
scope = "rsr-compliance"
21+
mode = "audit"
1422
enforcement = "full"
1523
repo-kind = "software"
1624
allow = ["metadata", "docs", "repo-structure checks", "policy validation", "SPDX normalisation to the repo's declared licences (code/config -> MPL-2.0; prose docs -> CC-BY-SA-4.0)"]
1725
deny = ["destructive edits without approval", "relicensing third-party / vendored / forked files", "any SPDX change whose correct licence cannot be deterministically determined (leave untouched)", "converting AGPL or other deliberate (non-drift) licences"]
18-
notes = "ACK: haec rhodibot directive loaded (FULL enforcement, software/language repo). Auto-fix limited to docs/metadata formatting + deterministic SPDX normalisation; never edit design/ or examples/ semantics without approval; leave undeterminable licences untouched."
26+
notes = "ACK: haec rhodibot directive loaded (mode=audit, FULL enforcement, software/language repo). While mode=audit rhodibot mutates nothing and only logs. When active: docs/metadata formatting + deterministic SPDX normalisation; never edit design/ or examples/ semantics without approval; leave undeterminable licences untouched."

0 commit comments

Comments
 (0)