@smartkomm/plexus-cli 0.1.50 → 0.1.52

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.
@@ -1 +1 @@
1
- 5762121e4dbe0b99b1496a04720531a94cc0ef28ec6bb4e59195f48fdaa12025
1
+ 1ed5070d7cbff352d903acdca4edb9f6b05c7b72c0f3872a12ba45d89379f84e
@@ -1962,7 +1962,7 @@ Rewrite a bundle exported in an older format into the current one (offline; dry
1962
1962
  | `--write` | Write the upgraded bundle (default: dry run) |
1963
1963
  | `--out <value>` | With --write: write a full copy here (an empty directory) instead of over --dir |
1964
1964
  | `--semantic <value>` | <node>.<outcome>=<granted\|rejected\|waitlisted\|other> — the meaning of an outcome the upgrade will not assume |
1965
- | `--waitlist-policy <value>` | <node>=<arrival\|manual>:<true\|false> — a waitlist's queue order and automatic promotion |
1965
+ | `--waitlist-policy <value>` | <node>=<arrival\|manual> — a waitlist's queue order |
1966
1966
  | `--payee <value>` | <node>=<Träger key> — the payee of an online payment |
1967
1967
  | `--answers <value>` | JSON file { semantics, waitlistPolicy, payee } with the same answers |
1968
1968
 
@@ -2043,7 +2043,6 @@ Insert a workflow node + sync progress layout/wiring; validate before write
2043
2043
  | `--outcome <value>` | end only: terminal application outcome (approved\|rejected\|withdrawn\|expired; default approved) |
2044
2044
  | `--data-decision <value>` | end only (required): commit\|discard — keep or discard the application's data at this end |
2045
2045
  | `--waitlist-order <value>` | waitlist only (required): arrival\|manual — the queue's order |
2046
- | `--auto-promote <value>` | waitlist only (required): true\|false — a freed seat promotes the queue head on its own |
2047
2046
  | `--role <value>` | roleAssign only: role key granted (a tenant roles.key; checked at publish) |
2048
2047
  | `--mode <value>` | roleAssign only: add\|remove\|replace (default add) |
2049
2048
  | `--person <value>` | roleAssign (required) · completenessCheck (with --guest-role): the party, an address — '$node.<formNode>.admission.beneficiary'; never defaulted |
@@ -37,7 +37,8 @@ at both levels.
37
37
  reminders and the school's chat messages.
38
38
  - Every letter still declares a **category** in code (`login`, `security`,
39
39
  `admission`, `tasks`, `schoolMessages`; for staff the personal `staffTasks`,
40
- `staffAppointments`, `staffDeadlines`, `familyMessages`, `mentions`). It names
40
+ `staffAppointments`, `staffDeadlines`, `staffWaitlist`, `familyMessages`,
41
+ `mentions`). It names
41
42
  the letter in a skipped delivery's reason; a school cannot switch single
42
43
  categories.
43
44
  - The `notifications` module must be enabled for `all`; with the module off only
@@ -103,10 +103,11 @@ operator.
103
103
  isolated — wire predecessors to it with `join --from` or `node set --outcomes`.
104
104
  The outcome must match what the progress layout seals for the state its
105
105
  terminal event is wired to (`[end/outcomeMismatch]`).
106
- - **`waitlist --waitlist-order <arrival|manual> --auto-promote <true|false>`**
107
- adds the waiting list. Both are required, never defaulted: the queue's order
108
- (by arrival, or sorted by hand) and whether a freed seat promotes the queue
109
- head on its own. Every waitlist node of a process states the same policy
106
+ - **`waitlist --waitlist-order <arrival|manual>`**
107
+ adds the waiting list. The queue's order (by arrival, or sorted by hand) is
108
+ required, never defaulted. A freed seat never promotes on its own: the staff
109
+ of the queue's head get the letter `staff.waitlistVacancy` and press
110
+ „Nachrücken". Every waitlist node of a process states the same order
110
111
  (`[waitlist/policyConflict]`); change it with `offer workflow node set-input`.
111
112
  - **`join --from <nodeId>:<outcome>,…`** authors an explicit XOR fan-in
112
113
  convergence. Each `--from` pair reroutes that source node's outcome onto the
@@ -3,11 +3,10 @@
3
3
  **When to use:** set the offer's display order from the CLI. `manifest.json` carries no
4
4
  key any more (`{}`): the offer title is `bundle.yaml` `label`, the progress layout is
5
5
  `workflow.json` `progressLayout`, capacity and the application window belong to the
