Skip to content

feat(zcode): glyph badges in OV context injections - #4394

Open
almazom wants to merge 5 commits into
volcengine:mainfrom
almazom:feat/ov-glyph-badges
Open

feat(zcode): glyph badges in OV context injections#4394
almazom wants to merge 5 commits into
volcengine:mainfrom
almazom:feat/ov-glyph-badges

Conversation

@almazom

@almazom almazom commented Aug 27, 2026

Copy link
Copy Markdown

What

Adds one glanceable header line inside the plugin's own context injections:

  • recall injections: ✧ OV · recall ×N (N = memory hits; counted for both the
    context-face score="…" format and the legacy [type 53%] format)
  • session-start index injection: ☰ OV · index

Why

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 ×10 with the count matching <memory …> entries 1:1.

SearXNG Agent 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant