Rules for software that acts for people.
Eight rules from The Handshake, and the rules Kitaab’s core is model-checked against. They apply to any system that carries words or actions between people, whoever builds it. Each comes with a test you can run on your own system.
Leave most talk alone.
Warmth, jokes and small talk get no tasks, no confirmations and no tracking.
- Why it holds
- Most messages between people who know each other keep a relationship warm rather than pass on information (Malinowski, 1923; Jakobson, 1960; Dunbar, 1996).
- Test it
- Send twenty everyday messages that ask for nothing: greetings, thanks, a joke, condolences, “reached home”.
- Passes if
- Nothing is created, scheduled, tracked or offered for any of them.
- Fails if
- “Good morning 🙏” turns into a task, a reminder or a “did you want me to…?”
Read the act, not the keyword.
Understand what a message does in its context, in any language. Never decide meaning by matching words like “yes”, “ok” or “haan”.
- Why it holds
- The same words do different things in different turns, and most real sentences mix languages (Searle, 1976; Grice, 1975; Poplack, 1980).
- Test it
- Send one request three ways: in one language, in two languages mixed, and without any request word (“We’re out of ink and Kabir is passing the shop”). Then send “ok so the price went up?”.
- Passes if
- The same request is understood all three ways, and the question containing “ok” is not read as agreement.
- Fails if
- A word list changes the outcome, or a language has to be chosen before anything is understood.
A reply that sounds like yes is not agreement.
Agreement is a specific answer to a specific proposal, given knowingly by someone with the authority to give it.
- Why it holds
- Acknowledging is not accepting (Clark and Brennan, 1991), and courts now read emoji: South West Terminal v Achter Land, 2023 SKKB 116, appeal dismissed 2024 SKCA 115, and the Supreme Court of Canada declined to hear it in 2025.
- Test it
- Answer a specific proposal (“40 chairs to Alibaug by Friday?”) with “ok 👍”, then “haan”, then “sure, we’ll see”, then “🙏”.
- Passes if
- None of them is recorded as agreement to the proposal’s terms without a confirmation tied to that exact proposal.
- Fails if
- Any of them closes the matter as agreed.
Bind approval to the exact words and people.
A yes covers what was shown, to whom, and nothing more. A change needs a new yes.
- Why it holds
- Least privilege: every grant of authority should be as narrow as the task (Saltzer and Schroeder, 1975).
- Test it
- Approve a draft message, then change one word or add one recipient before it is sent.
- Passes if
- The change needs a new approval, and what is delivered is exactly what was approved.
- Fails if
- The edited version goes out on the old approval, or the original goes out after an edit.
Ask only when being wrong costs more than asking.
Asking has a cost too. The bar rises with the stakes, and anything irreversible is always asked.
- Why it holds
- Act when the expected cost of a wrong reading, (1 − c) × ω, is smaller than the cost of asking, α (The Handshake, Appendix B2).
- Test it
- Give the same ambiguous instruction twice: once as a note to yourself, once as a message to a client.
- Passes if
- It acts on the first and asks one specific question on the second. Anything irreversible is asked every time.
- Fails if
- It asks about everything, or about nothing.
Never sound surer than you are.
“He’ll probably send it” stays “probably”. A summary is never more certain than what it summarises.
- Why it holds
- A claim is never stated more strongly than its proof, and unknown is a legitimate answer (The Handshake, Part V).
- Test it
- Ask for the status of something the other side has not confirmed.
- Passes if
- The answer says “not confirmed”, “no reply yet” or “unknown”, and names what it is waiting for.
- Fails if
- “Sent” or “done” appears without the carrier’s or the person’s confirmation.
Give every ask a deadline and an honest ending.
Done, declined, cancelled, or no reply by the deadline.
- Why it holds
- Without a time limit a slow reply cannot be told from none (Fischer, Lynch and Paterson, 1985), and silence is not acceptance (Felthouse v Bindley, 1862).
- Test it
- Send an ask with a deadline and let nobody answer.
- Passes if
- After the deadline it ends visibly as “no reply”.
- Fails if
- It waits forever, or silence turns into a yes.
Let people choose what of their conduct to show.
Records describe what happened. They never become a score imposed on a person.
- Why it holds
- A record of how people dealt with each other lengthens the shadow of the future (Axelrod, 1984), but only conduct a person chooses to show is information rather than a weapon.
- Test it
- Look for any score, rating, label or ranking of a person that the person did not choose to show.
- Passes if
- There is none. Records of conduct are visible to the person they describe and shown to others only by their choice.
- Fails if
- Someone is ranked, labelled or scored without a say.
Model-checked.
Kitaab’s core is written down as two formal models in TLA+, model-checked with TLC: one for actions and approvals, one for a step that waits on other people’s answers. Within small, stated bounds the checker visits every state the models can reach, in every order events can happen, and looks for one that breaks a rule.
- Action model
- 95,589 distinct states
- Waiting model
- 10,720 distinct states
- Rules broken
- None
- Seeded bugs caught
- 9 of 9
- Checked
- 31 October 2026
Actions and approvals
- No action without approval of its exact content. Nothing is attempted unless its owner approved exactly the current content, or a live standing grant covers it, and what goes out is always the current content, never an older copy.
- At most one real delivery. Each action reaches the outside world at most once, however many times a step is retried, and once it has happened it stays happened.
- Cancelling clears what is pending. In a cancelled matter nothing not yet sent is still authorised, and reopening the matter never brings an old approval back.
A step that waits on other people
- It goes ahead only when the answers allow it, or its owner says go.
- A no is final.
- Replies that arrive twice or out of order never release it twice.
- An unclear answer settles nothing until its owner has read it.
- When the answers say go, it goes at once.
- A step still waiting after its reply window is brought to its owner.
- Finished stays finished.
Broken on purpose
A check that cannot fail proves nothing, so 9 deliberately broken versions of the models were checked too. Each was caught, in three to six steps:
- Sending without authorisation
- Approving in a matter already closed or cancelled
- Cancelling without clearing approvals
- Ignoring a revoked grant
- Ignoring the limits of a grant
- Going ahead before the answers are in
- Going ahead twice
- Ignoring a no
- Guessing what an unclear answer meant
A real defect, where an edited message was discarded and the copy approved before the edit went out instead, is reproduced in the model as a broken rule: what was delivered was not the current content.
From the model
Authorised(a) ==
/\ Proposed(a)
/\ \/ approval[a] = action[a].content
\/ /\ grantOf[a] # NoGrantRef
/\ GrantExists(grantOf[a])
/\ ~grant[grantOf[a]].revoked
/\ InBounds(action[a].content, grant[grantOf[a]].bounds)
I1_NeverAttemptedWithoutAuthorisation ==
\A a \in Actions : attemptAuthorised[a] # "No"
I2_AtMostOneRealDelivery ==
\A a \in Actions : deliveryCount[a] <= 1
I3_CancelClearsAuthorisationForThePending ==
\A a \in Actions :
(Proposed(a) /\ matter[action[a].matterId] = "Cancelled"
/\ effect[a] = "NotAttempted")
=> ~Authorised(a)What it does not show
- This is model checking within small bounds: two matters, two actions, one standing grant and three versions of content; three answers for a waiting step. Every reachable state inside them was checked. It is not a proof for every size, and it is not a proof in Lean or any other proof assistant.
- Four more rules of the core are written down but not yet modelled: the record, completion only with proof, a history that is only ever added to, and what is disclosed to whom.
- Nothing ties the running code to the models except careful reading. In the app, a waiting step has a reply window only when a deadline is set. Next is checking real runs, recorded as events, against the models.
Use them.
The rules are free to use, adapt and cite under CC BY 4.0. If your system passes or fails one in an interesting way, or you think a rule is wrong, tell us.
Cite as: Singh, A. (2026). Rules for software that acts for people. Opankitaab Private Limited. kitaab.live/research/rules