Dashboard › opencode-lore › Entity preview mutation safety
01a0a06d-05a7-75d0-988a-6b44796f5ec2Entity 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.