← All standards
Open specificationStablePublished November 2026Changelog

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.
Build it myself

DIY. The objects, the checks in order, and the pass test.

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

  1. 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

  2. Every bot, every run

    Quote, invoice, chase and order bots read the same copy before they act. None keeps its own.

    • read_rule

    raises

  3. 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

  4. A named person

    Someone on that rule's release list releases or refuses. The hold keeps who and when.

    • hold.released
    • hold.refused
Read it downward. You write the rules once. Every bot reads them before it acts, holds what needs a person, and takes a released action once.

One action, through the rules

  1. An action comes due on a record: an invoice to send, a chase, a call.
  2. The bot reads the business's one rules document, fresh, on this run.
  3. 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.
  4. It finds the rule for the action and the rule's limit.
  5. 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.
  6. If so, the bot takes that one action, once. A release is spent when it is used.
  7. Is it inside the contact hours in the rules? If so, it goes, and the hold shows who released it and when.
  8. If not, it waits for the first run inside the hours.
The filled diamond is the person. Nothing over a limit goes until someone on that rule’s release list releases it. The loop is the contact hours. A send after hours waits for the morning.

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, at

A 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.

  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.

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.

StandardWhat it reads the rules for
Quote OutThe limit above which a quote waits for a person before it is sent, and who may release it.
Invoice OutThe same for an invoice, and the contact hours for sending it.
Debtor ChasingThe 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 OrderThe amount above which an order waits for the person who signs off purchases.
Invoice CheckThat no bot pays a bill. A checked bill waits for a person, who pays it in your own banking.
Customer LinkWhich 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

  1. 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.
  2. Make the holds list and a releases tab or list only the people on your release lists can write to.
  3. 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.
  4. 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 banking

Ask 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. 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. 2

    Do not hand-roll

    There is no product for this step. Highest option: none. Checklist plus a build.

  3. 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

Want the whole thing by email?

This paper, plus the rest of the library. One click to stop them.

Run these checks yourself

Every check on this page is published as structured data. This prints them with what to inject, what to assert, and which ones can be proved on your own machine rather than against the live thing.

npx @aipathway/conformance show rules-and-holds-build-standard

Free and open source, CC BY 4.0. The checks are fetched from this page rather than bundled, so a correction here reaches you without a release, and you cannot end up conformant against a stale copy. The raw JSON is there if you would rather wire it into your own harness, and the package shows how to drive your build through the ports.

Built it, and one check failed?

Tell us which one. You have already read the standard and tried it, so the answer is a fixed price to finish that step, not a call to work out what you need.