@cratis/pi 7.47.0 → 7.47.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.
@@ -90,7 +90,9 @@ and captured-time semantics, never one exact random suffix.
90
90
  - Randomness is not idempotency, storage freshness or a gapless invoice allocator.
91
91
  Arc#3129 freshness is not delivered by this parameter API; Stage's v15 explicit
92
92
  scopes are a separate realization.
93
- - ApiKey is a credential, never a Chronicle stream ID. `[NotAudited]` protects
93
+ - ApiKey is a credential, never a Chronicle stream ID: event-source IDs are plaintext
94
+ metadata and cannot be encrypted. Identify the key with a separate `ApiKeyId` and keep
95
+ ApiKey a secret value property. `[NotAudited]` protects
94
96
  causation only. Never log captures, return secrets on public endpoints, or
95
97
  append plaintext authentication credentials. Retain a hash; for retained
96
98
  operational secrets use `[Encrypted]` plus `[NotAudited]`.
@@ -88,7 +88,9 @@ before the Unix epoch. A fixed context fixes the timestamp, not random suffixes.
88
88
  - Client-minted customer/order IDs stay inputs. Do not replace them on retry.
89
89
  - Random values supply neither idempotency nor gapless invoice allocation.
90
90
  - An ID is not an authentication token or authorization policy.
91
- - ApiKey is a **secret**, not an event-source ID. `[NotAudited]` withholds command
91
+ - ApiKey is a **secret**, not an event-source ID: event-source IDs are plaintext metadata
92
+ and cannot be encrypted. Use a separate `ApiKeyId` as the identity and keep ApiKey a
93
+ secret value property. `[NotAudited]` withholds command
92
94
  causation values; it does not protect logs, responses or storage. Deliver a
93
95
  credential only over an authorized secure channel and retain its hash, not
94
96
  plaintext. For a retained operational integration secret instead, use
@@ -161,7 +161,8 @@ and [generation strategies](../../cratis-screenplay-toolchain/references/generat
161
161
  Stage emits strategy-specific `IGeneratable<T>.New()` factories over Fundamentals
162
162
  7.24.0 (via the Arc scaffold pin in Stage's `references/rendered-application.md`). v15 generated destinations use explicit
163
163
  `EventsWithConcurrencyScopes` with `BeforeFirst` whole-source scopes; Chronicle
164
- checks atomically at append. Generated rejection specs assert
164
+ checks atomically at append: a batch's scopes are checked once against the state before
165
+ the batch, all or nothing, and a storage retry that renumbers the append checks them again. Generated rejection specs assert
165
166
  `ValidationResultReason.ConcurrencyViolation`, not Arc's message text. This is
166
167
  Stage's explicit realization, not a claim that Arc #3129 is delivered.
167
168
  Time-based factories use wall clock, not command-receipt timestamps.
@@ -19,7 +19,8 @@ recovery describes that strategy shape, not equivalent clock/tenant semantics.
19
19
  Context-member/rule recovery stays in code (Screenplay#616 phase 3).
20
20
 
21
21
  The shop's ApiKey remains a **secret**. In .NET its factory is `Bytes(32)` and its
22
- concept is `[NotAudited]`; executable secret generation is **not released in
22
+ concept is `[NotAudited]`. It is never an identifier (event-source IDs are plaintext
23
+ metadata); a separate `ApiKeyId` identifies the key. Executable secret generation is **not released in
23
24
  Screenplay** (phase 4). The declaration below preserves classification without
24
25
  adding `generate bytes 32` or a generated command property. No API-key issuance
25
26
  behavior is claimed; retain it as an explicit gap/owning implementation contract.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "7.47.0",
3
+ "version": "7.47.1",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [