exponential-cli 1.21.0 → 1.24.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
@@ -334,6 +345,35 @@ exponential features stories update --id <story-cuid> --i-want "..." [--scope <s
334
345
  exponential features stories rm --id <story-cuid>
335
346
  ```
336
347
 
348
+ ### Pages
349
+
350
+ Knowledge pages (strategy, vision, PRDs, specs). Reads are Markdown-only by default (the
351
+ editor's document is never sent) and every write lands in the page's history.
352
+
353
+ ```bash
354
+ # Find pages by meaning (semantic hits first, then title/body text matches)
355
+ exponential pages search "how we price enterprise" --workspace acme
356
+
357
+ # Read a page: Markdown body only. --outline shows its headings; --section reads one part.
358
+ exponential pages get <page-id>
359
+ exponential pages get <page-id> --outline
360
+ exponential pages get <page-id> --section "Goals"
361
+
362
+ # Write with a reason, a base version (so a newer edit is a CONFLICT, not an overwrite),
363
+ # and provenance: where the facts come from and when they were true
364
+ exponential pages update --id <page-id> --body-file strategy.md --base-version 7 \
365
+ --note "Q4 pricing decided 2026-10-21" --source "https://…/board-deck" --as-of 2026-10-21
366
+
367
+ # History: who changed what and why, the diff each revision made, and a way back
368
+ exponential pages history <page-id>
369
+ exponential pages diff <page-id> # latest revision vs the one before
370
+ exponential pages diff <page-id> --revision <rev-id> --against current
371
+ exponential pages restore <page-id> --revision <rev-id> --note "Undo the agent rewrite"
372
+ ```
373
+
374
+ `exponential search "<text>" --semantic --workspace acme` runs the same search by meaning
375
+ across meetings, resources, documents and pages (`--types page` to narrow).
376
+
337
377
  ### Workspaces
338
378
 
339
379
  ```bash