Prompt VaultSurface coverage

Prompt Vault technical coverage

Prompt Vault is implemented as a central prompt-retention policy used by runtime hooks and OTLP ingest. The control governs raw user prompt text after detection and before normal event evidence is...

Prompt Vault is implemented as a central prompt-retention policy used by runtime hooks and OTLP ingest. The control governs raw user prompt text after detection and before normal event evidence is stored.

Data flow

Prompt source -> normalize event -> evaluate policy in memory -> apply Prompt Vault -> store governed evidence

For Visible Capture, raw prompt text can stay in normal event context.

For Sealed Evidence, raw prompt text is encrypted into prompt_evidence. Normal event rows keep prompt_privacy_mode, prompt_evidence_id, prompt length, prompt hash, source, and timing metadata. Raw text is removed from shield_events, otlp_events, summaries, search payloads, detector evidence material, exports, and normal APIs.

For Promptless, raw prompt text is not written to evidence storage. Normal event rows keep only non-content metadata such as mode, source, hash, and length when available.

Runtime Shield coverage

Prompt Vault applies to Runtime Shield prompt-submit events normalized as UserPrompt.

SourceRuntime prompt coverageNotes
Claude CodeCovered through legacy Claude Code hooks and the unified runtime endpointUserPromptSubmit becomes UserPrompt.
Claude CoworkCovered through the unified runtime endpointCowork prompt payloads, including prompt-only payloads, become UserPrompt.
CursorCovered when Cursor emits an explicit prompt-submit event or wrapper payloadPrompt-like MCP parameters remain MCP calls, not prompt events.
WindsurfCovered when Windsurf emits prompt-submit action or wrapper payloadNative action names and normalized wrapper payloads are both recognized.
GitHub CopilotCovered when Copilot emits an explicit prompt-submit event or wrapper payloadTool args can carry prompt, message, content, text, or input.
CodexCovered when Codex emits an explicit prompt-submit event or wrapper payloadExisting shell, edit, read, web, and MCP tool calls keep their original classification.
Gemini CLICovered when Gemini emits an explicit prompt-submit event or wrapper payloadFunction-call and tool-call payloads keep normal tool classification unless explicitly prompt-submit.
Google AntigravityCovered when Antigravity emits explicit prompt-submit, invocation-context, or wrapper payloadsTool calls keep normal command, file, URL, MCP, subagent, or schedule classification unless the emitted event is prompt-like.
Direct shield event uploadsCovered for explicit prompt events posted to /api/v1/shield/eventsThis protects older or batch collectors that bypass /evaluate.

The boundary is event-based. Prompt Vault protects prompt events. It does not automatically reclassify every arbitrary tool parameter named prompt, because many MCP tools and web tools use a prompt parameter as normal tool input.

OTLP and AgentKeeper Runtime coverage

Claude/Cowork OTLP logs are covered by the ingest pipeline. In Sealed Evidence and Promptless, AgentKeeper scrubs prompt content before inserting normal OTLP rows.

Covered OTLP fields include:

  • user_prompt event body,
  • prompt_preview,
  • prompt-like attributes,
  • prompt-like tool input fields,
  • prompt-like body text,
  • detector evidence material derived from prompt content,
  • search and export payloads built from OTLP rows.

Tool parameter logging is still controlled separately. Prompt Vault scrubs prompt-like fields even when tool details remain enabled, but non-prompt tool parameters follow the tenant's tool-detail setting.

AgentKeeper runtime/eBPF sensor events such as agentkeeper.runtime.os.exec and agentkeeper.runtime.os.connection share the OTLP transport and otlp_events table. They are presented as AgentKeeper Runtime in operator surfaces. Org-level Prompt Vault mode alone does not make those rows prompt evidence. Prompt Evidence UI appears only when the row has a real prompt carrier, such as event_name = user_prompt, a prompt_evidence_id, prompt_preview, or prompt metadata.

Runtime sensor metadata, including process, connection, host, rule, status, and error fields, remains visible unless a specific field is an explicit prompt field or the tenant disables tool details.

Storage tables

prompt_evidence stores sealed prompt bodies and metadata:

  • organization,
  • source table and source event ID,
  • prompt source,
  • encrypted prompt body,
  • prompt hash and length,
  • session, actor, host, and retention metadata.

prompt_evidence_access_log stores reveal audit records:

  • evidence ID and organization,
  • actor and role,
  • required reason,
  • user agent and IP metadata,
  • timestamp.

Normal event tables keep a reference:

  • shield_events.prompt_privacy_mode,
  • shield_events.prompt_evidence_id,
  • otlp_events.prompt_privacy_mode,
  • otlp_events.prompt_evidence_id.

Reveal endpoint

The governed reveal endpoint requires:

  1. authenticated owner or admin role,
  2. matching organization scope,
  3. non-empty reason,
  4. successful access-log insert before decrypting and returning the prompt.

Failed authorization returns 403. Missing or too-short reasons return 400. Successful responses are no-store.

Verification requirements

Before promotion, verify:

  • each supported runtime source normalizes explicit prompt-submit payloads to UserPrompt,
  • Sealed Evidence writes prompt_evidence and strips raw text from shield_events and otlp_events,
  • Promptless does not write raw prompt text,
  • normal Activity, Findings, Investigation, Workstation, export, and search APIs do not expose sealed or promptless prompt bodies,
  • runtime/eBPF rows are labeled AgentKeeper Runtime and do not show Prompt Evidence controls unless linked to prompt evidence,
  • reveal succeeds only for owner/admin users with a reason,
  • every successful reveal creates an access log row.

Normal raw JSON, export, preview, archive, and AI-analysis surfaces must use Prompt Vault-safe serialization as a second boundary after retention-time scrubbing. See the surface audit for the current matrix.

Related detail: showcase, admin guide, surface audit, and OTLP evidence.