Inspect Changes
inspect_changesInspect an experiment's changes against its source project, listing created, modified, and deleted files with optional unified diffs.
Instructions
Show what the experiment changed, against the project as it was copied in.
USE THIS before destroying a sandbox, and before telling the developer what you found. It is the evidence for your conclusion.
RETURNS created / modified / deleted file lists plus insertion and deletion counts, and optionally the unified diff. Build output and dependency directories are excluded, so a 30,000-file node_modules will not bury the two lines that matter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_diff | No | Include unified diff bodies, not just statistics. | |
| experiment_id | Yes | The experiment to inspect. | |
| max_files_with_diff | No | Cap on files given line-level detail. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| changes | No | ||
| deletions | No | ||
| truncated | No | ||
| insertions | No | ||
| experiment_id | Yes | ||
| files_created | No | ||
| files_deleted | No | ||
| files_modified | No |