@ngockhoale/ukit 3.0.5 → 3.0.6
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
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to UKit are documented here.
|
|
4
4
|
|
|
5
|
+
## 3.0.6 - 2026-09-24
|
|
6
|
+
|
|
7
|
+
- Clarified the project owner's `unic-decision` contract in owner instructions, project memory, the technical spec, and shipped internals: a local Lava/JEV model in UNIC Provider, not an LLM; the OpenAI-compatible API is transport for convenient integration, not evidence of remote hosting or generative-model pricing.
|
|
8
|
+
- Documented the preferred bounded typed-decision usage and the existing stage-off rollout/fallback in package-side client/config comments and the installed adapter, without changing runtime behavior or enabling decision calls.
|
|
9
|
+
|
|
5
10
|
|
|
6
11
|
## 3.0.5 - 2026-09-24
|
|
7
12
|
|
package/package.json
CHANGED
|
@@ -293,9 +293,12 @@ export function buildDefaultRuntimeConfig(overrides = {}) {
|
|
|
293
293
|
fastPath: { stage: 'off' },
|
|
294
294
|
escalation: { stage: 'off' },
|
|
295
295
|
},
|
|
296
|
-
// C52 M07
|
|
297
|
-
//
|
|
298
|
-
//
|
|
296
|
+
// C52 M07: `unic-decision` is the owner's local non-LLM Lava/JEV model in
|
|
297
|
+
// UNIC Provider. Its OpenAI-compatible API is transport only, not proof of
|
|
298
|
+
// remote hosting or generative-LLM billing. Prefer bounded typed decisions
|
|
299
|
+
// when staged on; all stages currently ship 'off' (no decision request),
|
|
300
|
+
// deterministic safety/completion policy stays authoritative.
|
|
301
|
+
// `enabled:false` is the global emergency disable.
|
|
299
302
|
decisionPlane: {
|
|
300
303
|
enabled: true,
|
|
301
304
|
stage: 'off',
|
package/src/decision/client.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* client.js (TASK-002 / M07)
|
|
3
3
|
*
|
|
4
|
-
* Typed client for the
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Typed client for the owner's LOCAL `unic-decision` model in UNIC Provider.
|
|
5
|
+
* It uses Lava/JEV technology and is NOT an LLM. OpenAI-compatible
|
|
6
|
+
* `POST <baseUrl>/v1/chat/completions` is only its interoperability transport,
|
|
7
|
+
* not evidence of remote hosting, generative semantics, or LLM pricing.
|
|
8
|
+
* See docs/pstack/UNIC_DECISION_SPEC.md (identity, §3/§15/§16).
|
|
9
|
+
*
|
|
10
|
+
* Prefer bounded classify/select/rank/score questions when decisionPlane.stage
|
|
11
|
+
* enables the caller; derive candidates in code, pass compact state and typed
|
|
12
|
+
* questions to createDecisionClient(...).requestBatch({ statePacket, questions }),
|
|
13
|
+
* then validate the outcome and retain deterministic safety/permission gates.
|
|
14
|
+
* The client does not itself switch a disabled rollout stage on.
|
|
7
15
|
*
|
|
8
16
|
* - Endpoint + credentials resolve via gatewayProbe env indirection only —
|
|
9
17
|
* no literal keys, no new credential store.
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* unic-decision.mjs (TASK-005 / M07, SPEC §5 FR-011)
|
|
4
4
|
*
|
|
5
|
-
* Standalone installed-side adapter for the
|
|
6
|
-
*
|
|
5
|
+
* Standalone installed-side adapter for the owner's local, non-LLM
|
|
6
|
+
* Lava/JEV `unic-decision` model in UNIC Provider. OpenAI-compatible
|
|
7
|
+
* /v1/chat/completions is a transport for easy integration, not evidence of
|
|
8
|
+
* an external generative LLM or LLM pricing. Prefer bounded typed semantic
|
|
9
|
+
* decisions when the caller's decisionPlane stage is enabled; this adapter
|
|
10
|
+
* does not change the rollout stage or override deterministic safety gates.
|
|
7
11
|
*
|
|
8
12
|
* Modes:
|
|
9
13
|
* node unic-decision.mjs --health-probe one no-tools request; the ONLY
|
|
@@ -140,6 +140,15 @@ the root contract is the only carrier — keep both in sync with
|
|
|
140
140
|
|
|
141
141
|
## 3-Tier Model Routing — full detail
|
|
142
142
|
|
|
143
|
+
`unic-decision` is **not** another LLM tier. The owner built this local,
|
|
144
|
+
near-zero-cost Lava/JEV model in UNIC Provider for fast typed semantic
|
|
145
|
+
decisions; the OpenAI-compatible API is a convenience transport, not a
|
|
146
|
+
generative-LLM or external-hosting claim. When `decisionPlane.stage` enables
|
|
147
|
+
it, use bounded candidate choices/rankings/scores through
|
|
148
|
+
`.claude/ukit/index/unic-decision.mjs`; keep safety, authorization and
|
|
149
|
+
completion gates deterministic. The shipped stage is `off` until explicitly
|
|
150
|
+
promoted. See `docs/pstack/UNIC_DECISION_SPEC.md` in the UKit development repo.
|
|
151
|
+
|
|
143
152
|
UKit routes tasks to one of three model tiers based on task complexity. The main session
|
|
144
153
|
model never changes mid-turn: a tier only takes effect when work is handed to an agent
|
|
145
154
|
whose own definition binds that model.
|