# How to use Claude to improve test trust with GOAL.md

Claude worked overnight from a goal file defining a weighted metric, constraints, and an improvement loop; the author reported 12 commits and a score of 83.

Agent: Claude
Tools: Claude, GOAL.md, Playwright, bash, jq
Category: Software & DevOps
Date: 2026-03-15

Outcome: The author reported 12 commits and an increase in the constructed score from 47 to 83, without reporting a final count of fixed Playwright tests.

## Steps

1. Define a composite metric with four weighted components.
2. Write an improvement loop and constraints in a goal file.
3. Point Claude at the file and leave it working overnight.
4. Return to inspect the commits and reported score.

Human oversight: The author returned to 12 commits and a changed score; the post does not describe a detailed review of those commits.

Source: [jmilinovich on Hacker News](https://news.ycombinator.com/item?id=47390311)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-improve-test-trust-with-goal-md/
