@drip-apex/apex-cli 0.15.4 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENTS.md CHANGED
@@ -87,6 +87,7 @@ the first writes: `apex experiments create`, `apex goals create`,
87
87
  - Edit experiment files, variation code, metrics, and targeting only through supported paths.
88
88
  - Do not bypass the variation artifact persistence path with direct API writes.
89
89
  - Keep generated evidence outside `qa.json`; attach it through QA commands.
90
+ - Author commerce drafts in `commerce/price.json`, `commerce/shipping.json`, `commerce/offer.json`, or `commerce/post-purchase.json`; never edit their `serverOwned` sections.
90
91
 
91
92
  ## Project code
92
93
 
package/README.md CHANGED
@@ -412,6 +412,8 @@ experiments reject these metadata changes.
412
412
 
413
413
  Experiment references accept an ID, slug, or test key (for example `BIO-085`). Test keys resolve within the selected shop; use `--shop <shop-id>` to change it. Bare lowercase references remain slugs.
414
414
 
415
+ Price, shipping, offer, and post-purchase drafts use typed `commerce/<kind>.json` files. Each file defines the lever once and maps every variation to values or `sameAsControl`; its `serverOwned` section is informational and read-only.
416
+
415
417
  Filesystem apply preserves authored local bytes by default. Use
416
418
  `apex experiments apply <folder> --sync` to refresh them from stored server bytes.
417
419
  The receipt's `files` contains SHA-256 digests for every pull path; `synced` reports