@cratis/pi 7.51.0 → 7.51.2
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/harnesses/copilot/instructions/application-profile.instructions.md +15 -1
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -1
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +7 -1
- package/package/corpus/harnesses/pi/extensions/shared/rules.ts +9 -1
- package/package/corpus/rules/application-profile.md +15 -1
- package/package/corpus/rules/authoring-skills.md +1 -1
- package/package/corpus/rules/cratis-folder-is-configuration.md +3 -1
- package/package/corpus/rules/exit-codes-and-wrappers.md +7 -1
- package/package/corpus/rules/general.md +8 -6
- package/package/corpus/rules/guards-and-fuses.md +7 -1
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +8 -7
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +1 -1
- package/package/corpus/skills/cratis-application-slice-conformance/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +15 -19
- package/package/corpus/skills/cratis-application-slice-specifications/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-application-slice-specifications/references/query-and-decision-scenarios.md +8 -6
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +10 -14
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +4 -2
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +7 -7
- package/package/corpus/skills/cratis-arc-react-page/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +1 -1
- package/package/corpus/skills/cratis-arc-react-page/verification.json +0 -2
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +15 -19
- package/package/corpus/skills/cratis-chronicle-reactor/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +10 -8
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +7 -7
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +30 -28
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +8 -8
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/cases-to-specify.md +4 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +3 -1
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/provenance.md +1 -14
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/public-events-and-direction.md +6 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/realization-and-gap-fill.md +5 -6
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +11 -12
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translate-example.md +3 -3
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +2 -2
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +22 -20
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/invocation-identity.md +9 -10
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/refusals-and-redelivery.md +1 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +3 -4
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/verification.json +0 -4
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +16 -15
- package/package/corpus/skills/cratis-screenplay-command-surface/references/compliance.md +17 -17
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +8 -8
- package/package/corpus/skills/cratis-screenplay-command-surface/references/enum-numbers.md +8 -12
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +31 -29
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +5 -5
- package/package/corpus/skills/cratis-screenplay-command-surface/references/operations.md +2 -2
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +3 -3
- package/package/corpus/skills/cratis-screenplay-command-surface/references/shop-generation.md +10 -10
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +9 -7
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +2 -5
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +14 -15
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +2 -2
- package/package/corpus/skills/cratis-screenplay-discovery/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +13 -17
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +11 -12
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +0 -4
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/evidence-table-template.md +4 -4
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md +34 -21
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md +18 -12
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +7 -7
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/rule-modeling.md +4 -4
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +24 -29
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/choosing-generation.md +1 -2
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +44 -51
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +31 -36
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +56 -63
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +11 -10
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/property-links.md +15 -15
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/release-baseline.md +25 -21
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/screen-authoring-workflow.md +16 -31
- package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +5 -4
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +3 -3
- package/package/corpus/skills/cratis-screenplay-model-review/references/provenance.md +3 -4
- package/package/corpus/skills/cratis-screenplay-model-review/references/public-keys-and-routes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +7 -5
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +11 -12
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/code-reading-and-tokens.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/opt-in.md +8 -10
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/provenance.md +6 -6
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +2 -2
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +3 -3
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +11 -22
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +1 -1
- package/package/corpus/skills/cratis-screenplay-projections/verification.json +0 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +16 -29
- package/package/corpus/skills/cratis-screenplay-read-surface/references/equality-filters.md +14 -18
- package/package/corpus/skills/cratis-screenplay-read-surface/references/guarded-actions.md +5 -7
- package/package/corpus/skills/cratis-screenplay-read-surface/references/named-keys.md +6 -6
- package/package/corpus/skills/cratis-screenplay-read-surface/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-read-surface/verification.json +1 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +18 -19
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/delivery-protocol.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +6 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/provenance.md +4 -4
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +5 -6
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +2 -3
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/verification.json +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +13 -15
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-design.md +1 -1
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/provenance.md +4 -6
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +4 -4
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +3 -3
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/spec-forms-by-mode.md +11 -9
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +5 -5
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/verification.json +0 -1
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +11 -13
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +4 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/rule-layers.md +6 -4
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +4 -2
- package/package/corpus/skills/cratis-screenplay-slice-design/references/worked-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +37 -40
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +10 -15
- package/package/corpus/skills/cratis-screenplay-specifications/references/child-ordering.md +14 -12
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/examples-and-routes.md +9 -10
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +5 -6
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +8 -9
- package/package/corpus/skills/cratis-screenplay-specifications/references/source-notes.md +13 -16
- package/package/corpus/skills/cratis-screenplay-specifications/references/whitespace-rules.md +15 -13
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +4 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +29 -29
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +18 -15
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -15
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +19 -17
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/provenance.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +2 -2
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/verification.json +2 -3
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/pdl-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -28
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +21 -26
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/guarded-interactions.md +3 -3
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/provenance.md +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/response-continuations.md +10 -10
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/screen-composition-contract.md +23 -30
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/worked-flow.md +4 -5
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -5
- package/package.json +1 -1
- package/src/index.ts +9 -1
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/product-sources.md +0 -15
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/provenance.md +0 -13
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
{ "kind": "play-compiles" },
|
|
7
7
|
{ "kind": "skill-contains", "value": "screenplay_declaration_details", "file": "references/generated-values-and-responses.md" },
|
|
8
8
|
{ "kind": "skill-contains", "value": "do not hand-edit the text", "file": "references/generated-values-and-responses.md" },
|
|
9
|
-
{ "kind": "skill-contains", "value": "CLI
|
|
9
|
+
{ "kind": "skill-contains", "value": "A CLI-bundled MCP can lack this summary", "file": "references/generated-values-and-responses.md" },
|
|
10
10
|
{ "kind": "skill-contains", "value": "optional concept `compliance` as ESM v13", "file": "references/compliance.md" },
|
|
11
11
|
{ "kind": "skill-contains", "value": "PLAY0268 at binding only", "file": "references/compliance.md" },
|
|
12
12
|
{ "kind": "skill-contains", "value": "reasons stay report-only PLAY0270", "file": "references/compliance.md" },
|
|
13
13
|
{ "kind": "skill-contains", "value": "`STAGE-ESM-040`", "file": "references/compliance.md" },
|
|
14
|
-
{ "kind": "skill-contains", "value": "CLI
|
|
14
|
+
{ "kind": "skill-contains", "value": "A CLI whose compiler and Stage admit v13", "file": "references/compliance.md" },
|
|
15
15
|
{ "kind": "skill-contains", "value": "Enum and identity", "file": "references/compliance.md" },
|
|
16
16
|
{ "kind": "skill-contains", "value": "PLAY0653", "file": "references/compliance.md" },
|
|
17
17
|
{ "kind": "skill-contains", "value": "personal` is an alias of `pii", "file": "references/compliance.md" },
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
{ "kind": "skill-contains", "value": "--check purposes", "file": "references/compliance.md" },
|
|
20
20
|
{ "kind": "skill-contains", "value": "PLAY0633–0646", "file": "references/context.md" },
|
|
21
21
|
{ "kind": "skill-contains", "value": "The block is **authoring metadata**", "file": "references/context.md" },
|
|
22
|
-
{ "kind": "skill-contains", "value": "main `fd18129`" },
|
|
23
22
|
{ "kind": "skill-contains", "value": "produces event ProjectRenamed", "file": "references/inline-events.md" },
|
|
24
23
|
{ "kind": "skill-contains", "value": "name ProjectName = name", "file": "references/inline-events.md" },
|
|
25
24
|
{ "kind": "skill-contains", "value": "In ESM v2+, it inherits a sibling production's resolved\ndestination through the command destination default", "file": "references/inline-events.md" },
|
|
@@ -97,8 +96,6 @@
|
|
|
97
96
|
{ "kind": "skill-contains", "value": "Generated values are not request inputs", "file": "references/generated-values-and-responses.md" },
|
|
98
97
|
{ "kind": "skill-contains", "value": "Generated-concept validation rules\nand compliance markers, including generated secrets, remain refused.", "file": "references/generated-values-and-responses.md" },
|
|
99
98
|
{ "kind": "skill-contains", "value": "Only acceptance has a response", "file": "references/generated-values-and-responses.md" },
|
|
100
|
-
{ "kind": "skill-contains", "value": "STAGE-ESM-028/029", "file": "references/generated-values-and-responses.md" },
|
|
101
|
-
{ "kind": "skill-contains", "value": "4.68.0" },
|
|
102
99
|
{ "kind": "skill-contains", "value": "whole source", "file": "references/generated-values-and-responses.md" },
|
|
103
100
|
{ "kind": "skill-contains", "value": "`Concurrency`", "file": "references/generated-values-and-responses.md" },
|
|
104
101
|
{ "kind": "skill-contains", "value": "PLAY0682", "file": "references/generated-values-and-responses.md" },
|
|
@@ -43,26 +43,25 @@ syntax and tool commands in `cratis-screenplay-toolchain`.
|
|
|
43
43
|
`references/document-intake.md` (facts file, certainty marks, exact figures, contradictions, a
|
|
44
44
|
coverage pass, the blueprint summary).
|
|
45
45
|
|
|
46
|
-
##
|
|
46
|
+
## Product sources
|
|
47
47
|
|
|
48
|
-
Tool versions are covered in `cratis-screenplay-toolchain` `SKILL.md`.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
and decision 0045:40-79; tool sources: model-authoring `references/model-notes.md`.
|
|
48
|
+
Tool versions are covered in `cratis-screenplay-toolchain` `SKILL.md`.
|
|
49
|
+
Model notes use Screenplay `Documentation/screenplay/model-notes.md`;
|
|
50
|
+
tool sources: model-authoring `references/model-notes.md`.
|
|
51
|
+
Requires Screenplay 4.144.0 or later (`screenplay --version`) for model notes.
|
|
53
52
|
|
|
54
53
|
| Fact used here | Source |
|
|
55
54
|
| --- | --- |
|
|
56
|
-
| Persona syntax, report-only, policies must be declared | Screenplay `
|
|
57
|
-
| Description order; authored/import board order and order-preserving MCP layouts | Screenplay `
|
|
58
|
-
| Single-line and fenced `description` (`FencedText`) | `
|
|
59
|
-
| `<Type>[]`, shapes must be declared;
|
|
60
|
-
| `then denied`, `given caller`, `then error` | `
|
|
61
|
-
| PII on an event-source id is rejected by Chronicle (CHR0034); nullable event properties warn (CHR0012) | Chronicle `
|
|
62
|
-
|
|
|
55
|
+
| Persona syntax, report-only, policies must be declared | Screenplay `Documentation/screenplay/personas.md` |
|
|
56
|
+
| Description order; authored/import board order and order-preserving MCP layouts | Screenplay `Documentation/screenplay/grammar.md`, `folders.md`, `imports.md` |
|
|
57
|
+
| Single-line and fenced `description` (`FencedText`) | `Documentation/screenplay/slices.md#descriptions`, `grammar.md` |
|
|
58
|
+
| `<Type>[]`, shapes must be declared; `pii` and `reason` on concepts | `Documentation/screenplay/events.md`, `concepts.md` |
|
|
59
|
+
| `then denied`, `given caller`, `then error` | `Documentation/screenplay/specifications.md` |
|
|
60
|
+
| PII on an event-source id is rejected by Chronicle (CHR0034); nullable event properties warn (CHR0012) | Chronicle `Source/Clients/DotNET.CodeAnalysis/DiagnosticIds.cs` |
|
|
61
|
+
| Bare `pii` and `secret` on a concept bind as ESM v13; legacy `@`-prefixed markers are deprecated (PLAY0565); enum/identity compliance fails binding (PLAY0268); current markers are in `cratis-screenplay-command-surface` | `Source/DotNET/Screenplay/Semantics/SemanticModelBinder.Concepts.cs` |
|
|
63
62
|
|
|
64
63
|
Every complete `screenplay` fence in this skill compiles with the standalone compiler
|
|
65
|
-
|
|
64
|
+
(`--warnaserror`).
|
|
66
65
|
|
|
67
66
|
## Interview phase
|
|
68
67
|
|
|
@@ -132,7 +131,7 @@ Never put secrets or personal data in note text; `.screenplay/notes.json` is com
|
|
|
132
131
|
two business facts that make it meaningful. A simple state transition may carry no payload
|
|
133
132
|
beyond its identity: do not pad events with fields just to reach a count. Domain names; `<Type>[]` for collections (declare the `type`); a
|
|
134
133
|
`concept` for a value with its own meaning; classify personal data on the concept with
|
|
135
|
-
bare `pii` and a reason now; operational secrets use `secret
|
|
134
|
+
bare `pii` and a reason now; operational secrets use `secret`.
|
|
136
135
|
Either blocks binding (PLAY0268); record the gap, never drop protection.
|
|
137
136
|
Ask what use, lawful basis, retention, recipient/transfer and erasure needs the
|
|
138
137
|
data serves; declare those in a `purpose`, not a concept reason. Special/criminal
|
|
@@ -57,7 +57,7 @@ in notes. See "Evidence and privacy" in SKILL.md.
|
|
|
57
57
|
5. Per workflow give the happy path, the decision points and the terminal facts in a few lines.
|
|
58
58
|
6. Propose the next step: the next workflow, or `cratis-screenplay-slice-design` for this one.
|
|
59
59
|
7. Update STATE.md (phase, status, carry-forward); keep durable rationale in fenced Markdown
|
|
60
|
-
`documentation`, summaries in `description`.
|
|
60
|
+
`documentation`, summaries in `description`. Canonical printing retains
|
|
61
61
|
documentation on its owner; MCP exposes it, but it changes no `modelRevision` and
|
|
62
62
|
reaches no rendered code. Inspect dropped comments after canonicalizing edits.
|
|
63
63
|
|
|
@@ -64,7 +64,7 @@ into exactly one of these:
|
|
|
64
64
|
plus a `then denied` specification using `given caller as <Persona>` for a
|
|
65
65
|
synthesized witness, or an explicit effective-gate caller (`cratis-screenplay-scenario-coverage`). Every command and query
|
|
66
66
|
under an inherited module or feature `authorize` gets its own denial spec. Ownership
|
|
67
|
-
against a text, Uuid, Date or DateTime subject renders
|
|
67
|
+
against a text, Uuid, Date or DateTime subject renders; other subjects are STAGE-ESM-015: note it.
|
|
68
68
|
2. **Gap or target requirement.** The check depends on stored state ("only the requester may
|
|
69
69
|
withdraw") or cannot be gated today. Record it as a gap with its target enforcement for
|
|
70
70
|
`cratis-screenplay-streams-and-consistency`; it is not enforcement and not a passed denial.
|
package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md
CHANGED
|
@@ -97,8 +97,8 @@ recording. For project decisions, cite `refs: [{ "id": "D123" }]`; resolve with
|
|
|
97
97
|
Turn the answer into a specification, a description or a project-owned decision
|
|
98
98
|
record. A resolution alone implements nothing; carry behavioral answers to slice
|
|
99
99
|
design/scenario coverage. Reopen if the decision stops answering the question.
|
|
100
|
-
Evidence: Screenplay `
|
|
101
|
-
`decisions/0045-model-notes-sidecar.md
|
|
100
|
+
Evidence: Screenplay `Documentation/screenplay/model-notes.md`,
|
|
101
|
+
`decisions/0045-model-notes-sidecar.md`; tool-source lines in the linked guide.
|
|
102
102
|
|
|
103
103
|
## 4. Plot output format
|
|
104
104
|
|
|
@@ -28,11 +28,11 @@ by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit c
|
|
|
28
28
|
| Source file | Used in | How |
|
|
29
29
|
|---|---|---|
|
|
30
30
|
| `.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 |
|
|
31
|
-
| `.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" |
|
|
31
|
+
| `.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" | Adapted closely; trail file replaced by STATE.md |
|
|
32
32
|
| same: findings recorded per step | `SKILL.md` "Interview phase", `references/interview-questions.md` "Interview flow" | translated: Decisions and Assumptions lists in STATE.md |
|
|
33
|
-
| `.claude/skills/eventmodeling-storyboarding-events/SKILL.md`: step 6, processor todo list walked as a storyline | `references/plotting-and-handoff.md` "Storyline" |
|
|
33
|
+
| `.claude/skills/eventmodeling-storyboarding-events/SKILL.md`: step 6, processor todo list walked as a storyline | `references/plotting-and-handoff.md` "Storyline" | Translated to a view walkthrough seed for lifecycle specifications |
|
|
34
34
|
| `.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) |
|
|
35
|
-
| same: essential fields only, no padding, payload-free simple transitions (lines 159-160) | `SKILL.md` step 6, `references/storming-loop.md` |
|
|
35
|
+
| same: essential fields only, no padding, payload-free simple transitions (lines 159-160) | `SKILL.md` step 6, `references/storming-loop.md` | Adapted closely; identity, concepts and `pii` rules kept |
|
|
36
36
|
| same: handover from an outside party is a single moment, not a relocation | `SKILL.md` Modeling defaults | idea; our own wording kept |
|
|
37
37
|
| `.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 |
|
|
38
38
|
| `.claude/skills/eventmodeling-brainstorming-events/SKILL.md`: Domain Analysis document (roles, entities, processes, candidate events, rules, questions), "Questions for Domain Expert", "Best Practices for Requirements Analysis", quality checklist | `references/domain-analysis-template.md` | Adapted closely as an optional work record in `.ai-work/screenplay/`; roles use Does/Reads/Cannot, chapters, cells, swimlane rules and `meta.fields` dropped, "all error conditions have events" replaced by the refusal-versus-fact question |
|
|
@@ -108,7 +108,7 @@ is the fallback, and neither names the other's verdict. Versions and commands:
|
|
|
108
108
|
- [ ] Personal data is classified on the `concept`, with a reason.
|
|
109
109
|
- [ ] Specifications name the rejections, not only the happy path.
|
|
110
110
|
- [ ] Bind with the runtime's compiler; tool versions: toolchain `SKILL.md`.
|
|
111
|
-
CLI
|
|
111
|
+
A CLI and Stage that admit v15 also admit supported event Automation,
|
|
112
112
|
generation strategies/responses, equality filters, enum numbers and compliance. Translate/captures
|
|
113
113
|
and refused reactions remain gaps (Stage `references/admission.md`).
|
|
114
114
|
Mixed effects remain `STAGE-ESM-037`: retries can duplicate events. Keep the reaction
|
|
@@ -128,13 +128,13 @@ The independent verdicts V1 to V5 that report them are in
|
|
|
128
128
|
What binds depends on **which tool** you ask, so name the tool and its version:
|
|
129
129
|
|
|
130
130
|
- `Automation` and `Translate` slices, reactions, captures and triggers bind (ESM v6) on the
|
|
131
|
-
standalone tool and
|
|
132
|
-
|
|
131
|
+
standalone tool and a CLI bundle that admits v6. (An older bundle
|
|
132
|
+
reports *Slice '<name>' of type '<type>' is not admitted by ESM v1.*) Stage renders supported event-triggered Automation, not Translate/captures or non-event triggers.
|
|
133
133
|
- `reads` and `concurrency` on a command do not bind (`PLAY0271`), so no decision is
|
|
134
134
|
protected against stale state. A reaction trigger's `reads` that only `invokes` is
|
|
135
135
|
report-only intent (`PLAY0270`); one that `produces` directly fails binding (`PLAY0268`).
|
|
136
136
|
- `persona` declarations are report-only and never block; bare `pii` and `secret`
|
|
137
|
-
concepts bind as ESM v13
|
|
137
|
+
concepts bind as ESM v13 (Requires Screenplay 4.141.0 or later); Stage renders admitted v13 protection.
|
|
138
138
|
Enum/identity compliance and protected events with explicit subject marks remain
|
|
139
139
|
refused (PLAY0268); see command-surface `references/compliance.md`. Keep protection.
|
|
140
140
|
- Generated values/responses bind and reference-execute as v7; sources, streams
|
|
@@ -142,10 +142,10 @@ What binds depends on **which tool** you ask, so name the tool and its version:
|
|
|
142
142
|
qualifying Double literals lower exactly as v11 and non-positional enum numbers
|
|
143
143
|
as v12. Use `screenplay test` or MCP `run-specifications` for V4.
|
|
144
144
|
Operations/systems, the `numbers exact` **source mode** (PLAY0268) and
|
|
145
|
-
refusal/redelivery remain unadmitted. CLI
|
|
145
|
+
refusal/redelivery remain unadmitted. The CLI and Stage render supported generation strategies and v15 freshness,
|
|
146
146
|
scalar/named responses, enum numbers, compliance and supported event reactions.
|
|
147
|
-
The pair reaches construct checks through
|
|
148
|
-
|
|
147
|
+
The pair reaches construct checks through the ESM version it bundles, not blanket rendering; supported v14 filters
|
|
148
|
+
render. Current boundaries and source evidence:
|
|
149
149
|
`cratis-screenplay-toolchain/references/renderable-subset.md`.
|
|
150
150
|
Source/binding admission and target realization are separate gates.
|
|
151
151
|
|
|
@@ -174,15 +174,11 @@ source is the single flow model.
|
|
|
174
174
|
|
|
175
175
|
Which tool reports what, and how to read installed versions, live only in `cratis-screenplay-toolchain`
|
|
176
176
|
`SKILL.md`; read it before choosing a tool or reporting a version-dependent verdict.
|
|
177
|
-
The nine-step examples compile with the standalone compiler
|
|
177
|
+
The nine-step examples compile with the standalone compiler and their specifications run
|
|
178
178
|
in the reference runner (compilation does not establish reference execution).
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
`
|
|
182
|
-
`projections/keys.md`, decisions 0001 to 0014); the inline-contract and event-context changes
|
|
183
|
-
follow `commands.md`, `events.md` and decision 0023 at main `fd18129` (after v4.52.0); persona,
|
|
184
|
-
operation and stream dispositions were read at `v4.66.0` (`c89198b`) and generated values and
|
|
185
|
-
responses at `v4.68.0`.
|
|
180
|
+
Sources: Screenplay `Documentation/screenplay/{slices,commands,folders,printing,interactions,specifications}.md` and
|
|
181
|
+
`projections/keys.md`; the inline-contract and event-context changes follow `commands.md` and `events.md`.
|
|
186
182
|
|
|
187
183
|
Read [references/slice-type-rules.md](references/slice-type-rules.md) when deciding if a behavior is an Automation or a Translate slice.
|
|
188
184
|
|
|
@@ -225,7 +221,7 @@ Every behavior is exactly one. An unknown slice type is a compile error:
|
|
|
225
221
|
| Event -> decision -> Command/Event | `Automation` | `reaction` |
|
|
226
222
|
| External data -> Event | `Translate` | `capture` |
|
|
227
223
|
|
|
228
|
-
Read [references/parsed-not-runnable.md](references/parsed-not-runnable.md) (section "
|
|
224
|
+
Read [references/parsed-not-runnable.md](references/parsed-not-runnable.md) (section "Trigger reads and event generations") when deciding whether a decided construct (trigger `reads`, event generations) is implemented. An accepted decision is not necessarily implemented.
|
|
229
225
|
|
|
230
226
|
## Where Cratis diverges from the generic method
|
|
231
227
|
|
|
@@ -235,9 +231,9 @@ compile or will not be safe. Both are deliberate.
|
|
|
235
231
|
- **A command may read state.** The generic method forbids `ReadModel -> Command`
|
|
236
232
|
edges. Screenplay ships `reads <ReadModel> [as <alias>] [by <property>]` so the
|
|
237
233
|
model shows what a state-dependent decision consulted. **It is not a protected
|
|
238
|
-
|
|
234
|
+
(open limitation):** nothing checks at append time that the state is still current,
|
|
239
235
|
the executable model rejects `reads` and `concurrency` (`PLAY0271`), and adding
|
|
240
|
-
`concurrency` does not make the decision safe
|
|
236
|
+
`concurrency` does not make the decision safe .
|
|
241
237
|
Write a state-dependent rule as `reads <View>` plus `require <expr> message "..."`
|
|
242
238
|
and mark it in the slice `description` as **not enforced in the model today**,
|
|
243
239
|
naming the target that must enforce it (Arc `[ProtectedDecision]` with
|
package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
usage inherits it; a reason for an attribute the concept does not declare is an
|
|
10
10
|
error. Decide this before fixing event shapes; purpose/basis/retention belong in
|
|
11
11
|
processing-purpose declarations, not a reason. An event subject defaults to the
|
|
12
|
-
source unless supplied; the trailing event-property `subject` mark is report-only
|
|
13
|
-
|
|
12
|
+
source unless supplied; the trailing event-property `subject` mark is report-only,
|
|
13
|
+
not runtime lineage. See command-surface `references/compliance.md`.
|
|
14
14
|
- **Events are past tense and self-describing** - `InvoiceRegistered`, never
|
|
15
15
|
`Created`. One purpose per event; an event needing an optional property to cover
|
|
16
16
|
two situations is two events.
|
|
@@ -216,7 +216,7 @@ event source, so the invoked command binds its own identifier (`weekly`).
|
|
|
216
216
|
|
|
217
217
|
**What the model does and does not do.** The view stores the deadline (`dueDate`), never an
|
|
218
218
|
"overdue" flag: overdue is a comparison with the clock, not a fact to materialize. The
|
|
219
|
-
reaction's `reads UnpaidInvoice` is report-only metadata (information `PLAY0270`, checked
|
|
219
|
+
reaction's `reads UnpaidInvoice` is report-only metadata (information `PLAY0270`, checked);
|
|
220
220
|
it does not make the model consult the view. Binding therefore admits only a scheduled
|
|
221
221
|
invocation that records a timestamp. Choosing which invoices are overdue (due date before the
|
|
222
222
|
clock instant) is a target-side decision: record it as gap-fill with the model as the
|
|
@@ -279,7 +279,7 @@ module Invoicing
|
|
|
279
279
|
issuedAt = "2026-10-05T07:30:00Z"
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
At the example's verified Screenplay version
|
|
282
|
+
At the example's verified Screenplay version, iterating the overdue items needs code (a clock trigger reads the whole view and takes
|
|
283
283
|
no `by`); see `cratis-screenplay-automations-and-translations`. A reaction that `produces`
|
|
284
284
|
directly while it `reads` fails binding (`PLAY0268`): decide in a command instead.
|
|
285
285
|
|
package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Parsed is not runnable: ESM versions and dispositions
|
|
2
2
|
|
|
3
|
-
Checked
|
|
3
|
+
Checked: `SemanticModelBinder.cs`, `Versions.cs`,
|
|
4
4
|
`Documentation/screenplay/{commands,operations,event-sources,reactions,tool,interoperability}.md`.
|
|
5
5
|
The binder selects v8 for event routes, v10 for declared reaction identity, v11 for retained
|
|
6
6
|
exact-lowered Double-mode literals and v12 for non-positional enum numbers.
|
|
7
|
-
Compliance
|
|
8
|
-
`SemanticModelValidator.Compliance.cs
|
|
7
|
+
Compliance (`SemanticModelBinder.Compliance.cs` and
|
|
8
|
+
`SemanticModelValidator.Compliance.cs`) selects v13.
|
|
9
9
|
Tool versions and consumer boundaries: toolchain `SKILL.md`.
|
|
10
10
|
|
|
11
11
|
## Which ESM version a model needs
|
|
@@ -26,17 +26,17 @@ Tool versions and consumer boundaries: toolchain `SKILL.md`.
|
|
|
26
26
|
|
|
27
27
|
## Dispositions to keep apart
|
|
28
28
|
|
|
29
|
-
| Construct | Standalone disposition
|
|
29
|
+
| Construct | Standalone disposition |
|
|
30
30
|
| --- | --- |
|
|
31
31
|
| `persona`, domain/authentication metadata | Report-only; unknown named policies remain source defects |
|
|
32
|
-
| Compliance concepts | Bare `pii`/`personal` and `secret`, qualifiers and scope bind as v13
|
|
33
|
-
| Identity details / processing purposes / event subject | Report-only metadata
|
|
32
|
+
| Compliance concepts | Bare `pii`/`personal` and `secret`, qualifiers and scope bind as v13; enum/identity compliance and events combining personal or explicitly subject-scoped secret values with an explicit `subject` mark refuse PLAY0268 at binding only. A CLI bundle that admits v13 binds markers; Stage renders v13 protection, not protected identities/enums or subject lineage. Never remove protection |
|
|
33
|
+
| Identity details / processing purposes / event subject | Report-only metadata; executable detail reads refuse PLAY0268, not source declaration errors |
|
|
34
34
|
| Composite stream ids | v8 routing; complete named parts/canonical comparisons, PLAY0515 refuses protected keys/sources; not a legacy text split |
|
|
35
35
|
| Command reads/concurrency | Legacy unprotected decisions, PLAY0271 |
|
|
36
36
|
| Invokes-only trigger reads | Report-only, not protected state; direct production with reads refuses |
|
|
37
|
-
| Generated values/responses | v7 binding/reference execution; v15 strategies/strict fixtures/freshness
|
|
37
|
+
| Generated values/responses | v7 binding/reference execution; v15 strategies/strict fixtures/freshness. Stage renders supported UUID/String strategies, responses and fixtures; unsupported types/combinations remain -028/-038 |
|
|
38
38
|
| Sources/streams and command/specification routes | v8 binding/reference execution; the CLI (toolchain `references/renderable-subset.md`) reaches Stage checks through v15 |
|
|
39
|
-
| Declared reaction invocation actor | v10 binding/reference execution; older CLI parser PLAY0137; Stage
|
|
39
|
+
| Declared reaction invocation actor | v10 binding/reference execution; older CLI parser PLAY0137; Stage renders role/authenticated reaction identity; claim-reading/opaque gates retain STAGE-ESM-034, not a v10 version refusal |
|
|
40
40
|
| Operations/systems, `numbers exact` source mode, refusal/redelivery | Source accepted; whole binding refuses PLAY0268 |
|
|
41
41
|
| UI | Authoring/deferred metadata; runtime support is a separate consumer contract |
|
|
42
42
|
|
|
@@ -48,15 +48,14 @@ and captures-and-reactions `references/invocation-identity.md`.
|
|
|
48
48
|
|
|
49
49
|
## The Step 7 clock example
|
|
50
50
|
|
|
51
|
-
The complete example in [nine-steps.md](nine-steps.md) (Step 7)
|
|
52
|
-
4.66.0 compile/binding evidence (re-compiled at 4.139.0) (zero errors/warnings, executableReady true).
|
|
51
|
+
The complete example in [nine-steps.md](nine-steps.md) (Step 7) compiles and binds with zero errors/warnings and `executableReady true`.
|
|
53
52
|
Its invokes-only reads still record intent rather than execute the overdue
|
|
54
53
|
selection. Run its admitted specifications with the current reference route
|
|
55
54
|
before claiming a V4 pass; no overdue-selection proof follows from binding.
|
|
56
55
|
|
|
57
|
-
##
|
|
56
|
+
## Trigger reads and event generations
|
|
58
57
|
|
|
59
58
|
Trigger reads do not enforce decision consistency. Event generations and typed repairs now ship,
|
|
60
59
|
but historical schemas do not supply deployed migrations.
|
|
61
60
|
Check actual binder, runner and consumer admission instead of equating an
|
|
62
|
-
accepted
|
|
61
|
+
accepted proposal or parsed node with a running application.
|
|
@@ -14,8 +14,8 @@ by Martin Dilger and Nebulit GmbH (https://nebulit.de), used with the explicit c
|
|
|
14
14
|
|
|
15
15
|
| Source file | Used in | How |
|
|
16
16
|
|---|---|---|
|
|
17
|
-
| `.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;
|
|
18
|
-
| `.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;
|
|
17
|
+
| `.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; translated to Screenplay |
|
|
18
|
+
| `.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; recording moved to STATE.md |
|
|
19
19
|
|
|
20
20
|
### Eventmodelers Build-Kits
|
|
21
21
|
|
|
@@ -128,7 +128,7 @@ meaning (tests, generic engines, reference data, order, callers) and the read pa
|
|
|
128
128
|
`references/signal-to-intent.md`.
|
|
129
129
|
|
|
130
130
|
**Traceability checkpoint.** Every repository-backed code or schema claim resolves through its
|
|
131
|
-
evidence id to an inspected `path:start-end` (file name exactly as given, `CheckinService.cs
|
|
131
|
+
evidence id to an inspected `path:start-end` (file name exactly as given, `CheckinService.cs`)
|
|
132
132
|
at the recorded source identity; a route, table name or generated declaration alone is not
|
|
133
133
|
enough. Unresolved claims stay `unknown`; never manufacture references to meet a count. Walk the
|
|
134
134
|
chain per slice before handoff (`references/evidence-table-template.md`, "Traceability reconciliation").
|
|
@@ -40,7 +40,7 @@ templates, table and column names, and path:line, not values.
|
|
|
40
40
|
|---|---|
|
|
41
41
|
| `id` | `E<n>`, stable; never renumber |
|
|
42
42
|
| `source` | static (generate) / dynamic (Prologue) / code / test / UI / runtime (Chronicle) / doc / expert |
|
|
43
|
-
| `locator` | Repository-backed code, test and schema claims: the inspected repository-relative `path:start-end`, with the file name exactly as given (`CheckinService.cs
|
|
43
|
+
| `locator` | Repository-backed code, test and schema claims: the inspected repository-relative `path:start-end`, with the file name exactly as given (`CheckinService.cs`, never shortened; for a test, the test method's range), bound to the source identity. A locator that cannot be found is recorded as `not found` and the claim stays `unknown`; it is never rewritten as "to build". Runtime (Chronicle): target, event store, namespace, schema identity + generation or bounded event range, observation time. Other sources: capture file + record, redacted UI route + observation id, document section/version, generated declaration address + diagnostic, or person + date. Never substitute one source type's locator for another's |
|
|
44
44
|
| `observed fact` | what was seen, in neutral words ("POST /checkins inserts Checkins and updates Hooks") |
|
|
45
45
|
| `technical shape` | method + route, tables (op, columns), status-code mix, frequency, span names |
|
|
46
46
|
| `strength` | Exact / Configured / Conventional / Heuristic (generator ladder), Observed (capture), Read (code), Stated (person) |
|
|
@@ -57,7 +57,7 @@ Example rows:
|
|
|
57
57
|
| id | source | locator | observed fact | technical shape | strength | classification | gen. disposition | candidate | decision | decided by | verdict |
|
|
58
58
|
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
59
59
|
| E1 | dynamic | capture 0007, `POST /api/checkins` | taking in a coat writes two tables | insert `Checkins`; update `Hooks(occupied)`; 201 x41, 409 x3 | Observed | intent (take in) + consequence (hook) | n/a | `TakeInCoat` -> `CoatTakenIn`; occupancy via projection | change | proposed | not asked |
|
|
60
|
-
| E2 | code | `CheckinService.cs
|
|
60
|
+
| E2 | code | `CheckinService.cs` | 409 when the hook is already free, message "That coat is not on a hook" | throws `ConflictException` | Read | intent (rule) | n/a | `reads CoatStatus` + `require`, NOT enforced today (target: protected decision or Chronicle `concurrency` scope); no executable error spec, recorded in LOSS.md | keep | proposed | not asked |
|
|
61
61
|
| E3 | static | `static.play`, SP0016 at `CheckinValidator` | validation rule held to a condition is emitted unconditionally; the condition is lost | `When(x => x.IsVip)` | Exact (loss) | unknown | Lowered without its condition (semantic mismatch, reported by SP0016) | none yet | undecided | - | question Q4: when does the rule really apply? read `CheckinValidator` and ask an expert |
|
|
62
62
|
| E4 | dynamic | uncorrelated txn, `Hooks` nightly 02:00 | hook flags reset without a command | update `Hooks(*)` daily | Observed | unexplained | n/a | none | undecided | - | question Q5 |
|
|
63
63
|
|
|
@@ -75,7 +75,7 @@ Before handoff, for every candidate slice and rule:
|
|
|
75
75
|
3. Keep inferred business meaning and target decisions apart from the observed behavior.
|
|
76
76
|
4. Mark unsupported claims `unknown` and add the question that would settle them.
|
|
77
77
|
|
|
78
|
-
Put an exact `file:line` locator for every evidence-backed claim (`CheckinService.cs
|
|
78
|
+
Put an exact `file:line` locator for every evidence-backed claim (`CheckinService.cs`)
|
|
79
79
|
inline in the final report itself, with the file name exactly as given; a pointer to this table
|
|
80
80
|
or another file is not enough, and opaque ids alone do not count. List unresolved gaps. Do not manufacture references to meet
|
|
81
81
|
a count. A UI-only or document-only extraction may have no code locators; say so and limit
|
|
@@ -87,7 +87,7 @@ source changed or rows disagree; note why.
|
|
|
87
87
|
|
|
88
88
|
| when | file:lines or capture | resolves | result row(s) |
|
|
89
89
|
|---|---|---|---|
|
|
90
|
-
| L3 | `Jobs/HookReset.cs
|
|
90
|
+
| L3 | `Jobs/HookReset.cs` | E4 | E9 (maintenance job, clears stale flags) |
|
|
91
91
|
|
|
92
92
|
## 4. Unknowns and questions
|
|
93
93
|
List rows still `unknown` or `undecided` with the question that would settle them, who can
|
package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generate-notes.md
CHANGED
|
@@ -7,21 +7,23 @@
|
|
|
7
7
|
- Coverage (what a provider reads)
|
|
8
8
|
- Diagnostics are the loss list
|
|
9
9
|
- Arc recovery and authoring-only options
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- Enum and response recovery
|
|
11
|
+
- Compliance recovery
|
|
12
12
|
- Generated-document self-check on compiler upgrades
|
|
13
13
|
- Reading the output cheaply
|
|
14
14
|
|
|
15
15
|
Flags verified with `cratis screenplay generate --help` on the installed CLI (`cratis --version`); behaviour from the cratis CLI
|
|
16
|
-
(`
|
|
16
|
+
(`Source/Cli/Commands/Screenplay/`), Arc
|
|
17
17
|
(`Documentation/backend/csharp/generating-a-screenplay.md`,
|
|
18
|
-
`Source/DotNET/Screenplay/ScreenplayDiagnosticCodes.cs`), Screenplay.Generation
|
|
19
|
-
Screenplay.CritterStack
|
|
18
|
+
`Source/DotNET/Screenplay/ScreenplayDiagnosticCodes.cs`), Screenplay.Generation and
|
|
19
|
+
Screenplay.CritterStack (the versions the CLI bundles). Later releases can add capabilities (for example preserved compiler warnings, enum concepts, command-to-event production links and the `MixedSliceKindsSplit` and `ProductionLinkOmitted` diagnostics); do not claim them for `cratis screenplay generate` until a cli bundles them. Version-specific capability facts belong in cratis-screenplay-toolchain
|
|
20
20
|
`SKILL.md`.
|
|
21
21
|
|
|
22
|
+
Requires Screenplay.Generation 0.18.1 or later for preserved compiler warnings (including on successful generation), and Screenplay.CritterStack 0.26.0 or later for enum concepts, command-to-event production links and the `MixedSliceKindsSplit` and `ProductionLinkOmitted` diagnostics; check the bundled generator before relying on them.
|
|
23
|
+
|
|
22
24
|
For the current standalone compiler and CLI bundle, use the toolchain's
|
|
23
25
|
[Tool versions and the contract](../../cratis-screenplay-toolchain/SKILL.md).
|
|
24
|
-
The compliance and self-check sections below
|
|
26
|
+
The compliance and self-check sections below follow Arc
|
|
25
27
|
(`Documentation/backend/csharp/generating-a-screenplay.md`,
|
|
26
28
|
`Analysis/Types/{ConceptRegistry,PersonalDataMarkings,TypesTheDocumentCannotName}.cs`,
|
|
27
29
|
`Emission/Concepts/ConceptSyntaxBuilder.cs`, `Emission/ProtectedIdentityAnnotations.cs`
|
|
@@ -29,7 +31,7 @@ and `Verification/ExpectedBindingDiagnostics.cs` under `Source/DotNET/Screenplay
|
|
|
29
31
|
They require that generator release, not an older bundled adapter;
|
|
30
32
|
a standalone compiler upgrade does not upgrade the generator.
|
|
31
33
|
|
|
32
|
-
Option/admission evidence checked
|
|
34
|
+
Option/admission evidence checked: released
|
|
33
35
|
`GenerateScreenplaySettings.cs`, `ArcScreenplayGeneration.cs`, v7 planning specs
|
|
34
36
|
and `Documentation/reference/screenplay.md`; older diagnostic probes below keep
|
|
35
37
|
their original labels. Arc#3054 and CLI#270 describe the recovered-source expansion.
|
|
@@ -74,10 +76,14 @@ cratis screenplay generate <solution|project|folder> \
|
|
|
74
76
|
## Coverage (what a provider reads)
|
|
75
77
|
| Provider | Reads | Does not read |
|
|
76
78
|
|---|---|---|
|
|
77
|
-
| Arc | commands, events, concepts, read models, projections, reducers, reactors, constraints, declarative FluentValidation rules, authorization policies, `produces` from constants and input paths, Chronicle integration specs as given/when/then, `.tsx` beside a slice as `screen`
|
|
79
|
+
| Arc | commands, events, concepts, read models, projections, reducers, reactors, constraints, declarative FluentValidation rules, authorization policies, `produces` from constants and input paths, Chronicle integration specs as given/when/then, `.tsx` beside a slice as `screen`: `file`, `data … via query`, `title`, `table`/`column`, `action` and `toolbar actions`, read from Cratis Components only | handler bodies, rules written in code, computed messages (`SP0016`), screen `section`, `summary`, `navigate to` and `layout` (unread properties are `SP0028`; same-screen details, `useDialog` and enablement are `SP0077`), captures, personas, seeds, `secret` on older Arc (see Compliance recovery). A rule held to `When`/`Unless` is written down as if unconditional and `SP0016` names the condition: read the diagnostic, do not trust the declaration |
|
|
78
80
|
| Marten / Critter Stack (preview; an independent optional adapter built on the neutral Screenplay.Generation SDK, not affiliated with JasperFx: review every `GEN`/`MARTEN`/`WOLVERINE` diagnostic by hand) | aggregates, snapshots, HTTP and message handlers, document operations, queries, outgoing and delayed messages, saga facts | saga lifecycle, policies, middleware bodies, runtime tenancy, upcasting; unbounded extension code is reported by presence only |
|
|
79
81
|
| any non-.NET stack | nothing | use Prologue and targeted reads |
|
|
80
82
|
|
|
83
|
+
Requires Arc.Screenplay 22.60.0 or later for `title`, `table`/`column` and `action` recovery from Cratis Components, and 22.82.0 or later for `toolbar actions` and the `SP0077` report.
|
|
84
|
+
|
|
85
|
+
Requires Arc.Screenplay 22.94.0 or later for cross-slice screen actions, toolbar items and `data … via query`, qualified with the shortest unique module/feature/slice scope; before it, those cross-slice bindings were omitted with `SP0028`.
|
|
86
|
+
|
|
81
87
|
## Diagnostics are the loss list
|
|
82
88
|
- Families: `SP####` (Arc), `MARTEN####`, `WOLVERINE####`, `VOG####`, `GEN####`,
|
|
83
89
|
`DOTNETSP####` (placement), `CLI####` (host). Each one is an evidence row or a loss-report
|
|
@@ -108,15 +114,15 @@ The expanded Arc recovery surface includes:
|
|
|
108
114
|
- Event scenarios as `when append`, and event-source-faithful `for` fixtures.
|
|
109
115
|
Scenarios whose sources cannot be stated faithfully are omitted with SP0039;
|
|
110
116
|
record the omission as a loss, never fabricate identities to retain a scenario.
|
|
111
|
-
- Supported generated values and scalar/record
|
|
117
|
+
- Supported generated values (Arc.Screenplay 22.78.0 or later; non-UUID-v4 strategies 22.86.0 or later) and scalar/record
|
|
118
|
+
responses by default, without
|
|
112
119
|
the authoring-only flag. The older bundled adapter retains legacy representation
|
|
113
|
-
for commands with successful scenarios. Arc
|
|
120
|
+
for commands with successful scenarios. Arc recovers generated Handle
|
|
114
121
|
parameters with concrete pins, but local `New()` values still have no pin seam;
|
|
115
122
|
[recovery forms, version gate and loss inventory](generated-recovery.md).
|
|
116
123
|
Unsupported shapes/pre-generation protection remain code with SP0052.
|
|
117
124
|
|
|
118
|
-
Generated values/responses select ESM v7.
|
|
119
|
-
admitted v7 to planning, but Stage 4.51.3 refused those members with STAGE-ESM-028/029. CLI#261 is closed; do not say
|
|
125
|
+
Generated values/responses select ESM v7. An older renderer refused those members with STAGE-ESM-028/029; do not say
|
|
120
126
|
the compiler or CLI version gate universally refuses v7. Above v7 remains
|
|
121
127
|
CLI-RENDER-004. A generated source model is evidence, not guaranteed render output.
|
|
122
128
|
|
|
@@ -124,13 +130,14 @@ Handler/reaction bodies, unresolved conditions and unproven origins still need
|
|
|
124
130
|
source review. Do not infer generation/evolution/absence-assertion coverage from
|
|
125
131
|
a package upgrade; read diagnostics and reconcile each recovered scenario.
|
|
126
132
|
|
|
127
|
-
##
|
|
133
|
+
## Enum and response recovery
|
|
134
|
+
|
|
135
|
+
Requires Arc.Screenplay 22.76.0 or later for enum and response recovery.
|
|
128
136
|
|
|
129
|
-
Source-verified at Arc `
|
|
137
|
+
Source-verified at Arc `Source/DotNET/Screenplay/Emission/Concepts/ConceptSyntaxBuilder.cs`,
|
|
130
138
|
`Analysis/Types/{ConceptRegistry,FlagsEnumUses}.cs`, `Analysis/EnumConstants.cs`,
|
|
131
139
|
`Analysis/Specifications/SpecificationReturnValues.cs`, and
|
|
132
|
-
`Documentation/backend/csharp/generating-a-screenplay.md`.
|
|
133
|
-
Screenplay 4.139.0, not 4.141.0. The CLI bundles an older generator; see the
|
|
140
|
+
`Documentation/backend/csharp/generating-a-screenplay.md`. The CLI bundles an older generator; see the
|
|
134
141
|
toolchain `SKILL.md` (installed versions) rather than assuming parity.
|
|
135
142
|
|
|
136
143
|
Every enum member now emits its stored integer, including positional members.
|
|
@@ -143,7 +150,9 @@ used by scenario constant resolution is kept. SP0067 reports `[Flags]` enums wit
|
|
|
143
150
|
unnamed combinations and names the property uses; named members still emit, but
|
|
144
151
|
unnamed combinations cannot become scenario values. Read every warning as a loss.
|
|
145
152
|
|
|
146
|
-
|
|
153
|
+
`result!` and `in` arguments remain reads for recovered `then returns`.
|
|
154
|
+
|
|
155
|
+
Requires Arc.Screenplay 22.75.2 or later for the read-versus-write classification of `result!`, `in` arguments and aliases of the result.
|
|
147
156
|
Writes through any member/element of the executed result (assignment, increment,
|
|
148
157
|
decrement, `ref`/`out`, including null-conditional chains) or aliases of the result
|
|
149
158
|
or non-string reference values reached through it withhold the response assertion.
|
|
@@ -152,7 +161,11 @@ returned/yielded/lambda values and conditional/coalescing/tuple/collection flows
|
|
|
152
161
|
Mutation through ordinary method calls is not analyzed. Inspect reported scenarios;
|
|
153
162
|
never infer a response contract from a post-execution mutation.
|
|
154
163
|
|
|
155
|
-
##
|
|
164
|
+
## Compliance recovery
|
|
165
|
+
|
|
166
|
+
Requires Arc.Screenplay 22.61.0 or later for `secret` recovery and the SP0058 and SP0059 diagnostics; before it, an operational secret concept is not recovered as `secret`.
|
|
167
|
+
|
|
168
|
+
Requires Arc.Screenplay 22.70.0 or later for scope handling (SP0061), member `[PII]` recovery and the SP0062 and SP0063 diagnostics.
|
|
156
169
|
|
|
157
170
|
A concept with both `[Encrypted]` and `[NotAudited]` becomes `secret`.
|
|
158
171
|
Encryption or audit suppression alone, or only on a member, does not establish
|
|
@@ -165,9 +178,9 @@ without adding `secret`; an existing `pii` classification remains.
|
|
|
165
178
|
`namespace` scope: the document instead implies Subject scope. Global behaves
|
|
166
179
|
the same way. Set `ScreenplayOptions.AuthoringOnlyConstructs = true` (CLI
|
|
167
180
|
adapter option `--authoring-only-constructs`) to emit `secret scope namespace`
|
|
168
|
-
or `secret scope global` in the concept body. This
|
|
169
|
-
compiler;
|
|
170
|
-
|
|
181
|
+
or `secret scope global` in the concept body. This is syntax-only on that
|
|
182
|
+
compiler; Screenplay admits concept compliance as ESM v13, and that
|
|
183
|
+
does not change an older generator or CLI bundle.
|
|
171
184
|
- A concept also marked `[PII]` becomes `pii secret`, with no emitted scope:
|
|
172
185
|
the C# providers render only `[PII]`; Chronicle rejects `[PII]` combined with
|
|
173
186
|
`[Encrypted]`. Do not add a scope the provider ignores.
|
package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/generated-recovery.md
CHANGED
|
@@ -14,20 +14,24 @@
|
|
|
14
14
|
|
|
15
15
|
## Version gate and sources
|
|
16
16
|
|
|
17
|
-
These forms are
|
|
18
|
-
adapter. **CLI
|
|
19
|
-
|
|
17
|
+
These forms are not promised for the CLI's
|
|
18
|
+
adapter. **The CLI can bundle an older Arc.Screenplay adapter** (compare `cratis --version` and the generator package actually loaded) even though its Screenplay
|
|
19
|
+
compiler and Stage admit v15 strategies. A standalone compiler upgrade
|
|
20
20
|
cannot add recovery to that adapter. Check the resolved generator before using
|
|
21
21
|
this guidance; do not bump managed product pins to hide the difference.
|
|
22
22
|
|
|
23
|
+
Each recovery below has its own gate; use the adapter that has the one you rely on:
|
|
24
|
+
|
|
25
|
+
- Requires Arc.Screenplay 22.78.0 or later for `[GeneratedValue]` Handle parameters whose `New()` is a UUID v4 form, for the `generated identifier` and response they produce, and for scenario pins (`for` / `generated`). Before it none of this is recovered. From 22.78.0 until 22.86.0 any other strategy keeps its source form and reports SP0073.
|
|
26
|
+
- Requires Arc.Screenplay 22.86.0 or later to recover UUIDv7, ULID, TypeID, NanoID, `Bytes` and hex strategies as concept `generate` lines (ESM v15) and a passed-through `GenerationContext`.
|
|
27
|
+
|
|
23
28
|
Tagged evidence:
|
|
24
29
|
|
|
25
|
-
- Arc `
|
|
26
|
-
- Arc `
|
|
27
|
-
`GenerationCallReader.cs
|
|
28
|
-
`GeneratedParameterReader.cs
|
|
29
|
-
- Arc `
|
|
30
|
-
- cli `v3.57.0:Directory.Packages.props:5-14`.
|
|
30
|
+
- Arc `Documentation/backend/csharp/generating-a-screenplay.md`.
|
|
31
|
+
- Arc `Source/DotNET/Screenplay/Analysis/Commands/GenerationStrategyReader.cs`;
|
|
32
|
+
`GenerationCallReader.cs`;
|
|
33
|
+
`GeneratedParameterReader.cs`.
|
|
34
|
+
- Arc `Source/DotNET/Screenplay/Analysis/Specifications/GeneratedValuePins.cs`.
|
|
31
35
|
|
|
32
36
|
## Choosing a strategy
|
|
33
37
|
|
|
@@ -53,11 +57,13 @@ invoice numbers, or turn an observed secret into a random String. Preserve
|
|
|
53
57
|
protection and unrecovered code; rule/context-member bodies are not executable
|
|
54
58
|
strategies. Report missing pins, withheld productions/scenarios and version caps
|
|
55
59
|
as losses, not successful recovery. Sources: Arc
|
|
56
|
-
`
|
|
57
|
-
Screenplay `
|
|
60
|
+
`Documentation/backend/csharp/generating-a-screenplay.md`;
|
|
61
|
+
Screenplay `Documentation/screenplay/generated-values/choosing.md`.
|
|
58
62
|
|
|
59
63
|
## Recover what is proven
|
|
60
64
|
|
|
65
|
+
The UUID v4 forms, pins and the identifier/response rules in this section need Arc.Screenplay 22.78.0 or later; the other strategies in the list below need 22.86.0 or later.
|
|
66
|
+
|
|
61
67
|
A `[GeneratedValue]` Handle parameter becomes a generated command property only
|
|
62
68
|
for a required scalar Uuid/String concept with a proven strategy and no validator,
|
|
63
69
|
validation rules or compliance markers. Its explicit attribute name, otherwise
|
|
@@ -104,7 +110,7 @@ have no pinning seam. Successful scenarios retain legacy productions or handler
|
|
|
104
110
|
references without generated values/responses, with SP0052; explicit given sources
|
|
105
111
|
also preserve this fallback. Do not rewrite source code or fake a successful pin
|
|
106
112
|
to make recovery look complete. Recovery of responses has its own proof limits
|
|
107
|
-
in [generate notes](generate-notes.md#
|
|
113
|
+
in [generate notes](generate-notes.md#enum-and-response-recovery).
|
|
108
114
|
|
|
109
115
|
## Incomplete recovery is a loss report
|
|
110
116
|
|