Answers
The tests passed and the business rule did not. Where does the rule have to be?
A green suite answers the checks someone wrote. It is not the business rule, and it is not a decision. Someone who watched an assistant ship a feature in minutes, then spent three nights repairing it, put the failure in one sentence: it passed the tests and broke the business rule. The rule was not in the suite, and it was not in what the session read. Arroway keeps that rule as a decision in the project: the text, who approved it, and what would end it. The next session is asked to read the project before it writes. A green run still does not approve the rule, and Arroway does not run the tests. The install page is the first step. Keep people and their AIs on the same page.
Last updated November 29, 2026
A green check answers the checks, not the rule
A test fails when an assertion fails. A business rule that was never written as an assertion cannot fail the suite, so the suite stays green while the rule is already broken. The assistant then treats the green result as permission to call the change done. The public line this page opens from described that sequence: the feature was written in minutes, the tests passed, and the business rule did not. The nights of repair are the cost of a rule that lived in a person's head, or in a chat from months ago, and not in the record the agent was given.
What the rule has to carry, or the suite keeps winning
Four fields, or the next session invents the missing one. The text, in the words that govern, not a title that sounds right. Who approved it, so an assistant's guess and a person's decision do not look the same. What would end it, so a seasonal exception and a standing limit do not both look permanent. And the scope: which product, which plan, which customer. A line that only says “discounts are fine” is the vague instruction someone else described the same week: when the instruction is vague, the agent fills it with something plausible and wrong, and it does so with confidence. A gap stays a gap until a person fills it. The suite cannot fill it, because the suite was never told the gap existed.
When to use Arroway
Use Arroway when agents already change the product and the suite is the only thing that can say no. Record the rule the suite does not encode, as a decision, before the next session writes. Ask that session to read the project first. Do not paste the rule into the chat, and do not put it in an instruction file: a file the model loads every session is not a decision with an owner, and an assistant can append a line nobody approved. What holds goes in the project. The file is left with nothing that governs. Arroway does not fail the build and does not replace the test. The install page is the first step.
When you do not need this
If the rule is already an assertion that fails the build, the suite is the enforcement, and a second copy in memory is a comment until a person has to know why the assertion exists. If one person writes the code and reads the diff before anything ships, the rule can live in that review until a second agent acts while they are not looking. And if the question is why last month's code became the house style with nobody deciding it, that is a different page. This one is only the green result that was never the rule.
The mistake: closing the session with “tests passed”
The closing note says the suite was green and nothing else. The next morning another agent reads that line as approval and copies the change into a second flow, so one broken rule becomes two. The defence is unglamorous: the close names the rule that was read, who approved it, and states that the suite did not replace it. If you cannot fill the close that way, the close hid the rule, and the work is not finished.
What it looks like in practice
A four-person billing team at a regional clinic network lets an agent add a family-plan discount. The rule the finance lead approved in March is that a family plan is 15% off only when three or more members share one invoice, and never on an individual plan. The suite checks that a discount field accepts a number from 0 to 30. The agent ships 15% on every new individual plan. Two hundred and forty invoices go out on Friday. The suite is green. The finance lead spends Monday through Wednesday reissuing them. The rule was in a chat from March. Nothing the agent read that week contained it.
Putting the rule where the next session reads it, before the suite runs
- Write the rule that broke, in one sentence, next to what the suite actually checks. Here: 15% only for a family plan of three or more on one invoice, never on an individual plan. The suite checks that a discount is a number from 0 to 30.
- Open the project and look for that sentence, the text itself. If it is not there, the agent could not have read it. A chat from March is not a read, and asking the agent what it remembers is not an inventory of the project.
- Record the rule as a decision: the text, the finance lead's name, and what would end it — a change to the plan terms, not a green suite. If a detail is missing, leave it as a question a person answers. Do not let the agent fill “15% on everything” because the sentence was short.
- Start a fresh session on the billing change. Ask it to read the project before it edits. Do not paste the rule, and do not point it at an instruction file.
- Read the diff against the rule, not against the suite. A green run of the 0-to-30 check does not approve 15% on an individual plan. If the diff still does that, the session did not read the project, or the rule's scope was never written.
- Close the session with both facts: the suite passed, and the rule that was read, with the name on it. If you cannot name the rule, do not record the change as done. Two hundred and forty invoices is what “tests passed” cost when the rule was missing.
Questions people ask about this
- Should every business rule become a test?
- Make impossible the ones a machine can refuse. An assertion beats a sentence for a rule that must not be breakable. Many rules are not that: they change when a person decides, and a test that hard-codes last quarter's terms becomes the stale instruction the next agent follows. Those belong in the project as decisions. The test stays the mechanical check.
- Does Arroway fail the build when the rule is broken?
- No. Arroway does not run the suite and does not block a merge. It is the record the session is asked to read before it writes. A green build can still ship a broken rule if that read did not happen, which is why the read is the first step and not a report after the fact.
- What is the first step?
- Install Arroway in the tool you already use and sign in when it asks. The next session opens by reading the project. The route for each tool is on the install page, and this page does not repeat it.
Where this is verifiable
The opening is what someone wrote in public in November 2026: the feature was written in minutes, the tests passed, and the business rule broke, and the repair took nights. The same week someone else wrote that a vague instruction is answered with something plausible and wrong, confidently. This page does not name them. What Arroway records is a decision with who approved it and what ends it, served on the read before the session acts. It does not run tests and does not block a merge. The clinic network, the 15%, the 240 invoices and the four people are an example, not a measured case.
https://www.arroway.app/en/answers/the-tests-passed-and-the-business-rule-did-not