6
- cohort (`offer capacity set`, `offer run …`), and the waiting list's order and
7
- automatic promotion are the waitlist node's required inputs `waitlistOrder`
8
- (arrival|manual) and `autoPromoteOnVacancy` (true|false) — `offer workflow node add
9
- --type waitlist --waitlist-order … --auto-promote …`, `offer workflow node set-input`,
10
- or the IDE's PARAMETER column.
6
+ cohort (`offer capacity set`, `offer run …`), and the waiting list's order is the
7
+ waitlist node's required input `waitlistOrder` (arrival|manual) — `offer workflow node
8
+ add --type waitlist --waitlist-order …`, `offer workflow node set-input`, or the IDE's
9
+ PARAMETER column. A freed seat promotes nobody on its own.
11
10
 
12
11
  ## Prerequisites
13
12
  - An offer bundle on disk (`offer init …` or `offer export …`).
@@ -42,7 +42,7 @@ that set it — the same flag with another value overrides it (maintainer 2026-1
42
42
  | `DEFAULT` row | What it ran with | Override |
43
43
  |---|---|---|
44
44
  | an outcome id with no known meaning (`einladen`, a review's `reviewed`) | „Sonstige Entscheidung“ — `other` | `--semantic <node>.<outcome>=<meaning>` — a review outcome may only be `granted` or `other` |
45
- | a waitlist whose bundle stated no (complete) order / automatic promotion | the old default `arrival` / `false` for what was left out | `--waitlist-policy <node>=<arrival\|manual>:<true\|false>` |
45
+ | a waitlist whose bundle stated no order | the old default `arrival` | `--waitlist-policy <node>=<arrival\|manual>` |
46
46
  | an input binding no slot declares (a leftover from a generator switch) | read by no slot — deleted | none; publish refuses an undeclared input |
47
47
 
48
48
  The status line counts them (`… (N answers set to the former behaviour — see DEFAULT)`).
@@ -52,7 +52,7 @@ Rows marked `REFUSED` still need an answer — nothing is written while one is o
52
52
  |---|---|---|
53
53
  | `collectPayment/payeeMissing` | an online payment must name the Träger the money goes to | `--payee <node>=<Träger key>` |
54
54
  | `outcome/semanticNotAllowed`, `outcome/formerMeaningNotAllowed` | an answer, or the meaning the outcome ran with, that its node type does not allow (a review never rejects) | `--semantic <node>.<outcome>=<meaning>` |
55
- | `waitlist/selectionMalformed` | the bundle's `selection` holds a value outside the vocabulary | `--waitlist-policy <node>=<arrival\|manual>:<true\|false>` |
55
+ | `waitlist/selectionMalformed` | the bundle's `selection` holds an order outside the vocabulary | `--waitlist-policy <node>=<arrival\|manual>` |
56
56
  | `task/userWithoutTeam`, `eventTrigger/…`, `templateStamp/…`, … | only a person can decide (a task with a fixed person and no team, …) | edit the file in `$OLD`, then run again |
57
57
 
58
58
  ```bash
@@ -66,7 +66,7 @@ To keep the answers with the bundle's history, put them in a JSON file instead:
66
66
  ```json
67
67
  {
68
68
  "semantics": { "<node>.<outcome>": "other" },
69
- "waitlistPolicy": { "<node>": { "waitlistOrder": "arrival", "autoPromoteOnVacancy": false } },
69
+ "waitlistPolicy": { "<node>": { "waitlistOrder": "arrival" } },
70
70
  "payee": { "<node>": "<Träger key>" }
71
71
  }
72
72
  ```
@@ -90,7 +90,9 @@ plexus-cli --env <env> offer apply --tenant <slug> --dir $NEW --publish
90
90
  ## Idempotency / gotchas
91
91
 
92
92
  - **A `DEFAULT` row keeps the process as it ran** — `other` for an unknown outcome,
93
- `arrival:false` for a waitlist. Any other answer changes it. Either way it is now
93
+ `arrival` for a waitlist. Any other answer changes it. A waitlist's leftover
94
+ `autoPromoteOnVacancy` (a freed seat promotes nobody on its own) is deleted
95
+ without a question. Either way it is now
94
96
  written in the bundle, and the report of the run is the record of what was set.
95
97
  - **Deleted keys are reported, not kept.** The manifest's old keys (`capacity`,
96
98
  `leistungen`, `bewerbungsfenster`, …) were read by nothing; the report names each with