Documentation · Run engagements

Run an engagement

Scope to contract to change request to invoice to handoff.

Audience: consultant. Prerequisite: Start here.

This is the spine. Every other page in the guide is a zoom-in on one stage of it. Follow this page top to bottom to run an engagement start to finish.


The states an engagement moves through

The stages below are what you do. This is what the engagement is while you do it — eleven states, and the platform will not let you skip the two that are guarded.

stateDiagram-v2
  [*] --> lead
  lead --> proposal
  proposal --> contract_sent : ⚠ GUARDED — needs a generated contract
  contract_sent --> signed : ⚠ GUARDED — needs a signed PDF on file
  signed --> active
  active --> paused
  paused --> active : resume
  active --> complete
  complete --> archived : a one-off engagement ends here
  complete --> handoff_initiated : becoming ongoing support
  handoff_initiated --> acknowledged
  acknowledged --> support_active
  support_active --> archived
  archived --> [*]

Both guards hold until the paperwork exists. An engagement with no contract cannot reach contract_sent, and one the CLIENT has not signed cannot reach signed — no matter what you know to be true offline. The refusal names the reason: “Cannot move to ‘signed’ without a signed contract on file.”

“Signed” here means the CLIENT signed — your counter-signature is not required to pass this guard. A contract is signed once the client returns it and countersigned once you add your signature; both satisfy the gate, because a counter-signed contract contains the client’s signature. Every screen that counts signed contracts counts them the same way, so a fully executed agreement counts as signed everywhere — a counter-signature adds to a contract, it never takes it out of the count.

paused is the only state you can come back from. Everything else runs forward, and archived is the end. The handoff tail (handoff_initiated → acknowledged → support_active) is for work that becomes an ongoing support arrangement; a one-off engagement goes complete → archived.

⚠️ archived means abandoned, and it is final. An archived engagement can’t be deployed or reopened. Deploy from the engagement that replaced it.

Who may move an engagement depends on the move. The selling steps — lead, proposal, contract sent, signed — and the delivery steps — active, paused, complete and the handoff tail — as well as creating an engagement, need the Admin or Build role. Archiving an engagement that has no app yet is the same housekeeping, but archiving or deleting one whose app is live takes that app offline, so it is kept to the Admin role. The app is backed up first and then removed; if a fresh backup cannot be confirmed, the app is left running and TTP is told, so nothing is lost. ⚠️ Archiving or deleting also closes the client’s portal: their signed-in sessions stop working at once, and their onboarding link, any unused sign-in link and any unopened app link are revoked. A portal user who is already inside the delivered app is signed out of it too: the builder asks the app to end their session. If the app cannot be reached at that moment, a session already open there can last until it expires — no new one can be opened, because the portal is closed — and the archive records which app could not be reached. App users who sign in to the app with its own accounts are not affected. The same reach applies to one portal user: suspending them, or changing their app roles, ends their session inside the app (without locking them out), so they are soon back at the portal, which refuses a suspended portal user and applies the new roles when they open the app again. Each consultant is only offered the moves their role allows; the Billing role moves none — it reads every engagement. The contracts behind the selling steps follow the same rule: generating, sending and recording a signed copy need the Admin or Build role too.

Signed to live — the screens, in order

The stages below have the detail. This is the route through them: which screen, the one control you press, and what changes when you do. It is the page to follow on your second engagement without re-reading the prose.

If a screen differs from this sequence, believe the screen — and tell us about the difference.

The diagram is the route; the table under it is the detail.

flowchart TD
  S1["<b>1</b> · Clients<br/><i>New client</i>"]
  S2["<b>2</b> · Delivery<br/><i>scope items</i>"]
  S3["<b>3</b> · Contracts<br/><i>+ New contract</i>"]
  S4["<b>4</b> · Contracts<br/><i>upload signed PDF</i>"]
  GATE{{"🚧 reaches <b>signed</b><br/>nothing deploys before this"}}
  S5["<b>5</b> · Build<br/><i>record types → pages → permissions</i>"]
  S6["<b>6</b> · Deploy<br/><i>Deploy</i>"]
  S8["<b>8</b> · Time · Invoices<br/><i>log time, raise invoice</i>"]
  S7["<b>7</b> · Portal Users<br/><i>Add portal user</i> ⚠️ real email"]

  S1 --> S2 --> S3 --> S4 --> GATE --> S5 --> S6 --> S8
  S2 -.->|"any time after step 1"| S7
