Admin User Guide

Admin (aegis-admin, served at aegis.purdyandfigg.dev) is the control panel for the whole platform. Almost every other module — Router, Monitor, Analytics, compliance scanning, QA Bot — is configured or read through it.

It is also the MCP edge router: Claude connects to one endpoint here and Admin proxies the rest to the other workers over service bindings. See Claude MCP Setup.

What's where

Section What it does
Dashboard Traffic summary and route health at a glance
Pages Create, edit, sign off, lock, archive and promote pages. Its sub-sections: Proxied (served through get: Lovable, R2, Cloudflare), Shopify, Clones (Build Bot's built pages and their templates) and Aegis Cart (pages sold through Aegis's own cart: Ecommerce → Pages). Proxied, Shopify and Aegis Cart rows have tick boxes on the left: a bar then offers Archive, Unarchive, Watch and Delete for the ticked pages (only what they and you are allowed: a superadmin, the page's author, or the Archive / Delete permission), with a progress bar and a summary of what was done. Ecommerce → Pages has the same search and filters (region, status, watching) above its table. Opening the setup wizard from Proxied or Shopify sets the page's kind, and its title says which.
Checkouts The checkout link builder
Pixel Manager (under Tools, with Ecommerce) Tracking scripts and which routes get them
Analytics Clicks, channels, attribution, visitor journeys
Compliance Ad-copy compliance scans (Passmark)
Recruitment (under HR) HR's Recruitment Request Form, for superadmins and the approvers
Company (first under HR) Details: the company's name, legal name, number, website and address, its mission and vision, its values (how we behave: one per row) and its levers (what we pull to grow: the numbered flywheel, each a number and a name, offered as one-click tags on every objective; a lever keeps its number when another is removed) and its guardrails and long-term plan; a superadmin changes them, anyone who sees HR reads them. The company's OKRs are on HR → OKRs. The financial year runs April to March
Onboarding (under HR, superadmin) The approved requests until their start date, and the agent or person each still needs set up
Email templates (in Settings, superadmin) A table of the emails sent to a new starter from Onboarding, each with its From address, who it goes to, its subject and who last changed it. Options → Edit opens it in a window (Save, Reset to the default); Options → Send test (or Send test in the window) sends it, filled in for a made-up starter and marked [Test], to your own email from its own sender (in the window, what is in the boxes, saved or not). The emails: the welcome email (to their personal email) and the Aegis sign-up email (to their work email: sign in to Aegis with Google, which makes their account; {{aegis_url}} is Aegis's address). For each: edit the subject and body; {{field}}s are filled in from the person; {{office365}}, {{claude}}, {{slack_username}} and {{hardware}} follow what they need, and a line with one they do not have is left out; Reset goes back to the default
Directory (under HR) Every agent, and every person onboarded through HR or added with Add user: what each costs (a person's pay shows as ***), what it does, its department and who it answers to, with View directory, the page everyone can read. For somebody who already works here, a superadmin or an HR approver uses Add user: pick them from User Manager, and they are filed as a person from their HR details (job title, department, start date); new hires go through Onboarding
OKRs (under HR, after Company) Objectives and key results, a half of the financial year (FY27-H2 is October 2026 to March 2027) at a time, the standard way (hover the OKRs heading for a reminder): an objective (what you want to achieve) is the company's, a department's, or a person's or agent's, and is aligned to one a level up, so the page reads as a tree from the company down. Each has three to five key results that measure it: a number from a start to a target (counting down works too), a milestone (% done) or a threshold held at least or at most a level (99.9% uptime, 0 incidents). An objective can have a code (O1, which numbers its key results KR 1.1, KR 1.2) and tags (the levers it delivers); a key result a description, a baseline, the plan's decision (new, carry over, restate) and the key results a level up it ladders to, one or more, so a person's key results show under the department's they deliver. Committed objectives should land at 1.0; for aspirational ones 0.7 is a good result. Who changes what: a superadmin or an HR admin, anything; a line manager (ticked in their HR details), their own department's objectives and those of the people and agents who answer to them; anyone else, the check-ins on an objective that is theirs. They add them with + Objective, a four-step wizard (whose it is and what it aligns to; the objective, its type, code and lever tags; its key results; a summary to save from), or Options → Department objective under this on the one above; the wizard only offers what they may make, check in on a key result weekly (the value now, on track / at risk / off track, a note), and at the quarter's end close each with a score from 0.0 to 1.0, proposed from its key results. The page opens on the current half and on your own objectives (Departments, your department, you) when you are in the Directory, otherwise on the Company's; choose Departments for the departments' (All departments, or one) and their people's, with a person filter for that department's people, each department objective marked with the company objective it aligns to (click → C1 to read that objective in a window). ✨ Analyse (for superadmins, HR admins and HR approvers), beside the filters, has AI read what they show against its goals: a verdict (too early to tell until things are checked in; then on track, mixed or at risk by each check-in's confidence and the pace of the half), what is going well and at risk, the gaps (key results without a number, company key results nothing delivers, too many objectives or key results) and what to do next. Nothing is saved. Each key result is one line (its value, progress and a dot for its last check-in's confidence); click it for its description, baseline, what it ladders to and its last check-in, and Details beside an objective shows its description and tags. The page opens as an outline, one line an objective; ▸ opens an objective's key results (what is aligned under it always shows); Collapse all and Expand all do the lot, and the page remembers what you opened. Options → Department objective under this (or Person's objective under this) adds one a level down, already aligned; Options → OKRs on a Directory row opens theirs. One to three objectives per owner is the practice, and the page says when there are more. Anyone who can see the Directory can read them.
User Manager Accounts and per-area permissions, including which Pages sections a person sees: Proxied, Shopify, Manage Ecommerce, Clones
Settings General, QA & Monitor, Analytics, Tokens, Pages, Slack, Agents. The GA framework is under Settings → Pages → GA Framework

Two more live on the route's Options menu rather than in the sidebar, because they are about one page: 🧪 QA Test (write the test) and 📋 QA Status (read what it found, and triage). They replace the old standalone QA Bot app — see the QA User Guide. Global Test Templates are in Settings → QA & Monitor → Templates.


1. Routes

A route maps a path on your domain to whichever backend actually hosts that page, so the customer never leaves the brand domain.

Origins supported today: Shopify (native Liquid pages), Lovable React SPAs, Cloudflare Pages, and arbitrary external origins. R2 and Render have been requested but are not yet selectable.

Fields worth knowing:

Field Effect
Path + Store Together these are unique. The same path can exist for uk and us
Origin Where the request is proxied to
Page type Drives Slack routing rules and reporting. Managed in Settings → Pages → Page Types
Pixels Per-route pixels override the global set
Monitor config Which checks run at which tier — see Monitor User Guide
Slack notify / channel Mute this route, or send its events to a specific channel

If a route 404s or serves the wrong page, the origin is usually down — the Router falls back to DEFAULT_ROUTE_URL rather than erroring, so "wrong page" often means "origin unreachable".

Locking

Locking sets an edit password so a load-bearing route can't be changed casually. It is a don't-touch-this guard, not a security boundary — treat it that way.

Archiving

Archived routes stop serving and drop out of the default lists without being deleted. Deleting is separate and permission-gated (access_delete).

Publish, unpublish, archive: one set of words

Every section uses the same words (2026-10-09): Publish, Unpublish, Published / Unpublished, and Archive. The status filters read Published Only and Unpublished Only.

  • Proxied pages are the only ones with Publish / Unpublish in Pages. Aegis serves them, so unpublishing one really takes it down.
  • Shopify pages have no Publish / Unpublish in Aegis: Shopify publishes them. One is Published while it is live and Archived when you are done with it. A new Shopify page is on from creation, and restoring one from the archive turns it on again.
  • Clones and Aegis Cart pages publish and unpublish in their own sections.

Publish and Unpublish open a modal that walks the steps rather than flipping a switch silently. Each step reads a fact the server just returned, so it can come back amber — "signed off", "a test exists", "added to the monitor" are checks, not announcements.

Unpublishing or archiving a page also unticks QA this page and Monitor this page. Publishing it again leaves them off: tick them in Edit. The publish summary and the page log say so. A Page Status window for an unpublished page shows only what matters: that it is unpublished, its sign-offs, any lock, and its recent changes.

Creating a route also puts its QA suite in create test rather than seeding a placeholder — an empty suite should read as work outstanding, not as a test that passes because it asserts nothing.


2. Sign-off: four approvals, not three

A Proxied page cannot be published until all four sign-offs are in:

Role Confirms
Page Author The content is accurate
Head of Growth Marketing angles and UTM tags are right
Head of Tech Performance and technical QA
AI Evaluator Passmark has scanned the copy

Trying to activate without them returns:

Cannot activate: Page Author, Head of Growth, Head of Tech, and AI Evaluator must all sign off completely.

The first three are ticked by default on a new route; the AI sign-off is not. In practice the AI evaluation is the one blocking activation.

A human can override the AI sign-off, but the override requires a written reason and is recorded in the route audit log. That is deliberate: an override is a decision someone owns, not a checkbox.

This gate is what stops paid budget pointing at an unfinished page.


3. Checkout builder

Shopify cart permalinks are fiddly to hand-write. The builder constructs them from a UI: variants, quantities, selling plans, automatic discount codes and UTM parameters.

Built links are stored so the Monitor can validate them, and routes can reference one via checkout_id. Routes can also opt out with ignore_checkout where a checkout assertion doesn't apply.

Routes expose a shortlink at /checkout/<name>, matched case-insensitively and with spaces interchangeable with hyphens.


4. Pixels

Pixel Manager holds the tracking scripts injected into the <head> of proxied HTML responses.

  • Pixels can be attached per route, and a per-route set overrides the global set.
  • New routes can have pixels attached automatically via the per-pixel auto-apply flag.
  • Several older routes have hand-attached pixels, which is why they drift from the global config. If you are unsure whether a route should have its own, ask before removing them — it may have been given a dedicated pixel for one campaign.

Whether a pixel actually fires is verified by the Monitor and by QA runs, not by Admin.


5. Analytics

Covered properly in the Analytics User Guide. In short: Admin shows clicks by source/medium/campaign, GA4 firing rate, UTM coverage, visitor touchpoints and session distribution, plus a raw export.

Treat click data as reliable and revenue/ROAS as not yet live — order data needs the Shopify orders/paid webhook registered and enabled, and that is still outstanding. The "Performance by Page Type" panel deliberately ghosts itself rather than showing a misleading £0 table.

Analytics writes can be turned off entirely with Log Analytics in Settings → Analytics → Analytics Control. That single switch now governs both the click path and the webhook queue path.


6. Users and permissions

Permissions are per area, not blanket admin. Ask for what you need.

access_routes, access_routes_viewer, access_pixels, access_checkouts, access_analytics, access_qabot, access_nudger, access_nudger_viewer, access_promote, access_archive, access_delete, plus region and page-type restrictions that limit which routes a user can see at all.

Creating or editing a user is a wizard in eleven steps. Click a step's name to go straight to it; Back always works. An edit saves from any step, and a new user is saved from the summary.

  1. Account: email and password. A new user's email can be any email address; a company one, firstname.lastname@purdyandfigg.com, also fills in their name on Details (change it if it is wrong). Add from Slack is offered here for someone new.
  2. Details: the name (what Slack shows), the HR details below, and Region Access. The profile menu only offers what they can use: the reports need Pages, QA Bot or Monitor, triggering the daily report needs QA Bot or Monitor, and Developer Mode needs Pages. The name, at least one region, job title, department and start date are required. The salary is optional: you see it as you type it, and once stored it shows as stars until the eye reveals it.
  3. Then a step for each sidebar group. Pages, Pixels, Checkouts and Nudger are each Off, View or Manage; a new user starts with every one Off, and a section that is Off is not in their sidebar:
    • General: Dashboard and Docs first, each off for a new user (without the Dashboard they land on the first section they can open); then Pages (off / view / manage), the choice beside the heading, then which Pages (Proxied, Shopify, Clones, Aegis Cart) and page types, and Sign-off (Growth or Tech rep). Aegis Cart is the same permission as Tools → Ecommerce;
    • Tools: Pixels (off / view / manage) and Compliance (the Passmark scans); Ecommerce comes with Aegis Cart;
    • Shopify: Checkouts (off / view / manage) and Discount Codes;
    • HR: Directory (to read), HR admin (manages everything under HR — Company, OKRs, Recruitment, Onboarding, the Directory and people's HR details and salaries — without being a superadmin; User Manager and Settings stay a superadmin's), and the recruitment stages this person approves (HR, Finance, Executive Team), which is what shows them HR → Recruitment;
    • Agents: Monitor, Runners and Playbook Rules, each its own permission;
    • Reporting: Analytics, and Cost & Value;
    • Nudger.
  4. Superadmin: a step of its own, because a superadmin sees and changes everything.
  5. Summary: the form read back, with Edit beside each part. It never shows the salary or the password.

HR details are on the wizard's Details step, for onboarding:

  • job title;
  • department, from Settings → General → Departments;
  • start date;
  • salary;
  • Line manager: tick it and the person is offered as an agent's Answers to, with their department.

Add from Slack in User Manager adds somebody from the Slack workspace as a user with no access, then opens them for their HR details.

Salaries show as *** everywhere in Aegis, and the eye reveals one. A salary is encrypted before it is stored and is used only to work out savings.

Superadmins bypass these checks.


7. Slack

Aegis posts events to Slack by rule, not by hardcoded channel. Settings → Slack has three sections: Channels, What Aegis Sends and Routing Rules.

Channels — a name, a Slack channel ID, an active flag, and optionally one marked default.

Invite Aegis-QA to the channel first

Aegis posts through the Aegis-QA Slack app using a bot token. A bot can only post to channels it is a member of, so adding the channel in Aegis is not enough — you must also add the app to the channel in Slack:

  • open the channel → Integrations → Add apps → Aegis-QA, or
  • /invite in the channel using the app's username (App Home → Default Username), which is not necessarily the same as its display name

Then press Test on the channel row in Aegis. A not_in_channel error means the app has not been added yet. Do this before relying on the channel — a missing invite is silent apart from that error.

Where to find the channel ID: open the channel in a browser and take the second ID from the URL (app.slack.com/client/T…/C0AUDTK337U), or channel name → About → bottom. A channel ID is not a secret.

Webhook URL is the legacy transport, kept only so old channels keep working. A webhook URL is a credential — anyone who can read the database can post with it — and nothing posted through one can be threaded onto, reacted to or edited afterwards. Prefer the channel ID.

What Aegis Sends — a table of sections, each showing how many of its updates are on. Options → View updates opens a section's updates, each with its own switch, applying to the whole fleet. Off means off everywhere: no channel, no rule, not the legacy webhook. Only the disabled ones are stored, so a newly added update type sends by default.

This is the only control that reaches the digests. hourly_failure_summary, daily_summary and monitor_summary cover the whole fleet rather than one route, so a route's own Slack settings can never silence them — and a routing rule only decides where an update goes, never whether it is sent.

The usual reason to use it: qa_test_failed and hourly_failure_summary report the same failures, so leaving both on announces every failure twice.

Routing rules — match an event to a channel:

Rule field Matches on
event_type A specific event, or all
match_page_type Landing, AI Landing, Blog, FAQ…
match_origin_kind Shopify, Cloudflare, Other
match_store uk or us
priority The order rules fire in — not a tie-break

Events currently emitted, grouped as the dropdown groups them:

  • Routes — route_locked, route_signoff, route_archived, route_deleted
  • QA — qa_test_created, qa_test_preview, qa_test_signed_off, qa_test_failed, qa_test_failing_repeatedly
  • Summaries — daily_summary, hourly_failure_summary, monitor_summary
  • Audits — audit_shared, audit_manual_report, image_audit_failed, visual_drift, visual_audit

The rules that surprise people

  1. Every matching rule fires. priority orders them; it does not pick a winner. Three matching rules means three channels get the message.
  2. A per-route channel replaces rule matching entirely. Set slack_channel_id on a route and no other rule fires for it.
  3. A muted route stays muted. With slack_notify = 0, when nothing resolves Aegis deliberately does not fall back to the global webhook.
  4. The bot must be in the channel. Rules can resolve perfectly and the post still fails with not_in_channel if Aegis-QA was never added to it.

If no rule matches and the route isn't muted, the default channel gets it. Slack failures are swallowed by design — an outage never breaks the action that triggered the message. That is also why a missing invite is quiet: use Test to check a channel rather than waiting for a real event.

Resolved alerts thread onto the original

Because Aegis posts with a bot token it keeps the message reference, so a visual drift alert is updated in place when someone accepts the new baseline: a ✅ reaction on the alert and the resolution as a threaded reply, rather than a second message further down the channel. If you accept a baseline and see no new message, check the thread on the original alert — that is the intended behaviour, not a failure.

monitor_summary belongs to no single route, so only rules without route filters can match it. That is the usual reason a summary doesn't arrive.


8. Settings

Tab Contents
General Health (a table of checks with a search, a status filter including Needs action, and Re-check), MCP (the tool list, filtered by search, access and Lovable) and Departments (the teams an agent or a person belongs to)
QA & Monitor General (visual drift threshold, QA economics), Queue, Skipping, Monitor (rotation, GA check mode, audit ignore-selectors), Defects, Templates (Global Test Templates)
Analytics Analytics Control (log_analytics kill switch, export API, Shopify order info, scanner paths) and Marketing Channels
Tokens External app tokens for API and export access: Create token opens a modal
Pages Page Types (the page-type list and badge styles used across routing and Slack rules), GA Framework and Clones (the clone rules)
Slack Channels, What Aegis Sends and Routing Rules (above)
Agents Prices (including the default agentic hourly cost, for an agent with no rate of its own) and Products (each product's sections are under its Options → Sections). Departments are under Settings → General, each with how many people (from their HR details) and agents are in it, and line managers are users ticked Line manager in User Manager → HR details. The agents themselves are under Agents → Directory in the sidebar. An agent's department is the team that owns and pays for it; Cost & Value totals by it, and agents with none count as Unassigned

The database sync token used by the Hetzner fallback node is no longer shown in the admin.

Every tab has one Save Settings bar at the bottom. It is greyed out until something differs from what was loaded, and saves whatever is waiting. Anything saved in a modal (channels, tokens, prices, products, sections, templates, ignore selectors) saves at once.

Each setting's title carries its description on hover, and saving says what it saved — a toast naming the settings that actually changed, or why the save failed. A silent save is indistinguishable from a save that did not happen.


8a. The GA framework

Three levels, and reading them in this order is the whole thing:

  1. The framework (Settings → Pages → GA Framework) says what each data-module carries. One row per module, edited in a modal, with its data-* elements, a description, an uploaded screenshot, and a valid / unsure state so a name nobody here can decode becomes a list to take to the developers. Removing a module archives it rather than deleting it, and archived rows can be restored. The table links back to the Confluence SSOT it is a copy of.
  2. A page type (Settings → Pages → Page Types) says which modules it has. Every route of that type inherits the list. The framework's On page types column shows which page types ask for each module.
  3. A page is measured against its type, by the Monitor — not by a QA run. Asserting an attribute exists is a cheap job that was being done by the most expensive runner on the estate.

ga_check_mode decides what a mismatch does: off, log (record it, raise nothing) or on (file a defect). It is log today, and on on only a changed value files anything — all eleven page types are still seeded with all thirty-eight modules, so a missing module currently means the page type has not been trimmed yet rather than that the page is wrong. Defects it files carry a GA pill, one open defect per page, updated rather than re-filed.


8b. The day's findings

/api/report/findings, linked from the user menu, from the daily report and from the daily Slack post behind its own toggle. Every open defect grouped store → severity → owner, with the run that found each one linked.

The findings report splits by the same four sections as the sidebar and the daily report: Proxied / Shopify / Clones / Aegis Cart across the top (and Fleet-wide for findings not tied to one page), each with its count of open findings, and every finding carries its section. The section sits in the link (?section=clones), like the store and severity filters.

Two things about how to read it. Coverage is stated at the top and called partial below two thirds — a short list means less when half the estate has not been checked. And "not defects" are the ones a person judged: an automatic expiry after seven days is not a decision and is kept out.

The severity, store and not-a-defect filters live in the URL, so a narrowed view can be sent to whoever owns it. The QA report, the audit report and this page share one renderer and one palette, so the three read as one set.


8c. Agents

Agents → Directory (superadmins) lists every agent, its department and who it answers to, what it costs against the role it stands in for, and what it is doing: the task it is running, or how its last one ended, and any failures in a row.

HR → Recruitment comes first: HR's Recruitment Request Form, filled in before anybody decides whether the job is an agent's or a person's. New request is a wizard:

  1. Budget: is the role in the approved budget? If it is, HR and Finance review it. If not, it needs a business case (the urgency and necessity, the business impact, and the return on investment), which HR and Finance review before it goes to the Executive Team.
  2. Job description: the job title, the employment type (including Agentic) and the pay, asked the way the type is paid: a salary a year, a contractor's day rate, and for an agentic role its non-agentic salary (a year): what a person in the role would cost, which the agent is weighed against (its own running cost is priced in the Directory). The ✨ in the pay box (once the title and the employment type are set) looks the pay up in live job ads on Adzuna for the title and location (the middle 80% of advertised pay and the typical figure, with how many ads it rests on; the whole country when the town has none), and AI writes a short summary of it. Without Adzuna it falls back to an AI estimate and says so. It puts the typical figure in the pay box when that is empty, and while there is no JD it writes the JD too, from the title, type, location and pay, into the Purdy & Figg JD template (the standard introduction word for word). ✨ Create JD, beside the JD, writes it on its own. The JD is written here, not uploaded: edit it freely in its box; its salary line follows the pay.
  3. Role details: location (Remote asks which country; not asked for an agentic role), the line manager it reports to (an Aegis user from User Manager, you by default), the reason and the start date.
  4. Recruitment approach: the channel and, for an agency, its name, fee and rebate terms and contract. Skipped, and greyed out, for Agentic.
  5. AI suggestion: Ask the AI reads the JD against the agents already working here and suggests Full human, Full agentic or A mix, with how much of the work a person keeps (the human in the loop %), whether that person is a new hire or the line manager covering it, what an agent could do and what a person keeps. It is a suggestion only. The line manager the role reports to agrees it, and can change the person-in-the-loop share and who that person is in place, before or after agreeing (the AI's own figure stays beside it), or ignores it. Agreeing is not approving: once the request is also approved (HR and Finance, and the Executive Team outside the budget), an agentic or mixed suggestion offers Set up the agent →, on the suggestion step and in the request's Options. It carries the request on into the agent's own steps, already filled in: the planned role, its pay and JD, the human share and the line manager. The non-agentic salary starts from the request's pay: a salary (or an agentic role's non-agentic salary) as it is, a day rate × 220 days, else the AI's estimate of a person in it (kept with the request whenever the pay box's ✨ is used). Its JD is the request's, linked rather than uploaded again, with a link back to the request; the agentic job description is the JD rewritten for the agent by AI (what it does, what it hands to a person, who oversees it), rewritten every time an agent is set up. The original role's title and JD are kept on the agent for comparison but not shown. An agent set up this way is linked to its request. The line manager also answers Did it replace a planned role? on the request (a planned hire, work no person would have done, or part of the line manager's job), and the agent keeps that answer, locked. There is no adding an agent in the Directory: a new agent starts as a recruitment request. Agents registered from Claude (register_agent) still appear.
  6. A summary, then Submit for approval. Submit checks every required answer; Save draft works from any step. View JD opens the JD's web page, which has a Download PDF button.

Approving a request. Approvers are ticked in User Manager → HR (Approves recruitment requests as HR, Finance or Executive Team). On Submit, HR and Finance each get a Slack DM with a link to the request; they decide in parallel and both are needed. A role outside the budget then goes to the Executive Team, who are messaged once HR and Finance have approved. Each approver sees HR → Recruitment without being a superadmin, and approves or rejects with a note (a rejection needs one) from the request's Options menu in the list; the summary shows who decided what.

The JD is public. Each request's JD has a web page at /api/jd/<id> and a PDF at /api/jd/<id>.pdf, in the Purdy & Figg template's layout. Anyone with the link can open them, so they can go straight to candidates or an agency. They show the JD only, never the budget, business case, approvals or agency terms. View JD and Download PDF are in the request's Options menu. The requester is told on Slack when it is approved or rejected. A submitted request is locked.

Onboarding. Once a request is approved it leaves HR → Recruitment (a line there says how many moved on) and appears in HR → Onboarding, with its start date (the person's own once they are onboarded, else the request's, and how many days off it is) and what it still needs. It stays there until its start date, set up or not, and leaves once everything is set up and the day has come (UK time). A person joins HR → Directory on their start date; an agent as soon as it is saved. Each row's Actions menu has Recruitment request first (the approved request it came from, read only), Send welcome email and Send Aegis sign-up email for a person: each fills in its template from Settings → Email templates (their name, role, start date, line manager, work email) and, after one confirm naming who it goes to and its subject, sends it: the welcome email to their personal email from HR (hr@purdyandfigg.dev), the sign-up email to their work email from Aegis (aegis@purdyandfigg.dev), through Cloudflare Email Sending. Replies come to you, and the menu shows ✓ once it is sent. If anything is not known yet (no email address, or a field with nothing to fill it) it says what and sends nothing: add it in their form. To change the words, edit the template. Then Open the person / Open the agent (the form they were set up in, to check or change it) once they are, Onboarding checklist (the steps to do, ticked as each is done, with who ticked it and when; the menu shows how many are done). It follows what they need in their form: a Claude seat only with a seat, the computer only with hardware, and email, Slack, Office 365 and any other extra only when chosen; a person is always added to Deel and Sereno. A mix's agent steps are marked The agent). What it still needs:

  • An agent, when the AI suggestion was agreed as an agent or a mix: Set up the agent opens the agent form from the request, as before.
  • A person, for a person's role, or a mix whose person in the loop is a new hire: Onboard the person opens the same form, tailored for a person and filled in from the request: The job is their salary alone (no human-in-the-loop share, no hourly cost); This person (first and last name, job title, a description AI writes from their JD, and HR details for starting after Deel's new-hire record: the start date (from the request), work and personal email, phone, date of birth, nationality, country, address, seniority and an emergency contact, encrypted and seen by superadmins only; bank, tax and ID numbers stay in Deel); What they need, with email and Slack added to start with, a Hardware choice (Mac mini, Windows laptop, Mac laptop or phone, each priced once in Settings → Agents → Prices) and the same cost table an agent has (a Claude seat if any, email, Slack, a laptop and other extras); The record (name, department, line manager); the summary, whose Start date says when they start and what is ready for them the working day before (a Monday start is set up on the Friday): their work email, Slack, Claude (on the seat chosen, if any), Deel (their record, contract and payroll), the device and any other extras, as chosen. These are set up by hand for now; Aegis does not create the accounts. An agent's summary says instead What will be created when it is saved (its Directory record and the extras chosen). Saved, they are a record in HR → Directory, marked PERSON, costed by their salary and on-costs, which show as *** and stay out of the agents' figures (a People count sits beside them). A mix kept by the line manager needs no new person. Each shows ✓ once done; delete the agent or the person for good and the request offers it again.

Add an agent is a wizard, in the order HR takes on a person:

  1. The job: whether it stands in for a planned hire, does part of the line manager's job, or neither (set by the request, and locked); the role's salary from the JD, shown as a bar of salary and employer costs (hover it for the hourly breakdown); how much of the work still needs a person, priced on the base salary without employer costs; and the advertised job description. Part of the line manager's job works out the saving from the share of their time it saves, at the role's salary. When the request says the person in the loop is the line manager, the loop's cost is worked out at their salary from HR details: encrypted, never shown, and with the figures that would give it away left out of the agent's own lines (the totals still count it).

  2. This agent: its agentic job title and description, and its avatar: Upload one, or Generate one: say what to draw (it starts from the title and description), and optionally pick one of your agents' avatars to use its style; the picture is shown first, with Use it or Try again. On a new agent the avatar is stored when the agent is saved.

  3. What it needs: the cost level, which runs cheapest first:

    • 1 runs in the creator's Claude seat;
    • 2 has its own seat;
    • 3 pays for its own tokens;
    • 4 is autonomous.

    Then the Claude seat beside it, and Add an extra below (email, Slack, shared memory (an agent's only), Office 365 (priced in Settings → Agents → Prices), hardware, or Other…: describe it, price it, a month or one-off). An invoice lists each item with its price (× removes an extra) and the total: a month, a year, and any one-off.

  4. The record: name, department, line manager and what it does. Its Email shows only when the Email extra is added (a Claude seat adds it). It is not asked where to reach it: the directory page lists what it has (its Claude seat, Email, Slack, shared memory, hardware and any other extras). Works in is the product and section it works on. Binding is Not bound, An existing binding (one Aegis already sees at work: the QA runners, the monitor), or A new binding, recorded for its Works in and set up later; it is chosen once Works in and its section are. A new Works in starts its section over. A step that still wants something says so under the field, and Next will not pass it. From a request, the role, start date, tagline, blurb and what it can do come from the earlier steps and are not asked again.

  5. A summary before anything is saved.

Registering from Claude: the Aegis MCP's register_agent asks the same questions. It files the agent and returns the agent's own token, shown once. The agent uses that token to report its work:

  • POST /api/agent-tasks/start when a task begins;
  • .../<id>/ping every few minutes, with its token counts;
  • .../<id>/end with done or failed.

The token can do nothing else. A task that stops pinging for 30 minutes is marked lost. Failures in a row alert Slack on the same rule as the QA runners.

9. Scheduled work

Admin runs a daily cron (0 0 * * *) which:

  • syncs the Shopify product/discount cache for both stores
  • prunes QA test runs older than 72 hours
  • applies analytics retention (currently 365 days, deliberately long because there is no archive behind it yet)

9a. Health of every part

Every part of Aegis answers /~internal/health: the router, admin, the monitor, ecommerce, builds and analytics. The docs site answers at /health.json. Each answer says three things:

  • whether the part is up;
  • which version it runs (the commit) and when that was deployed;
  • whether what it depends on, such as the database or storage, answered.

These pages are public, so they say nothing beyond that: no counts and no error text.

/api/status gathers all of them in one call, and adds the last 24 hours' figures:

  • monitor checks and refusals for each store;
  • QA runs and their pass rate;
  • paid orders and revenue;
  • clicks.

It also lists every agent that isn't archived, with one word for what it's doing:

  • working: it asked for work in the last 30 minutes;
  • quiet: it has a runner but hasn't asked for work lately;
  • failing: its last sessions failed, as many in a row as the alert setting under Settings → QA & Monitor;
  • paused: it was stopped from Aegis, or its record says paused;
  • record: there's no runner, so Aegis doesn't watch it at work;
  • retired.

A runner also shows its runs in the last 24 hours, the time of its last run, and what went wrong if it is failing. That is only the cause, never the free-text detail.

Argus is read differently. It's the monitor's agent, not a QA runner, so it never asks the QA queue for work. Its last check and its checks in the last 24 hours come from the monitor itself. It counts as working while a check was made in the last 90 minutes: a page is due once an hour, and with nothing due the monitor idles by design.

It needs an app token from Settings → Tokens, and it is what the health dashboard in Forge reads.

Each part counts as down if it doesn't answer within 5 seconds, and as degraded if it answers but something it depends on failed.


10. Related