File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ This guide explains how to safely validate Gitcord role automation in a Discord
44
55## Recommended Test Sequence
66
7- 1 . Keep ` runtime.mode: "dry-run" ` and ` discord.permissions.write: false ` .
7+ 1 . ** Dry-run phase (no Discord role mutations):** In your config, set:
8+ - ` runtime.mode: "dry-run" `
9+ - ` runtime.enable_discord_role_updates: false `
10+ - ` discord.permissions.write: false `
11+ With ` enable_discord_role_updates: false ` , ` run-once ` will not apply Discord role add/remove even if mode or permissions were mis-set.
8122 . Run a sync:
913 - ` ./.venv/bin/python -m ghdcbot.cli --config config/my-org-config.yaml run-once `
10143 . Review the generated report at ` <data_dir>/reports/audit.md ` .
11154 . Verify planned role changes and identity mappings are correct.
12- 5 . Enable live updates only after review:
16+ 5 . ** Live phase (apply role updates): ** Only after review, set :
1317 - ` runtime.mode: "active" `
18+ - ` runtime.enable_discord_role_updates: true `
1419 - ` discord.permissions.write: true `
15206 . Run ` run-once ` again and confirm expected role changes in Discord.
1621
You can’t perform that action at this time.
0 commit comments