#ScreenThe controlWhat changes
1Firm ▸ ClientsNew clientclient, engagement and portal invite in one wizard
2Engagement ▸ Deliveryadd scope itemsthey feed the contract, progress reports and change requests
3Engagement ▸ Contracts+ New contractgeneration is refused while a required value is unset
4Engagement ▸ Contractsupload the signed PDF🚧 unlocks signed — the deploy gate
5Build ▸ Record types · Pages · Permissionsauthoring⚠️ a role with no read grant sees an empty app — and the deploy refuses until you grant it or acknowledge that nobody will hold that role
6Build ▸ DeployDeploytheir staff can use it
7Engagement ▸ Portal UsersAdd portal user⚠️ a real email goes to a real person
8Engagement ▸ Time, then Invoiceslog time, raise invoicea draft is not yet a claim on the client

A signed copy can only be uploaded while the contract is still awaiting signature (generated or sent). Once it is signed or counter-signed the upload is refused, so the signed copy on file for an executed agreement cannot be replaced.

Step 4 is the one that surprises people. Everything from step 5 is authoring you can do whenever you like — but the deploy in step 6 is blocked until the client’s signed contract is on file, and no amount of knowing the deal is agreed will move it.

Steps 5 and 7 are independent. You can invite the portal user long before the app is built; the portal shows them progress, contracts and invoices without a delivered app.


Stage 0 — The firm exists

Before any client work, your firm needs to be set up once. Firm scope:

Do thisWhere
Set your firm profileFirm settings ▸ Firm profile
Add your logo, colours, invoice identityFirm settings ▸ Branding
Set standard billing ratesFirm ▸ Rates (/rates)
Configure how you get paidFirm settings ▸ Payments (/payment-config)
Invite your team, give them rolesYour firm ▸ Your team, and Trust & compliance ▸ Security ▸ Roles
Optionally set a monthly cost budgetFirm settings ▸ Plan & billing (/billing)

Branding matters more than it looks: it flows into invoices, the client portal’s header once a client signs in, and the delivered app’s login screen. Set it once, properly.

Stage 1 — Create the client and the engagement

  1. Firm ▸ Clients (/clients) → New client. This creates the client company.
  2. Inside the client, create an engagement — one discrete piece of work. A client can have many engagements; each gets its own app, its own data, its own invoices, and its own portal access.

An engagement is the unit of everything. When in doubt about where something belongs, it belongs to the engagement.

Stage 2 — Discovery and scope (OPERATE mode)

Engagement ▸ Operate is the commercial half of the relationship.

Do thisWhere
Record what you are deliveringDelivery (/engagements/:id/delivery) — the scope items
Track delivery progressDelivery (/engagements/:id/delivery)
Put the agreement in writingContracts (/engagements/:id/contracts)
Add your team to the engagementTeam (/engagements/:id/team)

Scope items are the contract’s spine. They flow into progress reports, into change requests when scope moves, and into invoicing. Getting them right early makes every later stage honest; skipping them makes the commercial surfaces empty.

Editing scope and milestones needs the Admin or Build role. A consultant with the Billing role, or one whose role is narrowed on this engagement, sees the scope and the milestones read-only, and the change is refused whichever screen it comes from.

Stage 3 — Build the app (BUILD mode)

This is the craft. Full detail in Build the app and Make it behave. Opening an engagement’s app for the first time sets the app up, which needs the Admin or Build role; anyone else is told so. The Build rail is in four groups — Data, Pages, Behavior, Ship. The order that works:

  1. Record types (/engagements/:id/build/schema) — what the app keeps, and their fields.
  2. Pages (/engagements/:id/build/pages) — the screens, bound to those record types.
  3. Appearance (/engagements/:id/build/appearance) — the client’s look. A new app already starts in the house look; choose another under Look & Theme, then lay the client’s colours over it.
  4. Permissions (/engagements/:id/build/permissions) — the app’s roles (+ New role) and who may see and do what. Not Firm ▸ Roles: those are your own team’s roles.
  5. Behavior (/engagements/:id/build/behavior) — rules and workflows.
  6. Connections, Import a Spreadsheet and Scheduled Imports — real data in.
  7. Anomaly Watchers, Surfacing Rules, Escalation Chains — the app noticing things on its own.

