← Platform Foundation

FEAT-TENANT-LIFECYCLE

Customer Lifecycle

A clinic is born from reviewed files, suspended without losing a record, and deleted with a grace period that ends in cryptographic erasure — every transition governed, durable, and audited twice.

The promise

A customer organisation's whole life is a set of governed transitions, not a sequence of console operations. Creation provisions everything a clinic needs — its sealed data space, its organisation tree, its encryption keys — atomically, from the reviewed configuration files that define it, with the first administrator invited by email rather than handed a shared password.

Suspension blocks new sign-ins and new writes but preserves every record and every audit line; reactivation restores access without anything having been lost, and a suspended clinic's staff see an honest "customer organisation suspended" message, not a broken login. Deletion begins with a thirty-day grace timer — cancellable back to suspension — and finishes with cryptographic erasure: the keys are destroyed, and with them every copy of the data, wherever it sits.

The transitions themselves are durable: a platform restart mid-workflow resumes rather than corrupts. Each one reaches the clinic's on-site equipment — suspend quiets the edges, delete revokes their credentials — and each is recorded twice, in the platform operator's trail and in the organisation's own.

Why this matters to a customer

Onboarding, offboarding and emergencies are where multi-customer platforms show their real discipline. Here a customer can verify all three: joining is a reviewed change with a paper trail, leaving ends in erasure that backups cannot undo, and a payment dispute or incident can pause a clinic without destroying anything. The dual audit trail means neither party depends on the other's record of what happened.

What it does not promise

The grace period is a protection, not a loophole: during it the data is preserved but the clinic stays suspended. And erasure by key destruction is final by design — once the timer runs out, no party, jengu included, can bring the data back.

What it rests on
0 / 11 passing 5 without a result yet
  • kept by its basis its basis has no result A customer organisation is served because it was declared and stops only when someone withdraws it, never because its configuration could not be read for a while. REQ-LIF-SERVED-UNTIL-WITHDRAWN
    Based on 1 promise
    • not cited A deployment serves the declarations that were applied, not a listing it takes itself — so a tenant stops being served because somebody withdrew it, never because a read went wrong. A source that cannot be read leaves the records standing, the tenants serving, and says in the ledger that it has stopped moving. A deployment with no managing tenant to hold records reads its source directly, because nothing can bootstrap out of a store it has not built yet. REQ-DBO-TEN-SERVED-FROM-WHAT-WAS-APPLIED
  • kept by its basis its basis has no result A customer organisation answers only once it is fully up; until then callers are told to come back, never let into a half-built organisation nor told it does not exist. REQ-LIF-NOTHING-IS-SERVED-HALF-BUILT
    Based on 1 promise
    • not cited A tenant's doors answer once it is serving and not before. While it comes up each one says 503 with Retry-After — never a 200 that lets a client start writing into a tenant whose bring-up can still fail, and never a 404 for a tenant that answered a moment ago. A tenant waiting for an upstream it is brought up from — a dependency, the projection a zone is read through, the zone it federates through — builds nothing until that upstream serves, and then comes up, rather than going most of the way up and back down on every scan. REQ-DBO-TEN-A-DOOR-OPENS-WHEN-ITS-TENANT-SERVES
  • kept by its basis its basis has no result The first administrator sets their own password through a one-time, short-lived invitation; no shared password is ever handed over. REQ-LIF-THE-FIRST-ADMINISTRATOR-SETS-THEIR-OWN-PASSWORD
    Based on 1 promise
    • not cited A subject sets their own first secret by redeeming a one-time, short-lived grant the authority mints and never delivers: the consumer owns the address and the mail, so no delivery enters the trust root. Minting resolves nothing, redemption burns the grant on presentation rather than on success, and a grant authenticates nothing and cannot be exchanged for a token. REQ-DBO-AUTH-FIRST-SECRET-BY-ONE-TIME-GRANT
  • kept by its basis its basis has no result Erasing a customer organisation takes a right granted for that alone, records its reason and who asked, and is refused while the organisation is still declared; asking again answers the same. REQ-LIF-ERASURE-IS-A-DELIBERATE-ACT
    Based on 1 promise
    • cited, no result Erasing a tenant is asked at a door of its own, behind a credential the deployment gives for erasure and for nothing else: the operator's own token reads the node and erases nothing. Every erasure states its reason, which is recorded beside who asked; a tenant still declared, and the management tenant, are refused; and asking again for an erasure that already happened answers the same. REQ-DBO-TEN-ERASURE-HAS-A-DOOR-OF-ITS-OWN
      Cited by: cloud.jengu.dbo.tenant.AnErasureHasADoorOfItsOwnTest#theHolderOfTheTokenErasesWithAReason, cloud.jengu.dbo.tenant.AnErasureHasADoorOfItsOwnTest#theOperatorsTokenIsNotTheErasureToken, cloud.jengu.dbo.tenant.AnErasureHasADoorOfItsOwnTest#whatTheDoorWillNotErase
  • kept by its basis its basis has no result Erasure removes all of a customer organisation's data, the history of its work in progress included. REQ-LIF-ERASURE-LEAVES-NOTHING-BEHIND
    Based on 1 promise
    • not cited Dropping a tenant's database and blob storage removes all its data — including durable workflow history and feed state. REQ-DBO-TEN-ERASURE-BY-DROP
  • gap: not yet stated Suspending a customer blocks sign-ins and writes but keeps everything, and reactivating it loses nothing. FEAT-GAP-24cf4ee0
  • gap: not yet stated Deleting a customer waits through a thirty-day grace that one action cancels. FEAT-GAP-37dfbc90
  • gap: not yet stated Every customer lifecycle transition is recorded in both the operator's trail and the customer's own. FEAT-GAP-c306bd4c
  • gap: not yet stated Erasing a customer destroys its keys, reaching every copy, backups included. FEAT-GAP-5bb3a069
  • gap: not yet stated A lifecycle transition reaches the customer's edges. FEAT-GAP-bc30dd5b
  • gap: not yet stated A suspended customer's users see an honest message saying so. FEAT-GAP-ea0bc886