vibeostheog 0.23.58 → 0.23.59
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 +8 -0
- package/package.json +1 -1
- package/src/lib/classifiers.js +2 -2
- package/src/lib/turn-classify.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.23.59
|
|
2
|
+
- chore: soften footer enforcement copy
|
|
3
|
+
- chore: align medium icon legend
|
|
4
|
+
- chore: v0.23.57
|
|
5
|
+
Merge remote-tracking branch 'origin/master' into fix/audit-forensic-ml-routing
|
|
6
|
+
Merge pull request #117 from DrunkkToys/fix/audit-forensic-ml-routing
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## 0.23.57
|
|
2
10
|
- fix: keep the dopamine footer compact, add flash/free tier icons, and make shell/enforcement copy feel calmer
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.59",
|
|
4
4
|
"description": "Cost-aware delegation enforcer for OpenCode. Tracks model usage, routes Task subagents to cheaper tiers, surfaces cumulative savings in chat. Includes research audit, reporting framework, project memory, progressive scratchpad decadence, and trinity CLI for brain/medium/cheap slot switching.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"release": "node scripts/release.mjs",
|
package/src/lib/classifiers.js
CHANGED
|
@@ -96,10 +96,10 @@ export function classifyTurnSimple(userText) {
|
|
|
96
96
|
const lower = String(userText || "").trim();
|
|
97
97
|
if (!lower)
|
|
98
98
|
return "INIT";
|
|
99
|
-
if (/(security|vulnerability|audit|owasp|compliance|gdpr|privacy|analyze dependencies|license audit
|
|
99
|
+
if (/(security|vulnerability|audit|owasp|compliance|gdpr|privacy|analyze dependencies|license audit)/i.test(lower)) {
|
|
100
100
|
return "AUDIT";
|
|
101
101
|
}
|
|
102
|
-
if (/(inject|exploit|penetration|cve|attack|threat|encrypt|forensic|research|deep analysis|investigate|root cause|reverse engineer|disassemble|memory dump|core dump)/i.test(lower)) {
|
|
102
|
+
if (/(inject|exploit|penetration|cve|attack|threat|encrypt|xss|csrf|authn|authz|pentest|forensic|research|deep analysis|investigate|root cause|reverse engineer|disassemble|memory dump|core dump)/i.test(lower)) {
|
|
103
103
|
return "FORENSIC";
|
|
104
104
|
}
|
|
105
105
|
// Q&A / research patterns -> EXPLORING (relaxed enforcement)
|
package/src/lib/turn-classify.js
CHANGED
|
@@ -36,7 +36,7 @@ export function resolveOptimizationMode(subRegime, stressMultiplier, optimizatio
|
|
|
36
36
|
}
|
|
37
37
|
export function resolveOptimizationSlot(mode) {
|
|
38
38
|
const normalized = String(mode || "budget").toLowerCase();
|
|
39
|
-
return normalized === "speed" || normalized === "vibemax" || normalized === "vibelitex"
|
|
39
|
+
return normalized === "speed" || normalized === "vibemax" || normalized === "vibelitex" ? "medium"
|
|
40
40
|
: normalized === "quality" || normalized === "longrun" || normalized === "vibeultrax" || normalized === "vibeqmax" || normalized === "forensic" || normalized === "audit" ? "brain"
|
|
41
41
|
: "cheap";
|
|
42
42
|
}
|
|
@@ -91,14 +91,14 @@ export async function selectOptimizationModeRemote(subRegime, stressMultiplier,
|
|
|
91
91
|
}
|
|
92
92
|
function computeControlVector(_state, _action, _optimizationMode) {
|
|
93
93
|
const mode = resolveOptimizationMode(_state?.sub_regime, _state?.latest_stress_multiplier, _optimizationMode);
|
|
94
|
-
const isStrict = mode === "quality" || mode === "vibemax" || mode === "
|
|
94
|
+
const isStrict = mode === "quality" || mode === "vibemax" || mode === "forensic" || mode === "audit";
|
|
95
95
|
const isRelaxed = mode === "budget" || mode === "speed";
|
|
96
96
|
const subRegime = _state?.sub_regime || "INIT";
|
|
97
97
|
const stress = Number(_state?.latest_stress_multiplier ?? 0);
|
|
98
98
|
const tierBias = stress > QUALITY_STRESS_THRESHOLD ? "brain"
|
|
99
99
|
: subRegime === "CONVERGING" || subRegime === "CLOSED" ? "brain"
|
|
100
100
|
: subRegime === "REFINING" || subRegime === "LOOPING" ? "medium"
|
|
101
|
-
: mode === "quality" || mode === "longrun" || mode === "
|
|
101
|
+
: mode === "quality" || mode === "longrun" || mode === "forensic" || mode === "audit" ? "brain"
|
|
102
102
|
: mode === "speed" || mode === "vibemax" || mode === "vibelitex" ? "medium"
|
|
103
103
|
: mode === "balanced" ? "auto"
|
|
104
104
|
: "cheap";
|