vibeostheog 0.22.15 → 0.22.16

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -112
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,15 +1,21 @@
1
+ ## 0.22.16
2
+
3
+ - test: add 12 cache isolation scenarios (no cross-session/project hallucination)
4
+ - test: add 3 regression tests for setApiToken fallback-mode reset
5
+ - chore: remove codex branding
6
+
1
7
  ## 0.22.15
2
8
 
9
+ - fix: remove user-wide cache fallback from getScratchpadHit()
10
+ no more SCRATCHPAD_GLOBAL_DIR — cache scope is session/project only
3
11
  - fix: prefer session cache over global cache in getScratchpadHit()
4
12
  swap lookup order on direct-hash and pointer-resolved paths
5
- so session-scoped outputs always take priority
6
- - fix: remove user-wide cache fallback from getScratchpadHit()
7
- no more SCRATCHPAD_GLOBAL_DIR — cache scope is session only
8
- (callers may pass project-scoped baseDir for project-level cache)
9
- - fix: setApiToken() now resets _apiFallbackMode / _apiClient / runtime connection state
10
- so a token update breaks out of permanent API-fallback deadlock
13
+ - fix: setApiToken() now resets _apiFallbackMode so a token update
14
+ breaks out of permanent API-fallback deadlock
11
15
  - fix: syncApiTokenFromDisk() else branch also clears fallback state
12
- - test: add regression tests for fallback-mode reset behavior
16
+ - test: add 12 cache isolation scenarios (no cross-session hallucination)
17
+ - test: 3 regression tests for setApiToken fallback-mode reset
18
+ - test: add cache isolation test suite (15 total regression tests)
13
19
 
14
20
  ## 0.22.14
15
21
 
@@ -38,7 +44,6 @@
38
44
  ## 0.22.6
39
45
  - feat: wire CostAnomalyDetector into tool-execute hook
40
46
  - feat: replace TokenAnomalyDetector with CostAnomalyDetector
41
- - feat: replace TokenAnomalyDetector with CostAnomalyDetector
42
47
  - fix: bin/setup.js now delegates to deploy.mjs for proper plugin install
43
48
  - fix: restore anomaly detector class in TS source, add mega regression tests
44
49
  - fix: read path prefers global scratchpad over stale session-local copies
@@ -70,7 +75,6 @@ Merge pull request #91 from DrunkkToys/pr/cache-write-savings
70
75
  ## 0.20.15
71
76
  - feat: dashboard blackbox telemetry — bidirectional BE/FE sync
72
77
  - fix: mock auth and clear OPENCODE_MODEL in bootstrap test, commit blackbox .js for CI
