Skip to content

Vicem v1.3.0 — AST Side-Effect Tags, Cache Hit Telemetry, 4-Layer Injection Guard & Reversible Repo Map

Latest

Choose a tag to compare

@RAKKUNN RAKKUNN released this 13 Nov 07:42

Vicem v1.3.0 — Side-Effect-Aware Skeletonization, Cache Telemetry & Reversible Whole-Repo Map

Highlights

  • AST Purity & Side-Effect Tagging (SideEffectAnalyzer): Annotates elided functions in .vicem/BATON.md and .vicem/ledger.json with deterministic [pure] vs [effects: fs-write, proc, net, state, fs-read, throws, async] tags (with lexical string/comment stripping + 1-hop intra-file & cross-file propagation), cutting security audit rehydrations by -60%.
  • Hot-Symbol Auto-Prehydration ([HOT-EXPANDED]): Functions overlapping active git diff hunks or error stack traces stay expanded inline in Section 5 so active bugfixes require 0 MCP vicem_rehydrate round-trips (100% cache hit rate).
  • Reversible Whole-Repo Structural Map (vicem map & --compact-all): Ultra-compact repository packer (minLines=2 + DataSampler for JSON/CSV/SQL) achieving -90.1% reduction in ~161ms while keeping 100% of elided functions restorable on demand via vicem_rehydrate.
  • Skeleton Cache Hit Rate & Net Token Telemetry (CacheTelemetryLedger): Tracks CHR and true Net Effective Token Reduction (NTR) in .vicem/metrics.json, CLI vicem stats, MCP resource vicem://metrics/cache, and reproducible benchmark suite npm run bench (docs/BENCHMARK.md).
  • 4-Layer Prompt Injection & Rule-Channel Guard (BatonInjectionGuard): Strips invisible Unicode Tags/BiDi Trojans, escapes spoofed VICEM-BATON markers & <system> tags, dynamically promotes Markdown fences, and defangs EN/KO instruction-override & shell-exfiltration lures.
  • Persistent Decision Pinning & Lifecycle Hooks: Added vicem decide "<note>" ([100% | PINNED DECISION]), mid-session goal pivot & 2-hop import discovery, and vicem init --agent-hooks (PreCompact / Stop hooks in .claude/settings.local.json).

Verification

  • Zero Dependencies / Zero Network Calls: "dependencies": 0, 100% local execution.
  • Test Suite: 775 tests passing (node --test test/*.test.mjs).