Skip to content
Cognolo

Cognolo is in early access, and its hosted service isn’t open yet. This guide describes how the dashboard and the runtime are built to work. Some parts, such as the GitHub App and the code reader, have so far been tried only on sample code. Ask about early access

Guide › Your app, page by page › Knowledge

Rules

What the assistant is told to follow, with a switch for each environment.

A rule is a sentence about what should always, or never, happen, like “Staff can’t double-book a bike.” The Rules page lists every rule with one switch per environment. A rule that is off isn’t given to the assistant in that environment.

Rules: the rules made from your answers, each switched on or off for Dev, QA and Production.Rules: the rules made from your answers, each switched on or off for Dev, QA and Production.
Cognolo’s own test app, Sharengeti Business, with sample data.

A switch only changes what Cognolo uses. Tools still run as the signed-in person and approvals still apply, so a switch can never give the assistant more than that person may do.

Rules that limit the assistant

Some rules limit what the assistant may do. They carry a Limits the assistant label. Switching one off asks you to confirm, and says so when the environment is Production. With it off, calls it used to block wait for a person to approve instead. You can change that under How the assistant is kept in line.

A rule that limits the assistant is only advice to the model until the matching check is in a merged change. After that, your server enforces it even if the model ignores it. Each rule says which: Enforced with a tick, or Not enforced yet with the change that holds its check. The number on the Rules tab counts the ones not enforced yet.

Write a rule

  1. Choose Write a rule on the Rules page.
  2. Write it in your own words, like “Refunds over $200 always need a manager.”
  3. Tick the box if it limits what the assistant may do.
  4. Choose Add rule.

Cognolo checks it’s clear first. A rule that sounds unsure (“maybe”, “depends”), is too short, or repeats an existing rule is refused, with the reason.

A new rule starts on in the first environment only, usually Dev. Try it there, then copy it on. The rule shows who wrote it.

History

History on each rule lists every time it was switched on or off, in which environment and by whom. The history only grows: nothing in it can be edited or removed.

Talk rules

A Talk rule is about what the assistant talks about, like “Never discuss competitors’ prices” or “It’s fine to talk about the weather when someone is planning a rental.” Tick It’s about what the assistant talks about when you write it. A Talk rule that limits the assistant is off-limits; any other is fine to talk about. The assistant is always told. With the conversation filter on, messages are checked against it too.