Web Studio
The web studio is the browser interface that recon ui serves on 127.0.0.1. You use it to edit .http requests, send them, compare environments, read responses and open every other Recon feature (vault, protocols, mock, flows, agent approvals) from one window.
Launch the studio
Section titled “Launch the studio”Create a workspace and start the server:
recon init --demorecon ui --port 4910The command prints the URL on stdout and two lines on stderr:
Recon UI listening at http://127.0.0.1:4910Open in your browser: http://127.0.0.1:4910http://127.0.0.1:4910Open the URL in a browser. The server runs until you press Ctrl-C.
| Flag | Default | Effect |
|---|---|---|
--port <PORT> |
0 |
Port on 127.0.0.1. 0 picks a free ephemeral port. |
--no-open |
off | Drops the Open in your browser: line from stderr. |
--workspace <WORKSPACE> |
. |
Workspace directory to serve. An empty directory works. |
--salt <SALT> |
recon-dev-salt (env MASKKEEL_SALT) |
Airlock masking salt. The top bar shows its fingerprint. |
The server binds only to the loopback address. It embeds the built UI in the binary and injects a per-process token into the page as <meta name="recon-token">. The UI sends that token as the X-Recon-Token header on API calls. If the binary was built without UI assets, the page shows Recon UI assets not built.
Environment values that start with http://127.0.0.1:8787/_sandbox/ are rewritten to the address the server actually listens on, so the demo environments work on any port. See Offline Sandboxes.
Layout
Section titled “Layout”The window has five regions:
| Region | Position | What it holds |
|---|---|---|
| Top bar | Top | Workspace switcher, environment, airlock badge, mode toggles and modal buttons |
| Sidebar | Left | Collections, code routes, Flight Log |
| Tab bar | Above the composer | One tab per open request |
| Request composer | Left pane | Method, URL, sub-tabs for params, auth, headers, body, scripts, assertions, secret scope |
| Response inspector | Right pane | Status strip and ten response views |
On large screens the composer and inspector sit side by side. On narrower screens they stack vertically and the resize handles are hidden.
When an agent waits for approval, a banner appears above the panes. See Agent approval banner.
Short messages (“toasts”) appear at the bottom right for 2.6 seconds.
Top bar
Section titled “Top bar”From left to right:
| Control | Behaviour |
|---|---|
Workspace button (R and the workspace name) |
Opens the workspace switcher. |
Env select |
Sets the active environment for Send, Twin-Run, load tests, pagination and protocols. Lists local if the workspace has no environments. |
Airlock badge |
Shows the salt fingerprint, or active. |
Demo Mask |
Toggles screen-share masking. Reads Demo Mask: ON when on. Shortcut P. |
Flows |
Opens the flow runner. |
Studio |
Opens the mock and shadow studio. Shows a green dot when a mock or shadow mirror is running. |
Protocols |
Opens the protocols studio on the last protocol tab you used (SSE at first). |
Vault |
Opens the auth and secrets vault. |
Agent |
Opens the agent activity drawer. Shows a count badge and warning colour while approvals are pending. |
Git |
Opens the Git sync modal. |
Settings |
Opens workspace settings. |
Network |
Opens the network modal on its Cookies tab. Shows the cookie count. Shows a warning dot (title HTTP Proxy active) when an HTTP or HTTPS proxy or insecure TLS is set. |
Import |
Opens the import modal. Shortcut Mod+I. |
Command… |
Opens the command palette. Shortcut Mod+K. |
| Sun or moon icon | Toggles the theme. |
On small screens most buttons hide their text labels and show only icons.
Workspace switcher
Section titled “Workspace switcher”The dropdown shows:
Active Workspaceand its root path.Open Folder…, which opens a native folder picker. It appears only when the host provides one.recon uidoes not; the Desktop App does.- A path input (placeholder
/path/to/workspace). Press Enter or clickOpento switch. Recent Workspaces, with the current one markedcurrent.
Escape or a click outside closes it. Switching reloads the workspace, resets the tabs to its first request, and shows Workspace switched to {name}.
Sidebar
Section titled “Sidebar”The sidebar has three sections.
Collections
Section titled “Collections”Collections lists every request in the workspace, grouped by folder. A request with no folder goes under General. Each row shows the method and name. Click a row to open it in a tab.
Hover over or focus a row to show three buttons:
| Button | Effect | Toast |
|---|---|---|
| Duplicate | Creates {name} (Copy) and opens it. |
Duplicated "{name}" |
| Rename | Edits the name inline. Enter saves a trimmed, non-empty name. Escape cancels. | Renamed to "{name}" |
| Delete | Deletes the request from its .http file at once, with no confirmation. Closes its tabs. |
Deleted "{name}" |
Deleting the last request in a file deletes the file.
New opens a blank tab.
There is no search or filter box in the sidebar. Use the command palette to jump to a request by name.
Code Routes
Section titled “Code Routes”Code Routes (n) is collapsible. It has two buttons:
- Scan (title
Scan codebase routes & DTOs) scans the repository. Toast:Scanned N files: N routes. - Sync (title
Sync code routes into .http collections (# @handler)) writes the routes into.httpfiles. Toast:Synced: N tagged, N new route(s).
The list shows the first 60 routes with method, path and framework. Before a scan it reads Click refresh to scan repo handlers & schemas.
Click a route to open it as a new tab:
| Field | Value |
|---|---|
| Folder | Code (framework) |
| Name | The handler name, or METHOD path |
| Body | For POST, PUT and PATCH, an empty JSON object |
| Assertion | status in 200..299 |
See Code Scanning.
Flight Log
Section titled “Flight Log”The Flight Log lists recent runs from .recon/flight.db, newest first, up to 60. Each row shows:
- An actor badge: a bot icon and label for agents, a terminal icon and
clifor CLI runs, a user icon for runs from the studio. - The status code, coloured by class.
- The request name, environment and latency.
★ baseif the run is the pinned baseline.- A shield: check for a verified zero-leak airlock receipt, alert otherwise.
Click a row to load that run into the inspector. The search button (hint ⌘⇧F) opens global search. When empty it reads No recorded flights yet. Hit ⌘↩ to send.
Runs made by the CLI or the MCP server in the same workspace also appear here. See Live updates. For the recorder itself, see Flight Recorder.
Tabs and split panes
Section titled “Tabs and split panes”Each tab holds one request. The tab bar (role="tablist") shows the method and name, or Untitled Request.
- A dot (title
Unsaved changes) marks a tab with edits you have not saved. - The close button appears only when more than one tab is open. You cannot close the last tab.
- Closing a dirty tab discards its edits without asking.
- The
+button (New tab) opens a blank request. - Mod+1 to Mod+9 switch to tabs 1 to 9.
Opening a request that is already open switches to its tab. If the only tab is an untouched New Request, the request replaces it.
A new blank request has these defaults:
| Field | Default |
|---|---|
| Name | New Request |
| Folder | General |
| Method | GET |
| URL | {{base_url}}/v1/students |
| Timeout | 15000 ms |
| Follow redirects | on |
When the workspace reloads (after a send, save or live event), clean tabs pick up the server copy of their request. Dirty tabs keep your edits.
Open tabs are not saved. A page reload starts with one tab.
Resizing
Section titled “Resizing”Drag the handle between the sidebar and the composer (Resize sidebar) or between the composer and inspector (Resize request and response panes). The studio stores both positions in localStorage:
| Key | Range | Default | Stored as |
|---|---|---|---|
recon.sidebarWidth |
200 to 440 px | 256 | Rounded integer |
recon.splitRatio |
0.28 to 0.72 | 0.5 | Three decimals |
Values outside the range are clamped on load. If storage is unavailable, the defaults apply and errors are ignored.
Request composer
Section titled “Request composer”Header and URL row
Section titled “Header and URL row”| Control | Behaviour |
|---|---|
| Name input | Placeholder Request name. |
Code |
Opens the code snippet drawer. |
Save .http |
Saves the request. Same as Mod+S. |
| Method select | GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. |
| URL input | Accepts {{variables}} from the active environment. |
Send |
Sends the request. Reads Sending… while busy. Same as Mod+Enter. |
Twin env select and Twin-Run ({activeEnv} vs {twinEnvB}) |
Sends to both environments and opens the Diff view. |
Send uses the request as it is in the composer, including unsaved edits.
Paste cURL
Section titled “Paste cURL”Paste a command that starts with curl (any case, followed by a space or nothing) into the URL field. The studio imports it as cURL and fills the method, URL, headers and body into the current tab. The tab keeps its id and file. Toast: Hydrated request from pasted cURL. The tip under the URL row says the same: Tip: paste any curl ... straight into URL bar.
Handler strip
Section titled “Handler strip”A strip under the URL row appears when the request has a # @handler location, matches a scanned code route, or has drift findings. It shows:
↳ file:lineand the framework, orCode handler telemetry.{n} drift, which opens the Drift & ODCS view.Open in Editor(hintG H), which opens the handler using the editor URI template from workspace settings. The default template isvscode://file/{path}:{line}.
Sub-tabs
Section titled “Sub-tabs”The composer has seven sub-tabs. Body is selected by default.
| Tab | Label shows |
|---|---|
| Params | Params (n) |
| Auth | Auth |
| Headers | Headers (n) |
| Body | Body |
| Scripts | Scripts, or Scripts (n) when scripts are set |
| Assertions | Assertions (n) |
| Secret Scope | Secret Scope (n) |
Params and Headers
Section titled “Params and Headers”Both use a key/value table. Each row has an enable checkbox, a key, a value and a delete button. Add Row adds a row. Params placeholders are limit and 25. Header placeholders are Authorization and Bearer {{DEV_API_TOKEN}}.
Pick a mode from Auth Mode. Switching modes resets the fields to the defaults below.
| Mode | Fields and defaults |
|---|---|
None (or Manual Headers) |
None |
Bearer Token |
Token {{DEV_API_TOKEN}} |
Basic Auth |
Username, Password |
API Key |
Header/Param Name (X-Api-Key), value {{API_KEY}}, location Header or Query Param (taint-checked) |
OAuth 2.0 / OIDC (PKCE / Client Credentials) |
Grant Type (client_credentials, authorization_code (PKCE cache), refresh_token), Profile Key (default-oauth), Token URL ({{base_url}}/../oauth/token), Client ID (recon-client), Client Secret (age:// or env://) ({{OAUTH_CLIENT_SECRET}}), Scope (read:students), Audience (optional) |
AWS SigV4 (AWS4-HMAC-SHA256) |
Access Key ID ({{AWS_ACCESS_KEY_ID}}), Secret Access Key ({{AWS_SECRET_ACCESS_KEY}}), Region (us-east-1), Service (execute-api), Session Token (opt) |
Custom HMAC (SHA-256 / SHA-512) |
Signing Secret (age:// or env://) ({{HMAC_SECRET}}), Algorithm (HMAC-SHA256 or HMAC-SHA512), Signature Header (X-Signature), Timestamp Header (X-Timestamp), Encoding (hex or base64), Payload Template |
The HMAC payload template defaults to four lines: {timestamp}, {method}, {path}, {body}. The OAuth form sets PKCE on by default but has no field for the authorization URL or the PKCE flag. Use the vault’s OAuth tab for an interactive PKCE login. See Auth & Request Signing.
Choose a body type: none, json, text, form or multipart.
| Type | Editor |
|---|---|
none |
Text: This request sends no body. Switch to JSON, Text, Form, or Multipart above. |
json |
Code editor with JSON highlighting. An empty body starts as an empty JSON object. |
text |
Code editor without highlighting. |
form |
Key/value rows. Starts with one empty row. |
multipart |
Parts. Starts with one part named file. |
Switching between json and text keeps the text. Editing a binary body in the editor turns it into json.
Each multipart part has a field name, a value (placeholder text value or attach file →) and a File button. Choosing a file reads it in the browser and stores it base64-encoded in the request, with its filename and content type (application/octet-stream if the browser reports none). A chip shows the file; Clear file removes it. Add Part adds a part. The studio sets no size limit on attached files.
Scripts
Section titled “Scripts”The banner reads Sandboxed Pure-Rust Rhai Hooks (50k Op Cap). Scripts have no filesystem or network access, and age:// and secret environment values read as empty strings. They save to the .http file as # @pre-script and # @post-script.
| Field | Rows | Helpers named in the label |
|---|---|---|
Pre-Request Script |
4 | env_get, env_set, req_set_header, req_set_query, uuid, sha256_hex |
Post-Response Script |
5 | res.status, res.json, res.headers, expect, env_set, log |
Two buttons replace a script with a starter:
+ Pre Header:
req_set_header("X-Trace-Id", uuid());log("trace attached");+ Assert Status:
expect(res.status == 200, "status == 200");log("latency=" + res.latency_ms);Clearing a field removes the script. See Pre/Post Scripting.
Assertions
Section titled “Assertions”Each assertion shows as a label with a delete button:
| Kind | Label |
|---|---|
| Status equals | status == N |
| Status range | status in a..b |
| Header exists | header X exists |
| Header equals | header X == v |
| JSONPath equals | jsonpath P == v |
| JSONPath exists | jsonpath P exists |
| Latency | latency < Nms |
| Body contains | body contains X |
The only add button is Add `status == 200` Assertion. Add other kinds in the .http file. See .http Request Files.
Secret Scope
Section titled “Secret Scope”The banner reads Outbound Secret Taint Scope. Allowed Hosts (comma-separated) (placeholder 127.0.0.1, *.example.edu) sets the hosts this request may send secrets to. See Outbound Secret Firewall.
Saving and dirty state
Section titled “Saving and dirty state”Any edit marks the tab dirty. Save with Save .http, Mod+S or the palette. The server writes the request back to its source file. A new request goes to {collections_dir}/{slug}.http. On success the dot clears and the toast reads Saved to .http collection.
Response inspector
Section titled “Response inspector”The inspector shows the active run. With no run loaded it reads Ready to inspect traffic and hides the view tabs. The Drift & ODCS, Load Lab and Paginate views work without a run; open them from the palette or the composer’s drift button.
Status strip
Section titled “Status strip”| Item | Meaning |
|---|---|
| Status | HTTP status code |
| Latency | Milliseconds, one decimal |
| Size | wire → decoded bytes |
| Protocol | Protocol of the run, such as HTTP/1.1 |
N JWT detected |
Opens Decoded JWT Claims: sub, EXPIRED or valid (Ns), and the payload JSON |
Download |
Downloads the raw body |
Bug Capsule |
Opens the capsule modal |
Pin Baseline / Baseline |
Pins this run as the diff baseline |
During a Twin-Run the strip shows the left environment’s run.
Below the strip, an assertions ribbon shows a pass or fail chip per assertion (hover for detail). A Script Output: ribbon shows script log lines and captured key=value variables.
| Tab | Shows |
|---|---|
Pretty |
Formatted body, image or PDF preview |
Table |
First array of objects as a sortable table |
Hex |
Raw bytes |
Diff |
Semantic diff. Label shows the change count. |
Drift & ODCS |
Drift radar and contracts. Label shows breaking plus rename count. |
Waterfall |
Timing phases, TLS certificate, redirects |
AI Airlock |
Masked body and receipt |
Load Lab |
Micro load test |
Paginate |
Pagination explorer |
Types & Code |
Generated types and request code |
There is no headers view and no cookies view. The inspector reads response headers only to detect the content type. Use the Network modal for cookies.
Pretty
Section titled “Pretty”| Content type | Rendering |
|---|---|
image/png, jpeg, jpg, gif, webp, bmp, ico |
Image, up to 380 px tall, with type, size and Download |
application/pdf |
Embedded PDF viewer |
audio/*, video/*, application/octet-stream |
Binary payload (type) • size with Download Binary and Inspect Hex |
| Anything else | JSON indented by 2 spaces, or plain text |
Size limit: if the formatted text is longer than 524,288 characters, the view shows the first 524,288 and a banner: Response is X — preview truncated at 512 KiB for responsiveness. Click Show Full to render everything or Download Raw to save the body.
A JSONPath bar sits at the bottom of the inspector. Type an expression such as $.students[*].email. After 150 ms the studio evaluates it on the server and replaces the Pretty text with a JSON array of matches. Errors show in red. Clear removes the filter. The right side reads Press D for Diff, or Demo Mask active (P) when the mask is on.
The table finds the first array of objects, either at the root or under a top-level key. It does not look deeper. Columns are the union of all keys. The badge reads {path} ({n} rows).
Filter rows…matches a case-insensitive substring in any column.- Click a header to sort ascending, again for descending. Numbers sort as numbers.
CSVandJSONLdownloadrecon-export.csvorrecon-export.jsonl. Exports contain every row, unfiltered and unsorted.- Cells are cut at 240 px; hover for the full value.
nullshows asnull.
If no array of objects exists, it reads No array of objects detected in this JSON payload for tabular display.
The hex view loads the raw body once per run.
- 256 bytes per page, 16 bytes per row.
- 8-digit hex offsets.
- ASCII column shows bytes 32 to 126; others show as
.. - Header
Showing bytes a..b of N, buttonsPrev 256BandNext 256B.
Messages: Loading hex bytes…, Failed loading raw bytes: …, (0 bytes).
The title is Twin-Run: a vs b after a Twin-Run, Current vs {label} after a send that has a previous run or baseline to compare, or Semantic Diff. It shows status left → right and the latency delta.
Chips show N volatile ignored and Semantically Identical. Each change row has a kind (added, removed, changed, type changed), a path, and - left / + right values. A missing value shows as ∅.
Body changes have an Ignore volatile button. It adds the path to the request’s volatile ignore list, shows Pinned {pattern} as volatile ignore, and re-runs the Twin-Run if one is showing.
Press D to switch between Diff and Pretty. See Twin-Run & Diff.
Drift & ODCS
Section titled “Drift & ODCS”The Three-Way Drift Radar shows N breaking, N rename and N warn, with Copy SARIF and Refresh Drift. With no drift it reads Code, `.http` collections, and Flight Recorder responses are aligned.
Below it:
- The ODCS section:
Infer ODCS v3.2.0 YAML(needs an active run),Validate Run,Copy. - The OpenAPI section:
Export OpenAPI 3.1 YAML,Validate Active Run,Copy YAML, and an editable YAML box.
See Drift & Branch Diff and OpenAPI & ODCS Contracts.
Waterfall
Section titled “Waterfall”Wire Latency Waterfall shows the total and five phases with two decimals: DNS Lookup, TCP Connect, TLS Handshake, TTFB (Wait), Content Download.
For HTTPS, the TLS & X.509 Certificate Inspector shows version, ALPN, days left, subject, issuer, cipher, SANs and expiry.
Redirect Chain (n hop) lists each hop as [status] url → location with its latency. Redirects fill only after a Send. Loading a run from the Flight Log clears them.
AI Airlock
Section titled “AI Airlock”Shows maskkeel AI Privacy Airlock with ZERO-PII VERIFIED or LEAK FLAGGED, the salt, fields masked, secrets scrubbed, headers stripped and the first 24 characters of the receipt SHA-256. Up to six masked paths appear as path (strategy) chips, then the masked body. Rule Studio & Audit opens the Airlock Rule Studio. This tab renders only when the run has an airlock result. See PII Airlock & Receipts.
Load Lab
Section titled “Load Lab”Micro-Load SLA Benchmark for the active request and environment.
| Field | Default |
|---|---|
| Requests | 50 (at least 1) |
| Concurrency | 10 (at least 1) |
| Target RPS | empty, placeholder max |
| p99 SLA (ms) | empty |
| Max Error % | empty |
Run Load Test shows SLA Passed (x/y succeeded) or SLA Breached: …, tiles for achieved RPS, mean and p99 latency and error rate, an HdrHistogram Latency Percentiles row (min, p50, p90, p95, p99, p99.9, max) and a status histogram (ERR for status code 0). See Load Testing.
Paginate
Section titled “Paginate”Pagination & fetchkeel Manifest Explorer.
| Field | Default |
|---|---|
| Strategy | auto (also link_header, cursor, page_number, offset_limit) |
| Max Pages | 5 |
| Per Page | 25 |
| Zero-PII Airlock | on |
Explore Pages shows the detected strategy, N pages · N records, N× 429 backed off and Zero-PII Scrubbed. Sub-tabs show the generated fetchkeel.toml (with Copy fetchkeel.toml and Download TOML) and JSONL Rows (n). See Pagination.
Types & Code
Section titled “Types & Code”Two modes:
Response Types (6 langs): TypeScript, Zod, Rust Serde, Go, Pydantic, Mo Struct. The root type isResponse. Non-JSON bodies show// Type generation requires valid JSON response.Request CodeGen (10 langs, secret-safe): cURL, JS fetch, Python httpx, Rust reqwest, Go net/http, Mo Http, HTTPie, Hurl, C#, Ruby. Secrets render as placeholders such as${DEV_API_TOKEN}.
Copy copies the output. See Code & Type Generation.
Demo Mask
Section titled “Demo Mask”Press P or click Demo Mask to show the airlock-masked body instead of the raw one. It affects Pretty, Table, the JSONPath filter and Types & Code. It does not affect Hex, image or PDF previews, or downloads, which always use the raw body.
Modals and drawers
Section titled “Modals and drawers”Command palette
Section titled “Command palette”Mod+K toggles it. Type to filter by label (case-insensitive substring). Arrow keys move, Enter runs, Escape or a click outside closes. With no matches it reads No matching commands.
| Command | Hint |
|---|---|
Send Request |
⌘↩ |
Save Active Request |
⌘S |
New Request Tab |
|
Close Active Tab |
|
Open Cookie Jar |
|
Open mTLS & Proxy Settings |
|
Open Workspace Folder… (native picker hosts only) |
|
Twin-Run Across Environments |
⌘⇧↩ |
Scan Repository Codebase |
|
Sync Code Routes to .http (# @handler) |
|
Open Three-Way Drift & ODCS Radar |
|
Export / Reproduce Zero-PII Bug Capsule |
|
Run Workflow DAG (flows/*.flow.toml) |
|
Run Micro-Load Benchmark (HdrHistogram) |
|
Explore Pagination & Export fetchkeel |
|
Open Freeze-to-Mock & Shadow Studio |
|
Open SSE / AI Stream Inspector |
|
Open WebSocket Console |
|
Open GraphQL Studio & Schema Explorer |
|
Open Zero-protoc gRPC Client |
|
Open Age Encrypted Secrets Vault |
|
Open OAuth 2.0 / OIDC Token Manager |
|
Open AWS SigV4 & HMAC Signer |
|
Toggle Screen-Share PII Demo Mask (P) |
|
Open Semantic Diff View (D) |
|
Inspect AI Airlock & Zero-PII Receipt |
|
Global Flight Recorder Search |
⌘⇧F |
Import cURL / Postman / OpenAPI / HAR |
⌘I |
Open Workspace Settings & Environments |
|
Export Code Snippet (cURL / fetch / Python / Rust / Go) |
|
Open Live Agent Activity & Approval Gate |
|
Open Airlock Rule Studio & Compliance Audit |
|
Open Git Workspace Status & Branch Diff |
|
Switch to Light Theme or Switch to Obsidian Dark Theme |
After these, the palette lists one entry per saved request, {METHOD} {name}, with its folder as the hint.
The palette Twin-Run targets the first environment that is not active, or staging if there is none. The placeholder mentions switching environments, but no palette command does that. Use the Env select.
Global search
Section titled “Global search”Mod+Shift+F or the Flight Log search button. Searches every recorded response body, header and URL with full-text search, up to 50 results, 120 ms after you stop typing. An empty query lists recent runs. Each row shows status, name, [actor], method, URL and latency. Click a row to load the run. With no matches it reads No matching runs in .recon/flight.db. Escape closes it while the input has focus.
Import
Section titled “Import”Mod+I or Import. Title Import Collection or cURL (Auto-Detect). Pick a format (Auto-detect, cURL, Postman v2.1 JSON, Insomnia v4, Bruno .bru, OpenAPI 3.0 / 3.1, Chrome HAR 1.2), paste the content, then click Import & Save .http. Imported requests are saved to the workspace. The button is disabled while the box is empty. Close with Cancel; Escape does nothing here. See Importers.
Code snippet drawer
Section titled “Code snippet drawer”Code in the composer opens a right-side drawer, Code Snippet ({method} {name}), generated for the active environment with secrets replaced by placeholders. Languages: cURL, JS fetch, Python httpx, Rust reqwest, Go net/http, HTTPie, Hurl. Copy copies it. Escape closes it. The Types & Code view offers ten languages; this drawer offers seven.
Firewall alert
Section titled “Firewall alert”When a send would leak a secret to a host outside its scope, the server blocks it and the studio opens Outbound Secret Leak Blocked Pre-Flight. Each violation shows {secret} → {host}, the message and Allowed hosts: ….
Override Oncere-sends the active request through Send with a one-time override.Keep Blockedor a click outside closes the alert.
Escape does nothing here. See Outbound Secret Firewall.
Workspace settings
Section titled “Workspace settings”Settings or the palette. Opens on Environments & Secrets. Escape closes it.
Environments & Secrets
- One button per environment.
Deleteappears when more than one exists and removes it without confirmation. Add Envtakes a name (placeholdernew-env (e.g. qa)). The name is lowercased and any character other than letters, digits,_and-becomes-. The new file hasbase_url = http://127.0.0.1:8787/_sandbox/local.- Variable rows have a key, a kind (
plainorsecret) and a value. A saved secret shows•••••••••••• (leave blank to keep). - Secret rows add
allowed_hosts:and anallow_query_paramcheckbox. Add Variableadds a plain row.Add Scoped Secretadds a secret row with allowed host127.0.0.1.Save {env}.tomlwritesenvironments/{env}.toml.
Workspace & Diff
Workspace Name, Default Environment, Editor URI Template, and Volatile JSONPaths Ignored During Semantic Diff (one per line). Save Workspace Config writes .recon.toml.
Agent Governance
| Control | Default |
|---|---|
Allow read-only MCP calls (GET / HEAD / OPTIONS) |
on |
Allow mutating MCP calls against localhost / loopback |
on |
Require live human approval for mutating MCP calls |
off |
Approval Timeout (secs): |
60, minimum 5 |
Envs Always Requiring Approval |
comma-separated |
Permitted Mutating Envs |
comma-separated |
Permitted Load-Test Envs |
comma-separated |
Blocked Hosts (wildcard patterns, comma-separated) |
comma-separated |
Save Agent Policy writes the policy to .recon.toml. See Configuration and Agent Policy & Approvals.
Network, cookies and mTLS
Section titled “Network, cookies and mTLS”Network (opens on Cookies) or the palette (Open Cookie Jar, or Open mTLS & Proxy Settings for the proxy tab). Escape closes it.
| Tab | Contents |
|---|---|
Cookies (n) |
Enable automatic RFC 6265 Cookie Jar capture & injection (saves at once), Clear All, a table of name, value, domain, path and flags with delete, and an Add Cookie form (name, value, domain 127.0.0.1, path /, Secure (HTTPS only)). Name and domain are required. |
mTLS & CA |
Allow insecure / self-signed TLS certificates (local dev only), custom CA PEM path, client certificate PEM path, client key PEM path. |
HTTP Proxy |
HTTP proxy URL, HTTPS / CONNECT proxy URL, no-proxy rules. Saved proxy passwords show as ***; leave *** in place to keep the password. |
Save Network Settings (on the mTLS and proxy tabs) applies changes at once: Network settings saved and hot-reloaded. Cookies added by hand are never HttpOnly. See Transport: TLS, Proxy & Cookies.
Auth & Secrets Vault
Section titled “Auth & Secrets Vault”Vault or the palette. Header Auth & Secrets Vault. Escape closes it. Three tabs:
Age Vault: provider chips (age://vault,.env,op://,keychain://), lock status (UnlockedorLocked (set RECON_AGE_KEY)),Initialize Vault, a form to encrypt a secret into.recon.secrets.agewith allowed hosts, the secret list withage://KEYcopy chips, and team recipients (age1...keys).OAuth 2.0 / OIDC: acquire a token withclient_credentialsorrefresh_token, list cached profiles from.recon/tokens.jsonwithEvict, andStart PKCE Login, which opens a 520 by 640 popup and waits for the loopback callback. The defaults point at the sandbox OAuth server.SigV4 & HMAC: preview AWS SigV4 or custom HMAC headers for a method, URL and body withPreview Signature. The AWS and HMAC forms share the secret field.
See Vault & Secret URIs and Auth & Request Signing.
Airlock Rule Studio
Section titled “Airlock Rule Studio”Opened from the AI Airlock view or the palette. Edits the airlock rules file and shows its salt fingerprint. Escape closes it.
Export HTML Auditdownloadsrecon-compliance-audit.html.JSON Auditdownloads JSON.Synthetic Email DomainandDate Shift Days (+/-)(1 to 3650; 30 if empty).Add Regex Ruleadds a custom rule (example:BADGE-[0-9]{6}to[REDACTED:BADGE]).Add Column Ruleadds a field rule. Strategies:email,name,first_name,last_name,phone,ssn,id,int_id,date_shift,text_redact,redact,null,drop.Live Airlock Preview SandboxwithTest RulesshowsN masked • ZERO-LEAK VERIFIEDorLEAK FOUND.Save {path}writes the file and reloads the airlock.
Agent activity drawer
Section titled “Agent activity drawer”Agent, the approval banner’s Inspect, or the palette. Title Agent Activity & Live Approval Gate. Refreshes when opened. Escape closes it.
Pending Approvals (n): each card shows method, name, environment, tool, URL and reason, an optional note field, andApprove/Deny.MCP Governance Timeline (n): every agent call with a decision chip (allowed,approved,pending_approval,denied).
See Agent Policy & Approvals and MCP Server.
Agent approval banner
Section titled “Agent approval banner”While any approval is pending, a banner reads AGENT APPROVAL REQUIRED (n) and shows the first request as {method} {name} ({env}). Buttons: Approve, Deny, Inspect. Toasts: Approved MCP agent call or Denied MCP agent call.
Bug capsule
Section titled “Bug capsule”Bug Capsule in the status strip or the palette. Title Zero-PII Bug Report Capsule. No Escape handler; use Close.
Export Current Runneeds an active run. It shows the masked-field and stripped-header counts, the seal hash, a Markdown preview,Copy Issue MarkdownandDownload .capsule.json.Verify & Reproducetakes pasted capsule JSON (or uses the current capsule when empty) and an optional base URL.Verify Sealchecks the seal.Reproduce & Diffreplays it and compares statuses and bodies.
The export banner text reads Zero-PII Verified even when verification fails; only its colour changes. See Bug Report Capsules.
Protocols studio
Section titled “Protocols studio”Protocols or the palette. Title Protocols Studio, with the active environment. Tabs: SSE / AI Stream, WebSocket, GraphQL, gRPC (No-protoc). An Airlock ON/OFF toggle (on by default) applies to all tabs. Escape closes it. A firewall block opens the firewall alert.
| Tab | Defaults |
|---|---|
| SSE | POST {{base_url}}/v1/ai/stream, max events 100 (1 to 500) |
| WebSocket | ws://{host}/_sandbox/ws/echo, polls frames every 700 ms while connected |
| GraphQL | {{base_url}}/graphql, Introspect Schema, Execute Query |
| gRPC | proto proto/greeter.proto, endpoint http://127.0.0.1:50051, Inspect .proto, Reflect, Invoke RPC |
See SSE & LLM Streams, WebSocket, GraphQL and gRPC.
Freeze-to-Mock & Shadow Studio
Section titled “Freeze-to-Mock & Shadow Studio”Studio or the palette. No Escape handler; use the close button.
Freeze-to-Mock:Serve strictly Zero-PII Airlock responses(on), latency, jitter,Fault Rate (0..1),Fault HTTP(503),Start Mock/Stop Mock, the mock URL, and counters for routes, served, faults and 404 misses. The UI picks no port.Export .recon-mock.jsondownloads a file namedrecon-mock-pack.json.Shadow Mirror: primary and candidate upstreams (sandboxlocalandstagingby default),Mirror POST/PUT/PATCH/DELETE mutations,Start Shadow Mirror/Stop Shadow, the shadow endpoint, and up to 10 regression findings.
The studio has no capture-proxy controls. Use the CLI for that. See Mock Server and Capture Proxy, Shadow & Watch.
Flow runner
Section titled “Flow runner”Flows or the palette. Title Declarative DAG Workflow Runner. Lists each .flow.toml with its step and wave count. Run DAG runs the selected flow in the active environment and shows each wave and step with pass or fail, status, latency, errors and extracted variables. Secret values show a lock. With no flows it points to flows/onboard.flow.toml. No Escape handler. See Flows.
Git sync
Section titled “Git sync”Git or the palette. Title Git Workspace Status & Branch API Diff. Shows the branch, short head and up to 25 modified files. Base Ref: defaults to main. Compare Branch lists breaking, warning and added changes to endpoints, contracts and environment keys (secret values are never shown). Copy PR Markdown copies a summary. Outside a Git repository the compare button is disabled. Escape closes it. See Drift & Branch Diff.
Keyboard shortcuts
Section titled “Keyboard shortcuts”Mod is Cmd on macOS and Ctrl elsewhere. Mod shortcuts work everywhere, including inside text fields. Single-key shortcuts work only when focus is not in an input, textarea, select or code editor.
| Keys | Action |
|---|---|
| Mod+K | Toggle the command palette |
| Mod+Enter | Send the active request |
| Mod+Shift+Enter | Twin-Run against the first non-active environment (or staging) |
| Mod+S | Save the active request |
| Mod+I | Open import |
| Mod+Shift+F | Open global search |
| Mod+1 to Mod+9 | Switch to tab 1 to 9 |
P |
Toggle Demo Mask |
D |
Switch between Diff and Pretty |
G then H within 800 ms |
Open the handler in your editor (toast Opening handler {location}) |
| Enter or Space | Select the focused tab |
| Enter / Escape | Confirm / cancel an inline rename |
| Arrow Up / Down, Enter, Escape | Navigate, run, close in the palette |
Mod+Shift+Enter ignores the twin environment chosen in the composer. Use the composer’s Twin-Run button to pick one.
Live updates
Section titled “Live updates”The studio opens a WebSocket to /ws on the same host. If it drops, it reconnects after 500 ms, doubling each time up to 8 seconds, and resets to 500 ms once connected. Non-JSON frames are ignored.
| Event | Studio reaction |
|---|---|
run_recorded |
Adds the run to the Flight Log (deduplicated by id, max 60). For agent runs, toast Agent executed {method} {name} ({status}). |
workspace_switched |
Reloads the workspace, resets tabs, toast Workspace switched to {name}. |
agent_activity |
Adds to the governance timeline (deduplicated, max 100). |
agent_approval_requested |
Adds the approval, shows the banner, toast Agent requested approval: {method} {name}. |
agent_approval_resolved |
Updates the approval. |
The server watches the workspace every 350 ms, so runs from recon send or the MCP server in the same workspace appear without a reload. It also sends a heartbeat event on connect, which the studio ignores.
Theme and preferences
Section titled “Theme and preferences”The studio starts in the dark theme (Obsidian) every time. The sun or moon button and the palette switch to the light theme (Daylight) by setting data-theme on the page root. The theme is not saved; a reload returns to dark.
| Preference | Saved | Where |
|---|---|---|
| Sidebar width | Yes | localStorage recon.sidebarWidth |
| Composer/inspector split | Yes | localStorage recon.splitRatio |
| Theme | No | Resets to dark |
| Open tabs | No | Resets to one tab |
| Demo Mask | No | Resets to off |
| Active environment | No | Resets to local, or to the workspace default when there is no local environment |
Workspace settings, environments, network settings and airlock rules are saved on the server, in the workspace files.
Errors and rough edges
Section titled “Errors and rough edges”| Situation | What you see |
|---|---|
| Workspace fails to load | Toast Load error: … |
| Any failed API call | Toast with the error text |
| Secret would leak | Firewall alert modal |
| UI assets missing from the binary | Page text Recon UI assets not built |
Known rough edges:
- Closing a tab or deleting a request asks for no confirmation.
- Escape does not close Import, Bug Capsule, Flow runner, Freeze-to-Mock & Shadow Studio, or the firewall alert.
- The Studio button’s green dot reflects only status reported while that modal is open. After a reload it stays off until you open the modal.
- The inspector has no response headers or cookies view.
- The sidebar has no filter.
Also available via
Section titled “Also available via”| Surface | Entry point |
|---|---|
| CLI | recon ui (see CLI Reference) |
| HTTP API | The same server exposes /api/v1/* and /ws. See HTTP API. |
| Desktop | The Desktop App wraps the same UI and adds a native folder picker. |