What's used for training, and what never is

Check The Current Choice

Open Settings → Privacy and Data. The main session-data control shows whether sharing is enabled. Company controls remain unavailable until the main control is enabled.

Session data sharing control, off by default

When you turn on "Share usage data to train smarter agents" (it's on by default during onboarding, and you can turn it off anytime in Settings → Privacy & Data), Neotask uses sanitized data from your agent runs to make the models behind your agents smarter. This page explains exactly what is shared, what is never shared, and the controls you keep. For the broader picture see Data Privacy & Your Rights and Trust & Security.

What is used when sharing is on

With sharing enabled, we use sanitized content from your agent runs:

  • Prompts and responses, what you and your agents said, after sanitization on the computer that ran the agent (below).
  • Tool activity, which tools and apps your agents used and how those calls went, again sanitized.
  • Run outcomes, whether tasks succeeded, were retried, or needed a human, so models learn what "good" looks like for real workflows.

That's it. Training data comes only from this sanitized agent-run stream, never from your account records, billing data, or credential stores.

What is never used

Your credentials, passwords, API keys, and connected-app logins are never part of training data. Three separate layers make sure of it:

  1. Masked before anything leaves the computer that ran the agent. The Neotask engine (on your desktop, or on your cloud computer for cloud runs) applies its canonical secret-redaction pipeline to every trace before it is stored or shipped. Secrets, tokens, keys, and credential-shaped values are masked; what leaves that computer is already sanitized.
  2. Credentials live in a separate, encrypted world. The logins and tokens for apps you connect are stored in dedicated encrypted stores (AES-256-GCM), fully isolated from the training pipeline. The export pipeline has no access to those stores. It never reads them, so even if we wanted to include a credential, the pipeline never sees one.
  3. Identifiers are pseudonymized. Before anything is exported to training infrastructure, account, company, session, and task identifiers are replaced with per-customer pseudonyms (keyed one-way hashes). Training infrastructure never receives your real identifiers, and those pseudonyms are destroyed when your data is erased.

Additionally:

  • HIPAA deployments and HIPAA customers are excluded outright, no training export at all, regardless of any toggle.
  • No consent, no export. Sharing is checked per customer on every export run; if it's off, nothing ships. Each item is checked against the consent in force when it was captured, not only when it is exported.

Custom models for your companies

Sharing usage data does more than improve Neotask generally: it lets us train models tuned to your specific companies and workflows: agents that learn your SOPs, your tone, and the way your operations actually run. If you're interested in a custom per-workspace model, contact [email protected].

Your control

When the main sharing control is enabled, use the company list to keep sharing off for a specific company. The company row shows the current choice before you change it.

Company-specific training controls

  • Turn it off anytime in Settings → Privacy & Data in the desktop app. From that moment, your new agent runs are not used for training, and runs captured earlier that were not yet exported never will be, even if you turn sharing back on later. The same holds for a company's own setting.
  • Deleting your account erases everything. Account deletion runs a full erasure cascade that covers your agent-run traces and their stored content, and the pseudonym keys that could ever link exported data back to you.
  • Questions? [email protected].
<!-- Internal accuracy breadcrumb (verified 2026-07-17, fi/158-training-terms-docs): - On-device masking before storage/shipping: neotask-gateway extensions/llm-tracing, src/sdk-runtime.ts (canonical redaction pipeline sanitizeDiagnosticPayload → redactSecrets, "applied before anything is stored"), src/trace-sink.ts, src/llm-trace-finalize-worker.runtime.ts (imports src/agents/payload-redaction.js + src/logging/redact.js). The gateway runs on the user's machine. - Encrypted credential stores, AES-256-GCM, separate from training: server/src/utils/crypto.ts (ALGO = 'aes-256-gcm', versioned keyring), server/src/models/TenantSecret.ts, server/src/models/ExternalAccount.ts. Neither server/src/workers/inferenceExportWorker.ts nor server/src/services/inferenceOtlpExporter.ts imports any credential model or decrypt helper. - Pseudonymized identifiers (per-tenant HMAC) before export: server/src/services/inferenceOtlpExporter.ts ("Identity attributes carry PSEUDONYMS ONLY (per-tenant HMAC keys)"), server/src/workers/inferenceExportWorker.ts (EXPORT_PSEUDONYM_KEY gate). - HIPAA exclusion: server/src/workers/inferenceExportWorker.ts (isHipaaMode() blocks the whole deployment; per-tenant Tenant.hipaaTenant skip; blockedBy 'hipaa-deployment' / 'hipaa-tenant'). - Per-tenant/per-company consent gate on every run: inferenceExportWorker.ts (tenantsSkipped reason 'no-consent'; consentedCompanyIds filter). - Erasure cascade covers trace spans + stored content: server/src/services/tenantErasure.ts (proved in tenantErasure.cov.test.ts, deletes llm-trace contentRef objects). - Server-held encryption deliberately phrased "stored encrypted, isolated", keys are server-side (versioned keyring in crypto.ts), NOT user-held; do not claim user-only decryption. Updated 2026-11-03 (dev-54ta5.9; file:line citations on the bead): - Cloud computers: neotask-gateway extensions/llm-tracing/src/cloud-consent.ts reads the tenant's consent from Site (GET /api/auto/consent/training-data, fail-closed, refreshed every 5 min), wired in extensions/llm-tracing/index.ts; the same process applies the redaction pipeline (src/sdk-runtime.ts). - Grant boundary at export: server/src/services/inferenceExportPolicy.ts findSpansOutsideTrainingGrant (master and company), checked in server/src/workers/inferenceExportWorker.ts beforeProviderEgress under the trace authority lease; withdrawal marks exportExcludedReason 'consent_withdrawn' and companyScopeExcludedAt (server/src/services/trainingDataConsentStore.ts). - Ingest stores no content in a HIPAA deployment: server/src/services/llmTraceIngest.ts (isHipaaMode). - Tool spans: a failed tool's error text is content (consent-gated); outside content the span records only that it failed (neotask-gateway extensions/llm-tracing/src/trace-run-recorder.ts, dev-fl5yr2). - Coverage: embedded and CLI (claude, codex) runs and the Codex app-server fire the LLM lifecycle hooks; ACP turns and the SDK/RPC harnesses reach the recorder through the harness turn-trace tap (src/acp/control-plane/manager.turn-trace.ts, src/agents/harness/attempt-turn-trace.ts), and an ACP turn's own tool calls are spans of its trace. - Not yet matched (Danny's D1/D3): the onboarding default ("on by default") and the company list's meaning. -->