@miller-tech/uap 2.36.4 → 2.39.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/config/model-profiles/qwen38.json +3 -3
- package/config/model-registry.json +96 -6
- package/dist/.tsbuildinfo +1 -1
- package/dist/bin/cli.js +57 -0
- package/dist/bin/cli.js.map +1 -1
- package/dist/cli/deliver.d.ts +46 -0
- package/dist/cli/deliver.d.ts.map +1 -1
- package/dist/cli/deliver.js +155 -36
- package/dist/cli/deliver.js.map +1 -1
- package/dist/cli/models.d.ts +11 -1
- package/dist/cli/models.d.ts.map +1 -1
- package/dist/cli/models.js +164 -3
- package/dist/cli/models.js.map +1 -1
- package/dist/cli/workflow.d.ts +36 -0
- package/dist/cli/workflow.d.ts.map +1 -0
- package/dist/cli/workflow.js +246 -0
- package/dist/cli/workflow.js.map +1 -0
- package/dist/delivery/run-state.d.ts +1 -1
- package/dist/delivery/run-state.d.ts.map +1 -1
- package/dist/delivery/run-state.js +1 -1
- package/dist/delivery/run-state.js.map +1 -1
- package/dist/delivery/team-solve-deliver.d.ts +83 -0
- package/dist/delivery/team-solve-deliver.d.ts.map +1 -0
- package/dist/delivery/team-solve-deliver.js +191 -0
- package/dist/delivery/team-solve-deliver.js.map +1 -0
- package/dist/inference/model-files.d.ts +111 -0
- package/dist/inference/model-files.d.ts.map +1 -0
- package/dist/inference/model-files.js +172 -0
- package/dist/inference/model-files.js.map +1 -0
- package/dist/placement/registry.d.ts +650 -0
- package/dist/placement/registry.d.ts.map +1 -1
- package/dist/placement/registry.js +21 -0
- package/dist/placement/registry.js.map +1 -1
- package/dist/workflow/loader.d.ts +34 -0
- package/dist/workflow/loader.d.ts.map +1 -0
- package/dist/workflow/loader.js +232 -0
- package/dist/workflow/loader.js.map +1 -0
- package/dist/workflow/runner.d.ts +90 -0
- package/dist/workflow/runner.d.ts.map +1 -0
- package/dist/workflow/runner.js +416 -0
- package/dist/workflow/runner.js.map +1 -0
- package/dist/workflow/types.d.ts +400 -0
- package/dist/workflow/types.d.ts.map +1 -0
- package/dist/workflow/types.js +147 -0
- package/dist/workflow/types.js.map +1 -0
- package/docs/INDEX.md +1 -0
- package/docs/architecture/adr/0013-declarative-workflow-layer.md +99 -0
- package/docs/architecture/adr/0014-loop-steps-and-team-solve-deliver.md +142 -0
- package/docs/benchmarks/LCB_DROID_SMOKE.md +111 -0
- package/docs/guides/DELIVER.md +3 -1
- package/docs/guides/WORKFLOWS.md +179 -0
- package/docs/plans/model-performance-proof-options.md +39 -0
- package/docs/reference/CLI.md +33 -0
- package/docs/reference/CONFIGURATION.md +1 -0
- package/docs/reference/FEATURES.md +18 -0
- package/examples/auto-coordinator-example.js +127 -0
- package/examples/demo-order-solid.ts +19 -0
- package/examples/order-processing-strategy-pattern.ts +186 -0
- package/examples/order-processor-refactored.ts +473 -0
- package/examples/order-solid-refactor.ts +830 -0
- package/examples/refactored-order-processing.ts +106 -0
- package/examples/run-order-processing.ts +48 -0
- package/examples/solid-order-processing.ts +324 -0
- package/examples/strategy-pattern-example.ts +100 -0
- package/examples/workflows/team-solve/README.md +85 -0
- package/examples/workflows/team-solve/check-samples.sh +50 -0
- package/examples/workflows/team-solve/sample/task.md +22 -0
- package/examples/workflows/team-solve/sample/tests/1.in +2 -0
- package/examples/workflows/team-solve/sample/tests/1.out +1 -0
- package/examples/workflows/team-solve/sample/tests/2.in +2 -0
- package/examples/workflows/team-solve/sample/tests/2.out +1 -0
- package/examples/workflows/team-solve/sample/tests/3.in +2 -0
- package/examples/workflows/team-solve/sample/tests/3.out +1 -0
- package/examples/workflows/team-solve/sample/tests/4.in +2 -0
- package/examples/workflows/team-solve/sample/tests/4.out +1 -0
- package/examples/workflows/team-solve/sample/tests/5.in +1 -0
- package/examples/workflows/team-solve/sample/tests/5.out +1 -0
- package/examples/workflows/team-solve/steps/ideate-a.md +26 -0
- package/examples/workflows/team-solve/steps/ideate-b.md +28 -0
- package/examples/workflows/team-solve/steps/plan.md +20 -0
- package/examples/workflows/team-solve/steps/repair.md +25 -0
- package/examples/workflows/team-solve/steps/review.md +29 -0
- package/examples/workflows/team-solve/steps/solve.md +26 -0
- package/examples/workflows/team-solve/workflow.yaml +78 -0
- package/examples/workflows/team-solve-deliver/README.md +84 -0
- package/examples/workflows/team-solve-deliver/steps/ideate-a.md +25 -0
- package/examples/workflows/team-solve-deliver/steps/ideate-b.md +28 -0
- package/examples/workflows/team-solve-deliver/steps/plan.md +25 -0
- package/examples/workflows/team-solve-deliver/steps/repair.md +20 -0
- package/examples/workflows/team-solve-deliver/steps/review.md +31 -0
- package/examples/workflows/team-solve-deliver/steps/solve.md +28 -0
- package/examples/workflows/team-solve-deliver/steps/verify.md +9 -0
- package/examples/workflows/team-solve-deliver/workflow.yaml +74 -0
- package/package.json +2 -1
- package/src/policies/enforcers/__pycache__/_common.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/expert_review_required.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/quality_metrics_gate.cpython-311.pyc +0 -0
- package/templates/hooks/__pycache__/deliver_autoroute.cpython-311.pyc +0 -0
- package/tools/agents/scripts/__pycache__/toolcall_path_normalizer.cpython-311.pyc +0 -0
- package/tools/agents/scripts/anthropic_proxy.py +163 -18
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"_description": "Qwen3.8 Flash-Next — local Strata serve-layer deployment for agentic tool-calling workloads. Successor to qwen36 and to the 2026-09-20 GSQ-RCO llama.cpp deployment; the default local executor in UAP routing. Routes through the anthropic-proxy for the tool/finalize guardrails, NOT the inference server directly.",
|
|
4
4
|
"_engine": "strata serve layer 0.1.44.1 (build_info 'Strata 0.1.44.1', compiled locally with the user-space CUDA 13.4 toolkit) on :8080, launched by the systemd user unit uap-strata-server.service with /home/cogtek/dev/strata/strata-swift-iq3_s.json since the 2026-10-17 Swift 1.5 A/B trial (revert: repoint the unit's --config at strata-iq3_s.json, daemon-reload, restart; the unit file carries the dated note). Serves llama.cpp-shaped /props, /slots and /v1, plus a JSON /metrics (engine/live/requests — NOT Prometheus text; `uap inference health` auto-detects it). Weights: strata-data pack swift-iq3_s (Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, the UkisAI reasoning-efficient post-train, since the 2026-10-17 trial; predecessor base Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S since the 2026-10-07 swap per the IQ3_S speed≈IQ3_XXS reports; earlier predecessors Swift 1.5 IQ3_XXS 2026-10-06, Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS, native experts + PLE shard) with MTP speculative drafts (spec 8 since the 2026-10-06 tuning; spec-min-p 0.70 after the 0.1.44.1-era calibration, previously 0.8, before that 0.5; previously spec 4, mtp_max 4) and an auto-sized expert cache. Model id advertised at /v1/models: swift-1.5-iq3_s; the server ignores requested model ids entirely, which is why stale client pins (e.g. a resumed session still naming qwen36 or qwen3.8-flash-next ids) keep working.",
|
|
5
5
|
"_engine_history": "SUPERSEDED 2026-10-04: this profile described buun-llama-cpp behind uap-gsq-rco-server.service (2 rails sharing a 229376-cell VBR pool, DFlash2 draft). That unit is now INACTIVE — the box serves the Strata layer on :8080 instead (tuned 2026-10-03: +15% over the llama.cpp fork on agent workloads). The old description was itself a 2026-09-20 correction of a ninfer-serve description. Verify against /metrics before trusting engine claims here; the dead unit's ExecStart still reports -c 229376 to systemctl, and on 2026-10-04 `uap inference health` printed that stale pool size for the live (131072) backend.",
|
|
6
|
-
"model": "
|
|
7
|
-
"_model_comment": "The alias the live backend advertises at /v1/models; the rails suite drift-checks this field against the serving process (test/model-profiles-qwen38-rails.test.ts). 2026-10-17: the Swift 1.5 IQ3_S A/B trial swapped the unit from the base pack, which advertised qwen3.8-flash-next-iq3_s. The server ignores requested model ids, so clients pinning the old id are unaffected; on revert, restore this field alongside the unit's --config.",
|
|
6
|
+
"model": "abliterated-iq2_xs",
|
|
7
|
+
"_model_comment": "The alias the live backend advertises at /v1/models; the rails suite drift-checks this field against the serving process (test/model-profiles-qwen38-rails.test.ts). 2026-10-17: the Swift 1.5 IQ3_S A/B trial swapped the unit from the base pack, which advertised qwen3.8-flash-next-iq3_s. The server ignores requested model ids, so clients pinning the old id are unaffected; on revert, restore this field alongside the unit's --config. 2026-10-28: the unit default moved to the DavidAU abliterated IQ2_XS arm (uap-strata-server -> strata-abliterated-iq2_xs.json), so the live alias is abliterated-iq2_xs; updated here the same day the rails drift-check caught it (the _engine description above still documents the Swift 1.5 A/B trial era).",
|
|
8
8
|
"max_tokens": 57344,
|
|
9
9
|
"_max_tokens_comment": "Deliberately generous: 50% of the 114688 window, the same ratio the previous 65536/131072 pairing used. The engine returns chain-of-thought in a SEPARATE reasoning_content field, so reasoning spends completion budget without ever appearing in content. A tight cap therefore does not produce a short answer, it produces an EMPTY one with finish_reason=length — measured previously as ~90% first-turn decode failure that read as bad output format and was really budget truncation. Do not lower this without re-measuring decode compliance. (The proxy additionally clamps tool turns to PROXY_TOOL_TURN_MAX_TOKENS=32768 regardless.)",
|
|
10
10
|
"temperature": 0.3,
|
|
@@ -75,4 +75,4 @@
|
|
|
75
75
|
"endpoint": "http://127.0.0.1:4000/v1",
|
|
76
76
|
"_comment": "Route through the anthropic-proxy, NOT the strata port directly — the proxy applies the tool/finalize guardrails and, via this profile, the per-session context window that clients size their history to. Clients select this profile with the header 'x-uap-model-profile: qwen38' (or a uap_model_profile body param)."
|
|
77
77
|
}
|
|
78
|
-
}
|
|
78
|
+
}
|
|
@@ -54,6 +54,28 @@
|
|
|
54
54
|
"engine": "strata",
|
|
55
55
|
"unit": "uap-strata-server",
|
|
56
56
|
"note": "Swift 1.5 (UkisAI reasoning-efficient Flash-Next post-train) GSQ-RCO IQ3_S on the strata engine; A/B trial vs strata-iq3_s since 2026-10-17 with identical tuning (spec 8/0.70, vram-reserve 3072, int8 KV resident 32768, 131k). Weights: ukisai Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, sha256-verified, PLE table in shard 1 (setup-detected); pack strata-data/packs/swift-iq3_s; config strata-swift-iq3_s.json behind uap-strata-server.service (revert: point the unit --config back at strata-iq3_s.json, daemon-reload, restart). Run `uap models measure` to record this machine's footprint before it can load (fail-closed). Trial evidence: /home/cogtek/dev/strata/bench/results/2026-10-17-swift-iq3s-trial/."
|
|
57
|
+
},
|
|
58
|
+
"strata-abliterated-iq2_xs": {
|
|
59
|
+
"status": "unmeasured",
|
|
60
|
+
"engine": "strata",
|
|
61
|
+
"unit": "uap-strata-server",
|
|
62
|
+
"note": "The LIVE :8080 default arm since 2026-10-28 (DavidAU abliterated Flash-Next at IQ2_XS, full expert pinning without the IQ3_S RAM-OOM risk; engine 0.1.52, config strata-abliterated-iq2_xs.json). Raw GGUF shards declared here: the pack (strata-data/packs/abliterated-iq2_xs) is derived from them by tools/iq_pack.py and rebuilds from these files; shard 2 is byte-identical across the repo's tiers (verified 2026-10-28).",
|
|
63
|
+
"files": [
|
|
64
|
+
{
|
|
65
|
+
"path": "/home/cogtek/models/strata-data/models/abliterated-IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ2_XS-00001-of-00002.gguf",
|
|
66
|
+
"repo": "SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF",
|
|
67
|
+
"file": "Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ2_XS-00001-of-00002.gguf",
|
|
68
|
+
"bytes": 39665015072,
|
|
69
|
+
"sha256": "4acc3ebb5050d20117bdc77fc39200e709dfe2b2367f3522c95b9112a30aff81"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "/home/cogtek/models/strata-data/models/abliterated-IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ2_XS-00002-of-00002.gguf",
|
|
73
|
+
"repo": "SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF",
|
|
74
|
+
"file": "Qwen3.8-Flash-Next-GSQ-RCO-abliterated-IQ2_XS-00002-of-00002.gguf",
|
|
75
|
+
"bytes": 28800138432,
|
|
76
|
+
"sha256": "316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
57
79
|
}
|
|
58
80
|
},
|
|
59
81
|
"advertises": ["qwen3.8-flash-next-iq3_s", "swift-1.5-iq3_s", "gpt-5.1-codex"]
|
|
@@ -64,13 +86,21 @@
|
|
|
64
86
|
"task_affinity": ["code", "general"],
|
|
65
87
|
"affinity": { "device": ["gpu0"] },
|
|
66
88
|
"endpoint": "http://127.0.0.1:8080",
|
|
67
|
-
"advertises": ["Qwen3.8-27B"],
|
|
89
|
+
"advertises": ["Qwen3.8-27B", "qwen38-ampere-27b", "qwen38-swift-27b", "Qwen3.8-27B-Q4_K_M.gguf"],
|
|
68
90
|
"configs": {
|
|
69
91
|
"llama-mtp": {
|
|
70
92
|
"status": "unmeasured",
|
|
71
93
|
"engine": "llama.cpp",
|
|
72
94
|
"unit": "uap-llama-server",
|
|
73
|
-
"profile": "config/llama-profiles/qwen38-27b-mtp.env"
|
|
95
|
+
"profile": "config/llama-profiles/qwen38-27b-mtp.env",
|
|
96
|
+
"files": [
|
|
97
|
+
{
|
|
98
|
+
"path": "/home/cogtek/Downloads/Qwen3.8-27B-UD-IQ4_XS.gguf",
|
|
99
|
+
"repo": "unsloth/Qwen3.8-27B-GGUF",
|
|
100
|
+
"file": "Qwen3.8-27B-UD-IQ4_XS.gguf",
|
|
101
|
+
"bytes": 14252845984
|
|
102
|
+
}
|
|
103
|
+
]
|
|
74
104
|
},
|
|
75
105
|
"exl3-4bit": {
|
|
76
106
|
"status": "unmeasured",
|
|
@@ -86,23 +116,83 @@
|
|
|
86
116
|
"signal": {
|
|
87
117
|
"status": "unmeasured",
|
|
88
118
|
"engine": "llama.cpp",
|
|
89
|
-
"unit": "uap-signal-server"
|
|
119
|
+
"unit": "uap-signal-server",
|
|
120
|
+
"files": [
|
|
121
|
+
{
|
|
122
|
+
"path": "/home/cogtek/models/signal-27b/AP-IQ4_XS/Signal-3.8-27B-AP-IQ4_XS.gguf",
|
|
123
|
+
"bytes": 14252844608
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "/home/cogtek/models/signal-27b/mmproj-BF16.gguf",
|
|
127
|
+
"bytes": 931146432
|
|
128
|
+
}
|
|
129
|
+
]
|
|
90
130
|
},
|
|
91
131
|
"gsq-rco": {
|
|
92
132
|
"status": "unmeasured",
|
|
93
133
|
"engine": "llama.cpp",
|
|
94
134
|
"unit": "uap-gsq-rco-server",
|
|
95
|
-
"service": "gsq-rco-server"
|
|
135
|
+
"service": "gsq-rco-server",
|
|
136
|
+
"files": [
|
|
137
|
+
{
|
|
138
|
+
"path": "/home/cogtek/models/qwen3.8-27b-gsq-rco/Qwen3.8-27B-GSQ-RCO-IQ3_S.gguf",
|
|
139
|
+
"bytes": 11771546784
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"path": "/home/cogtek/models/qwen3.8-27b-gsq-rco/Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp.gguf",
|
|
143
|
+
"bytes": 12120016960
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"path": "/home/cogtek/models/qwen3.8-27b-gsq-rco/mmproj-Qwen3.8-27B-BF16.gguf",
|
|
147
|
+
"bytes": 931146528
|
|
148
|
+
}
|
|
149
|
+
]
|
|
96
150
|
},
|
|
97
151
|
"ampere": {
|
|
98
152
|
"status": "unmeasured",
|
|
99
153
|
"engine": "llama.cpp",
|
|
100
|
-
"unit": "uap-ampere-server"
|
|
154
|
+
"unit": "uap-ampere-server",
|
|
155
|
+
"rails": 2,
|
|
156
|
+
"note": "ATX-IQ4_XS-M (4.56 bpw, llamAmpere-tuned recipe: bulk IQ4_XS, Q5_0/Q6_K attention K/V, Q8_0 GDN vectors) on llamAmpere v0.3, the engine+quant pair measured on this GPU class (3090/3090 Ti): 99.4 tok/s clean decode, 93.2 at 100K depth, exact p/q draft verification (output distribution = target's exactly). The 2-rail arm since 2026-10-30, measured live: -c 86016 total / -np 2 = 43008 per rail, q8_0 K + turbo3 V KV (the fused SM86 MMA path), MTP-3 spec decode (70.4% acceptance measured), engine 18,400 MiB with 3,072-3,156 MiB free beside the live desktop — ~52 tok/s solo decode engine-side at full 318W draw (2 rails buy concurrency, not aggregate). Unit ExecStartPre runs `uap models ensure-by-path` so a deleted GGUF re-downloads before the start fails.",
|
|
157
|
+
"files": [
|
|
158
|
+
{
|
|
159
|
+
"path": "/home/cogtek/models/atx-iq4xs-m/Qwen3.8-27B-ATX-4-XS.gguf",
|
|
160
|
+
"repo": "jakeatx/Qwen3.8-27B-ATX-IQ4_XS-M-GGUF",
|
|
161
|
+
"file": "Qwen3.8-27B-ATX-4-XS.gguf",
|
|
162
|
+
"bytes": 15588551712,
|
|
163
|
+
"sha256": "5cf05ad901dcaa76f41db13a5629146ed882219339377a80e37b12a8528d963b"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
101
166
|
},
|
|
102
167
|
"swift": {
|
|
103
168
|
"status": "unmeasured",
|
|
104
169
|
"engine": "llama.cpp",
|
|
105
|
-
"unit": "uap-swift-server"
|
|
170
|
+
"unit": "uap-swift-server",
|
|
171
|
+
"files": [
|
|
172
|
+
{
|
|
173
|
+
"path": "/home/cogtek/models/swift-27b/Swift-Qwen3.8-27B-IQ4_XS.gguf",
|
|
174
|
+
"repo": "ukisai/Swift-Qwen3.8-27B-GGUF",
|
|
175
|
+
"file": "Swift-Qwen3.8-27B-IQ4_XS.gguf",
|
|
176
|
+
"bytes": 15688288352,
|
|
177
|
+
"sha256": "27f5531a012a4bb3c3e379318dc62216f057131d34347498fabfc23186a4ffda"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"openjet": {
|
|
182
|
+
"status": "unmeasured",
|
|
183
|
+
"engine": "openjet",
|
|
184
|
+
"unit": "uap-openjet-server",
|
|
185
|
+
"note": "OpenJet megakernel arm (:8080 default 2026-10-28 daytime, stood down evening for the strata switch-back). The Q4_K_M file under models/qwen3.8-27b-q4km went missing from disk after the arm was stood down — restored-on-demand via this manifest. unsloth deleted the file from main on 2026-08-19, so the source is the OpenJet catalog's pinned revision (open-jet src/config.py QWEN38_27B_URL).",
|
|
186
|
+
"files": [
|
|
187
|
+
{
|
|
188
|
+
"path": "/home/cogtek/models/qwen3.8-27b-q4km/Qwen3.8-27B-Q4_K_M.gguf",
|
|
189
|
+
"repo": "unsloth/Qwen3.8-27B-GGUF",
|
|
190
|
+
"file": "Qwen3.8-27B-Q4_K_M.gguf",
|
|
191
|
+
"rev": "566347e99d832d31f6245a577198d10d5bdd389e",
|
|
192
|
+
"bytes": 17106775008,
|
|
193
|
+
"sha256": "7e78da5d7e3ae28d178121f58646953305f3e5bd3cb46f4a75584e8b6c6fe169"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
106
196
|
}
|
|
107
197
|
}
|
|
108
198
|
}
|