exponential-cli 1.20.1 → 1.22.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/README.md CHANGED
@@ -224,7 +224,9 @@ exponential decisions list --workspace clear --number 3 --limit 20 # D-0003; c
224
224
  # Everything logged from one meeting — both panels (drafts too, if you can edit it)
225
225
  exponential decisions list --meeting <meeting-cuid>
226
226
 
227
- # One decision in full: body, evidence, deciders, chain and links
227
+ # One decision in full: body, evidence, deciders, chain and links.
228
+ # Anything that takes a decision accepts its D-number or its id.
229
+ exponential decisions get D-0006
228
230
  exponential decisions get <cuid>
229
231
 
230
232
  # Log a decision from a meeting. Markdown bodies come from a file or stdin.
@@ -237,23 +239,32 @@ exponential decisions create -s "Ship the importer behind a flag" \
237
239
  exponential decisions create -s "Do we backfill historical rows?" \
238
240
  --status OPEN --meeting <meeting-cuid>
239
241
 
242
+ # Log an open question on a feature: created and linked in one call
243
+ exponential decisions create -s "Which store backs the cache?" \
244
+ --status OPEN --feature <feature-cuid> --body-file ./options.md --json
245
+
240
246
  # Bulk: a JSON array of decisions in one call — the flags become its defaults.
241
247
  # This is the path for filing everything that came out of one meeting.
242
248
  exponential decisions create --from-file ./decisions.json --meeting <meeting-cuid> --source AGENT
243
249
  jq '.decisions' notes.json | exponential decisions create --from-file - --meeting <meeting-cuid>
244
250
 
245
- # Answer an open question; supersede or deprecate a decision
246
- exponential decisions status --id <cuid> --status ACCEPTED
247
- exponential decisions status --id <cuid> --status SUPERSEDED --superseded-by <cuid>
251
+ # Answer an open question; supersede or deprecate a decision (`set-status` is an alias)
252
+ exponential decisions status D-0006 --status ACCEPTED
253
+ exponential decisions status D-0006 --status SUPERSEDED --superseded-by <cuid>
248
254
 
249
255
  # Record what implements it (unlink takes the LINK id, from `decisions get`)
250
- exponential decisions link --id <cuid> --ticket <ticket-cuid>
256
+ exponential decisions link D-0006 --ticket <ticket-cuid>
251
257
  exponential decisions unlink --link <link-cuid>
252
258
 
253
259
  # Let the server propose decisions from a meeting, then review them
254
260
  exponential decisions draft extract --meeting <meeting-cuid>
255
- exponential decisions draft confirm --id <cuid>
256
- exponential decisions draft reject --id <cuid>
261
+ exponential decisions draft confirm <cuid>
262
+ exponential decisions draft reject <cuid>
263
+
264
+ # Confirm a draft and accept it in one command, as the signed-in person.
265
+ # Agent keys can't confirm. Works on already-confirmed decisions too.
266
+ # A draft's D-number can't be looked up until it's confirmed, so pass its id.
267
+ exponential decisions confirm <cuid> --status ACCEPTED
257
268
  ```
258
269
 
259
270
  `--from-file` takes a JSON array (or `{"decisions": [...]}`), each entry a create