feat(zcode): glyph badges in OV context injections - #4394
Open
almazom wants to merge 5 commits into
Open
Conversation
added 3 commits
August 27, 2026 10:24
ZCode parses config-file hooks with strict zod rules (matcher:string().min(1), groups .strict()). Empty-string matchers fail validation and safeParse drops the ENTIRE user hook source silently — hooks never fire while every component looks healthy. Omitted matcher matches all events, preserving semantics. Incident reproduction and bundle-extraction provenance documented in operator workspace: projects/zcode-ov-dsh-plugin/docs/post-install-verification.md
Adds one glanceable header line inside plugin-produced context blocks: - recall injections: "🦞 OV · recall ×N" (N = memory hit count) in both the primary wrapContext builder and the fallback block builder; - session-start index injection: "🦞 OV · index". Text-only, additive, inside blocks the plugin already emits; no renderer or DOM changes required. Complements fix-zcode-hooks-empty-matchers (volcengine#4391).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds one glanceable header line inside the plugin's own context injections:
✧ OV · recall ×N(N = memory hits; counted for both thecontext-face
score="…"format and the legacy[type 53%]format)☰ OV · indexWhy
KB traffic becomes visible at a glance in harnesses that render hook context as
plain text (no DOM/SVG available there). Glyph set mirrors the line-style legend
used by the dsh web-UI visualization (star/lines), keeping cross-harness
semantics identical. Purely additive text inside blocks the plugin already
emits; no renderer, manifest, or schema changes.
Complements #4391 (same vendored tree, independent change).
Testing
Plugin suite: 40/40 green. Live dry-drive against a real server shows
✧ OV · recall ×10with the count matching<memory …>entries 1:1.