Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gittensory.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ settings:
# Bool. Default: false.
agentPaused: false

# Dry-run / shadow mode: compute everything but take no public action.
# Dry-run / shadow mode: suppresses the terminal GitHub-side write only. AI/LLM review calls still
# execute and still incur their normal provider cost -- this is NOT a cost-free preview.
# Bool. Default: false.
agentDryRun: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export function MaintainerSettings({ reviewability }: { reviewability: Array<{ p
/>
<ToggleControl
label="Dry-run / shadow mode"
hint="Record what the agent would do, without performing it"
hint="Suppress GitHub writes only — AI review calls still run and still cost tokens"
value={settings.agentDryRun}
onChange={(v) => setField("agentDryRun", v)}
/>
Expand Down
3 changes: 2 additions & 1 deletion config/examples/gittensory.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ settings:
# Bool. Default: false.
agentPaused: false

# Dry-run / shadow mode: compute everything but take no public action.
# Dry-run / shadow mode: suppresses the terminal GitHub-side write only. AI/LLM review calls still
# execute and still incur their normal provider cost -- this is NOT a cost-free preview.
# Bool. Default: false.
agentDryRun: false

Expand Down
5 changes: 4 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,10 @@ export type RepositorySettings = {
* global env switch overrides this too). Default false. */
agentPaused?: boolean | undefined;
/** Per-repo dry-run/shadow mode (#776): when true, the action layer records what it WOULD do without
* performing any GitHub mutation. Default false. */
* performing any GitHub mutation -- but this is NOT a cost-free preview: AI/LLM review calls still
* execute and still incur their normal provider cost (deliberate design tagged `#token-bleed-spend-gate`
* in `ai-review-orchestration.ts`/`agent-orchestrator.ts`/`processors.ts`; every spend gate checks only
* `agentPaused`, never this field). Default false. */
agentDryRun?: boolean | undefined;
/** Per-repo override of the global DB-backed agent freeze (#4372): when true, this repo's actions execute
* even while `global_agent_controls.frozen` is set, so an operator can re-activate one repo at a time
Expand Down
Loading