Skip to content

Go-live checklist

Work through this in your sandbox before your people use it, then again briefly in production.

Sign-in

  • Passes are signed on your server, a new one for each swap, expiring within 10 minutes, each with a new jti.
  • Your key page is at a public https address, answers within 3 seconds, and holds public keys only.
  • sub is a stable id that never changes for a person, and is the same in sandbox and production for the same person (or deliberately different for test people).
  • Every role your people have matches a role rule, or you've agreed with the Klaris admin who is let in without one.
  • One token per person is kept and reused until about a minute before it runs out; a 401 leads to one new swap, not a loop.
  • A refused pass (400 invalid_grant) is logged on your side and shown to the person in plain words.
  • You've practised changing keys: new key published beside the old, signing switched, old key removed.

Answers

  • Every status is handled: answered, working, needs_answer, needs_approval, failed, stopped.
  • working is followed with get_answer until it isn't; your own timeouts are longer than 50 seconds.
  • Questions back are shown with their options, and the reply goes to the same chat.
  • Approvals are shown with their summary (and SQL), and only the person's own decision is sent.
  • Tables show their first rows and page through the rest with get_table_rows when the person wants more.
  • Charts are drawn from data and encoding, or shown as a table if you don't draw charts.
  • Files are read with resources/read and offered as downloads, or your assistant says how to get them.
  • Progress notes are shown while Klaris works, so a longer answer doesn't look stuck.
  • Each of your threads keeps its conversation_id, and a new topic starts a new chat.
  • Unknown status values, output kinds and fields are ignored, not errors.

Access

  • Test with people of each role, and check each sees only what their role should.
  • Ask about something a role can't see, and check the answer says so.
  • Check with your Klaris admin that they can see your app's activity in Klaris's audit log.

Production

  • The production issuer, key address, audience and role rules are set up in Klaris, and production passes work.
  • Your logs keep the conversation_id with each answer, so a question about an answer can be traced. Never log passes or tokens.
  • You know who to call at Klaris, and Klaris knows who to call at your side.