@llblab/pi-state-flow 0.17.2 → 0.17.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/CHANGELOG.md +4 -0
- package/dist/lib/runtime.js +2 -1
- package/dist/package.json +1 -1
- package/lib/runtime.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
> Each release keeps at most 8 outcome records of at most 512 characters.
|
|
4
4
|
|
|
5
|
+
## 0.17.3: passive shared-memory concurrency
|
|
6
|
+
|
|
7
|
+
- `Passive concurrency`: First passive semantic or compilation-evidence writes now adopt untouched global/CWD updates made by another session after memory was loaded. Targeted shared-scope changes still reject stale writes with scope-specific diagnostics, and competing private-session writes remain fenced. No automatic patch replay, episode activation, storage-format change or weaker publication CAS is introduced.
|
|
8
|
+
|
|
5
9
|
## 0.17.2: incremental memory model documentation
|
|
6
10
|
|
|
7
11
|
- `README`: Explains the combination of durable state between user runs and native working context within each run. Clarifies global/CWD/session composition into effective memory, configurable historical access and optional Git backups, with a simpler flow diagram and a compact semantic-plane reference. Runtime behavior is unchanged.
|
package/dist/lib/runtime.js
CHANGED
|
@@ -423,7 +423,8 @@ export class TemporalRuntime {
|
|
|
423
423
|
let basis = this.view;
|
|
424
424
|
let base = this.base;
|
|
425
425
|
let basisProvenance = this.provenanceByScope;
|
|
426
|
-
|
|
426
|
+
// First passive writes also reconcile their selected basis; origin-only acceptance keeps its strict CAS.
|
|
427
|
+
if (this.semanticRevision || accepted !== undefined || provenanceScopes.length > 0) {
|
|
427
428
|
const changedScopes = new Set([
|
|
428
429
|
...(accepted?.transitions ?? []).map(({ scope }) => scope),
|
|
429
430
|
...provenanceScopes,
|
package/dist/package.json
CHANGED
package/lib/runtime.ts
CHANGED
|
@@ -438,7 +438,8 @@ export class TemporalRuntime {
|
|
|
438
438
|
let basis = this.view;
|
|
439
439
|
let base: TemporalFileBase = this.base;
|
|
440
440
|
let basisProvenance = this.provenanceByScope;
|
|
441
|
-
|
|
441
|
+
// First passive writes also reconcile their selected basis; origin-only acceptance keeps its strict CAS.
|
|
442
|
+
if (this.semanticRevision || accepted !== undefined || provenanceScopes.length > 0) {
|
|
442
443
|
const changedScopes = new Set<StateScope>([
|
|
443
444
|
...(accepted?.transitions ?? []).map(({ scope }) => scope),
|
|
444
445
|
...provenanceScopes,
|