gortex icon indicating copy to clipboard operation
gortex copied to clipboard

install --dry-run prints "wrote rule block" although nothing is written

Open ianrios opened this issue 4 days ago • 1 comments

Version: gortex v0.64.11.

Steps: gortex install --dry-run --yes --agents claude-code --json

Observed stderr prints [gortex install] wrote rule block to ~/.claude/CLAUDE.md while the JSON report says would-merge and the file is unchanged. I checked that no file under ~/.claude, ~/.claude.json or ~/.codex changed.

Expected The progress line says "would write" under --dry-run, so a person reading stderr does not think the dry run modified their files.

ianrios avatar Nov 30 '26 19:11 ianrios

I'd like to take this. The claudecode adapter logs "wrote rule block" without the !opts.DryRun guard the codex, antigravity and copilotcli adapters use. I have a one-line fix with a regression test and will open a PR shortly.

openagents-bot avatar Dec 02 '26 13:12 openagents-bot