@cratis/pi 7.8.0 → 7.9.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/package/corpus/agents/screenplay-modeler.md +10 -2
- package/package/corpus/agents/screenplay-renderer.md +13 -0
- package/package/corpus/agents/screenplay-reviewer.md +10 -0
- package/package/corpus/agents/slice-implementer.md +16 -2
- package/package/corpus/skills/cratis-application-slice-conformance/LICENSE +7 -0
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +9 -3
- package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +151 -0
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +37 -2
- package/package/corpus/skills/cratis-application-slice-conformance/references/contract-and-precedence.md +4 -1
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +15 -14
- package/package/corpus/skills/cratis-application-slice-conformance/verification.json +36 -7
- package/package/corpus/skills/cratis-application-slice-specifications/LICENSE +7 -0
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +11 -13
- package/package/corpus/skills/cratis-arc-react-page/LICENSE +7 -0
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +13 -6
- package/package/corpus/skills/cratis-chronicle-reactor/LICENSE +7 -0
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +7 -3
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/LICENSE +7 -0
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +13 -9
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +4 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/audit-format.md +17 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +14 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/integration-contracts.md +30 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +17 -10
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json +3 -1
- package/package/corpus/skills/cratis-screenplay-discovery/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +10 -7
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +37 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +18 -9
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/verification.json +5 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/LICENSE +7 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +18 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +19 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +8 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +19 -20
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +101 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +17 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +65 -23
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/verification.json +56 -10
- package/package/corpus/skills/cratis-screenplay-model-review/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +22 -10
- package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +54 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +17 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +12 -7
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +10 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/review-questions.md +11 -1
- package/package/corpus/skills/cratis-screenplay-model-review/verification.json +4 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +21 -21
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/completeness-self-check.md +37 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/per-turn-protocol.md +50 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +12 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +22 -16
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/reasoning-notes.md +15 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +16 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +5 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/LICENSE +7 -0
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +7 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/drift-and-ledger.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +19 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +11 -13
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +32 -7
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/LICENSE +7 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +14 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +259 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +414 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +19 -10
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +6 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +200 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +54 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +4 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +45 -43
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +13 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +4 -2
- package/package/corpus/skills/cratis-screenplay-slice-design/references/provenance.md +28 -7
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +69 -3
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +31 -3
- package/package/corpus/skills/cratis-screenplay-slice-design/verification.json +24 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/LICENSE +5 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +6 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +20 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +15 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +69 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +3 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/LICENSE +7 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +3 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +12 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/LICENSE +7 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +14 -7
- package/package.json +1 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Provenance
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
6
|
+
by Martin Dilger and Nebulit GmbH (https://nebulit.de). The repository carries no licence file; this material
|
|
7
|
+
is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
8
|
+
|
|
9
|
+
| Source file | Used in | How |
|
|
6
10
|
|---|---|---|
|
|
7
|
-
|
|
|
11
|
+
| `.claude/skills/build-automation/SKILL.md`: reactor checklist: output fields traced to a stated source, skip conditions stated in the contract, repeated-input cases | `SKILL.md` "Specifications" and "Verify" | idea; our own wording kept |
|
|
8
12
|
|
|
9
13
|
The `WithStrictEventSubscription()` scope statement and the scenario sequence-number behavior are verified against Chronicle `v19.32.0` source (`Source/Clients/Testing/ReadModels/ReadModelScenario.cs`, `Source/Clients/Testing/Reactors/ReactorScenario.cs`).
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
Copyright (c) Cratis. All rights reserved.
|
|
2
2
|
Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
Third-party notices
|
|
5
|
+
|
|
6
|
+
This skill adapts material from agentic-engineer by Martin Dilger and Nebulit GmbH
|
|
7
|
+
(https://github.com/Nebulit-GmbH/agentic-engineer, commit 07b0f30648d663cb588d7e2c7aa031af9dfc21f2;
|
|
8
|
+
https://nebulit.de), used with the agreement of Martin Dilger and Nebulit GmbH. That repository
|
|
9
|
+
carries no licence file; the adapted material remains credited to Martin Dilger and Nebulit GmbH.
|
package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
# Provenance
|
|
2
2
|
|
|
3
|
-
Lineage of the #493 additions to `cratis-chronicle-read-model-specifications`. No
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
Lineage of the #493 additions to `cratis-chronicle-read-model-specifications`. No TrogonStack material was adapted. Nebulit material is credited below.
|
|
4
|
+
|
|
5
|
+
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
6
|
+
|
|
7
|
+
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
8
|
+
by Martin Dilger and Nebulit GmbH (https://nebulit.de). The repository carries no licence file; this material
|
|
9
|
+
is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
10
|
+
|
|
11
|
+
| Source file | Used in | How |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `.claude/skills/build-state-view/SKILL.md`: checklist: every field asserted, every event covered, empty-list case | `SKILL.md` Step 6 | idea; our own wording kept |
|
|
14
|
+
|
|
15
|
+
The strict-subscription reconciliation is original to Cratis and verified against Chronicle v18.3.0 and v19.32.0.
|
|
@@ -26,3 +26,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
26
26
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
27
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
28
|
SOFTWARE.
|
|
29
|
+
|
|
30
|
+
This skill also adapts material from agentic-engineer by Martin Dilger and Nebulit GmbH
|
|
31
|
+
(https://github.com/Nebulit-GmbH/agentic-engineer, commit 07b0f30648d663cb588d7e2c7aa031af9dfc21f2;
|
|
32
|
+
https://nebulit.de), used with the agreement of Martin Dilger and Nebulit GmbH. That repository
|
|
33
|
+
carries no licence file; the adapted material remains credited to Martin Dilger and Nebulit GmbH.
|
|
@@ -140,7 +140,10 @@ or actor that nobody confirmed. Transcript-shaped worked example: `references/wo
|
|
|
140
140
|
## Gate
|
|
141
141
|
Not done until, for every affected reaction and capture, there is a line in the audit
|
|
142
142
|
(`references/audit-format.md`) with a location and a result of complete, open or blocked, and any
|
|
143
|
-
unreviewed scope is named. Open decisions and target requirements are in `STATE.md`.
|
|
143
|
+
unreviewed scope is named. Open decisions and target requirements are in `STATE.md`. A missing required or
|
|
144
|
+
referenced queue opening or closing fact is an unresolved dependency, never skipped silently; a
|
|
145
|
+
direct effect states "not applicable: no queue" with its reason (per-chain questions in
|
|
146
|
+
`references/audit-format.md`).
|
|
144
147
|
Never report a verdict without the tool and version that produced it.
|
|
145
148
|
|
|
146
149
|
## Verify
|
|
@@ -18,6 +18,23 @@ list query that does not bind) with the intended behaviour.
|
|
|
18
18
|
| Source and type | Location | Correlation | Field dispositions | Target fields traced | Dedup and ordering | Trust boundary | Recovery owner | Named cases | Result |
|
|
19
19
|
|---|---|---|---|---|---|---|---|---|---|
|
|
20
20
|
|
|
21
|
+
## Per-chain questions (ask of every automation checked)
|
|
22
|
+
1. Does it have a pending-work view, or a stated reason a direct effect needs none (immediate,
|
|
23
|
+
internal, cannot fail)? A "simple relay" is not exempt from the question.
|
|
24
|
+
2. Is a worker's pending view opened only by our own facts? An outside fact reaching a decision
|
|
25
|
+
directly means the translation step is missing: split it.
|
|
26
|
+
3. Does a translation that holds real pending work have a completion or terminal disposition? An
|
|
27
|
+
artificial queue that never closes conceals recovery; omit it if there is no pending work.
|
|
28
|
+
4. Does a worker after a translation add a distinct decision, obligation or effect (for example
|
|
29
|
+
notifying a member), even if it reuses the translated identity? If it adds none and only
|
|
30
|
+
restates the fact, project downstream views from the fact instead.
|
|
31
|
+
5. Does a worker's view have a closing path for its own result fact, and for cancellation and
|
|
32
|
+
supersession?
|
|
33
|
+
6. Does the pending view avoid a status field (membership is the state)?
|
|
34
|
+
Record a missing required or referenced queue opening or closing fact as an unresolved dependency
|
|
35
|
+
(a direct effect with no queue is "not applicable", with the reason);
|
|
36
|
+
never skip it silently or call the chain complete.
|
|
37
|
+
|
|
21
38
|
## Filled example (from `todo-list-example.md`)
|
|
22
39
|
| Declaration | Check | Result |
|
|
23
40
|
|---|---|---|
|
|
@@ -26,6 +26,9 @@ Outcomes:
|
|
|
26
26
|
- A `readmodel` for one pending item: the identity plus what the worker needs to act. **No
|
|
27
27
|
status field**: being in the list is the state. If another consumer needs history, that is a
|
|
28
28
|
different read model.
|
|
29
|
+
- Every pending-item field names its origin (event property or key), source and target type, and
|
|
30
|
+
cardinality (single value or list). A transformation the language cannot express is a recorded
|
|
31
|
+
gap with the intended behavior, never an invented mapping. The same holds for every reaction input.
|
|
29
32
|
- A projection that adds an item `from <OpeningFact>` and removes it with
|
|
30
33
|
`remove with <ClosingFact>`. Several facts may open or close; they need not match one to one.
|
|
31
34
|
- A keyed query (`…ById => Item optional` + `by itemId`) for specs and executable scope; a
|
|
@@ -105,6 +108,17 @@ occurrences; hitting that is a modeling defect, not a limit to tune.
|
|
|
105
108
|
- A gated command invoked by a reaction with no recorded actor decision.
|
|
106
109
|
- A reaction that `reads` and `produces`.
|
|
107
110
|
|
|
111
|
+
**Redundant second stage.** The tell is a follow-up fact with the same identity, no new field, no
|
|
112
|
+
invariant checked and no choice made. Example: an external harbor system sends `BerthAssigned`
|
|
113
|
+
already carrying `berthId`, `boatId` and `memberId`; the berth was chosen upstream. Translating it
|
|
114
|
+
into our own `BerthAssigned` is required: an outside fact must not drive a local domain decision
|
|
115
|
+
until it is translated and accepted (a translator reaction over an imported external event is
|
|
116
|
+
supported). Adding a
|
|
117
|
+
second queue, an `ApplyBerth` automation and a `BerthOccupied` fact on top restates the same fact
|
|
118
|
+
under another name. Project the "occupied berths" view from our translated fact instead. A
|
|
119
|
+
`...Synced` name is itself the tell. Equal payloads alone do not prove equal responsibility: keep
|
|
120
|
+
a worker when it adds a local obligation or effect, such as notifying the member.
|
|
121
|
+
|
|
108
122
|
## 8. Chain completion checkpoint
|
|
109
123
|
Walk each affected chain from occurrence to terminal outcome.
|
|
110
124
|
|
|
@@ -62,3 +62,33 @@ scheduler or queue mechanism but may not drop pending visibility, add filters, g
|
|
|
62
62
|
or weaken authorization. Specify event-to-command mapping at the reaction boundary; a
|
|
63
63
|
command-only spec does not exercise it. Unsupported realization is a gap routed to delivery,
|
|
64
64
|
not a silent model change.
|
|
65
|
+
|
|
66
|
+
## Per-record-type contract
|
|
67
|
+
For each external record type write one compact contract; accepted behavior then lives in the
|
|
68
|
+
`.play` descriptions and specifications, and checks Screenplay cannot express stay named target
|
|
69
|
+
requirements.
|
|
70
|
+
| Part | Content |
|
|
71
|
+
|---|---|
|
|
72
|
+
| Trigger | what arrives, over which channel |
|
|
73
|
+
| Acceptance preconditions | what must hold before it becomes our fact (correlation known, state allows it, consent, tenant) |
|
|
74
|
+
| Ordered translation steps | extract, correlate, validate, map, append |
|
|
75
|
+
| Success | exactly which fact of ours is appended, with which key |
|
|
76
|
+
| Failure handling | per failure class: reject, defer, failure fact or reconcile, who acts, how it resumes; never log-and-drop |
|
|
77
|
+
|
|
78
|
+
Filled example (invoicing, synthetic provider): `payment.settled`.
|
|
79
|
+
- Trigger: provider webhook with `paymentRef`, `amountMinor`, `currency`.
|
|
80
|
+
- Preconditions: a stored reference maps `paymentRef` to an invoice number; the invoice is issued and unpaid.
|
|
81
|
+
- Steps: extract `paymentRef`; look up the invoice; check currency and amount against the invoice;
|
|
82
|
+
append `InvoicePaymentSettled` keyed by the payment occurrence.
|
|
83
|
+
- Success: one `InvoicePaymentSettled`; a second delivery of the same occurrence appends nothing new
|
|
84
|
+
(atomic `unique event`, not a preliminary lookup).
|
|
85
|
+
- Failures: unknown `paymentRef` -> failure fact `PaymentReferenceUnknown`, finance reviews and
|
|
86
|
+
resumes with the same occurrence id; invoice not issued -> deferred until the later `InvoiceIssued`
|
|
87
|
+
for that number retries the same occurrence, and finance reconciles it if no invoice is issued
|
|
88
|
+
within the agreed window; currency mismatch -> failure fact `PaymentCurrencyMismatch`, finance
|
|
89
|
+
decides and resumes with the same occurrence id; amount mismatch on an issued, unpaid invoice (underpayment, partial payment or overpayment)
|
|
90
|
+
-> failure fact `PaymentAmountMismatch` carrying expected and received minor units, finance
|
|
91
|
+
decides (request the balance, accept as a partial payment against the invoice, or refund the
|
|
92
|
+
excess) and resumes with the same occurrence id, so a settled amount is never guessed; invoice already paid (a distinct payment occurrence, double payment or overpayment) ->
|
|
93
|
+
failure fact `PaymentReceivedForSettledInvoice`, finance decides on a refund and resumes with the
|
|
94
|
+
same occurrence id; signature check -> target requirement at the gateway with its negative case.
|
|
@@ -15,16 +15,23 @@ defaults for missing data) is replaced by "never fabricate a default"; its log-a
|
|
|
15
15
|
handling is replaced by recorded failure facts. `plugins/trogonstack-eda` was skimmed; nothing
|
|
16
16
|
adopted.
|
|
17
17
|
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
19
|
+
|
|
20
|
+
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
21
|
+
by Martin Dilger and Nebulit GmbH (https://nebulit.de). The repository carries no licence file; this material
|
|
22
|
+
is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
23
|
+
|
|
24
|
+
| Source file | Used in | How |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `.claude/skills/eventmodeling-designing-automation-chains/SKILL.md`: resolve the chain when introduced; exhaustive per-automation verification | `SKILL.md` intro and "Gate", `references/audit-format.md` | restored from #493; the six verification questions adapted closely as "Per-chain questions", translated to Screenplay (no board, no `validate_model`) |
|
|
27
|
+
| same: pending membership not status; opening and closing events | `references/automation-patterns.md` section 2, `references/audit-format.md` question 6 | adapted closely; our todo-list example kept |
|
|
28
|
+
| same: worker only for a new decision; redundant second stage and the `Synced` tell | `references/automation-patterns.md` section 7 "Redundant second stage" | adapted closely, marina berth example in place of Martin Dilger and Nebulit GmbH's |
|
|
29
|
+
| same: silently skipping a missing target | `SKILL.md` "Gate", `references/audit-format.md` | idea inverted: an absent target is an unresolved dependency |
|
|
30
|
+
| same: compulsory queue for every automation, "every trigger is an event", never-closing translation queue, mandatory translation command, board placement and connections | not adopted | wrong for Screenplay (direct reactions, clock and application triggers, `capture` are supported); idea only |
|
|
31
|
+
| `.claude/skills/eventmodeling-translating-external-events/SKILL.md` step 5 and its examples reference (section 5): per-record scenario format | `references/integration-contracts.md` "Per-record-type contract" | adapted closely, invoicing example; log-and-drop failure handling replaced by failure facts |
|
|
32
|
+
| `.claude/skills/eventmodeling-designing-automation-chains/SKILL.md`: field mapping and cardinality on every todo-list field | `references/automation-patterns.md` section 2 | adapted closely; board mapping syntax not used |
|
|
33
|
+
| `.claude/skills/eventmodeling-translating-external-events/SKILL.md`: interview, catalog, target-field check, recovery ownership | `SKILL.md` "Interview phase", `references/integration-contracts.md`, `references/worked-integration.md` | idea; our own wording kept (TrogonStack base above) |
|
|
34
|
+
| `.claude/skills/build-automation/SKILL.md`: model authoritative, no invented mappings or filters, repeated-command cases | `references/realization-and-gap-fill.md`, `references/cases-to-specify.md` | idea; our own wording kept; implementation recipe not adopted |
|
|
28
35
|
|
|
29
36
|
## Carried forward
|
|
30
37
|
`references/automation-patterns.md`, `translation-patterns.md`, `effects-and-idempotency.md`,
|
|
@@ -29,8 +29,8 @@ thing by it. Keep it as a property when it is needed to correlate or deduplicate
|
|
|
29
29
|
each guarded by our constraints.
|
|
30
30
|
- A further worker needs a distinct local decision, obligation or external effect; otherwise
|
|
31
31
|
project views from our fact directly.
|
|
32
|
-
- Name our facts for what they mean to us, not for the transport (
|
|
33
|
-
|
|
32
|
+
- Name our facts for what they mean to us, not for the transport (`<X>Synced`,
|
|
33
|
+
`<X>WebhookReceived` are smells; a business fact such as `PaymentReceived` is fine).
|
|
34
34
|
|
|
35
35
|
## 4. Per-field disposition
|
|
36
36
|
For every field of the outside record, decide and write in the slice `description`:
|
package/package/corpus/skills/cratis-screenplay-automations-and-translations/verification.json
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
{ "kind": "skill-contains", "value": "**One meaning of Translation:**" },
|
|
11
11
|
{ "kind": "skill-contains", "value": "complete, open or blocked" },
|
|
12
12
|
{ "kind": "skill-contains", "value": "never write a mapping" },
|
|
13
|
-
{ "kind": "skill-contains", "value": "V4 is \"not run: no route\"" }
|
|
13
|
+
{ "kind": "skill-contains", "value": "V4 is \"not run: no route\"" },
|
|
14
|
+
{ "kind": "skill-contains", "value": "never skipped silently" },
|
|
15
|
+
{ "kind": "skill-contains", "value": "not applicable: no queue" }
|
|
14
16
|
]
|
|
15
17
|
}
|
|
@@ -28,3 +28,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
28
28
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
29
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
30
|
SOFTWARE.
|
|
31
|
+
|
|
32
|
+
This skill also adapts material from agentic-engineer by Martin Dilger and Nebulit GmbH
|
|
33
|
+
(https://github.com/Nebulit-GmbH/agentic-engineer, commit 07b0f30648d663cb588d7e2c7aa031af9dfc21f2;
|
|
34
|
+
https://nebulit.de), used with the agreement of Martin Dilger and Nebulit GmbH. That repository
|
|
35
|
+
carries no licence file; the adapted material remains credited to Martin Dilger and Nebulit GmbH.
|
|
@@ -54,10 +54,12 @@ Every complete `screenplay` fence in this skill compiles with the standalone com
|
|
|
54
54
|
## Interview phase
|
|
55
55
|
|
|
56
56
|
**Skip if** the input is a written spec with rules, the named experts are present, and the
|
|
57
|
-
existing model already lists the workflows and personas. Otherwise ask
|
|
58
|
-
missing
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
existing model already lists the workflows and personas. Otherwise ask when information is
|
|
58
|
+
missing or ambiguous, guided by the critical questions below and their follow-ups; with
|
|
59
|
+
everything in hand, go straight to the procedure and do not ask questions whose answers you
|
|
60
|
+
already have. One question per turn, the one that unblocks the most; offer two to four likely
|
|
61
|
+
answers when the domain suggests them; use the harness's question tool if it has one. Findings
|
|
62
|
+
feed plotting and the handoff. Full menu with follow-up triggers: `references/interview-questions.md`.
|
|
61
63
|
|
|
62
64
|
Critical questions:
|
|
63
65
|
|
|
@@ -109,8 +111,9 @@ decided apart from what you assumed. Never guess silently.
|
|
|
109
111
|
before the process starts, everything after differs: its own feature). Name every terminal
|
|
110
112
|
state and every undo or correction path; a dead end is an open question.
|
|
111
113
|
6. **Essential fields.** Each event gets the identity it belongs to (implicit through the
|
|
112
|
-
slice's future `for`; name the subject and what tells two apart in STATE.md) plus one
|
|
113
|
-
|
|
114
|
+
slice's future `for`; name the subject and what tells two apart in STATE.md) plus the one or
|
|
115
|
+
two business facts that make it meaningful. A simple state transition may carry no payload
|
|
116
|
+
beyond its identity: do not pad events with fields just to reach a count. Domain names; `<Type>[]` for collections (declare the `type`); a
|
|
114
117
|
`concept` for a value with its own meaning; classify personal data on the concept with
|
|
115
118
|
`@pii` and a reason now. `@pii` compiles but does not bind (PLAY0268 at 4.64.0): record it
|
|
116
119
|
as a known target gap; never drop it to get a clean result.
|
|
@@ -217,7 +220,7 @@ and the report says which verdicts were not run (V2 to V5 are not run in discove
|
|
|
217
220
|
- `references/event-naming.md` - naming rules, not-an-event filter, repairs.
|
|
218
221
|
- `references/personas-and-causes.md` - role catalogue, Cannot resolved to executable gates.
|
|
219
222
|
- `references/divergent-sweep.md` - lenses for the wide pass.
|
|
220
|
-
- `references/plotting-and-handoff.md` - after / caused by / only if, plot format, handoff packet.
|
|
223
|
+
- `references/plotting-and-handoff.md` - after / caused by / only if, plot format, whose turn it is, Storyline seed, handoff packet.
|
|
221
224
|
- `references/facilitation.md` - running sessions, disagreement, closing, unattended runs.
|
|
222
225
|
- `references/human-workshop.md` - supporting a human workshop: preparation, run sheet, live scribing.
|
|
223
226
|
- `references/worked-session.md` - a short session end to end.
|
package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md
CHANGED
|
@@ -72,6 +72,43 @@ Compensation: withdrawal frees the berth for the waiting list (open question)
|
|
|
72
72
|
|
|
73
73
|
For a diagram use `cratis-event-model-diagram`.
|
|
74
74
|
|
|
75
|
+
## Whose turn is it in the story?
|
|
76
|
+
|
|
77
|
+
Tell the story from one persona's perspective as far as the process allows. At each event ask
|
|
78
|
+
whose turn it is. While it is still the same persona, stay there: a long stretch of events
|
|
79
|
+
belonging to one persona, with another persona's views changing in the background, is normal.
|
|
80
|
+
Switch only at a genuine handoff (a boat owner requests a berth, then the Harbourmaster must
|
|
81
|
+
act on it) or as a deliberate cutaway to show what another persona sees. A change to another
|
|
82
|
+
persona's read model is not automatically a new beat; it earns one only when that persona
|
|
83
|
+
would look at it as the next step. Do not alternate personas for symmetry. Carry each real
|
|
84
|
+
handoff into the feature `description` and the slice-design handoff packet; a cutaway is
|
|
85
|
+
marked as such there.
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
Consistent: BoatOwner: BerthRequested, RequestWithdrawn... then Harbourmaster: BerthAssigned, BoatArrived
|
|
89
|
+
Alternating: Harbourmaster, BoatOwner, Harbourmaster, BoatOwner with no handoff behind each switch
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Storyline: one view walked through its states
|
|
93
|
+
|
|
94
|
+
When the story is about a *view* rather than a stream (a waiting list, a work queue, a berth
|
|
95
|
+
board), a set of isolated before/after pairs hides what the user cares about: the same read
|
|
96
|
+
model changing over time. Note it as one narrated walkthrough in STATE.md and the feature
|
|
97
|
+
`description`: empty, then an item added, then the item done or failed, then removed, naming
|
|
98
|
+
the event that causes each step. It is a seed only; discovery writes no specification.
|
|
99
|
+
`cratis-screenplay-scenario-coverage` turns it into cumulative lifecycle specifications on
|
|
100
|
+
the read model, and `cratis-screenplay-automations-and-translations` owns the work-queue
|
|
101
|
+
(todo-list) shape. Each step must be caused by a modeled event; a step with no cause is an
|
|
102
|
+
open question.
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
Waiting list (view): empty
|
|
106
|
+
BerthRequested (Dana, 9 m) -> one row, waiting
|
|
107
|
+
BerthRequested (Ola, 12 m) -> two rows
|
|
108
|
+
BerthAssigned (Dana) -> Dana leaves the list
|
|
109
|
+
BerthAssignmentWithdrawn (Dana) -> open question: does Dana return to the list?
|
|
110
|
+
```
|
|
111
|
+
|
|
75
112
|
## 5. Plot checks
|
|
76
113
|
|
|
77
114
|
- Every event except a starting one has a predecessor *and* a cause.
|
|
@@ -20,15 +20,24 @@ the `.trogonai/interviews/` trail file (replaced by bounded STATE.md); e-commerc
|
|
|
20
20
|
Gherkin forms; the `total (calculated)` field example (contradicts the calculated-value rule);
|
|
21
21
|
"capture every error condition as an event" (most failures are rejections).
|
|
22
22
|
|
|
23
|
-
##
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
24
|
+
|
|
25
|
+
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
26
|
+
by Martin Dilger and Nebulit GmbH (https://nebulit.de). The repository carries no licence file; this material
|
|
27
|
+
is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
28
|
+
|
|
29
|
+
| Source file | Used in | How |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| `.claude/skills/timeline/SKILL.md`: fixed opening question, build first then summarize, one question per turn, stop conditions | `SKILL.md` "Interview phase", `references/storming-loop.md`, `references/interview-questions.md` | translated to Screenplay; opening question kept close to the original |
|
|
32
|
+
| `.claude/skills/eventmodeling-interview-protocol/SKILL.md`: when to ask, skip what is known, assume visibly when told not to ask | `SKILL.md` "Interview phase" | restored from #493: wording now adapted closely; trail file replaced by STATE.md |
|
|
33
|
+
| same: findings recorded per step | `SKILL.md` "Interview phase", `references/interview-questions.md` "Interview flow" | translated: Decisions and Assumptions lists in STATE.md |
|
|
34
|
+
| `.claude/skills/eventmodeling-storyboarding-events/SKILL.md`: step 6, processor todo list walked as a storyline | `references/plotting-and-handoff.md` "Storyline" | restored from #493 (item 5, storyline): translated to a view walkthrough seed for lifecycle specifications |
|
|
35
|
+
| `.claude/skills/eventmodeling-brainstorming-events/SKILL.md`: divergent journey vs decision point (Nebulit addition) | `SKILL.md` step 5 | idea; our own wording kept (outcome branch vs separate story) |
|
|
36
|
+
| same: essential fields only, no padding, payload-free simple transitions (lines 159-160) | `SKILL.md` step 6, `references/storming-loop.md` | now adapted closely; identity, concepts and `@pii` rules kept |
|
|
37
|
+
| same: handover from an outside party is a single moment, not a relocation | `SKILL.md` Modeling defaults | idea; our own wording kept |
|
|
38
|
+
| `.claude/skills/eventmodeling-storyboarding-events/SKILL.md`: "whose turn is it in the story?" (consistent actor perspective) | `references/plotting-and-handoff.md` "Whose turn is it in the story?" | adapted closely; lanes, columns and screen placement not adopted |
|
|
39
|
+
|
|
40
|
+
Not adopted: board, chapter, column and `place-element` mechanics; the board API and `connect` skill.
|
|
32
41
|
|
|
33
42
|
## Original to this corpus
|
|
34
43
|
|
|
@@ -26,7 +26,7 @@ then reports what changed and asks one question. The user should always be able
|
|
|
26
26
|
| drop | not a fact after all | record why in STATE.md |
|
|
27
27
|
| none | already modeled | say so briefly |
|
|
28
28
|
|
|
29
|
-
5. **Write the edits** with essential fields (identity is implicit; one
|
|
29
|
+
5. **Write the edits** with essential fields (identity is implicit; the one or two facts that make the event meaningful, none for a plain transition; never padding).
|
|
30
30
|
6. **Validate after a coherent batch** (`--warnings-as-errors`), not after every sentence.
|
|
31
31
|
7. **Report the change** in a few lines, then ask **one** question.
|
|
32
32
|
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
{ "kind": "skill-contains", "value": "what can happen next *instead*" },
|
|
11
11
|
{ "kind": "skill-contains", "value": "No generic edit event or command name" },
|
|
12
12
|
{ "kind": "skill-contains", "value": "V2 to V5 are not run in discovery" },
|
|
13
|
-
{ "kind": "skill-contains", "value": "`description` text is never rendered" }
|
|
13
|
+
{ "kind": "skill-contains", "value": "`description` text is never rendered" },
|
|
14
|
+
{ "kind": "skill-contains", "value": "do not ask questions whose answers you" },
|
|
15
|
+
{ "kind": "skill-contains", "value": "Storyline" },
|
|
16
|
+
{ "kind": "skill-contains", "value": "do not pad events with fields just to reach a count" },
|
|
17
|
+
{ "kind": "skill-contains", "value": "whose turn it is" }
|
|
14
18
|
]
|
|
15
19
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
Copyright (c) Cratis. All rights reserved.
|
|
2
2
|
Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
## Third-party notices
|
|
5
|
+
|
|
6
|
+
This skill adapts material from agentic-engineer by Martin Dilger and Nebulit GmbH
|
|
7
|
+
(https://github.com/Nebulit-GmbH/agentic-engineer, commit 07b0f30648d663cb588d7e2c7aa031af9dfc21f2;
|
|
8
|
+
https://nebulit.de), used with the agreement of Martin Dilger and Nebulit GmbH. That repository
|
|
9
|
+
carries no licence file; the adapted material remains credited to Martin Dilger and Nebulit GmbH.
|
|
@@ -17,6 +17,21 @@ assumptions. Keep asking *"and then what happens?"* after every event, every
|
|
|
17
17
|
command, every answer. Use business language. Do not discuss databases, APIs, or
|
|
18
18
|
frameworks during modeling.
|
|
19
19
|
|
|
20
|
+
**Ask only what the step needs.** Missing or ambiguous information: ask, one question that
|
|
21
|
+
changes the model most, and follow a vague answer ("it depends", "usually") with "what decides
|
|
22
|
+
it?". Already known: do not ask. Told not to stop for questions (an unattended run): assume the
|
|
23
|
+
most reasonable answer, say so visibly where it can be corrected, never guess silently. Assume
|
|
24
|
+
visibly during modeling; delivery blocks any guess that could encode a wrong rule, authorization,
|
|
25
|
+
money or time behavior. Contradictions, a third review round, a gate only the user can accept,
|
|
26
|
+
and approvals not yet given always stop
|
|
27
|
+
(`cratis-screenplay-modeling-lifecycle`, `references/stop-or-assume.md`).
|
|
28
|
+
|
|
29
|
+
**Do not cut corners to save tokens or effort.** A rule that needs more slices, events, views,
|
|
30
|
+
translation steps or specifications gets them written; budget is never a reason to delete a
|
|
31
|
+
modeled behavior, label a gap "accepted debt" or merge translating outside data into our facts
|
|
32
|
+
into the work that acts on them. Flag a real trade-off to the user instead of resolving it by cutting the model
|
|
33
|
+
(`cratis-screenplay-modeling-lifecycle`, `references/completeness-self-check.md`).
|
|
34
|
+
|
|
20
35
|
## Start here
|
|
21
36
|
|
|
22
37
|
**1. Decide the level (short form; master copy in `cratis-screenplay-modeling-lifecycle`).**
|
|
@@ -383,3 +398,6 @@ The lifecycle, toolchain and phase skills are in "Start here" above. Construct a
|
|
|
383
398
|
| Rendering a settled model into an application | `cratis-stage-rendering-and-sandbox` |
|
|
384
399
|
| Drawing the model as a Mermaid diagram | `cratis-event-model-diagram` |
|
|
385
400
|
| Modeling against hand-written Chronicle C# | `cratis-chronicle-event-modeling` |
|
|
401
|
+
|
|
402
|
+
## Lineage
|
|
403
|
+
Method lineage, Nebulit material and licenses: `references/provenance.md`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Provenance
|
|
2
|
+
|
|
3
|
+
## Method lineage
|
|
4
|
+
- Event Modeling: Adam Dymitruk (eventmodeling.org); Martin Dilger, *Understanding Eventsourcing*.
|
|
5
|
+
- The two-phase process, nine steps, four patterns and GWT discipline follow
|
|
6
|
+
[jwilger/agent-skills `event-modeling`](https://github.com/jwilger/agent-skills/tree/main/skills/event-modeling),
|
|
7
|
+
as noted in `SKILL.md`; Cratis divergences are stated there.
|
|
8
|
+
- Screenplay vocabulary and the model-first rule come from the Cratis Screenplay documentation.
|
|
9
|
+
|
|
10
|
+
## Adapted closely (Martin Dilger and Nebulit GmbH, with agreement)
|
|
11
|
+
|
|
12
|
+
Source: https://github.com/Nebulit-GmbH/agentic-engineer at commit `07b0f30648d663cb588d7e2c7aa031af9dfc21f2`,
|
|
13
|
+
by Martin Dilger and Nebulit GmbH (https://nebulit.de). The repository carries no licence file; this material
|
|
14
|
+
is adapted with the agreement of Martin Dilger and Nebulit GmbH.
|
|
15
|
+
|
|
16
|
+
| Source file | Used in | How |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| `.claude/skills/eventmodeling-orchestrating-event-modeling/SKILL.md`: "Do not cut corners to save tokens or effort" | `SKILL.md` paragraph "Do not cut corners to save tokens or effort" (short form; full text in the lifecycle skill) | Adapted closely; restored from #493; translated to Screenplay |
|
|
19
|
+
| `.claude/skills/eventmodeling-interview-protocol/SKILL.md`: when to ask, unless told not to ask | `SKILL.md` paragraph "Ask only what the step needs" (short form; full text in the lifecycle skill) | Adapted closely; restored from #493; recording moved to STATE.md |
|
|
@@ -78,6 +78,14 @@
|
|
|
78
78
|
{
|
|
79
79
|
"kind": "skill-contains",
|
|
80
80
|
"value": "`cratis-screenplay-render-and-gap-fill`"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "skill-contains",
|
|
84
|
+
"value": "Do not cut corners to save tokens or effort"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "skill-contains",
|
|
88
|
+
"value": "Ask only what the step needs"
|
|
81
89
|
}
|
|
82
90
|
]
|
|
83
91
|
}
|
|
@@ -29,3 +29,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
29
29
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
30
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
31
|
SOFTWARE.
|
|
32
|
+
|
|
33
|
+
This skill also adapts material from agentic-engineer by Martin Dilger and Nebulit GmbH
|
|
34
|
+
(https://github.com/Nebulit-GmbH/agentic-engineer, commit 07b0f30648d663cb588d7e2c7aa031af9dfc21f2;
|
|
35
|
+
https://nebulit.de), used with the agreement of Martin Dilger and Nebulit GmbH. That repository
|
|
36
|
+
carries no licence file; the adapted material remains credited to Martin Dilger and Nebulit GmbH.
|
|
@@ -32,8 +32,7 @@ then hands off to review (P5) and acceptance (P6).
|
|
|
32
32
|
## Verified product sources
|
|
33
33
|
|
|
34
34
|
Pins (Screenplay v4.64.0 `7e16162`, cratis CLI v3.27.1, Stage v4.24.0, Arc v22.50.5, Chronicle
|
|
35
|
-
v19.32.0)
|
|
36
|
-
Statements here were checked at these sources:
|
|
35
|
+
v19.32.0): `cratis-screenplay-toolchain` `references/versions.md`. Checked at these sources:
|
|
37
36
|
|
|
38
37
|
| Fact used here | Source |
|
|
39
38
|
| --- | --- |
|
|
@@ -44,15 +43,13 @@ Statements here were checked at these sources:
|
|
|
44
43
|
| `then error`, `then denied`, `unique ... released by` | Screenplay `v4.64.0:Documentation/screenplay/{specifications,constraints}.md` |
|
|
45
44
|
| No semantic diff or equivalence check exists (Screenplay#387 open) | `gh issue view 387 --repo Cratis/Screenplay` |
|
|
46
45
|
|
|
47
|
-
Every complete `screenplay` fence here compiles with the standalone compiler 4.64.0
|
|
48
|
-
|
|
46
|
+
Every complete `screenplay` fence here compiles with the standalone compiler 4.64.0 (`--warnaserror`) and
|
|
47
|
+
`cratis screenplay validate --warnings-as-errors` 3.27.1.
|
|
49
48
|
|
|
50
49
|
## Interview phase
|
|
51
|
-
|
|
52
50
|
**Skip if** the brief already records the freeze or "not applicable", the observable
|
|
53
51
|
environments, the evidence-disclosure policy and the domain experts. Otherwise ask only what is
|
|
54
|
-
missing, one question per turn, the
|
|
55
|
-
if it has one. Record answers in `.ai-work/screenplay/<model-slug>/legacy/INTERVIEW.md`
|
|
52
|
+
missing, one question per turn, the most blocking first (the harness's question tool if any). Record answers in `.ai-work/screenplay/<model-slug>/legacy/INTERVIEW.md`
|
|
56
53
|
(`references/interview-findings.md`) and in the Interview Trail of `STATE.md`.
|
|
57
54
|
|
|
58
55
|
Critical questions (full wording, why they matter and follow-up triggers:
|
|
@@ -115,10 +112,10 @@ traffic. The extractor proposes; the main session asks the user and the DBA:
|
|
|
115
112
|
fraction), then confirm cleanup ran. Prologue ignores status codes: recover rejections from
|
|
116
113
|
the script and the code.
|
|
117
114
|
|
|
118
|
-
**Optional UI evidence** (`references/ui-observation.md`): a
|
|
119
|
-
approved workflows with before/after states. A screen proves what was shown,
|
|
120
|
-
or event behind it. Screens and real query usage are the source for read
|
|
121
|
-
mirrors.
|
|
115
|
+
**Optional UI evidence** (`references/ui-observation.md`): after a capability check, a bounded,
|
|
116
|
+
state-aware walk of approved workflows with before/after states, grouped into flows. A screen proves what was shown,
|
|
117
|
+
not the server rule or event behind it. Screens and real query usage are the source for read
|
|
118
|
+
models, not table mirrors.
|
|
122
119
|
|
|
123
120
|
**L3 Evidence table.** One row per observed fact (`references/evidence-table-template.md`):
|
|
124
121
|
source, locator, fact, strength, classification (intent / consequence / infrastructure / noise /
|
|
@@ -162,7 +159,9 @@ chain per slice before handoff (evidence template); never manufacture references
|
|
|
162
159
|
and (where gated) denied spec per command; validation, state, retry, competing-claim and
|
|
163
160
|
conditional cases per command; population, update and removal per view. Unobserved behaviour
|
|
164
161
|
is `unknown`; expert-approved target requirements are labelled as such.
|
|
165
|
-
5. Validate the candidate folder with warnings as errors (`cratis-screenplay-toolchain`)
|
|
162
|
+
5. Validate the candidate folder with warnings as errors (`cratis-screenplay-toolchain`), then
|
|
163
|
+
run the read-only candidate inventory (`references/candidate-inventory.md`: counts,
|
|
164
|
+
specification coverage, structural gaps, orphans, one-screen-several-commands).
|
|
166
165
|
6. Write the loss report (`references/loss-report-template.md`) and the expert question list
|
|
167
166
|
(`references/expert-verification.md`).
|
|
168
167
|
|
|
@@ -171,8 +170,7 @@ exact `file:line` locator (or `file:start-end`) inline, file name exactly as giv
|
|
|
171
170
|
or a pointer to another file is not enough. A claim without a locator is `unknown`.
|
|
172
171
|
|
|
173
172
|
Report in the final message when the brief says so (locators, mapping, assumptions, questions),
|
|
174
|
-
handoff packet appended, first line `Outcome:`;
|
|
175
|
-
off: independent review (`cratis-screenplay-model-review`), expert verification, acceptance (P6).
|
|
173
|
+
handoff packet appended, first line `Outcome:`; no prose reports in the model root. Then hand off: independent review (`cratis-screenplay-model-review`), expert verification, acceptance (P6).
|
|
176
174
|
|
|
177
175
|
## Rules
|
|
178
176
|
|
|
@@ -209,7 +207,7 @@ The candidate may go to review only when all hold, each a result or "not run: <r
|
|
|
209
207
|
- Evidence ids resolve to inspected `path:start-end` at the recorded source identity, and the
|
|
210
208
|
report shows the compact locators (a UI-only extraction says it has none).
|
|
211
209
|
- Scenario applicability was reconciled (missing denials, competing claims, branches, removals
|
|
212
|
-
named); V1 clean on the candidate folder, warnings as errors.
|
|
210
|
+
named); V1 clean on the candidate folder, warnings as errors; inventory report produced.
|
|
213
211
|
- Capture: approvals, snapshot and cleanup confirmation, or "no capture"; interpret: effective
|
|
214
212
|
provider and approved disclosure, or "not run".
|
|
215
213
|
|
|
@@ -228,12 +226,13 @@ The candidate may go to review only when all hold, each a result or "not run: <r
|
|
|
228
226
|
`cratis-screenplay-automations-and-translations`; coverage: `cratis-screenplay-scenario-coverage`;
|
|
229
227
|
review of the candidate: `cratis-screenplay-model-review`; rendering:
|
|
230
228
|
`cratis-screenplay-render-and-gap-fill`.
|
|
231
|
-
- Syntax and
|
|
232
|
-
|
|
233
|
-
`cratis-chronicle-
|
|
229
|
+
- Syntax and verdicts: `cratis-screenplay-toolchain`; phases, identity and approvals:
|
|
230
|
+
`cratis-screenplay-modeling-lifecycle`; running Chronicle: `cratis-chronicle-cli-operations`,
|
|
231
|
+
`cratis-chronicle-mcp-inspection`.
|
|
234
232
|
|
|
235
233
|
## Lineage
|
|
236
234
|
|
|
237
235
|
Sources, licences and adaptation notes: `references/provenance.md`. The interview protocol and
|
|
238
|
-
side-car planning adapt TrogonStack agentskills (MIT); the bounded UI walk
|
|
239
|
-
|
|
236
|
+
side-car planning adapt TrogonStack agentskills (MIT); the bounded UI walk and the candidate
|
|
237
|
+
inventory adapt Martin Dilger and Nebulit GmbH's discover-storyboard and analyze-existing-model, with their
|
|
238
|
+
agreement; the rest is Cratis.
|