@cratis/pi 7.36.1 → 7.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +109 -0
  2. package/package/corpus/harnesses/copilot/instructions/application-profile.instructions.md +81 -0
  3. package/package/corpus/harnesses/copilot/instructions/capability-is-not-authority.instructions.md +45 -0
  4. package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +92 -0
  5. package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +83 -0
  6. package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +90 -0
  7. package/package/corpus/harnesses/copilot/instructions/components.instructions.md +300 -0
  8. package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +138 -0
  9. package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +29 -0
  10. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +357 -0
  11. package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +278 -0
  12. package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +162 -0
  13. package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +90 -0
  14. package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +74 -0
  15. package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +84 -0
  16. package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +45 -0
  17. package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +50 -0
  18. package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +34 -0
  19. package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +55 -0
  20. package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +60 -0
  21. package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +127 -0
  22. package/package/corpus/harnesses/copilot/instructions/git-commits.instructions.md +139 -0
  23. package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +87 -0
  24. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +63 -0
  25. package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +61 -0
  26. package/package/corpus/harnesses/copilot/instructions/go.instructions.md +116 -0
  27. package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +61 -0
  28. package/package/corpus/harnesses/copilot/instructions/java.instructions.md +138 -0
  29. package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +175 -0
  30. package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +56 -0
  31. package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +35 -0
  32. package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +97 -0
  33. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +403 -0
  34. package/package/corpus/harnesses/copilot/instructions/pull-requests.instructions.md +176 -0
  35. package/package/corpus/harnesses/copilot/instructions/react.instructions.md +203 -0
  36. package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +336 -0
  37. package/package/corpus/harnesses/copilot/instructions/rtk.instructions.md +48 -0
  38. package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +147 -0
  39. package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +133 -0
  40. package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +281 -0
  41. package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +141 -0
  42. package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +85 -0
  43. package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +151 -0
  44. package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +27 -0
  45. package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +414 -0
  46. package/package/corpus/harnesses/copilot/instructions/web-fetching.instructions.md +12 -0
  47. package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +57 -0
  48. package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +72 -0
  49. package/package/corpus/hooks/scripts/cratis-nuget-pins.txt +6 -0
  50. package/package/corpus/product-sync.json +7 -3
  51. package/package/corpus/rules/orleans.md +4 -0
  52. package/package/corpus/rules/profiles.md +3 -3
  53. package/package/corpus/skills/cratis-arc-observable-query-http/SKILL.md +17 -0
  54. package/package/corpus/skills/cratis-arc-observable-query-http/verification.json +12 -0
  55. package/package/corpus/skills/cratis-arc-react-page/SKILL.md +5 -1
  56. package/package/corpus/skills/cratis-arc-react-page/verification.json +3 -0
  57. package/package/corpus/skills/cratis-chronicle-client-kotlin/SKILL.md +2 -2
  58. package/package/corpus/skills/cratis-components-common-controls/SKILL.md +149 -0
  59. package/package/corpus/skills/cratis-components-common-controls/verification.json +15 -0
  60. package/package/corpus/skills/cratis-components-data-surfaces/SKILL.md +185 -0
  61. package/package/corpus/skills/cratis-components-data-surfaces/verification.json +16 -0
  62. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +125 -0
  63. package/package/corpus/skills/cratis-fundamentals-telemetry/verification.json +15 -0
  64. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +115 -0
  65. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +64 -0
  66. package/package/corpus/skills/cratis-orleans-jobs/verification.json +20 -0
  67. package/package/corpus/skills/cratis-screenplay-discovery/SKILL.md +11 -6
  68. package/package/corpus/skills/cratis-screenplay-discovery/references/facilitation.md +9 -5
  69. package/package/corpus/skills/cratis-screenplay-discovery/references/human-workshop.md +1 -1
  70. package/package/corpus/skills/cratis-screenplay-discovery/references/plotting-and-handoff.md +28 -4
  71. package/package/corpus/skills/cratis-screenplay-discovery/references/storming-loop.md +2 -1
  72. package/package/corpus/skills/cratis-screenplay-discovery/verification.json +5 -0
  73. package/package/corpus/skills/cratis-screenplay-model-authoring/SKILL.md +23 -29
  74. package/package/corpus/skills/cratis-screenplay-model-authoring/references/mcp-loop.md +15 -1
  75. package/package/corpus/skills/cratis-screenplay-model-authoring/references/model-notes.md +208 -0
  76. package/package/corpus/skills/cratis-screenplay-model-authoring/verification.json +20 -1
  77. package/package/corpus/skills/cratis-screenplay-model-review/SKILL.md +19 -36
  78. package/package/corpus/skills/cratis-screenplay-model-review/references/report-template.md +26 -0
  79. package/package/corpus/skills/cratis-screenplay-model-review/verification.json +7 -0
  80. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/SKILL.md +14 -16
  81. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/core-rules-digest.md +8 -3
  82. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/handoff-template.md +5 -2
  83. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/intake.md +21 -0
  84. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/reasoning-notes.md +10 -6
  85. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/stop-or-assume.md +32 -1
  86. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/references/worked-example.md +5 -2
  87. package/package/corpus/skills/cratis-screenplay-modeling-lifecycle/verification.json +5 -0
  88. package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +4 -0
  89. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +1716 -183
  90. package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
  91. package/package/corpus/skills/cratis-screenplay-toolchain/references/versions.md +40 -4
  92. package/package/corpus/skills/cratis-screenplay-toolchain/verification.json +6 -0
  93. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/references/sandbox-and-specrunner.md +26 -0
  94. package/package/corpus/skills/cratis-stage-rendering-and-sandbox/verification.json +3 -0
  95. package/package/profile-catalog.json +6 -2
  96. package/package.json +1 -1
