state.db is Xerg’s sole monetary authority. Xerg opens it read-only,
reconciles Hermes’s session/model/task usage, and never lets observer or trace
records add tokens, requests, or spend.
State-only audits
Full first-party request evidence
Install Xerg’s optional local observer:state.db exactly. Exact groups become
ordered one-request calls; incomplete, dropped, ambiguous, or conflicting
groups remain unchanged aggregates. Authoritative cost is allocated across
exact requests and sums back to the state cost exactly.
The observer never persists prompts, messages, tool definitions, arguments,
commands, paths, results, delegated goals, summaries, or file contents.
Content may be inspected transiently only to compute counts, byte sizes, and
process-scoped keyed fingerprints.
Local analysis blocks
Both Hermes and OpenClaw local summaries can include:analysisCoverage: eligible/fallback request counts plus tool, lineage, and context coveragetoolActivity: execution names/counts, exact/heuristic/unassociated linkage, result bytes, and associated model spendworkloadEconomics: root/child/descendant calls and spend, depth, first-child economics, and lineage gaps
mechanicalEfficiency for direct terminal/tool mechanics.
These blocks remain local. They do not change findings taxonomy,
recommendations, thresholds, Audit Push Payload v3, hosted storage, dashboards,
or MCP.