singularity-forge/packages/pi-coding-agent
ace-pm 1f1c029c74 fix(cli): invert persistModelChanges default to false (#4251)
Followup to 828c5edf6. Swarm review flagged default=true as a latent
footgun: any SDK consumer of createAgentSession() that forgets to pass
persistModelChanges would silently mutate ~/.gsd/agent/settings.json.

Flip the default to false so persistence is opt-in. Interactive CLI
entry points now explicitly pass persistModelChanges: true:
- src/cli.ts interactive createAgentSession call
- packages/pi-coding-agent/src/main.ts: persistModelChanges = isInteractive

Print/rpc/mcp stay at the safe default. Tests updated (9/9 green).
2026-04-15 10:45:26 +02:00
..
scripts fix: handle Windows non-ASCII paths in cpSync with copyFileSync fallback (#1181) 2026-03-18 10:13:37 -06:00
src fix(cli): invert persistModelChanges default to false (#4251) 2026-04-15 10:45:26 +02:00
package.json release: v2.74.0 2026-04-14 15:59:28 +00:00
tsconfig.json fix(gsd): align ADR-009 integration with type-safe builds 2026-04-14 20:46:46 -05:00