@smartkomm/plexus-cli 0.1.229 → 0.1.231
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/dist/cli.mjs +282 -312
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +1 -1
- package/dist/skill/references/commands.md +2 -7
- package/dist/skill/references/offer/node-tasks.md +6 -1
- package/dist/skill/references/offer/skip-evaluation.md +54 -0
- package/dist/spec.snapshot.json +1 -1
- package/package.json +1 -1
- package/dist/skill/references/offer/appointment-task.md +0 -84
package/package.json
CHANGED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# Give an appointment its Terminaufgabe („Taster Day durchführen")
|
|
2
|
-
|
|
3
|
-
**When to use:** a „Termin vereinbaren" task books an appointment (see
|
|
4
|
-
[Make a task close with an appointment](./task-appointment-result.md)), and the work
|
|
5
|
-
done AT that appointment — hold the interview, run the taster day, give feedback with
|
|
6
|
-
attachments — belongs to whoever hosts it, due a few days after it ends.
|
|
7
|
-
|
|
8
|
-
## The model in three sentences
|
|
9
|
-
|
|
10
|
-
The **Terminaufgabe** is an ordinary task of the same node with
|
|
11
|
-
`appointment: { of: '<booking task>', dueDaysAfterEnd: N }`. It spawns with its round
|
|
12
|
-
and waits („Wartet auf: <booking task>") until the booking binds it: its holder is the
|
|
13
|
-
appointment's **host** (a person of the task's team, or that team's owner on the
|
|
14
|
-
application), its due day the appointment's end + N. It closes with its result — the
|
|
15
|
-
feedback, a recommendation / choice / free text (with files, like every result) — and holds whatever
|
|
16
|
-
it `blocks` until then.
|
|
17
|
-
|
|
18
|
-
## Prerequisites
|
|
19
|
-
|
|
20
|
-
- The booking task exists with `result.kind: appointment`.
|
|
21
|
-
- The Terminaufgabe's team (`--team`) is the queue the task stays in. The host may be
|
|
22
|
-
any active staff member or team of the school: the host holds the task and answers it,
|
|
23
|
-
inside that team or not. To put a team on top of the participant picker, set
|
|
24
|
-
`result.primaryParticipantTeams` on the booking task (order only; the former name
|
|
25
|
-
`primaryHostTeams` is no longer read and publishes only with a
|
|
26
|
-
`[graph/retiredField]` warning — rename it in the exported bundle, then `offer plan`
|
|
27
|
-
/ `apply --publish`). A host outside the team
|
|
28
|
-
reads the result in a `team:…` chat only as its member — prefer `--chat all`.
|
|
29
|
-
Hosts who should also open the application in the cockpit need
|
|
30
|
-
`bewerbungsmanagement.applications.read`; answering the task needs only the task.
|
|
31
|
-
- The target environment runs a platform version that knows Terminaufgaben (`offer apply`
|
|
32
|
-
publishes against the deployed gate; if publish does not know `appointment`, ask the
|
|
33
|
-
platform operator).
|
|
34
|
-
|
|
35
|
-
## Steps
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
# 1. The booking task no longer blocks the follow-up — the hold is derived.
|
|
39
|
-
plexus-cli offer workflow node task set --dir $WORK/$S --node decision --key tasterDayTermin --clear-blocks
|
|
40
|
-
# 2. The Terminaufgabe: team, link, due rule, feedback.
|
|
41
|
-
plexus-cli offer workflow node task add --dir $WORK/$S --node decision --key tasterDayDurchfuehren \
|
|
42
|
-
--title 'Taster Day durchführen' --title-en 'Hold the taster day' --team teachers \
|
|
43
|
-
--appointment-of tasterDayTermin --due-days-after-end 2 \
|
|
44
|
-
--result recommendation --chat all
|
|
45
|
-
# 3. If the booking task is part of an optional action, the Terminaufgabe joins it —
|
|
46
|
-
# and the action is repeatable: a cancelled appointment ends the round.
|
|
47
|
-
plexus-cli offer workflow node optional-action set --dir $WORK/$S --node decision --key tasterDay \
|
|
48
|
-
--tasks tasterDayTermin,tasterDayDurchfuehren --repeatable
|
|
49
|
-
plexus-cli offer validate --dir $WORK/$S
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Then the live path ([Edit a live tenant's offer](./edit-live-tenant-offer.md)):
|
|
53
|
-
`--env prod offer plan` → `--env prod offer apply --allow-prod --publish` → plan again
|
|
54
|
-
until every row is `same`.
|
|
55
|
-
|
|
56
|
-
## Verify
|
|
57
|
-
|
|
58
|
-
- `offer validate` shows no `[workItems/appointment*]` error.
|
|
59
|
-
- In the cockpit: trigger the action → the Terminaufgabe reads „Wartet auf: …";
|
|
60
|
-
book with any staff member as host → the card shows the appointment line
|
|
61
|
-
(„Taster Day · Di., 21.10. 09:00–12:00 · Raum 2 · Gastgeber: …") and the host holds it.
|
|
62
|
-
|
|
63
|
-
## Gotchas
|
|
64
|
-
|
|
65
|
-
- Publish refuses: `of` naming no appointment task of the same node
|
|
66
|
-
(`appointmentOfUnknown`), two Terminaufgaben for one booking task (`appointmentOfTwice`),
|
|
67
|
-
`--due-in-days` beside the end rule or N outside 0–60 (`appointmentTaskDue`), any
|
|
68
|
-
`blocks` aimed at it (`appointmentTaskBlocked`), a different optional action than the
|
|
69
|
-
booking task (`appointmentTaskBinding`), an optional action spawning the booking task
|
|
70
|
-
without `repeatable: true` (`appointmentActionRepeatable` — a cancellation ends the
|
|
71
|
-
round, and without a second one a decision waiting for the action via `requiresOneOf`
|
|
72
|
-
would hang for good), an approval / `when` / `optional` /
|
|
73
|
-
family request / missing result (`appointmentTaskShape`). Warning
|
|
74
|
-
`appointmentChatUnreadable`: the feedback chat is another team's — the host may not
|
|
75
|
-
read it; prefer `all` or the task's own team.
|
|
76
|
-
- Holder and due day have ONE writer, the appointment: „Zuweisen" refuses a bound
|
|
77
|
-
Terminaufgabe, and so does „Wiederöffnen" (edit the feedback text instead).
|
|
78
|
-
- A staff member who hosts an appointment with an open Terminaufgabe cannot be
|
|
79
|
-
withdrawn (`[appointment/hostInUse]`) — change the appointment's host first.
|
|
80
|
-
- Running applications keep their pinned version.
|
|
81
|
-
|
|
82
|
-
## Related
|
|
83
|
-
|
|
84
|
-
- [Make a task close with an appointment](./task-appointment-result.md)
|