You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 612fd85
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: build error_fingerprint detail from an allowlist template
- revert all `maskString` changes; it is byte-identical to main again, so other
consumers and fingerprint hashes are unaffected
- `error_message` is a template of the first line: only short plain-letter words
and basic punctuation survive, everything else becomes `<x>` (200 char cap)
- `stack` keeps only frames from the CLI's own source, relative to the bundle root
- payload building lives in `error-detail.ts` and is tested through the helpers
`prompt.ts` calls
- docs describe the template and its residual risk
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: docs/docs/reference/telemetry.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ We collect the following categories of events:
49
49
|`task_outcome_signal`| Behavioral quality signal at session end — accepted, error, abandoned, or cancelled. Includes tool count, step count, duration, and last tool category. No user content. |
50
50
|`task_classified`| Intent classification of the first user message using keyword matching — category (e.g. `debug_dbt`, `write_sql`, `optimize_query`), confidence score, and detected warehouse type. No user text is sent — only the classified category. |
51
51
|`tool_chain_outcome`| Aggregated tool execution sequence at session end — ordered tool names (capped at 50), error count, recovery count, final outcome, duration, and cost. No tool arguments or outputs. |
52
-
|`error_fingerprint`|Hashed error pattern for anonymous grouping — SHA-256 hash of masked error message, error class, tool name, and whether recovery succeeded. `error_message` is the first line of the erroronly, masked and capped at 300 characters (a line that is a SQL statement is replaced by a placeholder);`stack` holds up to 5 `file:line:function`frames from source files with the home prefix removed and only the last 3 path segments kept. Full error output is never sent. |
52
+
|`error_fingerprint`|Error pattern for grouping — SHA-256 hash of the masked error message, error class, tool name, whether recovery succeeded, plus `error_message` and `stack`. `error_message` is a template of the error's first line: only short plain-letter words and basic punctuation are kept, and every identifier, number, path, URL, quoted value or capitalized name is replaced with `<x>` (max 200 characters).`stack` holds up to 5 frames from Altimate Code's own source only, as `src/...:line:function`; frames from user scripts, dependencies or other paths are dropped. |
53
53
|`sql_fingerprint`| SQL structural shape via AST parsing — statement types, table count, function count, subquery/aggregation/window function presence, and AST node count. No table names, column names, or SQL content. |
54
54
|`schema_complexity`| Warehouse schema structural metrics from introspection — bucketed table, column, and schema counts plus average columns per table. No schema names or content. |
55
55
|`validator_check`| A completion-gate validator ran on session end — validator name, `ok` boolean, step, retry count, `enforced` flag (false in shadow mode), and structured `details` (model counts, elapsed time, concurrency limit — no SQL or model content). Only emitted when `ALTIMATE_VALIDATORS_ENABLED=1` or `ALTIMATE_VALIDATORS_SHADOW=1`. See [Validators](../data-engineering/validators.md). |
@@ -157,11 +157,11 @@ Two escape hatches exist for reporting from a test run deliberately:
157
157
We take your privacy seriously. Altimate Code telemetry **never** collects:
158
158
159
159
- SQL queries or query results
160
-
- Code content, file contents, or file paths
160
+
- Code content, file contents, or file paths (stack frames are limited to Altimate Code's own source files)
161
161
- Credentials, API keys, or tokens
162
162
- Database connection strings or hostnames
163
163
- Personally identifiable information (your email is SHA-256 hashed before sending and is used only for anonymous user correlation)
164
-
- Tool arguments or outputs
164
+
- Tool arguments or outputs (the `error_fingerprint` error template keeps only plain English words from the first line of an error; identifiers, numbers, paths and quoted values are replaced with `<x>`. Residual risk: a statement or message written entirely in plain letters, such as an unquoted SQL fragment of simple words, can survive the template)
165
165
- AI prompt content or responses
166
166
167
167
Error messages are truncated to 500 characters and scrubbed of file paths before sending.
0 commit comments