> For the complete documentation index, see [llms.txt](https://pharaoh.so/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pharaoh.so/docs/use-pharaoh/what-we-measure.md).

# What we measure

How Pharaoh counts answered calls and active days, what optional runtime analytics observe, and when a savings estimate has enough evidence.

We count non-empty answered calls to `get_codebase_map`, `get_module_context`, `search_functions`, `get_blast_radius`, `get_unused_code` and `pharaoh_recon`. We exclude setup, account, repository-management and administration calls, errors, refusals, rate limits and guidance replies. Calls are not independent questions or completed tasks. An active day is a UTC calendar day containing at least one counted call.

Figures include your currently accessible, confirmed repositories whose owning accounts currently have trial or Pro access. Counts start when measurement launches.

We keep daily totals while the associated repository, account and person data remain. Removing a repository from the GitHub App, renaming it, transferring it or deleting its Pharaoh record clears its earlier totals. Adding it again or returning to an earlier name starts from zero. Account or person deletion removes their associated totals. Detailed audit records expire after 90 days. These figures do not measure time, tokens, credits or money saved.

## Optional runtime analytics

Claude Code can report that it loaded an instruction or attempted to use a Pharaoh skill. A load describes what the client observed. Whether the agent followed the instruction is unknown. Codex can report counts from its model-request hooks. We keep those counts separate from provider totals. The local collector sends no instruction or skill text, paths, prompts, transcripts or tool results. Runtime analytics and project-memory diagnostics have separate controls.

Native metadata v2 records finite model identity, model basis, registered hook capability and installation build provenance. Missing, mixed or stale evidence remains unknown. We do not upload arbitrary raw model strings. The separate model-selection generation and build-observation time help detect changes that invalidate a checkpoint. Structural observations retain bounded returned-result counts and keyed target fingerprints, not source, file paths, prompts or transcripts.

When you create a new managed NPX connection on a supported macOS or Linux client and complete sign-in through the installer's device link, setup enables runtime analytics by default. Use `npx @pharaoh-so/mcp@latest install --skip-runtime` to keep it off. An existing connection can enable it with `npx @pharaoh-so/mcp@latest --runtime-enable --client claude-code` or `--client codex` and approve the installation in the browser.

Check collection with `--runtime-status`. Turn it off with `--runtime-revoke --client claude-code` or `--runtime-revoke --client codex`. The setting persists across reinstalls. Revoking clears the local queue and tells Pharaoh to stop accepting that collection generation when it next reaches the server. See [Terms and privacy](https://pharaoh.so/docs/use-pharaoh/terms-and-privacy.md#9-data-we-collect) for retention and deletion.

## Estimates

The quantified value pipeline is available, but structural estimates stay off until a separately approved and validated artifact covers the reference model, workload and conditions. Installing Pharaoh or recognizing a model does not activate an estimate.

A qualified checkpoint says **Estimated repo-exploration time avoided: \[range]**. It compares a reference agent answering structural questions with grep and file reads against the same agent using Pharaoh, including reasoning, reads and Pharaoh overhead. It is not observed personal time saved. The checkpoint identifies its reference model, client build, evidence cutoff and method. Its artifact-specific proof page identifies the workload, conditions, interval method, calibration and validation results, artifact ID and expiry. Revoked or expired artifacts are no longer served as current proof.

The structural method needs at least three distinct eligible lookups and a history lower bound of one minute. Unknown models or builds, incomplete coverage, stale or truncated results and unsupported histories leave the number unavailable. Setup investigation, repeated targets, retries, nested recon and subagents do not add value. Midnight and graph refresh do not make a repeated lookup new.

Accumulation uses validated joint histories, including negative outcomes; it does not add individual lower bounds. Only validated history sizes and horizons contribute. Corrections may reduce or remove a checkpoint. We do not extrapolate a lifetime total or weaken evidence near trial expiry.

Qualified value can appear on an active-session tool response, in one dashboard card and in the existing eligible trial-ending email. It never appears during first-run setup. An emitted card is not proof you saw it. Email remains subject to your preferences, eligibility and the existing one-email-per-24-hours budget. Missing evidence does not produce a usage-only value card.

The separate exact controlled-comparison method remains unchanged: it applies only to a matched completed episode, checks both answers and uses the smallest observed paired difference. A public-repository comparison alone does not establish a match for an ordinary customer repository. Transfer to other repositories is permitted only by the separately validated structural method.

Neither method measures your billed credits or money. Token estimates require separate complete accounting and validation. We make no subscription-payback claim.
