Emulator
The RAGRAF admin panel — interactive emulator
An exact replica of the local panel (127.0.0.1:8777): revision catalog, index quality, call telemetry and threshold settings. The data are real measurements of the pilot corpus rev-0016; the second corpus demonstrates degraded mode.
Emulator
This is an emulator: an interactive mockup built on real measured data. It is not connected to a live RAGRAF instance — settings mutations are simulated locally in the browser.
RAGRAF · Admin
127.0.0.1:8777
Revision
rev-0016
ready · joern_used=1
Corpus files
123
parsed 121 · secrets 2
Graph
487 nodes
7 292 edges · 457 chunks
Reuse
118/123
files matched by sha256
Stores (.ragraf/)
Total: 27.5 MB · corpus_hash a3f8c2d1…
Last indexing
full run71 s
CPG stage (Joern)64 s
lexvec stage5 s
slice: OK · capability=full
Vector norms (embeddings)
min 0.0576 · p50 0.4180 · max 0.6627 · zero outliers: 0
Chunks vs budget
chunks over budget: 0
Truncated signatures
33 → 0 (after the U3 fix)
Compute backends
embeddings
fastembed-cpu
graph traversal
none (SQLite CTE)
reason: gpu_vector_threshold not reached (457 < 1800) → CPU path
The GPU article breaks down thresholds and economics gpu-compute.
Calls (session)
46
full file reads: 0
Runtime errors
0
exit≠0: 0
write_check
14
each one before an SQL write
Token savings (estimate)
~5 200
vs the grep approach, chars/4
Calls by operation
Latencies (mean)
| schema | 0.5 ms |
| symbol | 0.7 ms |
| table_usage | 0.9 ms |
| write_check | 3.3 ms |
| search | ~1 s |
Healthy profile: symbol/search/write_check dominate and full reads are zero. Source — the usage_call journal of the pilot session.
Revision
rev-0016 ready
Corpus files
123 121 parsed
Graph
487 nodes · 7 292 edges
Last indexing
71 s
The overview names the revision, the corpus sizes and the run time — the same facts the index_status operation returns, so the panel and the answer envelope cannot disagree.
Last indexing
71 s
CPG stage (Joern)
64 s
lexvec stage
5 s
chunks over budget
0
Indexing shows the run stages and their time: the index.budget_seconds limit is checked inside the heavy passes, not at a stage boundary, otherwise the refusal names the wrong stage.
Stores (.ragraf/)
graph · lexvec · control
Total
27.5 MB
Chunks vs budget
457
Store sizes are counted over the state files; rotation marks a revision rotated and does not delete history, so revision numbers are never reused.
graph traversal
none threshold
embeddings
fastembed-cpu
Compute backends
CPU
The mode is never inflated: capability=full means slice operations are available, partial and degraded name their reason in the answer instead of staying silent. CLI and MCP clients see the same envelope.
Mutation token
tokens per process
Mutation token (demo)
rg-••••••••••
Token
loopback only
The panel listens on 127.0.0.1 only, the token is generated when the process starts and printed locally; secret store access is all, listed or owner_only, and every reveal is written to the journal.
Corpus
pilot-php-portal
The real panel writes the project config with validation and a .bak copy; global thresholds live in ~/.ragraf/config.json. Here changes are simulated and not persisted anywhere.
db.enabled=false
full > fast validation passes
6 will refuse with a reason
The live database layer is read-only and off by default: with db.enabled=false the six db_* operations refuse with a reason instead of failing, and personal columns are excluded from the query text before the fetch.
$ ragraf admin
→ http://127.0.0.1:8777 (loopback only)
mutation token: rg-demo-7f3a9c21 (env: RAGRAF_ADMIN_TOKEN not set)