@cratis/pi 7.153.9 → 7.153.10
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.
|
@@ -29,9 +29,22 @@ default) per [`general.md`](../../../rules/general.md).
|
|
|
29
29
|
- **[contract] Analyzers and generators are cheap or they are not added.** A slow one is an
|
|
30
30
|
upstream issue; see [`framework.md`](./framework.instructions.md) for how analyzers are written for speed.
|
|
31
31
|
- **[convention] Specify with the cheapest proof that is real.** Call a pure decision directly;
|
|
32
|
-
use
|
|
32
|
+
use the in-memory scenario helpers for slice behavior through the Arc/Chronicle pipeline, which
|
|
33
|
+
cost milliseconds. The per-artifact table is in
|
|
33
34
|
[`specs.scenarios.csharp.md`](./specs.scenarios.csharp.instructions.md); the universal base is in
|
|
34
35
|
[`specs.md`](./specs.instructions.md).
|
|
36
|
+
- **[convention] Hosts, kernels, containers and browsers prove only contracts this repository
|
|
37
|
+
owns:** storage format, wire protocol, migration, generated proxy or package, deploy image, or a
|
|
38
|
+
real third-party integration. Never start one to re-prove Arc or Chronicle behavior. Build it once
|
|
39
|
+
per class or collection, never per fact, and keep it out of the default pull-request lane unless
|
|
40
|
+
that contract changed.
|
|
41
|
+
- **[contract] Consumer routing/e2e and service-boundary regression tests stay in the
|
|
42
|
+
pull-request lane.** A consumer's test of its own routing, or of a boundary between its services,
|
|
43
|
+
protects a contract the repository owns; the previous bullet is not a reason to move it off pull
|
|
44
|
+
requests or retire it.
|
|
45
|
+
- **[contract] Retiring a consumer assertion needs a named upstream spec** in the owning
|
|
46
|
+
repository that fails when the consumer behavior breaks. Without that mapping the assertion
|
|
47
|
+
stays.
|
|
35
48
|
|
|
36
49
|
A cold full-suite run under a minute is the target for a repository's spec gate. It is a budget to
|
|
37
50
|
protect, not a reason to delete coverage.
|
|
@@ -28,9 +28,22 @@ default) per [`general.md`](./general.md).
|
|
|
28
28
|
- **[contract] Analyzers and generators are cheap or they are not added.** A slow one is an
|
|
29
29
|
upstream issue; see [`framework.md`](./framework.md) for how analyzers are written for speed.
|
|
30
30
|
- **[convention] Specify with the cheapest proof that is real.** Call a pure decision directly;
|
|
31
|
-
use
|
|
31
|
+
use the in-memory scenario helpers for slice behavior through the Arc/Chronicle pipeline, which
|
|
32
|
+
cost milliseconds. The per-artifact table is in
|
|
32
33
|
[`specs.scenarios.csharp.md`](./specs.scenarios.csharp.md); the universal base is in
|
|
33
34
|
[`specs.md`](./specs.md).
|
|
35
|
+
- **[convention] Hosts, kernels, containers and browsers prove only contracts this repository
|
|
36
|
+
owns:** storage format, wire protocol, migration, generated proxy or package, deploy image, or a
|
|
37
|
+
real third-party integration. Never start one to re-prove Arc or Chronicle behavior. Build it once
|
|
38
|
+
per class or collection, never per fact, and keep it out of the default pull-request lane unless
|
|
39
|
+
that contract changed.
|
|
40
|
+
- **[contract] Consumer routing/e2e and service-boundary regression tests stay in the
|
|
41
|
+
pull-request lane.** A consumer's test of its own routing, or of a boundary between its services,
|
|
42
|
+
protects a contract the repository owns; the previous bullet is not a reason to move it off pull
|
|
43
|
+
requests or retire it.
|
|
44
|
+
- **[contract] Retiring a consumer assertion needs a named upstream spec** in the owning
|
|
45
|
+
repository that fails when the consumer behavior breaks. Without that mapping the assertion
|
|
46
|
+
stays.
|
|
34
47
|
|
|
35
48
|
A cold full-suite run under a minute is the target for a repository's spec gate. It is a budget to
|
|
36
49
|
protect, not a reason to delete coverage.
|