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 › Assistant

Approvals that need a passkey

For changes that can’t be undone, a click isn’t enough: the person confirms with their fingerprint, face or device PIN.

Needs Cognolo package 0.4.0. Until your app has it, approving is a click.

More and more people let an AI agent use their browser for them. An agent can click Approve just as a person can, and text planted in something it read could steer it. So for a change that can’t be undone, such as a refund or a message sent, Cognolo asks for more than a click.

What the person sees

  1. The card says the change needs their passkey.
  2. They press Approve, and their phone or laptop asks for their fingerprint, face or device PIN, the same as when they sign in.
  3. While it asks, the card says exactly what the touch approves, such as “Refund $40 to order 1182”.
  4. Only then does the change run.
How a passkey approval works, in five steps: the assistant proposes a change marked as needing a passkey; the person presses Approve; their device asks for their fingerprint, face or device PIN; the app confirms it is this person approving exactly this change; the change runs once and is recorded as approved with a passkey. A click alone, with no passkey answer, runs nothing.How a passkey approval works, in five steps: the assistant proposes a change marked as needing a passkey; the person presses Approve; their device asks for their fingerprint, face or device PIN; the app confirms it is this person approving exactly this change; the change runs once and is recorded as approved with a passkey. A click alone, with no passkey answer, runs nothing.
How a passkey approval works. A click alone runs nothing.

What you get

  • Tied to that exact change. The confirmation can’t be used for another amount, another change, or the same change twice.
  • Checked in your own server, just before it runs. Without it, nothing runs.
  • Each person’s passkeys are listed with when they were set up, so one they didn’t set up stands out.
  • Free on every plan. It’s protection, not an extra.
  • Your choice, tool by tool. Where a click is enough, such as an app only your own staff use, you can let a click approve a tool in one environment, on that tool’s skill. Cognolo advises against it and asks you to confirm first.

Choose what needs a passkey (for the owner)

At Suggest, the assistant shows each change on a card and waits for the person to approve it. Each skill lets you choose, for each of its tools and each environment, how they approve it: Passkey (their fingerprint, face or device PIN) or Click (the Approve button alone). Open the skill from Skills.

  • A tool that can’t be undone, such as a refund, starts at Passkey. Choosing Click lets a click approve it: Cognolo asks you to confirm first, and on Production you type the environment’s name. Not recommended.
  • A tool that can be undone starts at Click. Choose Passkey to ask for one for it too. At Automatic, a tool set to Passkey still waits for the person.
  • A tool that only looks things up has nothing to approve, so there is no choice to make.
A skill’s card on the Skills page, at Suggest in Dev. Under How the person approves in Dev, extendBooking is set to Click and applyDiscount to Passkey.A skill’s card on the Skills page, at Suggest in Dev. Under How the person approves in Dev, extendBooking is set to Click and applyDiscount to Passkey.
On the Skills page: each skill’s card, for the environment you pick. Cognolo’s dashboard with an invented sample app.
The How the person approves box on a skill’s own page, for Dev, QA and Production. extendBooking is set to Click everywhere; applyDiscount is set to Passkey in QA and Production, and to Click in Dev, with a red note: not recommended, it can’t be undone.The How the person approves box on a skill’s own page, for Dev, QA and Production. extendBooking is set to Click everywhere; applyDiscount is set to Passkey in QA and Production, and to Click in Dev, with a red note: not recommended, it can’t be undone.
On the skill’s own page, every environment at once: applyDiscount set to Click in Dev, marked not recommended.

Your app’s Setup page shows the same choice for every tool, each linked to its skill, and one switch for each environment: Approve everything with a click here, for a device that can’t use a passkey, such as a shop counter PC. Not recommended.

The Approvals that need a passkey card on the Setup page, for Dev and Production. Each lists applyDiscount set to Passkey, and draftReply and extendBooking set to Click, each with its skill’s name as a link, then the Approve everything with a click here switch, off.The Approvals that need a passkey card on the Setup page, for Dev and Production. Each lists applyDiscount set to Passkey, and draftReply and extendBooking set to Click, each with its skill’s name as a link, then the Approve everything with a click here switch, off.
The overview on Setup. The sample app runs an older package, so it still says approving takes a click.

Every change to these settings is in History, with who made it and when. The Safety check lists each environment where a click approves something that can’t be undone, marked to fix now on Production.

The Safety check’s line: Dev: you let a click approve applyDiscount, which can’t be undone. An AI agent using someone’s browser could approve it there. To ask for the passkey again, untick it on the Setup page.The Safety check’s line: Dev: you let a click approve applyDiscount, which can’t be undone. An AI agent using someone’s browser could approve it there. To ask for the passkey again, untick it on the Setup page.
The Safety check names what you let through.

Set it up (for your developer)

  1. Update to package 0.4.0 and run its database step: it adds one table, next to the conversations.
  2. Set COGNOLO_ORIGINS to every address people open your app at.
  3. Let Cognolo ask people to sign in again before they set up a passkey (freshSignIn in the route’s options). It’s recommended everywhere and needed on Production: without it, changes that can’t be undone wait there.

Good to know: a passkey works on the address it was set up on, so people set one up on each address they use. Open the app in its own tab to approve, not inside another site’s preview. Staff who approve these changes need a device that has a passkey, such as a phone or a laptop with a fingerprint reader.