@cratis/pi 7.14.1 → 7.14.3
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/security-reviewer.md +2 -1
- package/package/corpus/rules/concepts.md +13 -7
- package/package/corpus/rules/glossary.md +2 -1
- package/package/corpus/rules/vertical-slices.md +5 -4
- package/package/corpus/skills/cratis-application-slice-conformance/SKILL.md +11 -2
- package/package/corpus/skills/cratis-application-slice-conformance/references/build-prompts.md +8 -0
- package/package/corpus/skills/cratis-application-slice-conformance/references/checklists.md +10 -6
- package/package/corpus/skills/cratis-application-slice-specifications/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/SKILL.md +11 -7
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authentication.md +12 -2
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/authorization.md +16 -1
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/frontend.md +7 -0
- package/package/corpus/skills/cratis-arc-authentication-authorization-and-identity/references/observable-emission-guards.md +9 -0
- package/package/corpus/skills/cratis-arc-command/SKILL.md +24 -16
- package/package/corpus/skills/cratis-arc-command/references/command-result.md +7 -0
- package/package/corpus/skills/cratis-arc-command/references/handler-shapes.md +10 -3
- package/package/corpus/skills/cratis-arc-command-execution/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-command-operation/SKILL.md +5 -1
- package/package/corpus/skills/cratis-arc-command-operation/references/execution-and-recovery.md +12 -0
- package/package/corpus/skills/cratis-arc-command-operation/references/testing.md +10 -3
- package/package/corpus/skills/cratis-arc-command-typescript/SKILL.md +20 -116
- package/package/corpus/skills/cratis-arc-command-typescript/references/chronicle-events.md +11 -8
- package/package/corpus/skills/cratis-arc-command-typescript/references/command-specifications.md +63 -0
- package/package/corpus/skills/cratis-arc-command-typescript/references/hosting-and-storage.md +10 -0
- package/package/corpus/skills/cratis-arc-command-typescript/references/proxy-generation.md +38 -0
- package/package/corpus/skills/cratis-arc-command-typescript/references/slice-layout.md +19 -0
- package/package/corpus/skills/cratis-arc-command-typescript/verification.json +1 -1
- package/package/corpus/skills/cratis-arc-command-validation/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-query-paging/SKILL.md +11 -10
- package/package/corpus/skills/cratis-arc-react-page/SKILL.md +30 -19
- package/package/corpus/skills/cratis-arc-react-page/references/data-page.md +11 -0
- package/package/corpus/skills/cratis-arc-react-page/references/data-tables.md +10 -0
- package/package/corpus/skills/cratis-arc-react-page/references/dialogs.md +12 -10
- package/package/corpus/skills/cratis-arc-react-page/references/from-screenplay.md +10 -0
- package/package/corpus/skills/cratis-arc-react-page/references/mvvm.md +11 -0
- package/package/corpus/skills/cratis-arc-react-page/references/queries-and-commands.md +7 -0
- package/package/corpus/skills/cratis-chronicle-client-dotnet/SKILL.md +58 -122
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/compatibility-check.md +26 -0
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/discovery.md +22 -0
- package/package/corpus/skills/cratis-chronicle-client-dotnet/references/hosting.md +31 -0
- package/package/corpus/skills/cratis-chronicle-client-elixir/SKILL.md +52 -131
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/append-api.md +19 -0
- package/package/corpus/skills/cratis-chronicle-client-elixir/references/variants.md +73 -0
- package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +29 -232
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/connection-lifecycle.md +20 -0
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/discovery-and-registration.md +44 -0
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/java-api.md +33 -0
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/spring-boot.md +54 -0
- package/package/corpus/skills/cratis-chronicle-client-kotlin/references/variants.md +77 -0
- package/package/corpus/skills/cratis-chronicle-client-typescript/SKILL.md +26 -102
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/read-models-and-projections.md +23 -0
- package/package/corpus/skills/cratis-chronicle-client-typescript/references/variants.md +63 -0
- package/package/corpus/skills/cratis-chronicle-compliance/SKILL.md +11 -2
- package/package/corpus/skills/cratis-chronicle-event-modeling/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-event-type-migration/SKILL.md +13 -13
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-projection/SKILL.md +13 -4
- package/package/corpus/skills/cratis-chronicle-projection/references/fluent-builder.md +10 -0
- package/package/corpus/skills/cratis-chronicle-projection/references/model-bound-attributes.md +14 -6
- package/package/corpus/skills/cratis-chronicle-projection/references/variants.md +9 -0
- package/package/corpus/skills/cratis-chronicle-reactor/SKILL.md +7 -49
- package/package/corpus/skills/cratis-chronicle-reactor/references/domain-failures.md +19 -0
- package/package/corpus/skills/cratis-chronicle-reactor/references/specifications.md +33 -0
- package/package/corpus/skills/cratis-chronicle-read-model/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-read-model/references/queries.md +11 -0
- package/package/corpus/skills/cratis-chronicle-read-model-specifications/SKILL.md +1 -0
- package/package/corpus/skills/cratis-chronicle-reducer/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +24 -24
- package/package/corpus/skills/cratis-content-length/SKILL.md +1 -1
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +12 -0
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +19 -19
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +10 -0
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +10 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +5 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +15 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +9 -4
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +1 -2
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +8 -0
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +1 -2
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +10 -0
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +4 -4
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +1 -1
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +18 -18
- package/package/corpus/skills/cratis-performance-review/SKILL.md +1 -1
- package/package/corpus/skills/cratis-release-notes/SKILL.md +1 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +29 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/automation-patterns.md +16 -4
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/effects-and-idempotency.md +4 -15
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/todo-list-example.md +6 -2
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/translation-patterns.md +1 -6
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/SKILL.md +45 -245
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/capture-map-and-example.md +42 -0
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/complete-examples.md +155 -0
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/specifying-triggers-and-clock.md +27 -0
- package/package/corpus/skills/cratis-screenplay-captures-and-reactions/references/trigger-reads-example.md +21 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/SKILL.md +70 -221
- package/package/corpus/skills/cratis-screenplay-command-surface/references/context.md +10 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/generated-values-and-responses.md +51 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/inline-events.md +62 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/policy-persona-seed.md +46 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/references/validate-rules.md +36 -0
- package/package/corpus/skills/cratis-screenplay-command-surface/verification.json +11 -11
- package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +10 -3
- package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +1 -6
- package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +13 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/personas-and-causes.md +8 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +11 -0
- package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +7 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/SKILL.md +75 -198
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/file-layout.md +89 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/naming-primitives.md +26 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/nine-steps.md +14 -1
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/parsed-not-runnable.md +8 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/provenance.md +10 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/references/slice-type-rules.md +12 -0
- package/package/corpus/skills/cratis-screenplay-event-modeling/verification.json +12 -6
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/SKILL.md +5 -6
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/candidate-inventory.md +11 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/prologue-safety.md +8 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/side-car-migration.md +11 -0
- package/package/corpus/skills/cratis-screenplay-legacy-extraction/references/ui-observation.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +33 -10
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/language-reference.md +8 -0
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +13 -17
- package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-tools.md +11 -0
- package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +9 -9
- package/package/corpus/skills/cratis-screenplay-model-review/references/business-questions.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-review/references/checklist.md +16 -1
- package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-review/references/worked-example.md +9 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +17 -8
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +8 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/identity-and-edits.md +1 -6
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/phases.md +19 -0
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/safety.md +1 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/verdicts-and-modes.md +11 -1
- package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/vocabulary-map.md +2 -2
- package/package/corpus/skills/cratis-screenplay-projections/SKILL.md +3 -4
- package/package/corpus/skills/cratis-screenplay-projections/references/pdl-grammar.md +8 -0
- package/package/corpus/skills/cratis-screenplay-read-surface/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/gap-fill-handoff.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/renderability-gate.md +1 -1
- package/package/corpus/skills/cratis-screenplay-render-and-gap-fill/references/worked-example.md +8 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/SKILL.md +10 -10
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/coverage-matrix.md +8 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/invoicing-dues-example.md +4 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-catalogue.md +17 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-examples.md +10 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/scenario-workshop.md +11 -0
- package/package/corpus/skills/cratis-screenplay-scenario-coverage/references/view-and-story-specs.md +12 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-slice-design/references/command-inventory.md +7 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/field-lineage.md +8 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/read-model-design.md +16 -0
- package/package/corpus/skills/cratis-screenplay-slice-design/references/slicing.md +10 -0
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +52 -360
- package/package/corpus/skills/cratis-screenplay-specifications/references/actions-beyond-commands.md +34 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/concept-rules.md +77 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/generated-fixtures.md +39 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/reactions-and-cascades.md +72 -0
- package/package/corpus/skills/cratis-screenplay-specifications/references/worked-example.md +110 -0
- package/package/corpus/skills/cratis-screenplay-specifications/verification.json +6 -6
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +23 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +13 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +3 -3
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +16 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +16 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +13 -7
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +10 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/doc-contradictions.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/executable-subset.md +12 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/generated-responses-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/provenance.md +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/renderable-subset.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/traps.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/verdicts.md +10 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +15 -5
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +11 -13
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/flow-review.md +1 -1
- package/package/corpus/skills/cratis-security-review/SKILL.md +13 -8
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +10 -10
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +12 -0
- package/package/corpus/skills/cratis-specifications-csharp/SKILL.md +13 -2
- package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md +10 -10
- package/package/corpus/skills/cratis-specifications-csharp/references/csharp-patterns.md +10 -0
- package/package/corpus/skills/cratis-specifications-csharp/references/integration-specs.md +9 -0
- package/package/corpus/skills/cratis-specifications-typescript/SKILL.md +1 -2
- package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md +11 -1
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/SKILL.md +30 -21
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/admission.md +9 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md +5 -0
- package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +2 -4
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +2 -2
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +39 -39
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +10 -0
- package/package.json +1 -1
|
@@ -10,6 +10,11 @@ Event Modeling's wireframe step is a first-class part of the language. The shell
|
|
|
10
10
|
the reusable shapes inside it, the forms bound to commands, and the navigation
|
|
11
11
|
entries other modules contribute are all declared in the `.play` model.
|
|
12
12
|
|
|
13
|
+
⚠️ `file <Identifier>` is read as a **property** named `file`, not a directive —
|
|
14
|
+
the type-reference shape wins the tie. `file Invoices/Register.cs` is a directive;
|
|
15
|
+
`file Attachment` is a property. In a `trigger` body the directive always wins, so
|
|
16
|
+
a trigger value named `file` is written `@file`.
|
|
17
|
+
|
|
13
18
|
## Locate the model
|
|
14
19
|
|
|
15
20
|
Look first for the project's existing `.play` files: the folder holding them is the
|
|
@@ -40,8 +45,7 @@ Checked against the Screenplay repository at tag `v4.31.0` (commit `355dffb`):
|
|
|
40
45
|
Those checks established the original baseline. The changed cancellation
|
|
41
46
|
example uses the newer main commit above, not the old tag.
|
|
42
47
|
|
|
43
|
-
|
|
44
|
-
`references/versions.md`.
|
|
48
|
+
Read `references/versions.md` in `cratis-screenplay-toolchain` when choosing or checking tool versions for these examples.
|
|
45
49
|
|
|
46
50
|
Every construct on this page is deferred from the executable model with
|
|
47
51
|
information `PLAY0269`: it never blocks binding, and it is not evidence that a
|
|
@@ -62,7 +66,7 @@ work on a screen whose purpose is unsettled is rework.
|
|
|
62
66
|
`data` plus `action`). Read the whole set, not one screen at a time.
|
|
63
67
|
2. **Review the flow before adding layout.** Walk it screen by screen as text
|
|
64
68
|
(format in `references/flow-review.md`). When the host advertises the MCP-Apps
|
|
65
|
-
extension, `visualize-model` (a `proposalId` or a `sketch`) can also show it on
|
|
69
|
+
extension for the `screenplay` MCP server, `visualize-model` (a `proposalId` or a `sketch`) can also show it on
|
|
66
70
|
a board; that is optional, and the text review is enough on its own. Do not
|
|
67
71
|
use the Stage sandbox as the review: it renders only part of a screen, and
|
|
68
72
|
nothing here establishes that Stage renders an authored screen faithfully.
|
|
@@ -75,13 +79,12 @@ work on a screen whose purpose is unsettled is rework.
|
|
|
75
79
|
screen's read model. A value with no origin means the command or read model is
|
|
76
80
|
missing it: fix the slice, never invent the value in the screen.
|
|
77
81
|
5. **Read before editing.** Open the existing screen (or `read-workspace` /
|
|
78
|
-
`declaration-details`
|
|
82
|
+
`declaration-details` through the `screenplay` MCP server) and change only the directives that were asked
|
|
79
83
|
for. Adding `layout` must not rewrite the Level-1 intent beneath it.
|
|
80
84
|
6. **Report each screen in two or three sentences**: what it shows and what the
|
|
81
85
|
user can do. Not everyone reviewing can see a board.
|
|
82
86
|
|
|
83
|
-
|
|
84
|
-
with the field trace): `references/worked-flow.md`.
|
|
87
|
+
Read `references/worked-flow.md` when a complete example is needed before composing a flow; it contains two Level-1 screens, their command, read model and form, with the field trace.
|
|
85
88
|
|
|
86
89
|
## `layout` — the application shell
|
|
87
90
|
|
|
@@ -212,7 +215,7 @@ module-level.
|
|
|
212
215
|
`navigate to <Screen> by <param>` is **not** string interpolation; it reuses the
|
|
213
216
|
same typed navigate binding a screen action uses.
|
|
214
217
|
|
|
215
|
-
⚠️
|
|
218
|
+
⚠️ The v4.31.0 baseline, re-verified at v4.66.0, ships `navigate`, `label` and `order` only. Grouping beyond a
|
|
216
219
|
flat ordered list, and an explicit override for when nearest-enclosing is not the
|
|
217
220
|
point you mean, are deliberately left for later.
|
|
218
221
|
|
|
@@ -372,11 +375,6 @@ The rules:
|
|
|
372
375
|
- **Loaded is not run.** Screenplay hashes attached code and can map an inline
|
|
373
376
|
body back to its source for an editor, but never compiles or executes it.
|
|
374
377
|
|
|
375
|
-
⚠️ `file <Identifier>` is read as a **property** named `file`, not a directive —
|
|
376
|
-
the type-reference shape wins the tie. `file Invoices/Register.cs` is a directive;
|
|
377
|
-
`file Attachment` is a property. In a `trigger` body the directive always wins, so
|
|
378
|
-
a trigger value named `file` is written `@file`.
|
|
379
|
-
|
|
380
378
|
## Verify
|
|
381
379
|
|
|
382
380
|
- [ ] `screenplay <model> --warnaserror` (standalone) reports zero errors and zero
|
|
@@ -407,4 +405,4 @@ a trigger value named `file` is written `@file`.
|
|
|
407
405
|
|
|
408
406
|
## Lineage
|
|
409
407
|
|
|
410
|
-
`references/provenance.md
|
|
408
|
+
Read `references/provenance.md` when checking source attribution or adaptation permissions.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Flow review (text form)
|
|
2
2
|
|
|
3
3
|
Use this before any layout work (`SKILL.md`, *Compose in this order*, step 2). It needs
|
|
4
|
-
no board: the `.play` source and your own words are enough. If the host offers
|
|
4
|
+
no board: the `.play` source and your own words are enough. If the host offers the `screenplay` MCP server's
|
|
5
5
|
`visualize-model` (MCP-Apps hosts only) you may add a board view; it never replaces this.
|
|
6
6
|
|
|
7
7
|
## Procedure
|
|
@@ -18,6 +18,7 @@ first.
|
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| `Cratis.Arc.Chronicle` | `22.16.0` | `[NotAudited]` in `Cratis.Arc.Chronicle.Commands`; the `ARCCHR0009` analyzer |
|
|
20
20
|
| `Cratis.Chronicle` | `18.3.0` | `[PII]`, `[Subject]`, redaction, namespace isolation |
|
|
21
|
+
| `Cratis.Chronicle` | `19.32.0` | `[Encrypted]` in `Cratis.Chronicle.ProtectedValues`; analyzers `CHR0052`, `CHR0053` |
|
|
21
22
|
| `Cratis.Arc.Core` | `22.16.0` | Authorization filters, `CommandResult.Unauthorized` |
|
|
22
23
|
|
|
23
24
|
> Re-verified at the versions above by **symbol and signature**: every type, attribute and member this skill names exists at that tag, and the public surface it describes is unchanged since the previous verification (Chronicle 16.45.x / Arc 22.10.4 — the Chronicle 16→18 client diff is converters, options and doc comments; no type was removed or renamed). Behavior claims were verified at the earlier tag unless a section says otherwise.
|
|
@@ -52,18 +53,22 @@ command's properties as well as grepping them.
|
|
|
52
53
|
|
|
53
54
|
## Step 1 — Event sourcing: the permanent-record checks
|
|
54
55
|
|
|
55
|
-
- **Every `[Command]` property holding a secret is marked `[NotAudited]
|
|
56
|
+
- **Every `[Command]` property holding a secret or credential is marked `[NotAudited]`; a retained operational secret is also `[Encrypted]` on the event, and a credential reaches the event only as a hash or a reference.** A
|
|
56
57
|
command's property values are written to the causation of every event it
|
|
57
58
|
appends, and causation is as permanent as the events. Prefer the marking on
|
|
58
|
-
the concept type so it travels everywhere the value appears.
|
|
59
|
+
the concept type so it travels everywhere the value appears. `[NotAudited]`
|
|
60
|
+
alone leaves the secret in plaintext on events; `[Encrypted]` alone leaves the
|
|
61
|
+
command input on the causation chain.
|
|
59
62
|
`ARCCHR0009` catches properties whose *names* read as secrets — so read the
|
|
60
63
|
properties whose names do not say what they hold, because the analyzer cannot.
|
|
61
|
-
- **Personal data is `[PII]
|
|
62
|
-
mechanisms with different consequences: `[NotAudited]`
|
|
63
|
-
the causation chain; `[
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
- **Personal data is `[PII]` alone, a secret is `[Encrypted]` plus `[NotAudited]`.**
|
|
65
|
+
They are different mechanisms with different consequences: `[NotAudited]`
|
|
66
|
+
withholds a value from the causation chain; `[Encrypted]` encrypts it at rest
|
|
67
|
+
without erasure; `[PII]` encrypts, enrolls it in per-subject erasure and
|
|
68
|
+
withholds it. A third-party API key is `[Encrypted]` + `[NotAudited]`. An email address is
|
|
69
|
+
`[PII]`. A password is stored as a hash, never as a retained secret. Never combine `[PII]` with `[Encrypted]` (`CHR0053`), and neither goes
|
|
70
|
+
on an event-source id (`CHR0034`, `CHR0052`).
|
|
71
|
+
- Credentials used for authentication (passwords, bearer or session tokens) are never stored; keep a hash or a reference. An operational secret the system must retain and use (a third-party API key, a company's bank account number) is stored only as an `[Encrypted]` + `[NotAudited]` concept, and never in a read model returned to clients in plaintext.
|
|
67
72
|
- Event-source ids are generated server-side, never accepted from an untrusted
|
|
68
73
|
client where the id grants access to a stream.
|
|
69
74
|
- Upcasting and event-type migration logic cannot introduce a property the
|
|
@@ -20,6 +20,14 @@ Other skills own the neighboring questions. Use them instead of improvising here
|
|
|
20
20
|
- The code on a code card: **cratis-technical-examples**. A card links to the complete,
|
|
21
21
|
versioned source and never stands in for it.
|
|
22
22
|
|
|
23
|
+
## Stop conditions
|
|
24
|
+
|
|
25
|
+
Nothing is ever published, scheduled or replied to by an agent. Drafting a post doesn't
|
|
26
|
+
authorize publishing, scheduling, tagging, mentioning, uploading or replying.
|
|
27
|
+
|
|
28
|
+
Stop and ask when the account owner, the author's perspective, the evidence behind a claim,
|
|
29
|
+
an asset's permission or its branding is unresolved.
|
|
30
|
+
|
|
23
31
|
## What the platform actually says
|
|
24
32
|
|
|
25
33
|
LinkedIn described its current feed in March 2026. An LLM-based retrieval system feeds a
|
|
@@ -38,8 +46,8 @@ LinkedIn describing its own system, not an outside measurement, and it points th
|
|
|
38
46
|
as everything else here: the post needs an author with something to say.
|
|
39
47
|
|
|
40
48
|
The reviewed sources disclose no first-hour windows, hashtag counts, link penalties or save
|
|
41
|
-
weights.
|
|
42
|
-
[the engagement evidence](references/engagement-evidence.md) lists the common claims and what
|
|
49
|
+
weights. Read
|
|
50
|
+
[the engagement evidence](references/engagement-evidence.md) when checking ranking or engagement claims, media evidence, preview approximations, or platform limits; its folklore table lists the common claims and what
|
|
43
51
|
the sources do and don't support.
|
|
44
52
|
|
|
45
53
|
## The preview decides what the post is judged on
|
|
@@ -219,11 +227,3 @@ channel's current rules before posting.
|
|
|
219
227
|
- Every technical claim is one the underlying source supports, and any limitation the post
|
|
220
228
|
depends on is stated rather than implied.
|
|
221
229
|
- The named author has reviewed the perspective the post speaks in.
|
|
222
|
-
|
|
223
|
-
## Stop conditions
|
|
224
|
-
|
|
225
|
-
Nothing is ever published, scheduled or replied to by an agent. Drafting a post doesn't
|
|
226
|
-
authorize publishing, scheduling, tagging, mentioning, uploading or replying.
|
|
227
|
-
|
|
228
|
-
Stop and ask when the account owner, the author's perspective, the evidence behind a claim,
|
|
229
|
-
an asset's permission or its branding is unresolved.
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Engagement evidence for feed posts
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- LinkedIn: what the platform says
|
|
6
|
+
- LinkedIn: format engagement
|
|
7
|
+
- LinkedIn: replies and frequency
|
|
8
|
+
- Length and the preview
|
|
9
|
+
- Platform limits
|
|
10
|
+
- Hacker News
|
|
11
|
+
- Not verified, removed from guidance
|
|
12
|
+
- Accessibility references
|
|
13
|
+
- Folklore
|
|
14
|
+
|
|
3
15
|
This is the public evidence behind the feed post skill, as of 2026-09-25. Each row states the
|
|
4
16
|
claim the way the source supports it, which is often narrower than the way it gets repeated.
|
|
5
17
|
Platforms change their ranking and formats often, so recheck the sources before relying on a
|
|
@@ -68,6 +68,18 @@ one. Out-of-process integration specifications are an advanced case reserved for
|
|
|
68
68
|
boundaries the scenario helpers cannot reach — see
|
|
69
69
|
[integration-specs.md](references/integration-specs.md).
|
|
70
70
|
|
|
71
|
+
> **Validator state can be order-sensitive.** The command-scenario pipeline can
|
|
72
|
+
> cache enough state that injected-validator branches depend on execution order
|
|
73
|
+
> when xUnit runs classes in parallel. Use `CommandScenario` for the valid path,
|
|
74
|
+
> test rejected state variants by instantiating the validator directly, and only
|
|
75
|
+
> for that case put the command's specifications in a small xUnit `[Collection]`.
|
|
76
|
+
|
|
77
|
+
⚠️ `EventScenario` wires a strategy that always answers `ConcurrencyScope.None`,
|
|
78
|
+
which the validator skips, so an append that lets the strategy choose the scope
|
|
79
|
+
never produces a concurrency violation. `ShouldHaveConcurrencyViolations()`
|
|
80
|
+
cannot pass for such an append and its negation passes vacuously — specify concurrency against the
|
|
81
|
+
real kernel with an out-of-process integration specification instead.
|
|
82
|
+
|
|
71
83
|
Specification projects are named `<Source>.Specs` and run on xUnit.
|
|
72
84
|
|
|
73
85
|
## Step 2 — Create the folder structure
|
|
@@ -172,8 +184,7 @@ public class a_<system_under_test> : all_dependencies
|
|
|
172
184
|
```
|
|
173
185
|
|
|
174
186
|
Name a context `a_` or `an_` so it reads as "given an observer, when handling".
|
|
175
|
-
|
|
176
|
-
[csharp-patterns.md](references/csharp-patterns.md).
|
|
187
|
+
Read [csharp-patterns.md](references/csharp-patterns.md) when implementing substitutions, assertions, or exception capture; it contains the full patterns.
|
|
177
188
|
|
|
178
189
|
## Step 5 — Never wait on the clock
|
|
179
190
|
|
package/package/corpus/skills/cratis-specifications-csharp/references/application-scenarios.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# In-process scenario specifications
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- `CommandScenario<TCommand>`
|
|
6
|
+
- `EventScenario`
|
|
7
|
+
- `ReadModelScenario<TReadModel>`
|
|
8
|
+
- `ReactorScenario<TReactor>`
|
|
9
|
+
- Application conventions
|
|
10
|
+
|
|
3
11
|
The four scenario helpers exercise the real Arc and Chronicle pipelines
|
|
4
12
|
in-process. Use them for event-sourced *application* behavior where the pipeline,
|
|
5
13
|
validation, constraints or projections matter; a pure decision (`Handle()`,
|
|
@@ -96,11 +104,7 @@ Do not assert on message strings by default — they are presentation text.
|
|
|
96
104
|
Assert exact text only when that wording is the specified behavior, and name
|
|
97
105
|
that behavior in the fact.
|
|
98
106
|
|
|
99
|
-
|
|
100
|
-
> cache enough state that injected-validator branches depend on execution order
|
|
101
|
-
> when xUnit runs classes in parallel. Use `CommandScenario` for the valid path,
|
|
102
|
-
> test rejected state variants by instantiating the validator directly, and only
|
|
103
|
-
> for that case put the command's specifications in a small xUnit `[Collection]`.
|
|
107
|
+
See "Step 1" in SKILL.md for the order-sensitive validator caveat.
|
|
104
108
|
|
|
105
109
|
## `EventScenario`
|
|
106
110
|
|
|
@@ -130,11 +134,7 @@ and `ShouldNotHaveConstraintViolations()`,
|
|
|
130
134
|
its negation. Assert the constraint **name** by default. Assert exact message
|
|
131
135
|
text only when that wording is the specified behavior, and name it in the fact.
|
|
132
136
|
|
|
133
|
-
|
|
134
|
-
which the validator skips, so an append that lets the strategy choose the scope
|
|
135
|
-
never produces a concurrency violation. `ShouldHaveConcurrencyViolations()`
|
|
136
|
-
cannot pass for such an append and its negation passes vacuously — specify concurrency against the
|
|
137
|
-
real kernel with an out-of-process integration specification instead.
|
|
137
|
+
See "Step 1" in SKILL.md for the vacuous concurrency assertions caveat.
|
|
138
138
|
|
|
139
139
|
## `ReadModelScenario<TReadModel>`
|
|
140
140
|
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# C# specification patterns
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Phases
|
|
6
|
+
- Layered contexts
|
|
7
|
+
- Substitution patterns
|
|
8
|
+
- Assertion extension methods
|
|
9
|
+
- Catching exceptions
|
|
10
|
+
- Usings
|
|
11
|
+
- One outcome per file
|
|
12
|
+
|
|
3
13
|
Detail for the plain `Cratis.Specifications` surface: phases, substitution,
|
|
4
14
|
assertions, and exception capture. Verified against `Cratis.Specifications`
|
|
5
15
|
`4.1.1` and NSubstitute as consumed by that package.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Out-of-process Chronicle integration specifications
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Structure
|
|
6
|
+
- Seeding preconditions
|
|
7
|
+
- Command execution overloads
|
|
8
|
+
- Assertion helpers
|
|
9
|
+
- Asynchronous follow-ups
|
|
10
|
+
- Rules
|
|
11
|
+
|
|
3
12
|
Reserve these for the host, transport, serialization, or real-infrastructure
|
|
4
13
|
boundary the in-process scenario helpers cannot reach. They exercise a complete
|
|
5
14
|
behavior — HTTP request through command handling, append, constraint checking,
|
|
@@ -154,8 +154,7 @@ value.should.be.instanceOf(<Type>);
|
|
|
154
154
|
(() => <throwingCall>()).should.throw(<ErrorType>);
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
[typescript-patterns.md](references/typescript-patterns.md).
|
|
157
|
+
Read [typescript-patterns.md](references/typescript-patterns.md) when choosing detailed assertions, configuring or restoring Sinon stubs, or arranging asynchronous specifications.
|
|
159
158
|
|
|
160
159
|
## Step 6 — Apply the naming conventions
|
|
161
160
|
|
package/package/corpus/skills/cratis-specifications-typescript/references/typescript-patterns.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# TypeScript specification patterns
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Frameworks
|
|
6
|
+
- Chai assertions
|
|
7
|
+
- Sinon stubbing
|
|
8
|
+
- The `given()` helper
|
|
9
|
+
- Reusable context class
|
|
10
|
+
- Asynchronous specifications
|
|
11
|
+
- One behavior per file
|
|
12
|
+
|
|
3
13
|
Detail for the `given()` surface: assertions, stubbing, asynchronous
|
|
4
14
|
specifications, and folder layout.
|
|
5
15
|
|
|
@@ -174,7 +184,7 @@ describe('when <behavior>', given(a_<system_under_test>, context => {
|
|
|
174
184
|
Await the promise in `beforeEach` rather than inside each `it()`, so the action
|
|
175
185
|
under specification runs exactly once.
|
|
176
186
|
|
|
177
|
-
## One
|
|
187
|
+
## One behavior per file
|
|
178
188
|
|
|
179
189
|
```
|
|
180
190
|
when_<behavior>/
|
|
@@ -16,6 +16,12 @@ exactly produces **no artifacts at all**, never thinner ones. Read the admission
|
|
|
16
16
|
before promising that a model can be rendered, and render it to find out: the source
|
|
17
17
|
reading in this skill is not a render result.
|
|
18
18
|
|
|
19
|
+
## Specification runner exit codes
|
|
20
|
+
|
|
21
|
+
`cratis/stage-specrunner` exit `0` means the run completed and the results file was written **even when a specification
|
|
22
|
+
failed**: read the outcomes. `1` is a missing or uncompilable input, `2` a missing required
|
|
23
|
+
argument or an invalid semantic option.
|
|
24
|
+
|
|
19
25
|
## Verified product sources
|
|
20
26
|
|
|
21
27
|
| Source | Pin | Notes |
|
|
@@ -28,7 +34,7 @@ Everything below was read at those tags (`Source/Rendering.Cratis/**`, `README.m
|
|
|
28
34
|
`Documentation/**` in Stage; `Source/Cli/Commands/Render/**` and
|
|
29
35
|
`Documentation/reference/screenplay.md` in the CLI), and the vertical in
|
|
30
36
|
[references/render-example.md](references/render-example.md) was rendered, built and
|
|
31
|
-
tested with cratis 3.28.2 (re-run on 3.28.3). The full version table (Screenplay 4.66.0, Arc 22.50.5,
|
|
37
|
+
tested with cratis 3.28.2 (re-run on 3.28.3). Read `references/render-example.md` when you need a complete renderable model and the observed render, build, and test results. The full version table (Screenplay 4.66.0, Arc 22.50.5,
|
|
32
38
|
Chronicle 19.32.0 and the tool split) is in the `cratis-screenplay-toolchain` skill,
|
|
33
39
|
`references/versions.md`. Rendered apps are on Arc 22.25.0, so `[ProtectedDecision]`
|
|
34
40
|
(Arc 22.39.0 and later) is not available in code written into one.
|
|
@@ -45,6 +51,26 @@ The `.play` model is the source of truth; Stage-managed output is derived from i
|
|
|
45
51
|
authorization, validation or `@pii` to get past a refusal.
|
|
46
52
|
- Never claim a whole-application result from a subset of the model.
|
|
47
53
|
|
|
54
|
+
## Publication and recovery
|
|
55
|
+
|
|
56
|
+
Ownership is the destination's **`.cratis-render.json`** manifest (semantic revision,
|
|
57
|
+
identity, path and SHA-256 per artifact); there are no in-file markers. Interrupted
|
|
58
|
+
commits are journaled in the **`.cratis-render/`** control directory (journal, staging,
|
|
59
|
+
backups). Never stage `.cratis-render/` in git; commit the manifest with the output.
|
|
60
|
+
|
|
61
|
+
- An unmanaged file at a planned path is refused, even with `--force`.
|
|
62
|
+
- A user-modified managed file is refused unless it is still active **and** `--force` is
|
|
63
|
+
given; `--force` replaces it. It never overwrites unmanaged files and never deletes a
|
|
64
|
+
modified stale file. A stale managed file is removed only if its bytes still match.
|
|
65
|
+
- Recovery runs before planning, even when planning then fails. **`recovered: true` in the
|
|
66
|
+
result means stop and reconcile**: the receipt does not describe what recovery changed.
|
|
67
|
+
- An unchanged re-render writes nothing (`unchanged` equals the artifact count).
|
|
68
|
+
- Use exclusive access to the destination; a receipt is a filesystem result, not a Git
|
|
69
|
+
commit, and the command creates no branch, commit or PR.
|
|
70
|
+
- Drift: compare successive manifests' `semanticRevision` for renders with the same
|
|
71
|
+
`--name` and inputs. Do not compare the MCP `modelRevision` with the manifest: their
|
|
72
|
+
application identities can differ.
|
|
73
|
+
|
|
48
74
|
## Rendering with `cratis render`
|
|
49
75
|
|
|
50
76
|
```bash
|
|
@@ -117,6 +143,7 @@ or protection to get a render; keep the model, record the capability gap and gap
|
|
|
117
143
|
The code table, the projection and specification rules and three refusals reproduced while
|
|
118
144
|
building the example are in [references/admission.md](references/admission.md); the exhaustive ledger
|
|
119
145
|
is `references/renderable-subset.md` in `cratis-screenplay-toolchain`.
|
|
146
|
+
Read `cratis-screenplay-toolchain/references/renderable-subset.md` when you need the exhaustive surface ledger beyond the admission summary.
|
|
120
147
|
|
|
121
148
|
Descriptions and documentation are never rendered, so a rule that exists only in prose
|
|
122
149
|
is not enforced in the generated code.
|
|
@@ -132,32 +159,13 @@ the `[Command]` record and `Handle()`, the `[EventType]` event, the validator an
|
|
|
132
159
|
(`.frontend/`, `package.json`, `tsconfig.json`, `.gitignore`). Per-file detail, the
|
|
133
160
|
scaffold pins and the `Customizations/` contract are in
|
|
134
161
|
[references/rendered-application.md](references/rendered-application.md).
|
|
162
|
+
Read `references/rendered-application.md` when inspecting scaffold pins, managed-file ownership, or implementing a `Customizations/` extension.
|
|
135
163
|
|
|
136
164
|
Modeled specifications become xunit classes compiled in **Debug only**
|
|
137
165
|
(`IsTestProject` when Debug): a command spec `when_<snake>` in namespace
|
|
138
166
|
`<slice namespace>.when_<snake>` (so `when_x.when_x`), queries `when_<snake>_is_queried`,
|
|
139
167
|
read models `when_<snake>_is_projected`.
|
|
140
168
|
|
|
141
|
-
## Publication and recovery
|
|
142
|
-
|
|
143
|
-
Ownership is the destination's **`.cratis-render.json`** manifest (semantic revision,
|
|
144
|
-
identity, path and SHA-256 per artifact); there are no in-file markers. Interrupted
|
|
145
|
-
commits are journaled in the **`.cratis-render/`** control directory (journal, staging,
|
|
146
|
-
backups). Never stage `.cratis-render/` in git; commit the manifest with the output.
|
|
147
|
-
|
|
148
|
-
- An unmanaged file at a planned path is refused, even with `--force`.
|
|
149
|
-
- A user-modified managed file is refused unless it is still active **and** `--force` is
|
|
150
|
-
given; `--force` replaces it. It never overwrites unmanaged files and never deletes a
|
|
151
|
-
modified stale file. A stale managed file is removed only if its bytes still match.
|
|
152
|
-
- Recovery runs before planning, even when planning then fails. **`recovered: true` in the
|
|
153
|
-
result means stop and reconcile**: the receipt does not describe what recovery changed.
|
|
154
|
-
- An unchanged re-render writes nothing (`unchanged` equals the artifact count).
|
|
155
|
-
- Use exclusive access to the destination; a receipt is a filesystem result, not a Git
|
|
156
|
-
commit, and the command creates no branch, commit or PR.
|
|
157
|
-
- Drift: compare successive manifests' `semanticRevision` for renders with the same
|
|
158
|
-
`--name` and inputs. Do not compare the MCP `modelRevision` with the manifest: their
|
|
159
|
-
application identities can differ.
|
|
160
|
-
|
|
161
169
|
## Sandbox and specification runner
|
|
162
170
|
|
|
163
171
|
`cratis run [PATH]` (Docker required) starts `cratis/stage` on the folder or file: Stage
|
|
@@ -173,6 +181,7 @@ default `structural` engine is deprecated and model-level only; `--engine semant
|
|
|
173
181
|
executes admitted specs through Arc's in-memory pipeline and reports `Passed`, `Failed`,
|
|
174
182
|
`Unsupported` or `Cancelled`. A green result is Stage semantic-engine evidence: not V4 and not a rendered Debug test run. Commands,
|
|
175
183
|
the semantic report schema and limits: [references/sandbox-and-specrunner.md](references/sandbox-and-specrunner.md).
|
|
184
|
+
Read `references/sandbox-and-specrunner.md` before launching either container or interpreting specification-runner outcomes.
|
|
176
185
|
|
|
177
186
|
## Verify
|
|
178
187
|
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Stage 4.24 admission: codes, specification rules and observed refusals
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Diagnostic codes
|
|
6
|
+
- Projections
|
|
7
|
+
- Pure reducer bodies
|
|
8
|
+
- Specification rules (`STAGE-ESM-011`)
|
|
9
|
+
- Observed refusals
|
|
10
|
+
- Source disagreements (trust the code)
|
|
11
|
+
|
|
3
12
|
Read at Stage `v4.24.0`, re-read at `v4.24.1` and `v4.24.2` (`SemanticCratisAdmission.EventRevisions.cs`, `SemanticEventLineageAdmission.cs`, ESM v4 section of `Documentation/guides/build-renderer-target.md`) (`Source/Rendering.Cratis/Semantics/SemanticSurfaceLedger.cs`, `Documentation/guides/build-renderer-target.md`; 4.24.1 changed only the ledger, dependency pins and the Dockerfile) (`Source/Rendering.Cratis/CratisArtifactRenderPlanner.cs`,
|
|
4
13
|
`Semantics/SemanticCratisAdmission*.cs`, `SemanticSpecificationAdmission*.cs`,
|
|
5
14
|
`PureTransitionAdmission.cs`, `SemanticImplementationAdmission.cs`) and cli `v3.28.2`
|
package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/render-example.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Example: a model inside the Stage 4.24 renderable subset
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- What was run
|
|
6
|
+
- What came out
|
|
7
|
+
|
|
3
8
|
A complete marina-berth model that `cratis render` 3.28.2 and 3.28.3 accept, followed by what the
|
|
4
9
|
render produced and how each claim was checked. Use it as a shape to stay inside when a
|
|
5
10
|
model must be renderable; it is not a template for richer slices (see `admission.md`).
|
|
@@ -61,11 +61,9 @@ docker run --rm -v /path/to/model:/model:ro -v /path/to/results:/output \
|
|
|
61
61
|
| `--engine semantic` | `structural` | Opt in to executable specifications |
|
|
62
62
|
| `--specification`, `--scope`, `--catalog`, `--application` | | Semantic engine only |
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
failed**: read the outcomes. `1` is a missing or uncompilable input, `2` a missing required
|
|
66
|
-
argument or an invalid semantic option.
|
|
64
|
+
See "Specification runner exit codes" in SKILL.md.
|
|
67
65
|
|
|
68
|
-
- **Structural** (default
|
|
66
|
+
- **Structural** (default and deprecated at Stage v4.24.2, with removal planned for the following major release): verifies that the
|
|
69
67
|
events and commands a specification names resolve to its slice and that modeled rules
|
|
70
68
|
agree. Outcomes `Passed`, `Failed`, `Inconclusive` (not verifiable for that slice type
|
|
71
69
|
yet; not a failure). It does not execute any slice.
|
|
@@ -18,8 +18,8 @@ does not mean the upstream product has no capabilities.
|
|
|
18
18
|
|
|
19
19
|
Read the generated classifications before answering:
|
|
20
20
|
|
|
21
|
-
- [Observational guidance](references/observational-tools.md)
|
|
22
|
-
|
|
21
|
+
- [Observational guidance](references/observational-tools.md) contains no
|
|
22
|
+
admitted observational operations.
|
|
23
23
|
- [Blocked guidance](references/blocked-tools.md) records the deny-all boundary.
|
|
24
24
|
|
|
25
25
|
Do not infer an operation from private implementation knowledge, a remembered
|
|
@@ -19,7 +19,7 @@ It revises existing material. For drafting, use the skill for the content type:
|
|
|
19
19
|
samples (both profiles), **cratis-social-feed-post** for feed posts (`cratis/content`) and
|
|
20
20
|
**cratis-documentation-writing** for pages (`cratis/documentation`).
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Read the full catalog in [references/ai-tells.md](references/ai-tells.md) before running single-piece or batch checks, with a
|
|
23
23
|
word list or regex and a batch threshold for each, and the studies behind them. IDs such as
|
|
24
24
|
HV-02 below point to that file's Sources table.
|
|
25
25
|
|
|
@@ -48,6 +48,44 @@ So these rules hold for every use of the skill:
|
|
|
48
48
|
(HV-02). Adding them so copy passes as human is the same mistake in reverse.
|
|
49
49
|
- A construction that carries a real distinction stays, however often the catalog lists it.
|
|
50
50
|
|
|
51
|
+
## Never trade a claim for a smoother sentence
|
|
52
|
+
|
|
53
|
+
This is the part that makes a voice pass dangerous, and the reason to do one carefully
|
|
54
|
+
instead of quickly.
|
|
55
|
+
|
|
56
|
+
The risk is not an obvious rewrite. It is a hedge dissolving into nicer phrasing. "There is
|
|
57
|
+
no need to" becomes "without needing to", and a limit quietly widens. "Not its meaning"
|
|
58
|
+
becomes "and leaves its meaning alone", and a distinction softens. Both read better. Both
|
|
59
|
+
changed what the text asserts.
|
|
60
|
+
|
|
61
|
+
Before accepting any rewrite, confirm that:
|
|
62
|
+
|
|
63
|
+
- every identifier and every number present before is still present, and none was invented;
|
|
64
|
+
- every hedging word (not, never, only, may, unless, until) survives in substance;
|
|
65
|
+
- every stated limitation survives, including one that reads as an awkward caveat, because it
|
|
66
|
+
is a caveat and it is deliberate;
|
|
67
|
+
- the closing limitation or evidence statement is not thinned, relocated into a subordinate
|
|
68
|
+
clause, or dropped because it spoiled the ending.
|
|
69
|
+
|
|
70
|
+
A mechanical before-and-after check over identifiers, numbers and hedge words catches most of
|
|
71
|
+
this before anyone reads a word. The catalog describes one. A person still reads every
|
|
72
|
+
flagged pair, because a count can't tell a widened limit from a harmless rephrase.
|
|
73
|
+
|
|
74
|
+
## Stop conditions
|
|
75
|
+
|
|
76
|
+
Stop and hand back when:
|
|
77
|
+
|
|
78
|
+
- a rewrite would change what the material claims;
|
|
79
|
+
- the named author hasn't supplied or accepted a perspective, detail or opinion being put in
|
|
80
|
+
their mouth;
|
|
81
|
+
- the material is under an approval the rewrite would invalidate, and nobody has authorized a
|
|
82
|
+
refresh;
|
|
83
|
+
- the request is to judge whether a person used AI, or to gate their work on a flag count;
|
|
84
|
+
- the copy is for Hacker News.
|
|
85
|
+
|
|
86
|
+
Reviewing or revising copy never includes publishing, scheduling, posting or replying. An
|
|
87
|
+
agent hands the text back; a person decides what goes out.
|
|
88
|
+
|
|
51
89
|
## The constructions
|
|
52
90
|
|
|
53
91
|
None of these is wrong. A single corrective tail can be the clearest sentence in the piece.
|
|
@@ -224,29 +262,6 @@ everything it posts there: nothing Cratis posts to Hacker News is written or edi
|
|
|
224
262
|
whether title, text or comment. Don't run a voice pass on HN copy. You can help the person
|
|
225
263
|
check facts and links.
|
|
226
264
|
|
|
227
|
-
## Never trade a claim for a smoother sentence
|
|
228
|
-
|
|
229
|
-
This is the part that makes a voice pass dangerous, and the reason to do one carefully
|
|
230
|
-
instead of quickly.
|
|
231
|
-
|
|
232
|
-
The risk is not an obvious rewrite. It is a hedge dissolving into nicer phrasing. "There is
|
|
233
|
-
no need to" becomes "without needing to", and a limit quietly widens. "Not its meaning"
|
|
234
|
-
becomes "and leaves its meaning alone", and a distinction softens. Both read better. Both
|
|
235
|
-
changed what the text asserts.
|
|
236
|
-
|
|
237
|
-
Before accepting any rewrite, confirm that:
|
|
238
|
-
|
|
239
|
-
- every identifier and every number present before is still present, and none was invented;
|
|
240
|
-
- every hedging word (not, never, only, may, unless, until) survives in substance;
|
|
241
|
-
- every stated limitation survives, including one that reads as an awkward caveat, because it
|
|
242
|
-
is a caveat and it is deliberate;
|
|
243
|
-
- the closing limitation or evidence statement is not thinned, relocated into a subordinate
|
|
244
|
-
clause, or dropped because it spoiled the ending.
|
|
245
|
-
|
|
246
|
-
A mechanical before-and-after check over identifiers, numbers and hedge words catches most of
|
|
247
|
-
this before anyone reads a word. The catalog describes one. A person still reads every
|
|
248
|
-
flagged pair, because a count can't tell a widened limit from a harmless rephrase.
|
|
249
|
-
|
|
250
265
|
## Work in tranches that can be read
|
|
251
266
|
|
|
252
267
|
Rewriting is not a batch operation. Any body of material large enough to have a detectable
|
|
@@ -256,18 +271,3 @@ detectable format with another. Rewrite a tranche, read it, and only then contin
|
|
|
256
271
|
Where material carries a recorded approval, a rewrite invalidates it. Recording a fresh
|
|
257
272
|
approval over copy nobody has read makes the record assert something false, after which every
|
|
258
273
|
downstream check agrees with it. Size the tranche to what its owner will actually read.
|
|
259
|
-
|
|
260
|
-
## Stop conditions
|
|
261
|
-
|
|
262
|
-
Stop and hand back when:
|
|
263
|
-
|
|
264
|
-
- a rewrite would change what the material claims;
|
|
265
|
-
- the named author hasn't supplied or accepted a perspective, detail or opinion being put in
|
|
266
|
-
their mouth;
|
|
267
|
-
- the material is under an approval the rewrite would invalidate, and nobody has authorized a
|
|
268
|
-
refresh;
|
|
269
|
-
- the request is to judge whether a person used AI, or to gate their work on a flag count;
|
|
270
|
-
- the copy is for Hacker News.
|
|
271
|
-
|
|
272
|
-
Reviewing or revising copy never includes publishing, scheduling, posting or replying. An
|
|
273
|
-
agent hands the text back; a person decides what goes out.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# AI-associated writing patterns
|
|
2
2
|
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- How much weight each entry carries
|
|
6
|
+
- Running the checks
|
|
7
|
+
- Lexical
|
|
8
|
+
- Syntactic
|
|
9
|
+
- Structural
|
|
10
|
+
- Tonal
|
|
11
|
+
- Sources
|
|
12
|
+
|
|
3
13
|
This is the full catalog behind the **cratis-writing-voice-and-cadence** skill: patterns that
|
|
4
14
|
make writing read as machine-produced, how a script can find each one, and what a person
|
|
5
15
|
would usually write instead. Sources were checked in September 2026. Bracketed IDs such as
|