Expand description
Purpose: Track ProjectAtlas token savings telemetry.
Structs§
- Agent
Efficiency Artifact Identity - Identity retained from one validated benchmark artifact.
- Agent
Efficiency Baseline Row - One matched baseline comparison projected from the benchmark artifact.
- Agent
Efficiency Break Even - Workload-specific setup/runtime break-even truth.
- Agent
Efficiency Capability Contribution - Trace-completed
v0.4MCP calls grouped by navigation responsibility. - Agent
Efficiency Comparison - Optional controlled benchmark comparison attached to live token telemetry.
- Agent
Efficiency Metric Comparison - Candidate and baseline distribution summary for one navigation metric.
- Agent
Efficiency Provider Metric - Descriptive-only candidate and baseline provider counter.
- Token
Accounting Totals - Wide separated accounting totals before narrowing to the public report representation.
- Token
Bucket Overview - Aggregated token savings for one bucket and counting mode.
- Token
Calibration Overview - Optional local tokenizer calibration for indexed UTF-8 files.
- Token
Overview - Token savings overview.
- Token
Trend Period - Token trend aggregate for one period.
- Token
Trend Report - Token savings trend report.
- Usage
Event - Token savings event for a funnel command.
- Usage
Instance Id - One bounded CLI invocation or MCP process inside an authoritative project database.
Enums§
- Agent
Efficiency Baseline - Baseline arm compared with the
v0.4candidate. - Agent
Efficiency Capability - Durable
ProjectAtlasnavigation capability represented in the benchmark. - Agent
Efficiency Evidence State - Validation state for optional agent-efficiency benchmark evidence.
- Agent
Efficiency Metric Kind - Closed navigation metric projected from matched benchmark trials.
- Agent
Efficiency Provider Metric Kind - Provider counter represented only as descriptive benchmark context.
- Telemetry
Contract Error - Typed telemetry-domain validation failure.
- Token
Trend Window - Token trend grouping window.
- Usage
Detail Availability - Truth state for caller-label and raw telemetry detail.
- Usage
Instance Owner - Runtime owner of one internal telemetry instance.
Constants§
- READ_
AVOIDANCE_ CONFIDENCE_ MODELED - Read-avoidance confidence for modeled navigation events.
- READ_
AVOIDANCE_ CONFIDENCE_ NOT_ RECORDED - Read-avoidance confidence when raw command evidence is unavailable.
- READ_
AVOIDANCE_ CONFIDENCE_ OBSERVED - Read-avoidance confidence for directly observed full-file compression events.
- READ_
AVOIDANCE_ SCOPE - Human-facing explanation for likely read-avoidance counters.
- TOKENIZER_
BACKEND_ HEURISTIC - Default token-count backend for offline estimates.
- TOKEN_
ACCOUNTING_ MODELED_ AVOIDANCE - Modeled counterfactual accounting layer.
- TOKEN_
ACCOUNTING_ OBSERVED_ DELTA - Observed before/after accounting layer.
- TOKEN_
ACCURACY_ HEURISTIC - Accuracy label for the default offline estimator.
- TOKEN_
BASELINE_ DIRECTORY_ WALK - Baseline kind for broad directory-walk navigation savings.
- TOKEN_
BASELINE_ FULL_ FILE - Baseline kind for a concrete full-file comparison.
- TOKEN_
BASELINE_ SELECTED_ CANDIDATES - Baseline kind for inferred candidate-set navigation savings.
- TOKEN_
BUCKET_ FULL_ FILE_ COMPRESSION - Bucket for source compression through summaries, outlines, search, or slices.
- TOKEN_
BUCKET_ NAVIGATION_ AVOIDANCE - Bucket for navigation that avoids broad folder/file exploration.
- TOKEN_
COMMAND_ MCP_ FILE_ SUMMARY - MCP event label for file summaries.
- TOKEN_
COMMAND_ MCP_ OUTLINE - MCP event label for file outlines.
- TOKEN_
COMMAND_ MCP_ SEARCH - MCP event label for indexed search.
- TOKEN_
COMMAND_ MCP_ SLICE - MCP event label for source slices.
- TOKEN_
COMMAND_ OUTLINE - CLI command label for file outlines.
- TOKEN_
COMMAND_ SEARCH - CLI command label for indexed search.
- TOKEN_
COMMAND_ SLICE - CLI command label for source slices.
- TOKEN_
COMMAND_ SUMMARY - CLI command label for file summaries.
- TOKEN_
COMMAND_ SYMBOL_ SLICE - CLI command label for symbol slices.
- TOKEN_
CONFIDENCE_ INFERRED - Confidence label for inferred navigation comparisons.
- TOKEN_
CONFIDENCE_ OBSERVED - Confidence label for observed source-compression comparisons.
- TOKEN_
CONFIDENCE_ POLICY_ ESTIMATE - Confidence label for policy-modeled navigation comparisons.
- TOKEN_
DEDUPE_ SCOPE_ EVENT - Dedupe scope for measured one-off events.
- TOKEN_
DEDUPE_ SCOPE_ SESSION - Dedupe scope for repeated modeled workflow baselines in one session.
- TOKEN_
ESTIMATE_ KIND - Token overview counting mode.
- TOKEN_
ESTIMATE_ METHOD_ HEURISTIC - Default method label for heuristic token estimates.
- TOKEN_
ESTIMATE_ SCOPE - Token overview scope label.
- TOKEN_
ESTIMATOR - Token overview estimator identifier.
- TOKEN_
MODEL_ UNKNOWN - Default model label when no model-specific counter is used.
- TOKEN_
PROVIDER_ HEURISTIC - Default token-count provider label for offline estimates.
- TOKEN_
TRACE_ HEURISTIC - Trace label for the default heuristic calculation.
Functions§
- default_
accounting_ layer - Default accounting layer for legacy usage events.
- default_
baseline_ identity - Build a stable baseline identity from existing event context.
- default_
dedupe_ scope - Default dedupe scope for legacy usage events.
- default_
denominator_ kind - Default denominator kind for legacy usage events.
- default_
estimate_ method - Default estimate method for legacy usage events.
- default_
read_ avoidance_ confidence - Default read-avoidance confidence for legacy serialized overviews.
- default_
read_ avoidance_ scope - Default read-avoidance scope for legacy serialized overviews.
- default_
token_ accuracy - Default accuracy label for legacy usage events.
- default_
token_ baseline_ kind - Default baseline kind for legacy usage events.
- default_
token_ confidence - Default confidence label for legacy usage events.
- default_
token_ model - Default token model for legacy usage events.
- default_
token_ provider - Default token provider for legacy usage events.
- default_
token_ savings_ bucket - Default token savings bucket for legacy usage events.
- default_
token_ trace - Default calculation trace for legacy usage events.
- default_
tokenizer_ backend - Default tokenizer backend for legacy usage events.
- usage_
from_ estimates - Create a usage event from already-computed token estimates.
- usage_
from_ estimates_ with_ accounting - Create a usage event from token estimates and explicit accounting semantics.
- usage_
from_ estimates_ with_ context - Create a usage event from token estimates and explicit baseline semantics.
- usage_
from_ text - Create a usage event from response text and baseline text.