@@ -28,6 +28,35 @@ user can accept, and approvals not yet given always stop.
28
28
  - One closed outcome per run. A run that neither progressed nor closed is a failure to report:
29
29
  say what blocked it and which question would unblock it.
30
30
 
31
+ ## Durable question notes
32
+
33
+ Record each open modeling choice as a `question` note on its element in committed
34
+ `.screenplay/notes.json`, not only chat/STATE.md or `description` text. Include the
35
+ question, consequence and assumption in use (or blocked scope). Keep its returned
36
+ note ID and address in STATE.md/packets; before an element exists, anchor to the
37
+ application or nearest identified container and name the intended element in text.
38
+ Never put secrets or personal data in note text, authors, refs or resolutions.
39
+
40
+ Read model-authoring [model notes](../../cratis-screenplay-model-authoring/references/model-notes.md)
41
+ when recording or answering questions: discover tools, list with pinned notes
42
+ revision, `propose-model-notes`, review `read-proposal view=notes`, then authorized
43
+ `apply`. If the installed bundle lacks notes, report the capability gap and carry
44
+ an explicit note request to the owner; do not pretend a chat/description is a note.
45
+
46
+ Cite the project's own decisions with `refs: [{ "id": "D123" }]`. When D123 is
47
+ the answer, resolve with `by: "external-decision"` and required
48
+ `ref: { "id": "D123" }`, explanatory text and a team-role author. The URL is
49
+ optional and never fetched. Realize a resolved question as a specification for
50
+ behavior, a description for meaning, or a project-owned decision record for
51
+ consequential policy. Resolving is not implementation; a known refusal still
52
+ needs `then error` or `then denied`. Reopen when the evidence ceases to answer it.
53
+
54
+ Question gating is separate from V1: standalone Screenplay 4.144.0 has
55
+ `--open-questions fail`; Cratis CLI 3.53.1 does not. Read toolchain
56
+ `references/versions.md` "Model notes gate" when a phase requires no open questions.
57
+ Product evidence: Screenplay `v4.144.0:Documentation/screenplay/model-notes.md:12-77,93-121`,
58
+ `decisions/0045-model-notes-sidecar.md:40-79` and the model-authoring source table.
59
+
31
60
  ## Question format (STATE.md, packets, edit requests)
