The Rules and Holds Build Standard
Your limits, your sign-offs and your do-not-contact list, written once and read by every bot. Anything over a limit waits for the person you named, who releases it or refuses it. No bot moves money. Written so you can build it yourself.
Used by
- Business Owner
- Office Manager
- Operations Manager
- Business Systems Analyst
- AI Officer
9 min read · Published by AI Pathway
Using Claude? This standard installs as a skill. Guides for ServiceM8, Xero and Simpro.
How to get this live in your business
Need a bot to do something?Not sure where to start or how to do it? Contact us and we'll help scope it and build it.What this is
An open build standard for writing your rules down once: your dollar limits, who signs off what, who not to contact, when customers may be contacted, and which bot does each job. Every bot reads that one copy before it does anything.
The core rule
Anything over a limit, or anything your rules do not mention, waits as a hold for the person you named. They release it or refuse it, and a release lets the bot take that one action, once.
What it does not do
No bot moves money, whatever the rules or a release say. No bot sends, chases or calls a customer on your do-not-contact list, or anyone outside your contact hours. Writing and changing the rules stays with you.
The hard part
Somebody typed a limit into a bot's instructions last year. Each builder has to take theirs out and read the rules instead, and only a real invoice over the new limit proves every bot did. The stub can't show that. The pass test on your own systems can.
In August the owner lowered the limit for sending an invoice without a look from $10,000 to $5,000, after a $7,800 invoice went to the wrong builder. She told the invoice bot. The quote bot had its own limit in its instructions, and the chase bot had none at all, so a $9,000 variation went out on a Saturday night to a customer who had asked not to be contacted. Each bot was following the rules it had been given. Nobody had written the rules down in one place.
Your rules, read by every bot
Your rules
One document you write: limits, who releases each action, do-not-contact, contact hours, one bot per stage.
- holds
- do_not_contact
- contact_hours
read fresh by
Every bot, every run
Quote, invoice, chase and order bots read the same copy before they act. None keeps its own.
- read_rule
raises
A hold
Anything with no rule, or over its limit, waits on your holds list, naming the rule that asked.
- hold.requested
- rule
waits for
A named person
Someone on that rule's release list releases or refuses. The hold keeps who and when.
- hold.released
- hold.refused
One action, through the rules
- An action comes due on a record: an invoice to send, a chase, a call.
- The bot reads the business's one rules document, fresh, on this run.
- It checks it is the bot named for this stage, that the action moves no money, and that the customer is not on the do-not-contact list. Any of those stops it.
- It finds the rule for the action and the rule's limit.
- Is the action under the limit, or has a person on that rule's release list released it? If neither, it waits as a hold and nothing goes. An action with no rule always waits.
- If so, the bot takes that one action, once. A release is spent when it is used.
- Is it inside the contact hours in the rules? If so, it goes, and the hold shows who released it and when.
- If not, it waits for the first run inside the hours.
Take the spec to Claude, ChatGPT or Copilot. The sentence to paste is one click away.
1. What this standard covers
A business with more than one bot, or a bot and a person, taking actions a customer or a supplier will see: quotes and invoices sent, chases texted, calls made, orders placed. The rules for all of them sit in one document the owner writes, in the shape of the Mesh Directory’s rules file:
- Holds: one entry per action, such as invoice.sent, with the amount above which it waits and the people who may release it. An action with no entry always waits.
- Do-not-contact: the customers nothing goes to, each written as a ref like xero:C-ACME.
- Contact hours: the days and times a customer may hear from a bot, in your own timezone.
- Stage holders: the one bot that does each job, so two chase bots never chase one invoice.
- Money: set to no, and fixed there. No bot pays, refunds or transfers.
A hold is a row on your holds list, with the record’s ref, the amount and the rule that asked for it. It is released or refused by a person, on that list, and the next bot can read the answer.
Out of scope. A bot that could not do its job raises an exception on the Exception Desk; a hold is a planned stop. Which records are one customer is Customer Link’s. What each standard does once released stays in that standard.
What cannot meet it. A bot whose limits can only live in its own instructions, with no way to read a sheet or a list before it acts. It can still follow the rules if a person keeps its instructions in step, but the first check asks for a read, and that bot cannot pass it.
2. The records it keeps, in the shape your developer needs
One rules document, one row per hold, one row per decision. A bot reads the first, writes the second, and only reads the third.
For your developer. Show the fields for your developer
Rules # one document, written by a person
- rules_version, updated_at
- updated_by # person:<id>
- holds[] { action, # the event a bot would emit, e.g. invoice.sent
over_amount?, # hold above this; absent means always hold
release_by[] } # person:<id>, one or more
- lists.do_not_contact[] # customer refs, <system>:<id>
- contact_hours { timezone, start, end, days[] }
- stage_holders { <stage>: node:<slug> } # one bot per stage
- money.nodes_may_move_money # false, and fixed
Hold # one row per action waiting
- hold_id # <system>:<id>
- ref, customer, action, amount
- rule # "invoice.sent over 5000", "no rule for quote.sent"
- requested_at, requested_by # the bot
- status requested | released | refused
- decided_by, decided_at # a person on that rule's release_by
- used_at # the one action it allowed, taken once
Release # made by a person, read by the bot
- hold_id, release | refuse, by, atA limit kept in a bot's instructions, an action with no rule that went ahead, a release by someone off the list and a release used twice are the four defects this schema makes visible. In the Mesh Directory's vocabulary these are rules.schema.json and the hold.requested, hold.released and hold.refused events.
3. The checks, in order
The order follows one action. The bot reads the rules, holds what they do not cover or what is over a limit, waits for the right person, and then checks the customer, the clock, the money and its own stage before anything goes.
- Every bot reads the one rules document fresh before it acts, never its own copy. Before it takes or holds any action, the build reads the business's rules document as it stands now: the limits, the release lists, the do-not-contact list, the contact hours and the stage holders. A limit typed into a prompt, a setting kept from an earlier run or a copy of the list is not a read. A rule a person changes applies on the next run.
- An action with no matching rule is held, never taken. If the rules have no entry for the action a step is about to take, the action waits as a hold for a person. Nothing goes ahead because the rules forgot to mention it. The hold says there was no rule, so the person can release this one and write the rule for next time.
- An action over the amount the rules set raises a hold naming the rule, and waits. When the amount on the record is over the rule's over_amount, the build raises hold.requested with the record's ref, the amount and the rule that asked for it, and takes no action until the hold is released. At or under the amount it goes ahead. A rule with no amount holds every time.
- Only a person on that rule's release list releases or refuses, with who and when, and a release allows one action once. A hold is released or refused only by a decision a person made on the holds list, and only if that person is on the release_by list of the rule that asked for it. The hold keeps the person's name and the time. A release allows the one action it was raised for, taken once. A decision by anyone else, including another bot, changes nothing and goes to a person.
- A customer on the do-not-contact list gets no send, chase or call. Before anything goes to a customer by email, text or phone, the build checks the customer's ref against the do-not-contact list in the rules. A customer on it gets nothing, whatever the amount or the stage, and the item stops with the reason for a person. It is not raised as a hold, because a release would contact them.
- Nothing goes to a customer outside the contact hours in the rules. A send, a text or a call to a customer happens only inside the contact hours the rules set, read in the business's own timezone. Outside them the item waits, untouched, and goes on the first run inside them.
- No bot moves money: any payment is refused, whatever the rules or a release say. The rules document fixes nodes_may_move_money at false, and no rule or release changes it. A step that comes due to pay, refund or transfer is refused: no payment is released and no hold is raised for one, because a released hold would let a bot pay. The item stops with the reason for a person, who pays in their own banking.
- A bot not named in stage_holders for its stage does nothing. The rules name one bot per stage. Before a step, the build checks that it is the one named for that stage. If another bot is named, or none is, it takes no action, raises no hold and writes nothing, so two chase bots never both chase one invoice.
- It survives the builder. Someone other than the builder can explain what it does, and it runs on an account the business owns.
- The pass test passes. On the business's own systems: the owner writes the rules once. An invoice over the limit waits as a hold until the owner releases it, then goes once; a customer on the do-not-contact list gets nothing; nothing goes after hours. The owner lowers the limit, and the next run of every bot holds at the new one.
4. How every other standard uses it
Most standards already have a step where a person approves. With this one, that step reads its limit and its release list from the rules, and the approval becomes a hold on one shared list. Nothing else in those standards changes.
| Standard | What it reads the rules for |
|---|---|
| Quote Out | The limit above which a quote waits for a person before it is sent, and who may release it. |
| Invoice Out | The same for an invoice, and the contact hours for sending it. |
| Debtor Chasing | The do-not-contact list, the contact hours for every text and call, and whether it is the one chase bot named for the stage. |
| Material Order | The amount above which an order waits for the person who signs off purchases. |
| Invoice Check | That no bot pays a bill. A checked bill waits for a person, who pays it in your own banking. |
| Customer Link | Which records are one customer, so a do-not-contact entry on the Xero contact also covers the job-system client. |
In the Mesh Directory, a bot that holds an action emits hold.requested. The hold.released and hold.refused events come only from a person, and the directory’s gate refuses a bot that says it emits them.
5. One week of rules and holds
- Monday, 9am. The rules. Dana, the owner, writes them once. Invoices over $5,000 wait for her. Quotes over $2,000 wait for her or Mel, the office manager. ACME is on the do-not-contact list. Customers hear from a bot between 8am and 5pm on weekdays, Brisbane time. One bot sends invoices, another chases.
- Tuesday, 3pm. A hold. A $7,800 invoice for Harbour Builders comes due. The invoice bot reads the rules, finds it over the limit, and raises a hold naming the rule. Mel tries to release it. She is not on the list for invoices, so nothing changes and Dana is told.
- Tuesday, 3:40pm. Released. Dana releases it. The hold keeps her name and the time, and on its next run the bot sends that invoice once. A second invoice over the limit for Harbour gets a hold of its own.
- Tuesday, 6pm. After hours. A $400 invoice comes due. It is under the limit, but outside the contact hours, so it waits and goes at 8am Wednesday. A chase for ACME comes due too. It stops at the do-not-contact list, and Dana sees why.
- Friday. A new limit. Dana lowers the invoice limit to $3,000 in the rules. She tells no bot. The next $3,500 invoice is held by whichever bot sends it, on its next run.
6. What stays with a person
- Writing and changing the rules. A bot reads them and never writes them.
- Every release or refusal of a hold, by someone on that rule's release list.
- Who is on each release list. A bot's account is never one of them.
- Every do-not-contact entry, added and taken off.
- Every payment, made in your own banking.
7. With a Grok Bot, Claude or your own code
Any of them can follow the rules, with read access to the rules document, permission to add rows to the holds list, and read access to the releases. The rules and the releases sit where only people can write: a tab or a list the bot’s connection cannot edit.
- Write the rules: a sheet, a SharePoint list or a file with the fields in section 2. Fill in your limits, release lists, do-not-contact list, contact hours and one bot per stage.
- Make the holds list and a releases tab or list only the people on your release lists can write to.
- Take every limit, list and business-hours line out of each bot’s standing instructions. Tell it instead to read the rules at the start of every run and to hold anything they do not cover.
- Run the checklist in section 9 against a real invoice.
Where it runs. In SharePoint lists and Power Automate flows (the Microsoft 365 plan lays them out), a Google Sheet with a releases tab, or a small table a coding agent builds from this page. All are held to the same checks.
Why not give each bot its own limits? You will change them, and a limit kept in five bots is five places to remember. The one you forget is the one that sends the invoice. A limit in the rules is changed once, and the holds list shows who released what under it.
8. What your developer builds, and the step that needs care
There is no hosted step to buy. The rules and the holds list are yours, and so are the bots that read them. The hard part is taking the old limits out of every bot, which is why the pass test runs on your own systems.
For your developer. Show the setup for your developer
provider:
stub: local.mock_rules_and_holds
production: none # no hosted step; runs on your own systems
stays local # yours, and the standard
- the rules document and every change to it
- the holds list, the release lists and every release
- the do-not-contact list and the contact hours
- every payment, in your own bankingAsk anyone selling an AI bot where its dollar limits live, who can release what it holds, and what it does with an action nobody wrote a rule for.
The pass test. On the business’s own systems, not a sample. Write the rules once. Raise a real invoice over the limit: it must wait as a hold naming the rule until the owner releases it, then go once. Put a real customer on the do-not-contact list: nothing may go to them. Let a send come due after hours: it must wait for the morning. Then lower the limit and raise another invoice between the old and the new: every bot that sends invoices must hold it on its next run. A stub cannot pass this. On a stub there is one bot and one document; in a business, the old limit is still in somebody’s prompt.
9. A checklist to hold any build or supplier to
Hold a DIY build or a vendor to this. If a box is empty, it is not in production.
- 1. Every bot reads the one rules document fresh before it acts, never its own copy. Before it takes or holds any action, the build reads the business's rules document as it stands now: the limits, the release lists, the do-not-contact list, the contact hours and the stage holders. A limit typed into a prompt, a setting kept from an earlier run or a copy of the list is not a read. A rule a person changes applies on the next run.
- 2. An action with no matching rule is held, never taken. If the rules have no entry for the action a step is about to take, the action waits as a hold for a person. Nothing goes ahead because the rules forgot to mention it. The hold says there was no rule, so the person can release this one and write the rule for next time.
- 3. An action over the amount the rules set raises a hold naming the rule, and waits. When the amount on the record is over the rule's over_amount, the build raises hold.requested with the record's ref, the amount and the rule that asked for it, and takes no action until the hold is released. At or under the amount it goes ahead. A rule with no amount holds every time.
- 4. Only a person on that rule's release list releases or refuses, with who and when, and a release allows one action once. A hold is released or refused only by a decision a person made on the holds list, and only if that person is on the release_by list of the rule that asked for it. The hold keeps the person's name and the time. A release allows the one action it was raised for, taken once. A decision by anyone else, including another bot, changes nothing and goes to a person.
- 5. A customer on the do-not-contact list gets no send, chase or call. Before anything goes to a customer by email, text or phone, the build checks the customer's ref against the do-not-contact list in the rules. A customer on it gets nothing, whatever the amount or the stage, and the item stops with the reason for a person. It is not raised as a hold, because a release would contact them.
- 6. Nothing goes to a customer outside the contact hours in the rules. A send, a text or a call to a customer happens only inside the contact hours the rules set, read in the business's own timezone. Outside them the item waits, untouched, and goes on the first run inside them.
- 7. No bot moves money: any payment is refused, whatever the rules or a release say. The rules document fixes nodes_may_move_money at false, and no rule or release changes it. A step that comes due to pay, refund or transfer is refused: no payment is released and no hold is raised for one, because a released hold would let a bot pay. The item stops with the reason for a person, who pays in their own banking.
- 8. A bot not named in stage_holders for its stage does nothing. The rules name one bot per stage. Before a step, the build checks that it is the one named for that stage. If another bot is named, or none is, it takes no action, raises no hold and writes nothing, so two chase bots never both chase one invoice.
- 9. It survives the builder. Someone other than the builder can explain what it does, and it runs on an account the business owns.
- 10. The pass test passes. On the business's own systems: the owner writes the rules once. An invoice over the limit waits as a hold until the owner releases it, then goes once; a customer on the do-not-contact list gets nothing; nothing goes after hours. The owner lowers the limit, and the next run of every bot holds at the new one.
- 1
Hold the build to the checklist
The checks in this standard are what a working build looks like. Implement it yourself, hand it to a developer, or hand the page to an AI with the button below.
- 2
Do not hand-roll
There is no product for this step. Highest option: none. Checklist plus a build.
- 3
If you are stuck
Exceptions, three systems, a team that will not maintain a Zap, or an owner who wants it done. We implement when it has to survive the business.
Related reading
- The Customer Link Build Standard: one customer across every system
- The Exception Desk Build Standard: one queue for what nobody could decide
- The Cash Seam Build Standard: one id from the call to the chase
- Sign-offs on Microsoft 365: the build plan
- How it all fits together: the shared rules every bot follows
- The Mesh Directory: bots that pass work along by the same contract
Want the whole thing by email?
This paper, plus the rest of the library. One click to stop them.