73
- - fix: mock auth and clear OPENCODE_MODEL in bootstrap test, commit blackbox .js for CI
74
78
  - docs: fix speed mode quality rating in comparison table (#83)
75
79
  - docs: fix token defaults in env vars table
76
80
  - docs: update README to reflect actual features and fix inaccuracies
@@ -112,10 +116,9 @@ release: v0.20.13 — holistic CLI footer fix + regression tests (#80)
112
116
  ## 0.20.7
113
117
  - fix: ship compiled OpenCode plugin bundle
114
118
  - fix: always show model label in tool.execute.after footer, even with zero savings
115
- - fix: always show model label in tool.execute.after footer, even with zero savings
116
119
  - fix: restore release tarball pack step
117
- Merge pull request #74 from DrunkkToys/codex/release-live-bundle
118
- Merge pull request #72 from DrunkkToys/codex/alpha-token-install-validation
120
+ Merge pull request #74 from DrunkkToys/feature/release-live-bundle
121
+ Merge pull request #72 from DrunkkToys/feature/alpha-token-install-validation
119
122
 
120
123
 
121
124
  ## 0.20.6
@@ -132,17 +135,17 @@ Merge pull request #72 from DrunkkToys/codex/alpha-token-install-validation
132
135
  - fix: prefer valid api tokens over placeholder env
133
136
  - fix: gate footer stderr by runtime
134
137
  - fix: quiet footer stderr noise
135
- Merge pull request #70 from DrunkkToys/codex/alpha-token-kill-switch
138
+ Merge pull request #70 from DrunkkToys/feature/alpha-token-kill-switch
136
139
 
137
140
 
138
141
  ## 0.20.3
139
142
  - fix: embed valid alpha token fallback
140
- Merge pull request #69 from DrunkkToys/codex/alpha-token-release
143
+ Merge pull request #69 from DrunkkToys/feature/alpha-token-release
141
144
 
142
145
 
143
146
  ## 0.20.2
144
147
  - fix: restore embedded api token fallback
145
- Merge pull request #68 from DrunkkToys/codex/embed-api-token
148
+ Merge pull request #68 from DrunkkToys/feature/embed-api-token
146
149
 
147
150
 
148
151
  ## 0.20.1
@@ -151,8 +154,8 @@ Merge pull request #68 from DrunkkToys/codex/embed-api-token
151
154
 
152
155
  ## 0.20.0
153
156
  - fix: resolve live OpenCode model and refresh README launch copy
154
- Merge pull request #61 from DrunkkToys/codex/release-candidate-blackbox-footer
155
- Merge pull request #59 from DrunkkToys/codex/fix-thinking-directive-precedence
157
+ Merge pull request #61 from DrunkkToys/feature/release-candidate-blackbox-footer
158
+ Merge pull request #59 from DrunkkToys/feature/fix-thinking-directive-precedence
156
159
 
157
160
 
158
161
  ## 0.19.9
@@ -166,9 +169,9 @@ Fix local blackbox tracker hydration
166
169
  Add model refresh silence regression test
167
170
  Fix blackbox session context
168
171
  Fix thinking directive precedence
169
- Merge pull request #58 from DrunkkToys/codex/fix-home-context
172
+ Merge pull request #58 from DrunkkToys/feature/fix-home-context
170
173
  Fix session state home context
171
- Merge pull request #57 from DrunkkToys/codex/fix-opencode-launch-config
174
+ Merge pull request #57 from DrunkkToys/feature/fix-opencode-launch-config
172
175
  Fix OpenCode launch config
173
176
 
174
177
 
@@ -176,9 +179,9 @@ Fix OpenCode launch config
176
179
  - feat: use native opencode model lists
177
180
  - fix: make OpenCode footer agnostic
178
181
  - fix: make vibeOS compatibility paths dynamic
179
- Merge pull request #56 from DrunkkToys/codex/agnostic-opencode-release
180
- Merge pull request #55 from DrunkkToys/codex/agnostic-opencode-models
181
- merge: origin/master into codex/agnostic-opencode-models
182
+ Merge pull request #56 from DrunkkToys/feature/agnostic-opencode-release
183
+ Merge pull request #55 from DrunkkToys/feature/agnostic-opencode-models
184
+ merge: origin/master into feature/agnostic-opencode-models
182
185
  Bootstrap trinity tiers from OpenCode model
183
186
 
184
187
 
@@ -203,7 +206,7 @@ Bootstrap trinity tiers from OpenCode model
203
206
  - fix: make README and runtime self-contained
204
207
  - test: add 59 integration + e2e tests for cross-module behavior and user workflows
205
208
  Merge pull request #49 from DrunkkToys/oc-desktop-live-savings-refresh
206
- Merge pull request #48 from DrunkkToys/codex/live-savings-refresh
209
+ Merge pull request #48 from DrunkkToys/feature/live-savings-refresh
207
210
  Invalidate savings cache on state writes
208
211
 
209
212
 
@@ -213,7 +216,7 @@ Invalidate savings cache on state writes
213
216
  - fix: stress mitigation directive uses raw stress score, not API-scaled
214
217
  - fix: _refreshModel respects project-local opencode.json over bootstrap default slot
215
218
  - docs: mark v0.19.0 as alpha milestone release
216
- Merge pull request #47 from DrunkkToys/codex/status-lock-backend-fix
219
+ Merge pull request #47 from DrunkkToys/feature/status-lock-backend-fix
217
220
  Expose status lock and backend state
218
221
  Fix stress mitigation and TDD smoke coverage
219
222
  Rebuild bundle after telemetry merge
@@ -242,14 +245,12 @@ Fix budget-first mode and stabilize tests
242
245
  - fix: trinity slots now authoritative over opencode.json model
243
246
 
244
247
  ## 0.18.5
245
- - fix: trinity slots now authoritative over opencode.json model
246
248
 
247
249
 
248
250
  ## 0.18.4
249
251
  - fix: quality tracking now computes avg from lifetime score/count instead of hardcoding 0
250
252
  - fix: savings rate shown with 4 decimal precision (was rounding to $0.00/hr)
251
253
  - fix: cache savings minimum enforced at $0.0001 per scratchpad hit (was rounding to $0)
252
- - fix: ledger reconciliation flushes buffer before reading + uses Math.max() to prevent state drops
253
254
  - fix: model lock no longer overridden by bogus opencode.json model
254
255
 
255
256
  ## 0.18.3
@@ -266,7 +267,6 @@ Fix budget-first mode and stabilize tests
266
267
 
267
268
  ## 0.16.0
268
269
  - feat: dopamine-style footer + natural language system directives
269
- - feat: dopamine-style footer + natural language system directives
270
270
  - feat: turn-aware compaction directive at turn 7+
271
271
  - feat: add forensic/web-research modes + 1084-datapoint benchmark
272
272
  - fix: flash icon only when API connected, unified [VIBE→MODE⚡] format
@@ -308,7 +308,6 @@ footer: TDD tag controlled by blackbox, VIBE replaces AUTO
308
308
 
309
309
  ## 0.15.10
310
310
  - fix: prevent empty footer from message.updated blocking text.complete
311
- - fix: prevent empty footer from message.updated blocking text.complete
312
311
  - fix: deploy copies .env.production alongside plugin
313
312
 
314
313
 
@@ -341,7 +340,6 @@ Build: self-contained bundle (vibeOScore resolved)
341
340
  - fix: remove sticky fallback flag that kills auto mode after single API failure
342
341
  - refactor: architecture simplification and scale readiness
343
342
  - docs: update vibeOS skills to match current plugin behavior
344
- - docs: update vibeOS skills to match current plugin behavior
345
343
  - chore: finalize cleanup
346
344
  - chore: update import paths for vibeOScore monorepo migration
347
345
  Merge pull request #32 from DrunkkToys/refactor/architecture-simplify-scale
@@ -384,15 +382,6 @@ Merge pull request #21 from DrunkkToys/fix/api-token-and-blackbox-control-vector
384
382
 
385
383
 
386
384
  ## 0.14.4
387
- - fix: add contents:write permission to release workflow
388
- - fix: add test:ci script for fast unit tests, separate from integration tests
389
- - fix: configure git identity in release workflow
390
- - fix: exclude slow delegation enforcer test from npm test
391
- - fix: increase test-timeout to 120s for slow delegation enforcer test
392
- - fix: exclude dashboard test from test suite and add --test-timeout=60000
393
- - fix: add --test-timeout=60000 to prevent cancelledByParent test failures in CI
394
- - fix: exclude dashboard from tsconfig to resolve CI build failure
395
- - fix: update API token and add blackboxControlVector client method
396
385
  Merge pull request #24 from DrunkkToys/fix/ci-test-exclude-dashboard
397
386
  Merge pull request #23 from DrunkkToys/fix/ci-test-timeout
398
387
  Merge pull request #22 from DrunkkToys/fix/ci-exclude-dashboard
@@ -552,7 +541,6 @@ Merge pull request #21 from DrunkkToys/fix/api-token-and-blackbox-control-vector
552
541
  - fix: resolution-tracker thresholds - isConverging >=0.5, detectLoop Jaccard 0.6, isRefining >-0.01
553
542
  - perf: conditional directive injection — skip TDD/FLOW/orchestrator when control vector signals relaxed mode
554
543
  - refactor: merge extracted modules into src/index.ts (6656→1061 lines)
555
- - refactor: extract 16 modules (7207 lines) from src/index.ts into src/lib/
556
544
  - refactor: swap blackbox import to LocalBlackboxStub (forensic)
557
545
  - refactor: blackbox moved to API-server-only — plugin uses local stub
558
546
  - refactor: rename CodeX MCP server to vibeOS MCP server
@@ -580,74 +568,6 @@ test api put
580
568
 
581
569
 
582
570
  ## 0.13.3
583
- - feat: blackbox dynamically controls thinking mode per sub-regime for cost savings
584
- - feat: complete remote API migration — dual-path scoreStress, patternsObserve/Record, TDD exports with local fallback + neutral env test
585
- - feat: complete remote API migration — dual-path scoreStress, patternsObserve/Record, TDD exports with local fallback
586
- - feat: blackbox ML enhancements — real features, loop prevention, pivot detection, outcome tracking, calibration
587
- - feat: v0.10.0 — 6 enhancement phases implemented
588
- - feat: WordPress integration - atomic seat+token creation
589
- - feat: Phase 2 - Integrate remote API client into plugin runtime
590
- - feat: Phase 1 - Remote API server for protected algorithms
591
- - feat: CodeX MCP server and dashboard sidebar plugin integration
592
- - feat: vibeOS TUI dashboard sidebar plugin
593
- - fix: release.mjs — add missing closing brace for deploy else block
594
- - fix: stabilize refactored modules — ES module bindings, setters, missing imports
595
- - fix: flow-enforcer race condition, blackbox default ON, dynamic footer
596
- - fix: lock model name, enforcement logging, TDD framework detection, cache display rounding
597
- - fix: validateState sessions object, remove stale report writes, drop dead code
598
- - fix: state validation, flow TODO dedup, session checkpointing, fetch verification
599
- - fix: _appendFooter full model names, → arrow, inline stress; 361/362 pass
600
- - fix: atomic state writes, safeJsonParse in flow-enforcer, hook error handling (#15)
601
- - fix: model split always shown, stress inline in footer, not separate line
602
- - fix: footer uses slot model name, → arrow, inline stress always, remove session-report writes, disable blackbox default
603
- - fix: sync second footer builder in tool.execute.after with new template
604
- - fix: compact footer with inline stress gauge, full model names, robust test assertions
605
- - fix: footer uses trinity tier model name, all 362 tests pass
606
- - fix: resolve pricing cache corruption, improve TODO extraction, and tune delegation savings
607
- - fix: use dynamic mcp port fallback
608
- - fix: handle mcp server close-reopen race
609
- - fix: await mcp server startup
610
- - fix: harden prompt send and unblock typecheck
611
- - fix: sync opencode.json model with brain tier, restore footer icons (trend arrows, stress gauge)
612
- - fix: deploy script missing vibeOS-api-server/ directory
613
- - fix: footer prepended to output.output, fix tests, remove stale vibeOS/ directory
614
- - fix: migrate footer from context-polluting text.complete to UI-only output.title
615
- - fix: restore experimental.text.complete and message.updated hooks lost during stash
616
- - fix: ensure model-tiers.json is created when no model is detected
617
- - fix: update trinity status test for new dashboard format
618
- - fix: compute cache savings from actual file size, remove /bin/zsh.001 floor, fix state corruption from flow_warns overwrite
619
- - fix: add proper named export for auto-discovery, fix function closure
620
- - fix: add startup toast to verify TUI plugin function execution
621
- - fix: add auto-activation to sync script, add sidebar widget diagnostics
622
- - fix: restore vibeOS sidebar dashboard widget, fix plugin path in opencode config
623
- - fix: add size guard to readJsonOrEmpty to prevent OOM on massive state files
624
- - fix: add generation counter + concurrent-write detection to updateState
625
- - fix: dedup double footer from competing message.updated / text.complete hooks
626
- - fix: append ledger entry in recordSaving() and recordCacheSaving()
627
- - fix: make MCP server close() async, export closeMcpServer for test cleanup
628
- - fix: isolate tests from real config (chdir sandbox, VIBEOS_MCP_PORT=0, HOME cleanup)
629
- - fix: release/deploy synced lib deps - blackbox missing caused footer (and all hooks) to disappear
630
- - fix: resolution-tracker thresholds - isConverging >=0.5, detectLoop Jaccard 0.6, isRefining >-0.01
631
- - perf: conditional directive injection — skip TDD/FLOW/orchestrator when control vector signals relaxed mode
632
- - refactor: merge extracted modules into src/index.ts (6656→1061 lines)
633
- - refactor: extract 16 modules (7207 lines) from src/index.ts into src/lib/
634
- - refactor: swap blackbox import to LocalBlackboxStub (forensic)
635
- - refactor: blackbox moved to API-server-only — plugin uses local stub
636
- - refactor: rename CodeX MCP server to vibeOS MCP server
637
- - docs: add final stabilization campaign report (#14)
638
- - docs: add stabilization audit reports for sessions 02-06 and 09 (#13)
639
- - docs: add stabilization baseline report (#12)
640
- - docs: update README and AGENTS for remote API protection (Phase 1+2)
641
- - docs: fix brand name, update AGENTS line count, document shell.env hook
642
- - docs: update README and AGENTS for v0.9.1 features
643
- - test: add cross-session restart E2E test (BUG 10)
644
- - chore: remove TDD auto-generated test artifacts
645
- - chore: hardcode public VIBEOS_API_TOKEN as default
646
- - chore: bump to 0.11.0 — blackbox ML engine, loop prevention, pivot detection, API-only architecture
647
- - chore: replace diagnostic log with visible toast
648
- - chore: add secrets to .gitignore (.env.production, PRODUCTION-CREDENTIALS.md)
649
- - ci: add vibeOS test workflow
650
- - chore: v0.9.1
651
571
  bump 0.13.2 — state.ts stub exports, fix ESM import errors
652
572
  bump 0.13.1 — trinity optimize (5 modes + auto), compaction every 10 turns, state.ts stub exports
653
573
  Merge pull request #18 from DrunkkToys/revert/low-value-api-migration
@@ -676,11 +596,7 @@ test api put
676
596
  ## 0.13.0
677
597
 
678
598
  - refactor: extract 16 modules from src/index.ts into src/lib/ (state, pricing, trinity, TDD, hooks, reporting, research-audit, api-client, credit-api, turn-classify, index-helpers)
679
- - feat: blackbox dynamically controls thinking mode per sub-regime for cost savings
680
599
  - fix: flow-enforcer race condition, blackbox default ON, dynamic footer improvement
681
- - fix: lock model name, enforcement logging, TDD framework detection, cache display rounding
682
- - perf: conditional directive injection — skip TDD/FLOW/orchestrator when control vector signals relaxed mode
683
- - fix: model split always shown, stress inline in footer, not separate line
684
600
  - fix: atomic state writes, safeJsonParse in flow-enforcer, hook error handling
685
601
  - perf: inline stress in footer, remove session-report writes, disable blackbox default
686
602
  - docs: AGENTS.md updated — 8 hooks (added session.compacting), new src/lib/ architecture
@@ -734,7 +650,6 @@ test api put
734
650
 
735
651
  ## 0.9.1
736
652
  - feat: vibeOS MCP server HTTP API
737
- - feat: vibeOS TUI dashboard sidebar plugin
738
653
  - chore: sync-ts-build and flow-enforcer enhancements
739
654
 
740
655
  ## 0.9.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.22.15",
3
+ "version": "0.22.16",
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",
@@ -16,10 +16,10 @@
16
16
  "ts:audit": "node scripts/ts-audit.mjs",
17
17
  "test": "VIBEOS_MCP_PORT=0 node --test --test-timeout=240000 tests/deep_integration.test.mjs tests/production_regressions.test.mjs tests/release_hardening_tigerteam.test.mjs tests/test_api_migration.neutral.test.mjs tests/test_const_assignment_regression.test.mjs tests/test_delegation_enforcer.test.mjs tests/test_diagnose_cmd.test.mjs tests/test_install_and_recovery.test.mjs tests/test_internals_stress_patterns_offtopic.test.mjs tests/test_saveos_e2e_cleanup.test.mjs tests/test_tdd_enforcer.test.mjs tests/test_10fixes_regression.test.mjs tests/test_cross_session_regression.test.mjs tests/test_mega_all_fixes.test.mjs tests/test_smart_cache_regression.test.mjs src/tests/*.test.js src/utils/tests/*.test.mjs \"src/vibeOS-lib/tests/auto-select-mode.test.mjs\" \"src/vibeOS-lib/tests/blackbox-regression.test.mjs\" \"src/vibeOS-lib/tests/blackbox-smoke.test.mjs\" \"src/vibeOS-lib/tests/budget-first-mode.test.mjs\" \"src/vibeOS-lib/tests/flow-enforcer.test.mjs\" \"src/vibeOS-lib/tests/flow-secrets.test.mjs\" \"src/vibeOS-lib/tests/session-metrics.test.mjs\" \"src/vibeOS-lib/tests/test_stress.test.mjs\"",
18
18
  "test:ci": "VIBEOS_MCP_PORT=0 node --test --test-timeout=30000 tests/production_regressions.test.mjs tests/release_hardening_tigerteam.test.mjs tests/test_const_assignment_regression.test.mjs tests/test_diagnose_cmd.test.mjs tests/test_install_and_recovery.test.mjs tests/test_saveos_e2e_cleanup.test.mjs tests/test_tdd_enforcer.test.mjs tests/test_10fixes_regression.test.mjs tests/test_cross_session_regression.test.mjs tests/test_mega_all_fixes.test.mjs tests/test_smart_cache_regression.test.mjs src/tests/*.test.js src/utils/tests/*.test.mjs \"src/vibeOS-lib/tests/auto-select-mode.test.mjs\" \"src/vibeOS-lib/tests/blackbox-regression.test.mjs\" \"src/vibeOS-lib/tests/blackbox-smoke.test.mjs\" \"src/vibeOS-lib/tests/budget-first-mode.test.mjs\" \"src/vibeOS-lib/tests/flow-enforcer.test.mjs\" \"src/vibeOS-lib/tests/flow-secrets.test.mjs\" \"src/vibeOS-lib/tests/session-metrics.test.mjs\" \"src/vibeOS-lib/tests/test_stress.test.mjs\"",
19
- "codex:guard": "bash plugins/vibetheog-codex/scripts/run-guard.sh",
20
- "codex:guard:full": "VIBETHEOG_GUARD_FULL=1 bash plugins/vibetheog-codex/scripts/run-guard.sh",
21
- "codex:hook:precommit": "bash plugins/vibetheog-codex/hooks/pre-commit.sh",
22
- "codex:hook:summary": "bash plugins/vibetheog-codex/hooks/post-command-summary.sh",
19
+ "guard": "bash plugins/vibetheog-guard/scripts/run-guard.sh",
20
+ "guard:full": "VIBETHEOG_GUARD_FULL=1 bash plugins/vibetheog-guard/scripts/run-guard.sh",
21
+ "hook:precommit": "bash plugins/vibetheog-guard/hooks/pre-commit.sh",
22
+ "hook:summary": "bash plugins/vibetheog-guard/hooks/post-command-summary.sh",
23
23
  "precommit": "node scripts/pre-commit.mjs",
24
24
  "audit-state": "node scripts/audit-state.mjs",
25
25
  "migrate-ledger": "node scripts/migrate-ledger.mjs",