Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AI investigation activity

When an AI assistant investigates through TKTail, you can see afterwards what it actually did: which tools it called, what each call was allowed or refused, what it searched and found, which files it fingerprinted, which processes it measured, which alerts and evidence it looked at - with links to the searches, jobs and evidence packages it touched.

Two reports answer two questions:

AnswersWhere
AI Access ReportWhat an AI client could do - your switches, rules and permissions nowTools > Generate AI Access Report… (details)
AI Investigation ReportWhat an AI client did - its calls, one by oneTools > AI Investigation Activity… > Export Report…

Both name the same access policy identity (ap-...): an investigation report says which policy each call ran under, and you can match it to an access report.

What is recorded - and what is not

TKTail records the observable activity of an AI client - what reached TKTail and what TKTail answered:

  • each tool call: when, which tool, how long it took, how it ended;
  • the decision about it, each kind kept apart: allowed, AI access off, a permission you did not give, outside your AI access rules, excluded by one of your Deny rules, not included in the license, refused by a resource limit;
  • what it covered (the scope of a search: the folder, the masks, compressed logs, archives) and the audit-useful arguments (the search’s conditions, the files it asked to fingerprint);
  • a short summary of the result (how many matches, the SHA-256, the CPU and memory of a measured process, why an alert fired) and references to TKTail’s own records: the search, the job in Jobs, the evidence package, the alert occurrence and its explanation, an activation lease.

TKTail does not record - and cannot - the assistant’s reasoning, its prompts, its conversation or its internal state. Nothing that did not pass through TKTail. It does not keep copies of your logs, records, samples or files either: the report refers to the search or the evidence package, it does not duplicate them.

Protection

Everything recorded passes your AI Data Protection rules first - the built-in ones (passwords, tokens, cookies, connection strings, private keys) and yours (a project name, a customer’s name). A value a rule protects is never stored in the activity, not even in a Full audit report. A license code is never recorded, whatever the rules say.

A refusal is recorded as safely as an answer: the activity says that the assistant asked for a file your rules do not allow, and which of your Deny rules decided it - but nothing about the folder beyond what the assistant itself named, and never the files next to it. The assistant itself is never told that a Deny rule exists: it sees the refusal as it was answered.

AI Investigation Activity

Tools > AI Investigation Activity… lists the investigations, newest first. An investigation is one AI client session: it begins at the client’s first call, goes on while the calls follow each other, and ends after 30 minutes without a call, when the assistant starts a new one (tktail_start_investigation), when you end it (End Investigation) or when TKTail closes. Two assistants - or two sessions of one - are never mixed: each has its own. An investigation that was open when TKTail ended abruptly is marked interrupted.

Select an investigation to see its timeline - each call with its time, tool, status and summary - and select a call for its details: the decision, the scope, the paths, the arguments, the results, the TKTail records it refers to, and the warnings. Copy Details copies them.

Export the report

Choose the report level, then Export Report… (or Tools > Export AI Investigation Report… for the newest investigation at the Standard level), and save it as:

  • Text - the report for people: a summary, then the timeline;
  • JSON - the same report for tools (kind tktail.aiInvestigationReport, schemaVersion 1).
LevelContains
SummaryThe investigation, the counts, the decisions, the scopes and the TKTail records it used - no timeline
StandardThe summary and the timeline: each call with its decision, scope, results and references
Full auditAlso the sanitized arguments, short result excerpts (protected), every check of a running search or hash, the TKTail node and run

Full audit is not raw data. It is the complete observable activity after protection - never a raw secret, a file your rules hide, a whole log, or the assistant’s reasoning (none of which is ever recorded).

Exact paths are off by default: a path appears as its file name (...\u_ex261112.log). Turn Exact paths on to include the full paths - for your own records, not for a report you send outside.

A reference says what its record is now: a search still open, a job completed (per Jobs), an evidence package in the Evidence Store - or that it is no longer available (closed, or from an earlier TKTail run).

In a Forensic Mode session the report also says the runtime it ran in (Runtime: - memory only or restricted output, and how the license was given, never the license; JSON: runtime). It is saved only with an output root, below it; in memory-only mode this window shows the activity and nothing is written.

Evidence and AI activity

An evidence package an assistant saves names the investigation it was saved in. If you want the package to carry the activity itself, turn on Settings > AI Access > Add the AI activity to evidence AI clients save: the package then holds ai/activity.txt and ai/activity.json (the investigation’s Standard report, without exact paths), listed in its manifest and covered by its SHA-256 hashes like every other part. Off by default: the package only names the investigation.

Where it is kept

  • On disk (the default): in the data folder’s AiInvestigations folder, one file per investigation, for 30 days after it ended - at most 64 MB and 500 investigations in all (the oldest ended ones go first; an open one is never removed).
  • In memory only: Settings > AI Access > Keep it in memory only - nothing about AI activity is written to disk; it is gone when TKTail closes. Takes effect the next time TKTail starts. In safe mode and in Forensic Mode it is always memory only.
  • Off: Settings > AI Access > Record AI investigation activity - nothing is recorded.

Exports go only where you save them. Where TKTail stores data lists every folder.

For the assistant

An assistant can read its own activity - not another client’s - with tktail_get_investigation, to recall what it already did and cite its steps, and say that a new question begins with tktail_start_investigation. Details: MCP tool reference.