@cratis/pi 7.52.0 → 7.52.1
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.
|
@@ -66,6 +66,7 @@ The project's voice is **direct, practical, and opinionated**. Write like an exp
|
|
|
66
66
|
- Prefer `record` types for events, commands, and read models — match the codebase.
|
|
67
67
|
- Use argument-free `[EventType]` for new events. A new generation or an explicit legacy identifier is valid only when documenting evolution of an existing stored-event contract.
|
|
68
68
|
- A standalone example must be **complete and correct** at its stated scope. Mark a partial excerpt as an excerpt, state its prerequisites, and never leave an essential step behind `// ...`. Do not offer an incomplete block as click-to-copy code.
|
|
69
|
+
- **State version requirements, not the test log.** Say which release a feature needs and pin what the reader runs. Do not end a page with how and when you verified it (SDK build, image digest or SHA, date, "tested with", which samples were not run); that belongs in the change summary. See **cratis-technical-examples**.
|
|
69
70
|
- **Short illustrative snippets** may be purpose-built after checking their framework APIs against source. Derive substantial or runnable examples from compiled, tested sample or spec code; extract or check displayed snippets with the owning repository's tooling so they do not drift. Never substitute a bare “see the repository” link for showing the code.
|
|
70
71
|
- Where a feature spans products or languages, show both sides when both matter. Keep causal explanations sequential; use tabs only for alternatives.
|
|
71
72
|
|
|
@@ -65,6 +65,7 @@ The project's voice is **direct, practical, and opinionated**. Write like an exp
|
|
|
65
65
|
- Prefer `record` types for events, commands, and read models — match the codebase.
|
|
66
66
|
- Use argument-free `[EventType]` for new events. A new generation or an explicit legacy identifier is valid only when documenting evolution of an existing stored-event contract.
|
|
67
67
|
- A standalone example must be **complete and correct** at its stated scope. Mark a partial excerpt as an excerpt, state its prerequisites, and never leave an essential step behind `// ...`. Do not offer an incomplete block as click-to-copy code.
|
|
68
|
+
- **State version requirements, not the test log.** Say which release a feature needs and pin what the reader runs. Do not end a page with how and when you verified it (SDK build, image digest or SHA, date, "tested with", which samples were not run); that belongs in the change summary. See **cratis-technical-examples**.
|
|
68
69
|
- **Short illustrative snippets** may be purpose-built after checking their framework APIs against source. Derive substantial or runnable examples from compiled, tested sample or spec code; extract or check displayed snippets with the owning repository's tooling so they do not drift. Never substitute a bare “see the repository” link for showing the code.
|
|
69
70
|
- Where a feature spans products or languages, show both sides when both matter. Keep causal explanations sequential; use tabs only for alternatives.
|
|
70
71
|
|
|
@@ -75,6 +75,28 @@ language tabs. Never hand-edit a generated proxy or a synchronized docs copy.
|
|
|
75
75
|
6. Record the source revision and verification scope in the change summary,
|
|
76
76
|
not as a permanent receipt embedded in the page.
|
|
77
77
|
|
|
78
|
+
## Version constraints belong in the page; the test log does not
|
|
79
|
+
|
|
80
|
+
A reader needs the versions that change what they install or write. Published
|
|
81
|
+
prose can say that a feature needs a minimum release ("Variants need Chronicle
|
|
82
|
+
19.1.0 or later"), pin packages and images in the commands a reader runs, and
|
|
83
|
+
name the one release where behavior changed.
|
|
84
|
+
|
|
85
|
+
Keep the author's verification record out of the page. Exact SDK builds, image
|
|
86
|
+
digests or commit SHAs recorded for provenance, the date it was run, "tested
|
|
87
|
+
with X on Y", "also checked against a development server", counts of passing
|
|
88
|
+
specifications and a list of which tabs were not run are all a log of what
|
|
89
|
+
the author did. A reader cannot act on them, they are stale by the next
|
|
90
|
+
release, and a page that ends in an audit trail reads as generated, not
|
|
91
|
+
written. Put them in the change summary, the pull request comment or
|
|
92
|
+
`.ai-work/`, per the step above.
|
|
93
|
+
|
|
94
|
+
Test each version sentence: would a reader install or write something
|
|
95
|
+
different because of it? If not, remove it. A real limitation stays, stated as
|
|
96
|
+
a fact about the product ("the Kotlin client has no equivalent yet"), not as a
|
|
97
|
+
record of what was and was not run. A digest in a command the reader runs is
|
|
98
|
+
part of the command, not a note, and stays.
|
|
99
|
+
|
|
78
100
|
## Know what the owning gate actually checks
|
|
79
101
|
|
|
80
102
|
Look for a snippet validator before designing another checker. Arc and
|