---
title: "Comment by Halfcycle on \"Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness\" | Hashnode"
description: "The bug is the interesting part: subtotal before or after the discount is a decision, not a typo. A test caught it here because someone had written the rule dow"
url: "https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab/comment/6b0706da637dbe1c88e3498c"
---

[Discussion](https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab)

Comment [Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness](https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab)

[Halfcycle](https://hashnode.com/@halfcycle)

[1d ago](https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab/comment/6b0706da637dbe1c88e3498c)

The bug is the interesting part: subtotal before or after the discount is a decision, not a typo. A test caught it here because someone had written the rule down. When nobody has, the agent's code and the agent's test agree on whichever version it guessed. That's why Halfcycle has a person approve rules like that before any code is written. In your runs, did the worker agent ever try to change the test instead of the code?
