tailthemesbuy this theme · $39
Open navigation
Switchyardr18
Fixture mode

Actions update this local preview only.

r18
Open canvas

Living styleguide

Switchyard components

Every section and primitive renders from the same source buyers receive.

Foundations

Machine-metal tokens

--background
--card
--primary
--secondary
--muted
--accent

See every agent move

Inter carries the console. JetBrains Mono marks machine facts.

operations-overview

src/components/operations-overview.tsx

Active runs

2 in motion

One repair is waiting for a manager. One vendor write needs confirmation.

Pass rate
96.2%
Median
1.2s
Agents
6
Spend
£126
Last 24 hours · 1,284 fixture runs

Attention queue

Human steps that block progress

workflow-stitch-preview

src/components/operations-overview.tsx

Execution stitch

Repair request triage · r18

Running
Workflow order: Receive request, Classify repair, Read policy and history, Approval required?, Draft repair plan, Review exception, Schedule vendor, Notify resident.
Selected run RUN-4382 is at human review.Open topology

safety-summary

src/components/operations-overview.tsx

Boundary report

Writes, evidence, and review gates

Blocking tests pass

88 / 88

Human decisions open

2

Unconfirmed writes

0

Next fixture

After-hours water leak

Tests urgency, lease duty, and a £1,200 approval branch.

Test fixture

workflow-browser

src/components/workflow-browser.tsx

Workflow register

4 of 4 workflows

WorkflowStateRunsPass rateChangedOpen
Repair request triageWF-018 · r18Live1,28496.2%12 min ago
Antisocial behaviour intakeWF-012 · r9Draft8491.8%Yesterday
Rent support referralWF-009 · r14Live74297.7%2 days ago
Void property inspectionWF-006 · r7Review21989.4%4 days ago
Fixture register · Search and filters run in your browser

workflow-canvas

src/components/workflow-canvas.tsx

80%
within policypolicy path
human reviewapproved exception
8 nodes · 3 explicit edges · r18Canonical source: repair-triage.wire.json

Review exception

Human review · approve

template-library

src/components/template-library.tsx

Workflow recipes

Start from an editable fixture

4 recipes
Service

Policy-gated service request

Retrieval, threshold, approval, write confirmation

Nodes
8
Mode
Fixture
Open sample canvas
Review

Evidence-first case review

Classifier, citations, human verdict, revision loop

Nodes
6
Mode
Fixture
Open sample canvas
Outreach

Scheduled outreach

Audience query, draft, consent gate, message preview

Nodes
7
Mode
Fixture
Open sample canvas
Intake

Document intake and handoff

Upload, extraction, field checks, team queue

Nodes
5
Mode
Fixture
Open sample canvas
Selection never creates a live workflow.

run-ledger

src/components/run-ledger.tsx

Repair triage runs

Six local fixtures from workflow revision r18

  • RUN-4382

    No heating, infant in flat

    Running
    Current step
    Review exception
    Elapsed
    01:42
    Steps
    4
    Cost
    £0.18
  • RUN-4381

    Kitchen tap leaking

    Passed
    Current step
    Notify resident
    Elapsed
    00:54
    Steps
    7
    Cost
    £0.11
  • RUN-4380

    Hall light flickers

    Waiting
    Current step
    Schedule vendor
    Elapsed
    12:06
    Steps
    6
    Cost
    £0.14
  • RUN-4379

    Bedroom window jammed

    Passed
    Current step
    Notify resident
    Elapsed
    01:18
    Steps
    7
    Cost
    £0.16
  • RUN-4378

    Smoke alarm chirping

    Failed
    Current step
    Read policy and history
    Elapsed
    00:38
    Steps
    3
    Cost
    £0.09
  • RUN-4377

    Lift door closes slowly

    Waiting
    Current step
    Review exception
    Elapsed
    18:44
    Steps
    4
    Cost
    £0.21
6 of 6 runs shownLocal fixture data only

execution-trace

src/components/execution-trace.tsx

Chronological trace

Repair request triage · r18

