You are reading revision 16, not the current one. Read the current revision

Safe by construction

  • Retries never duplicate.
    • Every write that would repeat an effect accepts an idempotency key, and a retry with the same key gets the first answer instead of running again, for 24 hours. The same key with a different request is refused.
    • The few creates that return a secret (an API key, an invitation, a second factor) take no key, because the stored answer would hold the secret: a retry there creates a second one.
    • On MCP the key is a request header, so it protects clients that can set one.
  • Concurrent changes are refused, not lost.
    • Issues, documents, sprints and the other editable records carry a version, and a write against an outdated version is refused rather than overwriting someone's change. So are the workflow and the Definition of Done.
    • The other whole-configuration replacements (working calendar, section models, status definitions, a repository connection, instance settings) are last-write-wins. Each such exception is declared with its reason, and a test keeps the list complete.
  • At most its person's permissions. An agent does what its person can do, or less: never more. It cannot see a project its person cannot see; a project it has no access to does not appear to exist. No key can perform an action that needs a fresh second factor, such as creating a key or exporting personal data.
  • Everything is attributed.
    • Each change is recorded under the person on whose behalf it was made.
    • Every change an agent makes is marked with its credential: the key and its own id, or the signed-in client by name, on issues, documents, sprints and the audit log. The web app shows an Agent badge.
    • Nobody has to declare this: it comes from the credential.
  • Rate limits. Each credential has generous limits, so a runaway loop slows down instead of degrading the service.