Skip to content
Back to skills

Engram Live Verify

BSecurity

Use when changing engram-mcp, the scan pipeline, retrieval, or any Rust behavior that the MCP surface exposes — BEFORE claiming a fix works. Triggers on "verify live", "test against the real store", "does the fix work end-to-end", or as the mandatory final step of any engram code change. Drives the real stdio server against a real store with timed tool calls. Unit tests alone have shipped broken paths before (the pgvector lane never ran against real Postgres until live verification caught it).

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentspythonrustgoshellbashsqlspringdockerbackend

Works with

  • cli
  • mcp

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill engram-live-verify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Engram Live Verify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Engram Live Verify
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-engram-live-verify/badge)](https://www.skillsdirectory.com/skills/majiayu000-engram-live-verify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: engram-live-verify
description: Use when changing engram-mcp, the scan pipeline, retrieval, or any Rust behavior that the MCP surface exposes — BEFORE claiming a fix works. Triggers on "verify live", "test against the real store", "does the fix work end-to-end", or as the mandatory final step of any engram code change. Drives the real stdio server against a real store with timed tool calls. Unit tests alone have shipped broken paths before (the pgvector lane never ran against real Postgres until live verification caught it).
---

# Skill: engram-live-verify

Unit + integration tests prove wiring; live verification proves behavior.
Run the actual server binary against an actual store and call the actual
tools. This is non-negotiable for scan/retrieval/MCP changes.

## The driver

```bash
cargo build --release -p engram-mcp   # (add --features pgvector,fastembed for PG/vector work)
python3 scripts/dev/mcp_driver.py \
  --storage ~/.engram/<store> --project <project> [--no-vector] [--wait 12] \
  call <tool> '<json-args>' \
  call <tool> '<json-args>'
```

Timed responses + captured stderr. Stores on this machine:
`agentzero` (shared, mixed repos + session memories — do not wipe),
`mem-alpha-self` (this repo only), `springboot-demo`, `dreamhouse-lwc`
(single-repo demos; wipe-able after killing the BFF on :3001).

## The scars this checklist is made of

- **`--wait 12`+ when vector is on** — FastEmbed model load takes seconds;
  requests sent too early queue behind boot and pollute timings.
- **stderr is where boot lives.** `knowledge_store=false` in a bootstrap
  warning means silent capability degradation — a store that "boots" can be
  missing its knowledge handle. Always read the STDERR section.
- **Silent-empty is the default failure mode.** A query returning `[]`/0 may
  be correct OR may be: wrong scope semantics (`IS NULL OR =` is NOT
  scope-allows — NULL is not a wildcard), a camelCase JSON path probe
  (`$.documentId`, never `$.document_id`), a swallowed `unwrap_or_default`,
  or a schema drift. Cross-check counts with sqlite3 CLI before believing
  empty.
- **The vec0 vector table is a virtual table** — plain CLI reads of
  `vectors_vector_chunks*` shadows mislead (inserts "vanish"); the
  `vectors_rowids` shadow holds the id map. The tool's own embedded/reused
  accounting is authoritative for reindex.
- **Wiping a store**: kill the BFF (`lsof -ti :3001 | xargs -r kill`) first —
  an open handle blocks `rm -rf` silently. `rm -rf` failures print nothing
  when backgrounded; verify with `[ -d path ]`.
- **Heredoc-python drivers get their logs eaten** by the shell harness — use
  script files (`scripts/dev/mcp_driver.py` exists for this reason).
- **Postgres work**: `docker compose -f docs/how-to-pg/docker-compose.yaml up -d`;
  TRUNCATE tables between tests; the docker-gated recipe tests run with
  `cargo test -p engram-backend-pgvector -- --ignored --test-threads=1`.

## What "verified" means

1. The tool call returned (not timed out) with the expected shape.
2. Counts changed where they should (scan → entities/rels; reindex →
   embedded/reused split; embed → the vectors accounting).
3. The invariant held: resolved-signal counts stay stable when only noise is
   removed (e.g. resolved calls before/after a filter change).
4. For perf claims: before AND after numbers from the same store, same call,
   same cap — single-sided timings are not evidence.

Record the verification (commands + numbers) in the commit message.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.