Running
  1. 0110:32:04IntakeReceive requestPassedShow step details

    Step purpose

    Normalize the resident message and property record.

    Evidence read

    • Resident message
    • Property CW-2847

    Wire options

    {
      "maxSteps": 3,
      "timeoutMs": 8000
    }
  2. 0210:32:05ClassifierClassify repairPassedShow step details

    Step purpose

    Assign trade, urgency, and safety flags with cited evidence.

    Evidence read

    • Urgent heat
    • Infant present

    Wire options

    {
      "model": "gpt-5-mini",
      "temperature": 0.1,
      "maxSteps": 5,
      "retry": 1
    }
  3. 0310:32:07ResearcherRead policy and historyPassedShow step details

    Step purpose

    Retrieve lease duties, safety policy, and earlier work orders.

    Evidence read

    • Policy §4.2
    • WO-1938

    Wire options

    {
      "model": "gpt-5-mini",
      "temperature": 0,
      "maxSteps": 8,
      "retry": 2
    }
  4. 0410:32:08Policy gateApproval required?PassedShow step details

    Step purpose

    Send safety flags or estimates above £500 to a person.

    Evidence read

    • Estimate £640
    • Limit £500

    Wire options

    {
      "expression": "safetyFlag || estimate > 500"
    }
  5. 05Not takenPlannerDraft repair planSkippedShow step details

    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
    }
  6. 0610:32:10Human reviewReview exceptionWaitingShow step details

    Step purpose

    A duty manager checks safety, scope, and estimated spend.

    Evidence read

    • Manager review
    • 15 min

    Wire options

    {
      "role": "duty-manager",
      "timeoutMinutes": 15
    }
  7. 07PendingDispatcherSchedule vendorQueuedShow step details

    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
    }
  8. 08PendingMessengerNotify residentQueuedShow step details

    Step purpose

    Send the approved plan, reference, and appointment choices.

    This step has not read fixture evidence.

    Wire options

    {
      "channels": [
        "email",
        "sms"
      ]
    }
Expand a step to read its fixture evidence and canonical Wire options.

approval-queue

src/components/approval-queue.tsx

Decision queue

Two open fixtures

Queue decisions are previews. Fixture records stay unchanged.

Approval evidence

AP-284 · RUN-4382

Open

Resident request

No heating, infant in flat

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

Amount
£640
Queue age
2 min
Review limit
£500
Run
RUN-4382

Decision preview

No write or stored status change

Open run

Choose a local preview decision after reviewing the evidence.

chat-workspace

src/components/chat-workspace.tsx

Resident reply workspace

RUN-4382 · No heating, infant in flat

Local preview
  1. Resident

    The heating stopped overnight. I have an eight-month-old baby in the flat.

  2. 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.

    • Resident message, line 2
    • Safety policy §4.2
  3. Operator

    Prepare the heater option and the earliest engineer window. Keep the booking unconfirmed.

  4. Switchyard

    Preview ready: temporary heater delivery today, engineer window 13:00–15:00, estimated spend £640. No booking has been created.

    • Vendor fixture V-018
    • Estimate preview E-992

Existing messages are fixture data.

agent-roster

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

Classifier

Ready

Routes trade, urgency, and safety

gpt-5-mini · 2 tools

Success
97.4%
Median
0.8s
Spend
£18.40
Configure agent

Researcher

Ready

Finds duties and prior work

gpt-5-mini · 3 tools

Success
94.8%
Median
1.4s
Spend
£26.12
Configure agent

Planner

Review

Drafts repair scope and next action

gpt-5 · 2 tools

Success
92.1%
Median
2.1s
Spend
£41.86
Configure agent

Dispatcher

Ready

Schedules approved vendor work

gpt-5-mini · 2 tools

Success
98.2%
Median
1.1s
Spend
£12.74
Configure agent

Messenger

Ready

Writes resident updates

gpt-5-mini · 1 tools

Success
99.1%
Median
0.6s
Spend
£8.32
Configure agent

Auditor

Paused

Checks citations and tool boundaries

gpt-5 · 1 tools

Success
96.7%
Median
1.7s
Spend
£19.08
Configure agent
6 of 6 agents shown

agent-config

src/components/agent-config.tsx

Planner

Review

Drafts repair scope and next action

agent.planner · plan

Draft matches revision r18Local preview

eval-suite

src/components/eval-suite.tsx

Evaluation register

Four local suites

Scores are fixture history. Local tests do not overwrite them.

Fixture runner

EV-11 · Planner

Local test

Spend routing

