@sema-agent/core 7.21.0 → 7.21.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.21.1 — 2026-09-17
|
|
4
|
+
|
|
5
|
+
### Widening (default ON) — memory consolidation runs by itself once the recommendation threshold is crossed (#761 follow-up; ruling: align with the reference CLI's auto-dream; @server @cli @client-core)
|
|
6
|
+
- **Before (7.21.0).** `AUTO_RUN_ON_RECOMMENDATION_DEFAULT` shipped `false`: an ABSENT `RunnerDeps.autoRunOnRecommendation` seat only minted the `memory.consolidation_recommended` notice and the host had to run consolidation itself.
|
|
7
|
+
- **After.** The named default is `true`: on a deployment that wired `memoryConsolidation` AND a resolvable consolidation model seat, an absent seat ARMS the trigger — the terminal harvest that crosses the threshold (24h ∧ 5 sessions, the recommendation edge's own gate, unchanged) fires ONE host consolidation run at the post-task tail; the effective wiring manifest carries `autoConsolidation: { onRecommendation: true }` (in the fingerprint) on such deployments. An explicit `false` is the off switch and beats the default. A deployment without consolidation wired, or with no model seat, is NOT armed by the default (byte-unchanged).
|
|
8
|
+
- **Reach.** Memory content crosses to the configured consolidation model automatically on every recommending task — an EGRESS decision now ON by default; multi-tenant deployments turn it off with an explicit `false` on the seat. Manifest `configFingerprint` drifts once on every deployment that becomes armed by this default. Pins: absent seat + both seats wired ⇒ armed, manifest cell present; absent seat + no consolidation ⇒ not armed; explicit `false` ⇒ off.
|
|
9
|
+
|
|
3
10
|
## 7.21.0 — 2026-09-17
|
|
4
11
|
|
|
5
12
|
### Widening (ask → allow), one spelling — the shell read boundary's word scan now resolves a home-prefixed operand (#856; completes #854 for `~/x`; deployments declaring `readFace: "open"` widen, `"roots"` widens only where the home lies inside the roots; @server @cli re-pin)
|
|
@@ -79,11 +79,12 @@ export declare function autoRunConsolidationFromRecommendation(args: {
|
|
|
79
79
|
}): Promise<void>;
|
|
80
80
|
/**
|
|
81
81
|
* THE shipped default for `RunnerDeps.autoRunOnRecommendation` when the seat is
|
|
82
|
-
* ABSENT
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* ABSENT: ON — the reference CLI's auto-dream form (auto-execute under the same 24h ∧ 5-session
|
|
83
|
+
* threshold gate the recommendation edge already uses; an explicit `false` is the deployment's off
|
|
84
|
+
* switch). One named value so the polarity is this one line; every sentence about the default names
|
|
85
|
+
* this constant rather than spelling a polarity. Read ONLY through {@link autoRunOnRecommendationEffective}.
|
|
85
86
|
*/
|
|
86
|
-
export declare const AUTO_RUN_ON_RECOMMENDATION_DEFAULT =
|
|
87
|
+
export declare const AUTO_RUN_ON_RECOMMENDATION_DEFAULT = true;
|
|
87
88
|
/**
|
|
88
89
|
* The ONE resolver of "is auto-consolidation armed on this deployment", read by the
|
|
89
90
|
* prepare door's manifest fact and by the settle-tail trigger (never re-derived at a call site):
|
|
@@ -81,7 +81,7 @@ export function autoRunConsolidationFromRecommendation(args) {
|
|
|
81
81
|
}
|
|
82
82
|
})();
|
|
83
83
|
}
|
|
84
|
-
export const AUTO_RUN_ON_RECOMMENDATION_DEFAULT =
|
|
84
|
+
export const AUTO_RUN_ON_RECOMMENDATION_DEFAULT = true;
|
|
85
85
|
export function autoRunOnRecommendationEffective(deps) {
|
|
86
86
|
const raw = deps.autoRunOnRecommendation;
|
|
87
87
|
if (raw === true)
|
|
@@ -396,7 +396,7 @@ export interface RunnerDeps {
|
|
|
396
396
|
* the consolidation threshold (the same edge that mints `memory.consolidation_recommended`) fires
|
|
397
397
|
* ONE host consolidation run for the recommended scope at the post-task tail — fire-and-forget,
|
|
398
398
|
* result-first, never on the harvest tail itself. Explicit `false` = OFF (the deployment's own off
|
|
399
|
-
* switch; it beats the default). ABSENT = the named default `AUTO_RUN_ON_RECOMMENDATION_DEFAULT`
|
|
399
|
+
* switch; it beats the default). ABSENT = the named default `AUTO_RUN_ON_RECOMMENDATION_DEFAULT` (ON)
|
|
400
400
|
* (`memory-consolidation-driver.ts`, read through `autoRunOnRecommendationEffective` — the ONE
|
|
401
401
|
* resolver), applied ONLY where a run could actually happen (the protocol switch wired AND a model
|
|
402
402
|
* seat resolvable): a default-on value never arms a deployment that wired no consolidation.
|
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"version": "7.21.1",
|
|
4
|
+
"from": "d1999920883607f4063bb8e311f0cc98633218c4",
|
|
5
|
+
"to": "v7.21.1",
|
|
6
|
+
"added": [],
|
|
7
|
+
"removed": [],
|
|
8
|
+
"changed": [],
|
|
9
|
+
"narrowed": [],
|
|
10
|
+
"closedSetMembers": [],
|
|
11
|
+
"closedSetsUnreadable": [],
|
|
12
|
+
"typeKeys": [],
|
|
13
|
+
"declarationMoves": [],
|
|
14
|
+
"mintMoves": [],
|
|
15
|
+
"criteriaObserves": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "typeMember",
|
|
18
|
+
"name": "RunnerDeps.autoRunOnRecommendation",
|
|
19
|
+
"assertions": [
|
|
20
|
+
"G1.b",
|
|
21
|
+
"G1.c"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "typeMember",
|
|
26
|
+
"name": "WiringManifest.autoConsolidation",
|
|
27
|
+
"assertions": [
|
|
28
|
+
"G1.a"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"consumersHint": {
|
|
33
|
+
"cli": [],
|
|
34
|
+
"server": [],
|
|
35
|
+
"sdk": [],
|
|
36
|
+
"note": "scanned cli@0f132216 server@6e121caf sdk@6209e5e — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
37
|
+
},
|
|
38
|
+
"breakingCount": 0,
|
|
39
|
+
"breakingItems": [],
|
|
40
|
+
"toResolvedAt": "33bdf10459de6fbf3a9ede670468f73f95203628"
|
|
41
|
+
}
|