@smartkomm/plexus-cli 0.1.361 → 0.1.363
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
|
@@ -147,7 +147,7 @@ says to run `pnpm dev` there; `PLEXUS_LOCAL_INSTALL_ROOT=1` is the explicit opt-
|
|
|
147
147
|
the install's own checkout instead. Run
|
|
148
148
|
`plexus-cli --env local config show` to see the resolved `deployment` + `authMode`
|
|
149
149
|
(`local-bootstrap`). Full workflow + gotchas:
|
|
150
|
-
`docs/engineering/plexus-cli.md` §"Local dev across rdu worktrees".
|
|
150
|
+
`docs/engineering/cli/plexus-cli.md` §"Local dev across rdu worktrees".
|
|
151
151
|
|
|
152
152
|
### Verify it works
|
|
153
153
|
|
|
@@ -294,7 +294,7 @@ polls in a row end the command with the last error. A completed run is held to
|
|
|
294
294
|
its shape's budget (`app/shared/seedParts.ts`) and every drive key to its own;
|
|
295
295
|
each line over budget goes to stderr with the load average, as a warning. Which
|
|
296
296
|
shape a task needs and what each costs:
|
|
297
|
-
[`docs/engineering/seed-index.md`](../../../docs/engineering/seed-index.md). Recipe:
|
|
297
|
+
[`docs/engineering/development/seed-index.md`](../../../docs/engineering/development/seed-index.md). Recipe:
|
|
298
298
|
[Initialize or rebuild local demo data](playbooks/worker-ops/rebuild-local-data.md).
|
|
299
299
|
|
|
300
300
|
Every command supports `--json` (raw output; default is a table). Network commands
|
|
@@ -393,14 +393,14 @@ common CLI task, see [playbooks/](./playbooks/README.md).
|
|
|
393
393
|
`finanzen_vertraege.contracts.manage`. `start` goes out through the tenant's ACTIVE
|
|
394
394
|
connection — there is no provider to pick.
|
|
395
395
|
|
|
396
|
-
`plexus-cli signing connection {show,test}`, `plexus-cli platform signing connection {set,activate,delete,reseal}` (`delete` plans unless `--confirm`) and `plexus-cli platform signing status` (key slots: what is sealed under which key; `reseal` after a key rotation, both platform-wide under `_platform.config.manage` — docs/signing/operations.md → "Rotating the key") — the school's own
|
|
396
|
+
`plexus-cli signing connection {show,test}`, `plexus-cli platform signing connection {set,activate,delete,reseal}` (`delete` plans unless `--confirm`) and `plexus-cli platform signing status` (key slots: what is sealed under which key; `reseal` after a key rotation, both platform-wide under `_platform.config.manage` — docs/integrations/signing/operations.md → "Rotating the key") — the school's own
|
|
397
397
|
account at a provider (`signingConnections.*`). `show` and `test` need
|
|
398
398
|
`finanzen_vertraege.contracts.manage`; `set`, `activate` and `remove` the platform right
|
|
399
399
|
`_platform.config.manage`. A secret (DocuSign's Connect HMAC key, inSign's API password)
|
|
400
400
|
enters only through `--secret-stdin` or `--secret-file` and is never printed — `show`
|
|
401
401
|
lists its name and fingerprint. Recipes: `playbooks/signing/README.md`,
|
|
402
402
|
`playbooks/signing/connect-a-school.md`; setup + runbook:
|
|
403
|
-
`docs/signing/{README,docusign-setup,insign,operations}.md`.
|
|
403
|
+
`docs/integrations/signing/{README,docusign-setup,insign,operations}.md`.
|
|
404
404
|
|
|
405
405
|
### The words a school sends (`notifications letters` / `chrome`)
|
|
406
406
|
|
|
@@ -442,7 +442,7 @@ Semantics worth knowing before using them:
|
|
|
442
442
|
`config export|set|apply` promote them across environments.
|
|
443
443
|
|
|
444
444
|
Recipe: [playbooks/notifications/reword-a-letter.md](./playbooks/notifications/reword-a-letter.md).
|
|
445
|
-
Model + invariants: `docs/
|
|
445
|
+
Model + invariants: `docs/architecture/platform/messaging/notifications.md`.
|
|
446
446
|
|
|
447
447
|
### Addresses (what a node reads, and who produces it)
|
|
448
448
|
|
|
@@ -483,7 +483,7 @@ names the node (`addressesNaming`) and lists config path + address of each.
|
|
|
483
483
|
A bundle exported before addresses is refused (`[graph/retiredField]`: `wires`, a
|
|
484
484
|
binding with `path`, `adoptForm: true`) — export it again. Recipe:
|
|
485
485
|
[playbooks/offer/addresses.md](./playbooks/offer/addresses.md); model (visibility, `$env`
|
|
486
|
-
vocabulary, the store behind `$task`): `docs/
|
|
486
|
+
vocabulary, the store behind `$task`): `docs/architecture/workflow/workflow-engine.md`.
|
|
487
487
|
|
|
488
488
|
### Countersignature node („Unterschrift (intern)")
|
|
489
489
|
|
|
@@ -693,7 +693,7 @@ stderr; `set-notification --event termin:rescheduled … --disabled` switches on
|
|
|
693
693
|
|
|
694
694
|
How an argument binds (by itself when exactly one source fits, else a `--literal`) and why
|
|
695
695
|
offline validation cannot see the letter catalog is canonical in
|
|
696
|
-
[notifications.md](../../../docs/
|
|
696
|
+
[notifications.md](../../../docs/architecture/platform/messaging/notifications.md) § "When a process writes". For
|
|
697
697
|
the CLI it means: both commands run the real publish-gate validators before writing, so an
|
|
698
698
|
event the node type does not declare fails here, while an unknown `--template` id and an
|
|
699
699
|
unresolvable argument are caught only at `offer apply --publish`. Run it.
|
|
@@ -924,7 +924,7 @@ plexus-cli offer status --tenant test --offer gymnasium-havelland # applyable?
|
|
|
924
924
|
**Generator references are stamped from the environment.** How a contract node
|
|
925
925
|
names its generator (`contractGenerator` input, `generatorStamp`, the retired
|
|
926
926
|
`resolver` / `template.key` properties refused `[graph/retiredField]`) is canonical in
|
|
927
|
-
[contract-generators.md](../../../docs/
|
|
927
|
+
[contract-generators.md](../../../docs/architecture/workflow/contract-generators.md) § Packages;
|
|
928
928
|
this section covers only what the CLI does with it. `offer plan` and `offer apply` fetch the same stamp
|
|
929
929
|
(`workflow:getResolverPinStamps`) and write it onto the in-memory bundle
|
|
930
930
|
before validating, so a new combined pin produces `$node.<n>.contracts`
|
|
@@ -941,7 +941,7 @@ renames the same row, a new key adds a level, a removed key archives it (refused
|
|
|
941
941
|
an active application sits on it), a re-listed archived key restores it, and the array
|
|
942
942
|
order is the display order. `offer plan` lists each change as `~stage` / `+stage` /
|
|
943
943
|
`-stage`, and marks a `-stage` the apply would refuse (`REFUSED: n active
|
|
944
|
-
application(s)`). Rules: `docs/
|
|
944
|
+
application(s)`). Rules: `docs/architecture/data-model/config-as-code/README.md` → "Stage identity";
|
|
945
945
|
recipe: [Rename a program stage](./playbooks/config/rename-program-stage.md).
|
|
946
946
|
|
|
947
947
|
**Capacities.** Each `program.runs[]` entry carries its cells as
|
|
@@ -979,7 +979,7 @@ custom fields, lists, display groups, roles + role-field bindings, contract role
|
|
|
979
979
|
while it is in force, optionally per generator by its `key`), foundation, and search
|
|
980
980
|
config) against any environment. Tenant config is **declarative + DB-authoritative** — no
|
|
981
981
|
reseeds to change live config. The model/architecture lives in
|
|
982
|
-
[`docs/
|
|
982
|
+
[`docs/architecture/data-model/config-as-code/`](../../../docs/architecture/data-model/config-as-code/README.md);
|
|
983
983
|
the copy-paste task recipes live in [`playbooks/config/`](./playbooks/config). This section
|
|
984
984
|
is the **command reference**.
|
|
985
985
|
|
|
@@ -1141,7 +1141,7 @@ The parts, in apply order: `config` (the same content as `config export`), `stru
|
|
|
1141
1141
|
`contracts`, `offers`, `tools`, `portal`; a new part joins without a CLI change. `--platform`
|
|
1142
1142
|
(no tenant) exports the platform's own setup, the contract input registry; restore it before
|
|
1143
1143
|
a tenant whose `setup.json` names its keys (`platformRefs`). Contract:
|
|
1144
|
-
`docs/
|
|
1144
|
+
`docs/architecture/platform/storage/setup-export.md`. Platform operator only (`_platform.config.manage`, since each run records the export); a writing verb
|
|
1145
1145
|
(`--allow-prod` on production), because each run records the export. `--out` must be new and
|
|
1146
1146
|
outside any git working tree; the command writes into `<dir>.partial` and renames it once
|
|
1147
1147
|
every file is verified. Recipe: `playbooks/config/export-tenant-setup.md`.
|
|
@@ -1195,7 +1195,7 @@ held (the logo stays: sent mail links it). See [`playbooks/config/wipe-tenant-co
|
|
|
1195
1195
|
|
|
1196
1196
|
### Pre-production model changes
|
|
1197
1197
|
|
|
1198
|
-
Use the [reset and native seed policy](../../../docs/
|
|
1198
|
+
Use the [reset and native seed policy](../../../docs/architecture/data-model/domain/contract-model-reset.md). There is no migration command. Config apply changes values in the current schema.
|
|
1199
1199
|
|
|
1200
1200
|
### Deploy protocol (local + steady state)
|
|
1201
1201
|
- **Local dev:** `pnpm dev` on a fresh DB runs `config/bootstrap`, which idempotently applies the
|