Skip to content

Other agents

Any agent that runs your tests reads what they print. Set PROPTASTIC_AGENT=1 in the environment it runs commands in, and a failure leads with its verdict and the rules, its data fenced (Coding agents). Or run the command with --format=agent.

Where the agent reads a file of instructions, such as AGENTS.md, it helps to say there what the failure says too: run the properties with proptastic run; fix the code, or the property if the property is wrong; never narrow a domain or lower the tries to make a counterexample go away. Say too which examples are its to keep. In a property the agent is writing, it pastes the failure’s pin it line in, and the pin shows in its diff for you to review. For a property it didn’t write, it proposes one with proptastic example ID --propose, and you accept it in review (Keeping an example).

Privacy