Run it yourself

You run the command, in your own tree, with your own tools.

A run in the chat does not exist. There is text that looks like terminal output. It can be drawn, green checkmarks included. Your run is a command in the project directory: a test, a build, the linter your team uses.

Look at the exit code and the first real error, not at the model's retelling. If it suggests a flag that your version does not have, the command shows it at once. Do not bend the project to an invented flag until the documentation for your version confirms it.

The environment is yours too. Models like to suggest a global package install, turning off certificate checks, sudo. That is no longer help with a function; it is a change to the machine. Stop and separate the two: what the code needs, and what the model wants to do to your computer.

After a green run, read the diff once more. A green test on a too-narrow example does not mean the neighbouring line is harmless. A run catches what it covers. You still read the rest.

Practice

  1. Where to run it

    Where must the test turn green?

    • A paragraph saying "tests passed" in the chat is enough
    • In your project, with your command
    • On the model's computer
    • Nowhere, if the code looks familiar
  2. Drawn output

    Do checkmarks in a chat message equal a run? Answer yes or no.

  3. Which commands not to run blindly

    Select the dangerous advice.

    • sudo and a system-wide install
    • Turn off certificate verification
    • Run this package's test
    • Do not install the new dependency globally