Dashboardopencode-loreEntity preview mutation safety

Entity preview mutation safety

Category: gotcha
Confidence: 1.00
ID: 01a0a06d-05a7-75d0-988a-6b44796f5ec2
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0kebkGKWxUI0wfSDm
Created: 2026-08-19 14:07:10
Updated: 2026-09-14 14:58:14

Content

Entity mutation APIs are preview-only by default and require ?apply=true; CLI dedup applies only with --yes. Chose read-only preview over eagerly resolving state because ensureProject() or lazy remote reconciliation can create rows during an alleged dry run. Preview stays non-mutating and non-interactive even with --yes or --interactive; only apply mode may ensure projects. Destructive CLI operations require --yes, --json --interactive is invalid, and core merge rejects incompatible types before BEGIN IMMEDIATE.

Move to: