Telemetry
Telemetry measures how your agents work across tasks and lights a trigger when the numbers say a deferred improvement, such as file indexing or model ranking, is worth reopening.
Some improvements to Astranize only pay off for certain projects. Indexing files helps when developers spend a long time reading before they edit; a model ranking helps when one model keeps failing on a step where another succeeds. Instead of guessing, Astranize measures your own runs and tells you when one of those improvements would be worth it. That is telemetry.
Each improvement has a trigger: a measure, a threshold, and a minimum sample. While the sample is too small, the trigger says so. Once there is enough data, the trigger is either lit (the numbers cross the threshold) or off.
Read the Telemetry section
Section titled “Read the Telemetry section”Open the Observatory, the first icon on the left rail, and scroll past Subscription usage to Telemetry. Its subtitle reads “when a deferred item is worth reopening”.

At the top you pick the period, 7, 14 or 30 days, and a baseline to compare with. Below that:
- The period summary: Tasks, Delivered, Cycles (mean), Tokens per delivery (fresh tokens, with the cache apart), Reads (by Read, Grep and Glob) and the reviewer’s Return reasons.
- The Triggers table: one row per trigger, with the Item it would reopen, the Measure, the current Value, the Trigger threshold and the State. A state of Sample too small also shows how far along it is, for example “9 of 15 tasks”.
The five triggers
Section titled “The five triggers”| Item | Measure | Lights when | Minimum sample |
|---|---|---|---|
| Indexing and file selection | Developer reads before the 1st edit, mean | above 25, or the share of the run spent exploring before the first edit is above 40% | 15 tasks |
| Co-change between files | Gate failures blamed on a file outside the diff | 3 or more | 20 tasks |
| Fresh context and handoff | Files read again in the next cycle or step | above 50% | 15 tasks |
| Rule learning | Same return reason within 14 days | 3 or more | 3 occurrences |
| Model ranking and ladder | First-try approval gap between models on the same step | 20 points or more | 20 runs per model combination |
These are the defaults. You can change each threshold and minimum sample, as shown below.
Compare before and after with a baseline
Section titled “Compare before and after with a baseline”A baseline is a saved copy of today’s signals, so you can measure later what a change did. For example, save one called before-maps before you regenerate the repo maps, keep working for a week, then compare.
In the Telemetry section, click Save baseline…, type a name and click Save. Names use lowercase letters, digits and hyphens, like antes. If the name is already taken, the app says so and offers Replace.
To compare, pick the baseline in the menu next to the period. Each value then shows its change against the baseline, and the summary shows the change in tokens.
astranize metrics baseline save before-maps --workspace notes --since 7dastranize metrics baseline list --workspace notes{"type":"baseline_saved","name":"before-maps","path":"~/.astranize/workspaces/notes/metrics/baselines/before-maps.json"}{"type":"baselines","items":[{"name":"before-maps","savedAt":"2026-11-22T04:39:58.296Z","tasks":0,"since":"7d"}]}A week later, read the signals against it:
astranize metrics signals --workspace notes --against before-mapsThe line gains against, with the change of each trigger in deltas and of the summary in aggregateDeltas. Saving the same name again from the CLI replaces the baseline without asking.
Change when a trigger lights up
Section titled “Change when a trigger lights up”The thresholds live in settings.yaml, so they apply to every workspace on this computer.
Open Settings and go to Telemetry. The Thresholds tab has one group per trigger, with its threshold (Lights above, or Lights from) and its Minimum sample. Each field shows its default. A value is saved when you leave the field, and Back to default appears on a trigger you changed.

The handoff threshold is shown in percent, from 0 to 100, and the model ranking gap in points, from 0 to 100. A value outside that range is refused and nothing is saved. The YAML tab shows the whole settings.yaml, read-only: changes go through the Thresholds form.
Edit the telemetry section of ~/.astranize/settings.yaml:
telemetry: triggers: indexing: threshold: 30 handoff: threshold: 0.4 min_sample: 10In the file, the handoff threshold is a share from 0 to 1, not a percentage. A trigger you leave out keeps its default.
Astranize refuses to save a handoff share above 1 or a model gap above 100 points. The app says “Use a number from 0 to 100”; the engine’s own message is threshold precisa ser um número de 0 a 1 (or de 0 a 100). If such a value gets into settings.yaml by hand, telemetry ignores it and uses the default.
All options
Section titled “All options”settings.yaml keys
Section titled “settings.yaml keys”| Key | Value | Default |
|---|---|---|
telemetry.triggers.indexing.threshold |
reads, 0 or more | 25 |
telemetry.triggers.co-change.threshold |
failures, 0 or more | 3 |
telemetry.triggers.handoff.threshold |
share, 0 to 1 | 0.5 |
telemetry.triggers.learning.threshold |
times, 0 or more | 3 |
telemetry.triggers.model-ranking.threshold |
points, 0 to 100 | 20 |
telemetry.triggers.<id>.min_sample |
positive integer | 15, 20, 15, 3, 20 in the order above |
Trigger states
Section titled “Trigger states”| In the app | In the CLI | Meaning |
|---|---|---|
| Lit | lit |
Enough data, and the value crosses the threshold. |
| Off | off |
Enough data, and the value stays under the threshold. |
| Sample too small | insufficient |
Fewer samples than the minimum. |
Good to know
Section titled “Good to know”- Telemetry only counts tasks that ran with the new data. In a period with none, the section says “No tasks with the new data in this period yet.”
- The indexing trigger can light by exploration alone; the table then says “lit by exploration”.
- The CLI’s
metrics signalsuses 14 days by default. Every flag is in Metrics and usage. - Baselines live in the workspace, under
metrics/baselines/<name>.json. The thresholds are per computer.
Next steps
Section titled “Next steps”- Economy and limits: the other half of the Observatory, cost and subscription usage
- Metrics and usage:
metrics signalsandmetrics baseline - YAML keys: the rest of
settings.yaml
