aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -112,17 +112,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"AnalyticsConfigToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "Analytics settings loaded from config.toml. Fields are optional so we can apply defaults.",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "When `false`, disables OpenAI analytics across Codex product surfaces in this profile. Custom OTLP metrics exporters remain enabled; set `otel.metrics_exporter = \"none\"` to disable them.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppConfig": {
|
||||
"additionalProperties": false,
|
||||
"description": "Config values for a single app/connector.",
|
||||
@@ -784,9 +773,6 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Collection of common configuration options that a user can define as a unit in `config.toml`.",
|
||||
"properties": {
|
||||
"analytics": {
|
||||
"$ref": "#/definitions/AnalyticsConfigToml"
|
||||
},
|
||||
"approval_policy": {
|
||||
"$ref": "#/definitions/AskForApproval"
|
||||
},
|
||||
@@ -1954,7 +1940,7 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "When `false`, disables feedback uploads and background Guardian review retention. Explicit local exports remain available.",
|
||||
"description": "When `false`, disables feedback collection and background Guardian review retention. Explicit local exports remain available.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3913,52 +3899,16 @@
|
||||
"type": "object"
|
||||
},
|
||||
"OtelConfigToml": {
|
||||
"additionalProperties": false,
|
||||
"description": "OTEL settings loaded from config.toml. Fields are optional so we can apply defaults.",
|
||||
"description": "Local logging settings kept under the historical `[otel]` table.\n\naKode never exports telemetry. The former exporter keys (`exporter`, `trace_exporter`, `metrics_exporter`, `environment`, `span_attributes`, `tracestate`, `log_agent_responses`, `log_guardian_assessments`) are still accepted in `config.toml` for compatibility but are ignored.",
|
||||
"properties": {
|
||||
"environment": {
|
||||
"description": "Mark traces with environment (dev, staging, prod, test). Defaults to dev.",
|
||||
"type": "string"
|
||||
},
|
||||
"exporter": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OtelExporterKind"
|
||||
}
|
||||
],
|
||||
"description": "Optional log exporter"
|
||||
},
|
||||
"log_agent_responses": {
|
||||
"description": "Opt in to logging final main-agent and spawned-subagent responses to an OTLP log exporter. Defaults to false. Response text can be sensitive and is capped at 64 KiB.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"log_guardian_assessments": {
|
||||
"description": "Opt in to logging completed Guardian assessments to an OTLP log exporter. Defaults to false. Rationales can be sensitive and are capped at 64 KiB.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"log_sse_deltas": {
|
||||
"description": "Log successful SSE events whose kind ends in `.delta`. Defaults to true. Disabling this preserves errors, completion events, and metrics.",
|
||||
"description": "Log successful SSE events whose kind ends in `.delta`. Defaults to true. Disabling this preserves errors and completion events.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"log_user_prompt": {
|
||||
"description": "Log user prompt in traces",
|
||||
"description": "Include the user prompt in local log events.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"metrics_exporter": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OtelExporterKind"
|
||||
}
|
||||
],
|
||||
"description": "Metrics exporter. Defaults to `statsig`, which follows `analytics.enabled`. Custom OTLP exporters are independent of `analytics.enabled`; `none` disables metrics export."
|
||||
},
|
||||
"span_attributes": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Attributes to add to every exported trace span.",
|
||||
"type": "object"
|
||||
},
|
||||
"tool_result": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -3966,145 +3916,6 @@
|
||||
}
|
||||
],
|
||||
"description": "Byte limit for tool-result log output; independent of model-visible output."
|
||||
},
|
||||
"trace_exporter": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OtelExporterKind"
|
||||
}
|
||||
],
|
||||
"description": "Optional trace exporter"
|
||||
},
|
||||
"tracestate": {
|
||||
"additionalProperties": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"description": "Semicolon-separated `key:value` fields to upsert into W3C tracestate members.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OtelExporterKind": {
|
||||
"description": "Which OTEL exporter to use.",
|
||||
"oneOf": [
|
||||
{
|
||||
"enum": [
|
||||
"none",
|
||||
"statsig"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"otlp-http": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"endpoint": {
|
||||
"type": "string"
|
||||
},
|
||||
"headers": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": {},
|
||||
"type": "object"
|
||||
},
|
||||
"protocol": {
|
||||
"$ref": "#/definitions/OtelHttpProtocol"
|
||||
},
|
||||
"tls": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OtelTlsConfig"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"endpoint",
|
||||
"protocol"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"otlp-http"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"otlp-grpc": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"endpoint": {
|
||||
"type": "string"
|
||||
},
|
||||
"headers": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": {},
|
||||
"type": "object"
|
||||
},
|
||||
"tls": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OtelTlsConfig"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"endpoint"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"otlp-grpc"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"OtelHttpProtocol": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Binary payload",
|
||||
"enum": [
|
||||
"binary"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"description": "JSON payload",
|
||||
"enum": [
|
||||
"json"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"OtelTlsConfig": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ca-certificate": {
|
||||
"$ref": "#/definitions/AbsolutePathBuf"
|
||||
},
|
||||
"client-certificate": {
|
||||
"$ref": "#/definitions/AbsolutePathBuf"
|
||||
},
|
||||
"client-private-key": {
|
||||
"$ref": "#/definitions/AbsolutePathBuf"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -7704,14 +7515,6 @@
|
||||
"description": "Allow macOS sandbox writable roots at or beneath CODEX_HOME to traverse symlinks. Read only from the host's user config at startup; defaults to false. This grants no write access by itself, but trusts symlink targets even if they change between commands or lie outside CODEX_HOME. This setting has no effect on Linux or Windows.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"analytics": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AnalyticsConfigToml"
|
||||
}
|
||||
],
|
||||
"description": "When `enabled` is `false`, disables OpenAI analytics across Codex product surfaces on this machine. Custom OTLP metrics exporters are controlled by `otel.metrics_exporter`. When unset, the default depends on the client."
|
||||
},
|
||||
"approval_policy": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -8826,7 +8629,7 @@
|
||||
"$ref": "#/definitions/OtelConfigToml"
|
||||
}
|
||||
],
|
||||
"description": "OTEL configuration."
|
||||
"description": "Local logging settings (historical `[otel]` table; nothing is exported)."
|
||||
},
|
||||
"permissions": {
|
||||
"allOf": [
|
||||
|
||||
Reference in New Issue
Block a user