Policy-gated service request
Retrieval, threshold, approval, write confirmation
- Nodes
- 8
- Mode
- Fixture
Living styleguide
Every section and primitive renders from the same source buyers receive.
Foundations
See every agent move
Inter carries the console. JetBrains Mono marks machine facts.
src/components/operations-overview.tsx
Active runs
2 in motion
One repair is waiting for a manager. One vendor write needs confirmation.
Human steps that block progress
src/components/operations-overview.tsx
Repair request triage · r18
src/components/operations-overview.tsx
Writes, evidence, and review gates
Blocking tests pass
88 / 88
Human decisions open
2
Unconfirmed writes
0
src/components/workflow-browser.tsx
4 of 4 workflows
src/components/workflow-canvas.tsx
Human review · approve
src/components/template-library.tsx
Start from an editable fixture
Retrieval, threshold, approval, write confirmation
Classifier, citations, human verdict, revision loop
Audience query, draft, consent gate, message preview
Upload, extraction, field checks, team queue
src/components/run-ledger.tsx
Six local fixtures from workflow revision r18
| Run | Status | Current step | Elapsed | Steps | Cost | Open run |
|---|---|---|---|---|---|---|
| RUN-4382No heating, infant in flat | Running | Review exception | 01:42 | 4 | £0.18 | View trace |
| RUN-4381Kitchen tap leaking | Passed | Notify resident | 00:54 | 7 | £0.11 | View trace |
| RUN-4380Hall light flickers | Waiting | Schedule vendor | 12:06 | 6 | £0.14 | View trace |
| RUN-4379Bedroom window jammed | Passed | Notify resident | 01:18 | 7 | £0.16 | View trace |
| RUN-4378Smoke alarm chirping | Failed | Read policy and history | 00:38 | 3 | £0.09 | View trace |
| RUN-4377Lift door closes slowly | Waiting | Review exception | 18:44 | 4 | £0.21 | View trace |
RUN-4382
No heating, infant in flat
RUN-4381
Kitchen tap leaking
RUN-4380
Hall light flickers
RUN-4379
Bedroom window jammed
RUN-4378
Smoke alarm chirping
RUN-4377
Lift door closes slowly
src/components/execution-trace.tsx
Repair request triage · r18
Step purpose
Normalize the resident message and property record.
Evidence read
Wire options
{
"maxSteps": 3,
"timeoutMs": 8000
}Step purpose
Assign trade, urgency, and safety flags with cited evidence.
Evidence read
Wire options
{
"model": "gpt-5-mini",
"temperature": 0.1,
"maxSteps": 5,
"retry": 1
}Step purpose
Retrieve lease duties, safety policy, and earlier work orders.
Evidence read
Wire options
{
"model": "gpt-5-mini",
"temperature": 0,
"maxSteps": 8,
"retry": 2
}Step purpose
Send safety flags or estimates above £500 to a person.
Evidence read
Wire options
{
"expression": "safetyFlag || estimate > 500"
}Step purpose
Propose the repair action, vendor trade, and resident update.
This step has not read fixture evidence.
Wire options
{
"model": "gpt-5",
"temperature": 0.2,
"maxSteps": 6,
"retry": 1
}Step purpose
A duty manager checks safety, scope, and estimated spend.
Evidence read
Wire options
{
"role": "duty-manager",
"timeoutMinutes": 15
}Step purpose
Create the work order and offer two appointment windows.
This step has not read fixture evidence.
Wire options
{
"tool": "vendor.create",
"requireConfirmation": true
}Step purpose
Send the approved plan, reference, and appointment choices.
This step has not read fixture evidence.
Wire options
{
"channels": [
"email",
"sms"
]
}src/components/approval-queue.tsx
Two open fixtures
AP-284 · RUN-4382
Resident request
Safety flag and spend above £500. Review the amount and fixture evidence before previewing a decision.
Safety policy §4.2
Heating loss with an infant is urgent
Write remains blocked
No vendor booking exists in this fixture
No write or stored status change
Choose a local preview decision after reviewing the evidence.
src/components/chat-workspace.tsx
RUN-4382 · No heating, infant in flat
Resident
The heating stopped overnight. I have an eight-month-old baby in the flat.
Switchyard
I marked this as urgent heating loss and found the cold-weather response rule. I need a duty manager to confirm the temporary-heater spend.
Operator
Prepare the heater option and the earliest engineer window. Keep the booking unconfirmed.
Switchyard
Preview ready: temporary heater delivery today, engineer window 13:00–15:00, estimated spend £640. No booking has been created.
src/components/agent-roster.tsx
Configured agents
6 agents
Each agent has a named job, bounded access, and one measured outcome.
4
Ready
1
Review
1
Paused
Routes trade, urgency, and safety
gpt-5-mini · 2 tools
Finds duties and prior work
gpt-5-mini · 3 tools
Drafts repair scope and next action
gpt-5 · 2 tools
Schedules approved vendor work
gpt-5-mini · 2 tools
Writes resident updates
gpt-5-mini · 1 tools
Checks citations and tool boundaries
gpt-5 · 1 tools
src/components/agent-config.tsx
Drafts repair scope and next action
agent.planner · plan
src/components/eval-suite.tsx
Four local suites
EV-11 · Planner
Test 24 frozen cases against the Planner fixture.
No agent or stored score changes
Test the selected fixture to preview its result.
src/components/tool-catalog.tsx
property.read
Read tenancy, building, and contact facts.
Access
Read
Classifier
policy.search
Search safety and responsibility passages.
Access
Read
Classifier, Researcher
workorders.list
Read earlier repairs and completion notes.
Access
Read
Researcher
estimate.preview
Calculate a non-binding repair range.
Access
Read
Planner
vendor.create
Create a work order after confirmation.
Access
Confirm
Dispatcher
message.preview
Render email and SMS without sending.
Access
Write
Messenger
src/components/knowledge-library.tsx
src/components/guardrail-bench.tsx
Rules that can block, route, or flag a run
Fixture coverage
119 / 120
One resident-message check needs review.
src/components/activity-log.tsx
6 of 6 fixture events
| Time | Actor | Change | Object | Kind | Event |
|---|---|---|---|---|---|
| 09:54 | Mina Shah | approved fixture | AP-282 · Bathroom ceiling damp | Fixture | ACT-901 |
| 09:42 | Owen Price | changed guardrail | G-02 · Spend above £500 | Policy | ACT-900 |
| 09:31 | Switchyard | saved workflow draft | Repair request triage · r18 | Draft | ACT-899 |
| Yesterday | Mina Shah | created API key | Fixture runner · workflows:read | Access | ACT-898 |
| Yesterday | Owen Price | tested evaluation | EV-11 · Spend routing | Fixture | ACT-897 |
| 2 days ago | Switchyard | flagged key review | Repair sandbox · unused 6 days | Access | ACT-896 |
Mina Shah
approved fixture
AP-282 · Bathroom ceiling damp
09:54ACT-901
Owen Price
changed guardrail
G-02 · Spend above £500
09:42ACT-900
Switchyard
saved workflow draft
Repair request triage · r18
09:31ACT-899
Mina Shah
created API key
Fixture runner · workflows:read
YesterdayACT-898
Owen Price
tested evaluation
EV-11 · Spend routing
YesterdayACT-897
Switchyard
flagged key review
Repair sandbox · unused 6 days
2 days agoACT-896
src/components/usage-report.tsx
Fixture runs
1,284
Seven authored days ending Thursday
Tokens
4.11M
Fixture cost
£126.00
Authored Commonwell usage · seven days
Fri
146
Sat
98
Sun
84
Mon
212
Tue
238
Wed
261
Thu
245
| Day | Runs | Tokens | Cost |
|---|---|---|---|
| Fri | 146 | 482,000 | £14.20 |
| Sat | 98 | 306,000 | £9.10 |
| Sun | 84 | 271,000 | £8.30 |
| Mon | 212 | 698,000 | £21.40 |
| Tue | 238 | 771,000 | £24.80 |
| Wed | 261 | 824,000 | £27.20 |
| Thu | 245 | 756,000 | £21.00 |
src/components/api-key-console.tsx
Usable fixture keys
3 keys
Prefixes are visible. Secret values are never stored or rendered.
Fixture access for workflows, runs, tools, and audit
swy_fx_8H2K••••••••
Created 8 Aug 2026 · Last used 4 min ago
swy_au_2P9M••••••••
Created 30 Jul 2026 · Last used Yesterday
swy_sb_7D4Q••••••••
Created 18 Jul 2026 · Last used 6 days ago
swy_lp_1A6V••••••••
Created 2 Jun 2026 · Last used Never
src/components/settings-console.tsx
Identity and default environment
Defaults for new agent drafts
src/components/ui/
All states keep visible labels
Active runs
2 in motion
Semantic icon, label, value, and supporting detail.
40px controls with instant focus