Test 24 frozen cases against the Planner fixture.

Cases
24
Score
91.7%
Change
-2.1

Local result

No agent or stored score changes

Test the selected fixture to preview its result.

tool-catalog

src/components/tool-catalog.tsx

Property record

Connected

property.read

Read tenancy, building, and contact facts.

Access

Read

Classifier

Policy search

Connected

policy.search

Search safety and responsibility passages.

Access

Read

Classifier, Researcher

Work order history

Connected

workorders.list

Read earlier repairs and completion notes.

Access

Read

Researcher

Estimate preview

Fixture

estimate.preview

Calculate a non-binding repair range.

Access

Read

Planner

Vendor booking

Review

vendor.create

Create a work order after confirmation.

Access

Confirm

Dispatcher

Message preview

Fixture

message.preview

Render email and SMS without sending.

Access

Write

Messenger

6 of 6 tools shown

knowledge-library

src/components/knowledge-library.tsx

5 of 5 sources shown

guardrail-bench

src/components/guardrail-bench.tsx

Policy checks

Rules that can block, route, or flag a run

Fixture coverage

119 / 120

One resident-message check needs review.

Four guardrails · one fixture needs review

activity-log

src/components/activity-log.tsx

Workspace activity

6 of 6 fixture events

Fixture history
  1. Mina Shah

    approved fixture

    Fixture

    AP-282 · Bathroom ceiling damp

    09:54ACT-901

  2. Owen Price

    changed guardrail

    Policy

    G-02 · Spend above £500

    09:42ACT-900

  3. Switchyard

    saved workflow draft

    Draft

    Repair request triage · r18

    09:31ACT-899

  4. Mina Shah

    created API key

    Access

    Fixture runner · workflows:read

    YesterdayACT-898

  5. Owen Price

    tested evaluation

    Fixture

    EV-11 · Spend routing

    YesterdayACT-897

  6. Switchyard

    flagged key review

    Access

    Repair sandbox · unused 6 days

    2 days agoACT-896

Local filters only · Events are fixed product fixtures

usage-report

src/components/usage-report.tsx

Fixture runs

1,284

Seven authored days ending Thursday

Tokens

4.11M

Fixture cost

£126.00

Runs and cost

Authored Commonwell usage · seven days

RunsCost

Fri

146

Sat

98

Sun

84

Mon

212

Tue

238

Wed

261

Thu

245

Fri: 146 runs, 482k tokens, £14.20. Sat: 98 runs, 306k tokens, £9.10. Sun: 84 runs, 271k tokens, £8.30. Mon: 212 runs, 698k tokens, £21.40. Tue: 238 runs, 771k tokens, £24.80. Wed: 261 runs, 824k tokens, £27.20. Thu: 245 runs, 756k tokens, £21.00.
Show usage table
DayRunsTokensCost
Fri146482,000£14.20
Sat98306,000£9.10
Sun84271,000£8.30
Mon212698,000£21.40
Tue238771,000£24.80
Wed261824,000£27.20
Thu245756,000£21.00
Peak volume: Wednesday · 261 runs

api-key-console

src/components/api-key-console.tsx

Usable fixture keys

3 keys

Prefixes are visible. Secret values are never stored or rendered.

No local changes

API keys

Fixture access for workflows, runs, tools, and audit

Fixture runner

Active

swy_fx_8H2K••••••••

Created 8 Aug 2026 · Last used 4 min ago

workflows:readruns:write

Audit export

Active

swy_au_2P9M••••••••

Created 30 Jul 2026 · Last used Yesterday

runs:readaudit:read

Repair sandbox

Review

swy_sb_7D4Q••••••••

Created 18 Jul 2026 · Last used 6 days ago

workflows:readtools:test

Legacy prototype

Revoked

swy_lp_1A6V••••••••

Created 2 Jun 2026 · Last used Never

runs:read
No access

settings-console

src/components/settings-console.tsx

Workspace

Identity and default environment

Model routing

Defaults for new agent drafts

ui

src/components/ui/

Buttons and status

All states keep visible labels

Open canvas
DraftSelectedHuman reviewPassedFailed
Switchyard

Active runs

2 in motion

Semantic icon, label, value, and supporting detail.

Color always travels with an icon or word.

Fields and toggles

40px controls with instant focus