32
61
  `Qn <declaration address>: <what is missing or contradictory, one sentence> - matters because
33
62
  <consequence> - <assumption in use | blocked scope>`. Write it so a reader who has not opened
@@ -58,5 +87,7 @@ given for a named target. Approval is not repeated for the same scope.
58
87
 
59
88
  ## Unblocking
60
89
  A scope leaves `blocked` only when its question is answered; record the answer as a decision in
61
- STATE.md and, when durable, in the model's fenced `documentation`. Re-blocking a blocked scope is a no-op.
90
+ STATE.md with its note ID, resolve the question note by evidence, and realize the
91
+ answer in the model or decision record. Settled rationale may also go in fenced
92
+ `documentation`. Re-blocking a blocked scope is a no-op.
62
93
  Blocked delivery scopes are reported in the packet; the main session creates any issue.
@@ -84,8 +84,11 @@ module Berths
84
84
  specification can state the exact rejection. No `BerthReassigned` event was added to carry it.
85
85
  - The `Cannot` line in the persona resolves to the `HarbourOffice` policy and a `then denied`
86
86
  specification whose caller fixture carries a non-matching role.
87
- - Assumption Q1 lives in the feature documentation and in STATE.md (Open questions) with its address,
88
- `Berths.Allocation`.
87
+ - On Screenplay 4.144.0, record Q1 as a `question` note on `Berths.Allocation`:
88
+ "Is allocation always manual? Assuming manual allocation; an automatic route
89
+ would need an automation." The documentation carries the working assumption;
90
+ STATE.md carries the returned note ID. Read `stop-or-assume.md` "Durable
91
+ question notes" when recording or resolving it.
89
92
  - The documentation is rationale only: the rules themselves are enforced by the constraint, the policy
90
93
  and the specifications, not by the prose.
91
94
  - The constraint does not say a berth holds one boat at a time: a berth source may replace its
@@ -4,6 +4,11 @@
4
4
  "fixtures": [],
5
5
  "assertions": [
6
6
  { "kind": "play-compiles" },
7
+ { "kind": "skill-contains", "value": "record it as a `question` note anchored to the element" },
8
+ { "kind": "skill-contains", "value": "`refs: [{ \"id\": \"D123\" }]`", "file": "references/stop-or-assume.md" },
9
+ { "kind": "skill-contains", "value": "`by: \"external-decision\"`", "file": "references/stop-or-assume.md" },
10
+ { "kind": "skill-contains", "value": "Realize a resolved question as a specification", "file": "references/stop-or-assume.md" },
11
+ { "kind": "skill-contains", "value": "Never put secrets or personal data", "file": "references/stop-or-assume.md" },
7
12
  { "kind": "skill-contains", "value": "Model first" },
8
13
  { "kind": "skill-contains", "value": "`Outcome:`" },
9
14
  { "kind": "skill-contains", "value": "V3 binding-ready" },
@@ -206,6 +206,10 @@ reason; blocked verdicts list codes and keep the protection they blocked on.
206
206
  - [ ] Any new example fence compiles with the standalone tool; unmarked fences also pass
207
207
  `cratis screenplay validate --warnings-as-errors`.
208
208
 
209
+ Read [model notes gate](references/versions.md#model-notes-gate) when checking
210
+ unresolved questions: standalone 4.144.0 has `--open-questions fail`; Cratis CLI
211
+ 3.53.1 does not. It is separate from compilation and `--warnaserror`.
212
+
209
213
  ## Route near misses
210
214
 
211
215
  - What to model, phases, gates: `cratis-screenplay-modeling-lifecycle`.