Do them roughly in that order. Record types first is not a style preference: pages bind to them, rules target them, and permissions are granted per record type, so building screens before the data shape settles means redoing them.

Stage 4 — Deploy (BUILD ▸ Deploy, then RUN)

Configuration is authored as a draft, then published, then deployed. Those are three different things and conflating them is the most common confusion:

  • Draft — your working copy. Only you see it.
  • Published — the config is frozen as a version. Still not live.
  • Deployed — a published version is running in an environment.

Set the target up at Build ▸ Deploy (/engagements/:id/build/deploy), then deploy and watch it from Run ▸ Releases ▸ Deployments (/engagements/:id/run/deployments).

Full detail, including environments and rollback, in Ship it.

Data survives config deploys. Redeploying configuration does not wipe the app’s records. See the data-safety section of 05 for the one operation that is destructive and how it is guarded.

Stage 5 — Give the client access (OPERATE + portal)

Do thisWhere
Invite the client’s people to the portalEngagement ▸ Portal Users (/engagements/:id/portal-users)
Onboard themEngagement ▸ Operate, and the portal’s own onboarding

Portal users are people at your client, not consultants from your firm. The two lists are kept separate: anywhere you choose portal users, your team is never offered, and the other way round. Detail in Work with your client.

Stage 6 — Run it (RUN mode)

Once deployed, Run is where you operate the app on the client’s behalf:

WatchWhere
The app’s real recordsApp Data (/engagements/:id/run/app-data)
What the app flagged for a humanAttention (/engagements/:id/run/attention)
Is it up and healthyApp Health (/engagements/:id/run/deployments/health)
What ran, and what it didWorkflow Runs (/engagements/:id/run/workflow-runs)
What it noticedAnomaly Events (/engagements/:id/run/anomaly-events)
Client-raised problemsSupport (/engagements/:id/run/support)
Who changed whatApp Audit (/engagements/:id/run/audit)

Stage 7 — Get paid (OPERATE)

Do thisWhere
Log timeEngagement ▸ Time (/engagements/:id/time)
Raise an invoiceEngagement ▸ Invoices (/engagements/:id/invoices)
Handle a disputed itemEngagement ▸ Disputes (/engagements/:id/disputes)
Bill scope that grewEngagement ▸ Change Orders (/engagements/:id/change-orders)

Detail in Getting paid.

Stage 8 — Report and hand off

Do thisWhere
Send the client a progress reportEngagement ▸ Progress Reports (/engagements/:id/progress-reports)
Package the engagement for handoverEngagement ▸ Handoff Packets (/handoff?engagement=:id)

Handoff produces the package the client keeps: what was built, how it works, and what they now own.


The shape of a first engagement

If you are walking this for the first time, this is the shortest honest path that touches every stage:

  1. Firm ▸ Clients → new client → new engagement.
  2. Operate ▸ Delivery → add two or three scope items.
  3. Build ▸ Record types → one record type with a handful of fields.
  4. Build ▸ Pages → one page listing those records, one for creating a record.
  5. Build ▸ Appearance → set the client’s colours.
  6. Build ▸ Permissions → + New role for one non-admin role, then grant it read on your record type.
  7. Build ▸ Behavior → one rule that notifies that role when a record is created.
  8. Build ▸ Deploy → set the target. Deploy.
  9. Run ▸ App Data → create a record. Run ▸ Attention / the bell → see the notification arrive.
  10. Operate ▸ Time → log an hour; Operate ▸ Invoices → raise a draft invoice.
  11. Engagement ▸ Portal Users → invite yourself as a portal user; open the portal.
  12. Operate ▸ Progress Reports → generate a progress report.

That is a complete engagement in miniature, and it exercises every subsystem the rest of this guide documents.