Cogniscape never reads your prompts, your conversation history, or the content of your files. It captures activity metadata — the same kind of information that already appears in your git log.
What triggers data collection
Cogniscape registers hooks in your AI coding tool that fire at specific moments during a session. No data is collected outside of these events.- Claude Code
- Cursor
| Event | When it fires |
|---|---|
| Session start | You open a new Claude Code session |
| Session summary | The agent finishes its work and returns control to you |
| Plan approved | You approve an implementation plan |
| Task created | A task is created during the session |
| Task completed | A task is marked as done |
| Subagent conclusion | A background agent finishes its work |
What we capture and why
Every field we collect serves a specific purpose in answering the five core questions Cogniscape is built around: what happened, who did it, when, how, and why.Identity and context
| Field | Example | Purpose |
|---|---|---|
| Developer name | "alice" | Attribute activity to the right person (who) |
| Repository | "acme/backend" | Scope activity to a project (what) |
| Branch | "feat/retry-payments" | Track which initiative is being worked on (what) |
| Session duration | 1842 (seconds) | Understand effort distribution (when / how) |
| Timestamp | "2026-03-28T14:32:00Z" | Place activity in time (when) |
What the AI assistant did
| Field | Example | Purpose |
|---|---|---|
| AI response summary | "Implemented retry logic with exponential backoff..." | Understand the work that was done (what / why) |
| Tool usage counts | {"Edit": 12, "Read": 8, "Bash": 5} | Gauge session complexity (how) |
| Files touched | ["src/payments/retry.ts", "tests/retry.test.ts"] | Track which areas of the codebase were involved (what) |
| Recent commands | ["npm test", "git status"] | Understand the development workflow (how) |
| Test results | passed: true | Track quality signals (how) |
| Token usage by model | {"claude-opus-4-6": 45000} | Resource attribution (internal analytics) |
Plan and task metadata
| Field | Example | Purpose |
|---|---|---|
| Plan steps | ["Create migration", "Add API route", "Write tests"] | Track planned vs. actual work (why / how) |
| Task title | "Add retry logic to payment service" | Describe units of work (what) |
| Task status | "completed" | Track progress (how) |
What we do NOT capture
This is the most important section of this page. The following data never leaves your machine:Your prompts and questions
Your prompts and questions
When you type a message to Claude Code or Cursor, that text stays local. Cogniscape explicitly filters out all user messages — only assistant responses are processed, and even those are truncated and sanitized.
Your conversation history
Your conversation history
The full transcript of your session is never sent to Cogniscape. The CLI reads the transcript file locally to extract metadata (duration, tool counts, file lists) and then discards the file reference. The transcript itself is never uploaded.
Source code and file contents
Source code and file contents
Cogniscape captures file paths (e.g.,
src/payments/retry.ts) but never the content of those files. Paths are also converted to repository-relative format — absolute paths and home directory references are stripped before transmission.IDE settings, secrets, and credentials
IDE settings, secrets, and credentials
No IDE configuration, environment variables,
.env files, API keys, or authentication tokens are ever accessed or transmitted. The CLI only reads the hook payload provided by the AI tool and your local git configuration (name, email, branch).Full command output
Full command output
Only the last 5 commands you ran are captured, and each is truncated to 200 characters. Long commands, heredocs, and multi-line scripts are dropped entirely. Command output (stdout/stderr) is never captured.
Absolute file paths
Absolute file paths
All file paths are converted to repository-relative paths before transmission. Your home directory, workspace root, and any worktree prefixes are stripped. The server never learns your filesystem layout.
How data flows from your machine
The following diagram shows the complete data path from your coding session to the Cogniscape knowledge graph.Sanitization happens at two stages: first on your machine (the CLI strips paths and truncates data), then on the server (the ingestion pipeline removes code blocks, URLs, and sensitive patterns). Defense in depth — even if something slips past the first stage, the second stage catches it.
Frequently asked questions
Can my manager read my prompts?
Can my manager read my prompts?
No. Your prompts are never captured, transmitted, or stored. No one — including Cogniscape, your manager, or your organization’s admin — can access what you typed into Claude Code or Cursor.
Can Cogniscape see my code?
Can Cogniscape see my code?
No. Cogniscape sees file paths (which files you touched) but never file contents. This is architecturally enforced — the CLI does not read your source files, only the hook payload and git metadata.
What if I paste sensitive data into a prompt?
What if I paste sensitive data into a prompt?
It stays local. Since Cogniscape never captures user messages, anything you paste into a prompt — passwords, API keys, personal notes — is never transmitted to Cogniscape.
Does Cogniscape track my screen time or keystrokes?
Does Cogniscape track my screen time or keystrokes?
No. Cogniscape only fires during the specific hook events listed above. There is no background monitoring, no keystroke logging, and no screen capture. Between hook events, the CLI is completely idle.
Can I verify what data is being sent?
Can I verify what data is being sent?
Yes. The Cogniscape CLI is a local binary that runs on your machine. You can inspect the hook configuration in
~/.claude/settings.json (Claude Code) or ~/.cursor/hooks.json (Cursor) to see exactly which events trigger data collection. You can also run the CLI with verbose logging to see the exact payload before it is sent.What happens if I uninstall Cogniscape?
What happens if I uninstall Cogniscape?
Running
cogniscape uninstall removes all hooks from your AI tool’s configuration and deletes the CLI binary. No residual data collection occurs after uninstall. Historical data already in the knowledge graph is retained according to your organization’s data retention policy.Questions?
If you have questions about developer privacy, contact us at [email protected].