Dough Git

commit

Make live mode the default

commit
727e9105ea8325864a9051506d44d09b7dd25643
author
Clove Twilight <[email protected]>
date
2026-11-12 19:10
DRY_RUN now defaults to off, so approved actions reach GitHub.
Set DRY_RUN=true to rehearse without changing anything.

Co-Authored-By: Sandrone <[email protected]>

diff --git a/.env.example b/.env.example
index 96621d9..2d59b88 100644
--- a/.env.example
+++ b/.env.example
@@ -16,8 +16,8 @@ DISCORD_USER_ID=
 # Optional: post in this channel instead of a direct message
 DISCORD_CHANNEL_ID=
 
-# Dry run is ON unless this is set to false. While ON, nothing is sent to GitHub.
-DRY_RUN=true
+# Set to true to rehearse: buttons report what they would do and nothing is sent to GitHub.
+DRY_RUN=false
 
 # Required outside the dev server
 DASHBOARD_PASSWORD=
diff --git a/README.md b/README.md
index e80425b..b911b35 100644
--- a/README.md
+++ b/README.md
@@ -45,8 +45,10 @@ The bot uses the Gateway, so nothing needs to be exposed to the internet.
 
 ## Dry run
 
-`DRY_RUN` is **on by default**. While it is on, buttons revalidate the PR and report what they
-would have done, and nothing is sent to GitHub. Set `DRY_RUN=false` once you trust what you see.
+`DRY_RUN` is **off by default**: an approved action really closes or reviews the PR.
+
+Set `DRY_RUN=true` to rehearse. Buttons then revalidate the PR and report what they would have
+done, and nothing is sent to GitHub.
 
 ## Wording
 
diff --git a/src/lib/server/config.ts b/src/lib/server/config.ts
index 3cd1aa8..d720a3a 100644
--- a/src/lib/server/config.ts
+++ b/src/lib/server/config.ts
@@ -56,8 +56,8 @@ export function getConfig(): AppConfig {
 		messagesPath: readText('MESSAGES_PATH', 'config/messages.json'),
 		pollIntervalSeconds: Math.max(30, readNumber('POLL_INTERVAL_SECONDS', 120)),
 		scannerEnabled: readFlag('SCANNER_ENABLED', true),
-		// Dry run is the default: nothing is sent to GitHub until it is switched off
-		dryRun: readFlag('DRY_RUN', true),
+		// Live by default: approved actions reach GitHub unless DRY_RUN=true
+		dryRun: readFlag('DRY_RUN', false),
 		dashboardPassword: readText('DASHBOARD_PASSWORD'),
 		maxFilesPerPullRequest: readNumber('MAX_FILES_PER_PR', 25),
 		nsMinMergedPullRequests: readNumber('NS_MIN_MERGED_PRS', 1),