WEBVTT

1
00:00:00.000 --> 00:00:02.880
The agent runs an ordinary development command.

2
00:00:03.060 --> 00:00:07.360
But the repository configuration points at code of its own.

3
00:00:07.520 --> 00:00:11.840
Reviewing the visible tool name alone can miss the configuration

4
00:00:11.872 --> 00:00:13.920
that changes what happens underneath.

5
00:00:14.458 --> 00:00:17.978
A checkout can direct Git toward hooks in the working tree,

6
00:00:18.018 --> 00:00:22.378
configure command valued settings, or include editor tasks that run

7
00:00:22.405 --> 00:00:23.418
on folder open.

8
00:00:23.578 --> 00:00:27.418
Those files deserve review before you treat the workspace as a

9
00:00:27.468 --> 00:00:29.178
passive collection of source code.

10
00:00:29.717 --> 00:00:33.557
ClawMetry scans supported workspace configuration for execution

11
00:00:33.607 --> 00:00:34.677
related settings.

12
00:00:34.890 --> 00:00:39.237
It reports the relevant key or configuration source, using known

13
00:00:39.269 --> 00:00:41.317
good command shapes to reduce noise.

14
00:00:41.509 --> 00:00:45.717
This detector reads the checkout itself, rather than relying

15
00:00:45.813 --> 00:00:47.717
only on the agent tool stream.

16
00:00:48.268 --> 00:00:51.868
The checked example points Git hooks at a directory shipped in the

17
00:00:51.908 --> 00:00:55.308
working tree and produces a critical finding.

18
00:00:55.548 --> 00:00:59.628
A hooks path that points to the default Git hooks directory stays

19
00:00:59.708 --> 00:01:00.188
quiet.

20
00:01:00.428 --> 00:01:04.828
The finding identifies configuration that names code,

21
00:01:04.888 --> 00:01:07.228
not a recorded execution of that code.

22
00:01:07.768 --> 00:01:11.688
Inspect the setting, the referenced files and the origin of the

23
00:01:11.759 --> 00:01:12.928
checkout.

24
00:01:13.014 --> 00:01:16.968
Decide whether those programs are expected before allowing ordinary

25
00:01:17.015 --> 00:01:18.408
development operations.

26
00:01:18.701 --> 00:01:22.328
If a tool already ran, investigate its effects

27
00:01:22.408 --> 00:01:25.528
separately using the evidence available on the machine.

28
00:01:26.060 --> 00:01:29.900
Make repository config execution visible in your agent workflow.

29
00:01:30.240 --> 00:01:34.460
See the finding, understand the reason, and review what

30
00:01:34.522 --> 00:01:35.580
happened next.

31
00:01:35.730 --> 00:01:39.420
Explore this detector at ClawMetry dot com.
