Internal platform

Staff access, the landing hall, the console shell, institutional voice, and two-person approval.

Access

Scope: every internal surface served under internal.mpalo.com or a staff-only Worker route.

Rule. Internal surfaces are staff-only. Access is a flag on the account: is_global_admin or is_support_user. A public page, a public API route, a developer reference page, and a generated index never carry staff material. Authentication is not authorization; every staff route checks the flag server-side.

  • Staff accounts are created with scripts/create-staff-account.mjs. The password is entered interactively and hashed locally.
  • MFA is enabled through the application flow. Do not write users.mfa_secret by SQL; it is an AES-GCM blob keyed by the Worker's encryption key.
  • A session that loses the staff flag loses the console at the next authorization check.
  • Access changes require two-person approval. See Approval.
  • Do not use a staff account for routine product work. Do not share a staff session.

Do: deny by default and name the missing role.
Do not: hide a staff control in the interface and treat that as authorization, or rely on a client-side check.

The public landing hall

The first internal screen is a hall, not a dashboard.

Rule. The unauthenticated entry at internal.mpalo.com is a public landing hall. It states what the internal platform is, who may enter, and how to sign in. It carries no operational data, no counts, no names, no health status, and no customer material. After authentication, the staff console is the working surface.

The hall uses the institutional identity: the canonical wordmark, the institutional blue accent, the 8px Mpalo radius, and the institutional voice. It is quiet. It does not look like a control room, a monitoring wall, or a product dashboard.

Hall boundaries
DoDo not
State the access condition and the sign-in action.Show a live count, a system status, or a recent activity feed.
Use the canonical mark and the institutional surface.Use a separate internal brand, mascot, or palette.
Link to the public trust and privacy pages.Publish an internal runbook or a staff directory.

The staff console shell

The console is a working surface. Its chrome must not imply a system it cannot show.

Rule. The console uses a single working column and a top bar. Do not add a persistent left rail. Do not add a clock. Do not add an environment label. Do not add section codes, fake terminal readouts, or decorative status lights.

ElementRuleWhy
Left railDo not use one. Put navigation in the top bar or in the page.A rail consumes the working width and reads as a product dashboard the console is not.
ClockDo not show a live clock.A clock is theatre unless the page is about time. Timestamps belong on records.
Environment labelDo not print "production", "staging", or "local" as chrome.The label is often wrong, and a wrong label is worse than no label. Show the environment only where an action depends on it.
Section codesDo not number sections as if the console were a terminal system.A code adds no navigation value and implies a taxonomy the reader cannot use.
Status lightsDo not add a pulsing or ambient indicator that is not bound to a real check.Decorative status teaches the operator to ignore status.

The shell uses the institutional blue accent, the 8px Mpalo radius, solid surfaces, the 2px focus ring, and the same component rules as every other surface. The institutional blue is #5e7ce2; the radius is --radius. Do not introduce an internal palette, a square-corner "terminal" variant, or a monospace interface face.

Institutional voice

The console speaks like the institution, not like a command line character.

Rule. Use the institutional and interface registers from Language. Name the record, the operation, and the consequence. Do not use hacker jargon, all-caps commands, fake terminal output, or a mascot voice inside the console.

  • Use sentence case for labels and headings.
  • Use "you" for the operator and "we" for Mpalo.
  • Name the affected account, key, record, or role in the confirmation.
  • State what will stop working and whether the action can be reversed.
  • Do not use "Oops", "Something went wrong", "Sorry", "Unfortunately", or an ellipsis in a failure message.
  • Do not use em dashes or emojis.

Do: "Revoke this key? Requests authenticated with it will be rejected within one minute."
Do not: "Nuke key? This cannot be undone."

Destructive actions and two-person approval

Two people are required for access changes and destructive actions. Nothing else requires a second approver.

Rule. An access change and a destructive action require a requester and a second authorized approver. The requester cannot approve their own action. The approval records who approved, what was approved, and when. The action states its consequence before it runs.

ActionTwo-person approvalConsequence stated
Grant or remove a staff flagRequiredWhich surfaces and records the role can reach
Revoke a staff session or reset a staff accountRequiredWhat access stops and what the person must do next
Delete an account, a memory space, or a record that cannot be restoredRequiredWhat is deleted, for whom, and whether a backup exists
Rotate or revoke a production credentialRequiredWhich services stop and when
Deploy, read a record, edit a draft, or run a reportNot requiredNormal review still applies

An access change is not a convenience. Do not grant a staff flag to unblock a task; grant the narrowest role that completes it. A destructive action is not a cleanup shortcut. If the action can be reversed, say how. If it cannot, say so before the approval, not after.

Why. A single operator can make a mistake. A second authorized person catches the mistake before it becomes a record that cannot be recovered. The rule is limited to access and destruction so that ordinary work does not become a queue.

Enforcement

The internal platform is reviewed against this page before a route or a screen ships.

  1. Confirm every route checks the staff flag server-side.
  2. Confirm the unauthenticated page carries no operational data.
  3. Confirm the shell has no left rail, clock, environment label, section codes, or decorative status light.
  4. Confirm the institutional blue, the 8px radius, and the focus ring are the shared tokens.
  5. Confirm every access change and destructive action has a second approver and a recorded consequence.
  6. Confirm no internal page is reachable from a public index, sitemap, or machine-readable file.

Owner: the Internal Platform owner for the console; the Security owner for access; the Founder for a staff role that changes institutional authority. Review: before a staff route or screen ships.

The internal surface standard is defined in design/code/INTERNAL_SYSTEM.md. That file is the source document; this page is a reference to it.