exponential-cli 1.31.0 → 1.33.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 +51 -6
- package/dist/index.js +363 -50
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -295,13 +295,16 @@ exponential decisions list --meeting <meeting-cuid>
|
|
|
295
295
|
# Everything logged in one ceremony occurrence
|
|
296
296
|
exponential decisions list --workspace clear --occurrence <occurrence-cuid>
|
|
297
297
|
|
|
298
|
-
# One decision in full: body, evidence, deciders, chain and
|
|
298
|
+
# One decision in full: body, evidence, deciders, chain, links, Pillars and labels.
|
|
299
299
|
# Anything that takes a decision accepts its D-number or its id.
|
|
300
300
|
exponential decisions get D-0006
|
|
301
301
|
exponential decisions get <cuid>
|
|
302
302
|
|
|
303
303
|
# Log a decision from a meeting. Markdown bodies come from a file or stdin.
|
|
304
|
-
|
|
304
|
+
# --title is the outcome in six words or fewer: the row text in every decision
|
|
305
|
+
# list, with the statement under it. Optional; longer titles warn but save.
|
|
306
|
+
exponential decisions create -t "Importer ships behind a flag" \
|
|
307
|
+
-s "Ship the importer behind a flag" \
|
|
305
308
|
--status ACCEPTED --source AGENT --meeting <meeting-cuid> \
|
|
306
309
|
--body-file ./decision.md \
|
|
307
310
|
--decider "Ada Lovelace <ada@example.com>" --decider "Grace Hopper"
|
|
@@ -323,8 +326,16 @@ jq '.decisions' notes.json | exponential decisions create --from-file - --meetin
|
|
|
323
326
|
exponential decisions status D-0006 --status ACCEPTED
|
|
324
327
|
exponential decisions status D-0006 --status SUPERSEDED --superseded-by <cuid>
|
|
325
328
|
|
|
326
|
-
#
|
|
329
|
+
# Retitle a decision, or clear its title so it reads by its statement again
|
|
330
|
+
exponential decisions update D-0006 --title "Text place beats Dataminr location"
|
|
331
|
+
exponential decisions update D-0006 --title null
|
|
332
|
+
|
|
333
|
+
# Record what implements it (unlink takes the LINK id, from `decisions get`).
|
|
334
|
+
# --scope links one of a feature's scopes (V1, V2, ...): the decision shows on
|
|
335
|
+
# the feature page with the scope's version, and groups under it on a Pillar page.
|
|
327
336
|
exponential decisions link D-0006 --ticket <ticket-cuid>
|
|
337
|
+
exponential decisions link D-0006 --scope <scope-cuid>
|
|
338
|
+
exponential decisions create -s "Geolocate from the text" --scope <scope-cuid>
|
|
328
339
|
exponential decisions unlink --link <link-cuid>
|
|
329
340
|
|
|
330
341
|
# Let the server propose decisions from a meeting, then review them
|
|
@@ -344,6 +355,7 @@ input — `statement` is the only required field:
|
|
|
344
355
|
```json
|
|
345
356
|
[
|
|
346
357
|
{
|
|
358
|
+
"title": "Importer ships behind a flag",
|
|
347
359
|
"statement": "Ship the importer behind a flag",
|
|
348
360
|
"body": "## Context\n...\n## Consequences\n...",
|
|
349
361
|
"status": "ACCEPTED",
|
|
@@ -359,9 +371,9 @@ exit code is non-zero unless every entry landed.
|
|
|
359
371
|
|
|
360
372
|
Scope flags on the command (`--meeting`, `--workspace`, `--product`, `--source`,
|
|
361
373
|
`--status`, `--decided-at`, `--decider`, ...) apply to every entry that doesn't
|
|
362
|
-
set its own. `--body`, `--body-file` and `--evidence-file` are
|
|
363
|
-
content rather than shared scope, so they are refused alongside
|
|
364
|
-
put `body` and `evidence` on the entries. An entry carrying a field this format
|
|
374
|
+
set its own. `--title`, `--body`, `--body-file` and `--evidence-file` are
|
|
375
|
+
per-decision content rather than shared scope, so they are refused alongside
|
|
376
|
+
`--from-file` — put `title`, `body` and `evidence` on the entries. An entry carrying a field this format
|
|
365
377
|
doesn't know (a typo'd `"decider"`, say) is rejected rather than filed without
|
|
366
378
|
it.
|
|
367
379
|
|
|
@@ -375,6 +387,39 @@ refuses it without one rather than letting the server reject the whole call.
|
|
|
375
387
|
Statuses: `OPEN` (an open question) · `PROPOSED` · `ACCEPTED` · `SUPERSEDED` ·
|
|
376
388
|
`DEPRECATED`. The last two are reached with `decisions status`, never at creation.
|
|
377
389
|
|
|
390
|
+
#### Pillars and labels
|
|
391
|
+
|
|
392
|
+
A decision is filed under Pillars and carries labels. Each flag takes a name
|
|
393
|
+
(case-insensitive), a slug or an id, resolved within the decision's workspace;
|
|
394
|
+
a name that matches nothing, or more than one tag, is an error and nothing is
|
|
395
|
+
written. A Pillar passed as `--label` (or the reverse) is refused too.
|
|
396
|
+
|
|
397
|
+
```bash
|
|
398
|
+
# The log, filtered: a decision carrying ANY of the given Pillars or labels.
|
|
399
|
+
# Each row shows its Pillars and labels; --json rows carry `tags`.
|
|
400
|
+
exponential decisions list --workspace clear --pillar "Data Quality"
|
|
401
|
+
exponential decisions list --workspace clear --pillar data-quality --label infra --label urgent
|
|
402
|
+
|
|
403
|
+
# `get` shows them (and --json adds `tags`)
|
|
404
|
+
exponential decisions get D-0006
|
|
405
|
+
|
|
406
|
+
# File under a Pillar, take one off, add and remove labels
|
|
407
|
+
exponential decisions update D-0006 --add-pillar "Data Quality"
|
|
408
|
+
exponential decisions update D-0006 --remove-pillar "Data Quality" --remove-label urgent
|
|
409
|
+
|
|
410
|
+
# Replace all Pillars (labels untouched), or all labels (Pillars untouched)
|
|
411
|
+
exponential decisions update D-0006 --clear-pillars --add-pillar Platform
|
|
412
|
+
exponential decisions update D-0006 --clear-labels --add-label infra
|
|
413
|
+
|
|
414
|
+
# Tag at creation (applied right after the create; works with --from-file too)
|
|
415
|
+
exponential decisions create -s "Dedupe on ingest" --pillar "Data Quality" --label infra
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
The server only replaces a decision's whole tag set, so `--add-*` and
|
|
419
|
+
`--remove-*` read the current set first and write the result back; with nothing
|
|
420
|
+
to change, nothing is written. Clears run first, then removes, then adds.
|
|
421
|
+
Creating or promoting a Pillar needs a workspace admin, in the app.
|
|
422
|
+
|
|
378
423
|
### Projects
|
|
379
424
|
|
|
380
425
|
```bash
|