vibeostheog 0.23.45 → 0.23.47

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,3 +1,13 @@
1
+ ## 0.23.47
2
+ - fix: harden integration tests against module-level state leakage
3
+ - fix: revert test-suite runner to original static list
4
+ - chore: sync release artifacts and test-suite scripts
5
+
6
+
7
+ ## 0.23.46
8
+ - fix: strip agent_mode from control vector to prevent ML plan-mode breakage
9
+
10
+
1
11
  ## 0.23.45
2
12
  - fix: propagate local agent_mode as fallback when remote CV omits it
3
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.23.45",
3
+ "version": "0.23.47",
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",
@@ -14,6 +14,8 @@
14
14
  "checkpoint:validate": "node scripts/checkpoint-validate.mjs",
15
15
  "test:scripts": "node --test scripts/tests/checkpoint-validate.test.mjs tests/release-pack.test.mjs",
16
16
  "ts:audit": "node scripts/ts-audit.mjs",
17
+ "test:unit": "node scripts/run-test-suite.mjs unit",
18
+ "test:integration": "node scripts/run-test-suite.mjs integration",
17
19
  "test": "node scripts/run-test-suite.mjs full",
18
20
  "test:ci": "node scripts/run-test-suite.mjs ci",
19
21
  "guard": "bash plugins/vibetheog-guard/scripts/run-guard.sh",
@@ -75,11 +75,15 @@ async function apiComputeControlVector(state, action, optimizationMode) {
75
75
  const res = await remoteCall("blackboxControlVector", [state, action, optimizationMode], null);
76
76
  if (res?.control_vector) {
77
77
  const local = computeControlVector(state, action, optimizationMode);
78
- return { agent_mode: local.agent_mode, ...res.control_vector, tier_bias: local.tier_bias, optimization_mode: local.optimization_mode };
78
+ const cv = { agent_mode: local.agent_mode, ...res.control_vector, tier_bias: local.tier_bias, optimization_mode: local.optimization_mode };
79
+ delete cv.agent_mode;
80
+ return cv;
79
81
  }
80
82
  }
81
83
  catch { }
82
- return computeControlVector(state, action, optimizationMode);
84
+ const fallbackCv = computeControlVector(state, action, optimizationMode);
85
+ delete fallbackCv.agent_mode;
86
+ return fallbackCv;
83
87
  }
84
88
  function observeUserCorrection(text) {
85
89
  if (!text || typeof text !== "string")