Introducing a new way to review your PRs.

Read the announcement

hashgraph-online / hol-guard

Open-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

View on GitHub

44 documents · Updated Nov 23, 2026

docs / dashboard-product-workspaces

Dashboard product workspaces

The dashboard is the operator surface for HOL Guard. It turns local Guard state into linked workspaces for review, evidence, policy, app coverage, tool protection, context help, supply-chain checks, settings, release awareness, and recovery. Each workspace keeps a high-impact action near the context and proof needed to make it safely.

Dashboard shell and routing

The dashboard uses path-based routes inside one shared shell. The shell keeps navigation, queue status, cloud actions, update handling, and page state together while the selected route receives current Guard data. Same-document navigation also emits a location event so desktop runtimes update reliably (dashboard/…/app.tsx• L125-127, dashboard/…/app.tsx• L185-239). The shell exposes Guard version status, update channel, update mode, update, and recovery-reinstall controls when the local service supports them (src/…/guard-dashboard.js• L21985-22469).

The main routes form the operator map:

RouteWorkspaceOperator goal
/HomeSee the current protection story and choose the next task.
/inbox, /requests, and /approvalsReviewResolve actions that are waiting for a decision.
/protectProtectCheck app coverage and repair protection gaps.
/swarmSwarmLaunch, follow, and direct local agents across projects.
/cigarContextSet up local context help and manage scoped context access.
/protection/repairProtection repairRestore trusted extension protection after a health failure.
/apps/<app>App detailManage one connected app and inspect its activity.
/extensions and /extensions/<extension>ExtensionsManage protected tools, commands, and capabilities.
/evidenceEvidenceSearch and analyze recorded Guard activity.
/supply-chain, /audit, /workspaces, and /feed-healthSupply Chain hubCheck package risk, workspace findings, and feed health.
/policyRules and exceptionsInspect remembered rules and cloud-backed exceptions.
/settingsSettingsChange local protection and approval behavior.
/aboutAboutView product, trust, and data-boundary information.
/releasesReleasesCompare the installed Guard version with the release archive.

The shell presents these routes in three navigation groups:

GroupPrimary surfaces
GuardHome, Inbox, Protect, Swarm, Context, and Extensions.
ManageRules and exceptions, Supply Chain, Settings, and Evidence.
SupportReleases and About.

Nested views use the parent workspace in navigation. App detail belongs to Protect. Audit, Workspaces, and Feed Health belong to the Supply Chain hub. Protection repair belongs to Extensions. Extensions owns nested extension paths. Context uses the CIGAR workspace, while Settings remains the broader local protection surface. Swarm is a desktop destination but is not in the mobile primary bar. About and Releases are separate support surfaces (dashboard/…/app.tsx• L185-239, dashboard/…/approval-center-layout.tsx• L201-249, dashboard/…/supply-chain-hub-workspace.tsx• L30-47, src/…/guard-dashboard.js• L22473-22609).

The route flow connects the shared shell to the main operator tasks.

flowchart LR
    Shell[Dashboard shell] --> Home[Home]
    Shell --> Review[Review]
    Shell --> Protect[Protect]
    Shell --> Swarm[Swarm]
    Shell --> Context[Context / CIGAR]
    Shell --> Evidence[Evidence]
    Shell --> Extensions[Extensions]
    Shell --> Policy[Rules and exceptions]
    Shell --> Settings[Settings]
    Shell --> Supply[Supply Chain hub]
    Shell --> Releases[Releases]
    Shell --> Repair[Protection repair]
    Protect --> App[App detail]
    Supply --> Audit[Audit]
    Supply --> Workspaces[Workspace findings]
    Supply --> Feed[Feed health]
    Review --> Decision[Decision]
    Evidence --> Analytics[Activity analytics]
    Context --> ReviewContext[Review context]
    Context --> AppContext[Authorized app context]

References: dashboard/…/app.tsx• L149-239 dashboard/…/approval-center-layout.tsx• L202-250 dashboard/…/dashboard-location.ts• L5-29 dashboard/…/supply-chain-hub-workspace.tsx• L30-47 src/…/guard-dashboard.js• L21985-22609

Operator workspaces

Each workspace answers a different operator question. They use the same local Guard state, so a decision or repair in one area can change the counts and next action in another.

Home workspace

Home is the starting view for a quick read of the machine. It combines pending work, app coverage, recent decisions, protection health, context status, evidence insights, and links to settings, policy, and supply-chain work (dashboard/…/home-dashboard.tsx• L139-166, dashboard/…/home-dashboard.tsx• L240-307, dashboard/…/home-dashboard.tsx• L341-445).

The headline chooses the next useful task. Pending work takes priority. Otherwise Home points to app setup, protection recovery, or evidence based on the current fleet and protection state. It also distinguishes an action that stayed stopped after a one-time approval from an action that ran (dashboard/…/home-dashboard.tsx• L115-121, dashboard/…/home-dashboard.tsx• L642-730).

When protection is in Watch mode, Home shows an in-place path to turn protection on. The flow reads current settings, clears only the Watch entries that apply, asks for approval proof when required, and refreshes Home after Guard saves the change. It does not send the operator to Settings to finish a successful change (dashboard/…/watch-protection-banner.tsx• L56-122, dashboard/…/turn-protection-on-flow.ts• L41-65, dashboard/…/home-dashboard.tsx• L199-202).

References: dashboard/…/home-dashboard.tsx• L115-121 dashboard/…/home-dashboard.tsx• L139-166 dashboard/…/home-dashboard.tsx• L240-445 dashboard/…/home-dashboard.tsx• L642-730 dashboard/…/watch-protection-banner.tsx• L56-122 dashboard/…/turn-protection-on-flow.ts• L41-70

Review workspace

Review is the decision workspace for paused actions and Watch findings. The operator can search, filter, sort, page through the queue, open supporting evidence, and resolve one or more requests (dashboard/…/review-workspace.tsx• L83-143, dashboard/…/review-queue-list.tsx• L53-85). The queue keeps setup work available when filters or pages would otherwise hide it and warns when the queue read is incomplete (dashboard/…/review-workspace.tsx• L99-117, dashboard/…/review-workspace.tsx• L273-293).

Review presents the requested action in plain words. MCP is the tool-call path used by connected tools. The card names the app and service, states the likely effect, shows important input values, and keeps the exact input available for inspection. For Composio, a group of actions is shown as the actions it names. Code remains code and is not treated as proof of what it will do (dashboard/…/mcp-call-card.tsx• L43-163, dashboard/…/composio-calls.ts• L133-165, dashboard/…/composio-code.ts• L6-20).

Agent text is a quoted claim, not Guard evidence. It does not set the risk label, pause reason, consequence, or decision. A tool name that Guard cannot read stays unclear rather than being called safe. Built-in actions from the Claude app are named as Claude actions only when the recorded execution environment supports that claim (dashboard/…/mcp-call-card.tsx• L103-113, dashboard/…/mcp-consequence.ts• L4-10, dashboard/…/mcp-call-types.ts• L29-30, dashboard/…/mcp-call-types.ts• L39-75).

Simple MCP reviews offer two exact-call choices: allow once or always allow this call. A provider-account check that Guard cannot verify can restrict the call to one use. Other requests retain the full scope controls. A one-time approval may be recorded while the action stays stopped when the app cannot bind the approval to its retry (dashboard/…/mcp-call-card.tsx• L24-30, dashboard/…/mcp-call-ux.test.tsx• L178-220, dashboard/…/review-decision-labels.ts• L7-32).

Approval proof is a separate trust boundary. Depending on local settings, a decision can need a password, an authenticator code, or a still-valid approval window. A locked or unready gate rejects the guarded change and does not save it. The same boundary applies to bulk decisions, app disconnect, and other sensitive changes (dashboard/…/approval-gate.test.ts• L432-500, dashboard/…/review-decision-card.tsx• L479-493, dashboard/…/harness-setup-panel.tsx• L380-405).

When protection is in Watch mode, Review can show a banner before the operator turns protection on. The action can apply to all apps or only affected apps. A failed change stays visible and offers retry or Settings instead of claiming that enforcement was restored (dashboard/…/approval-center-layout.tsx• L114-129, dashboard/…/watch-protection-banner.tsx• L137-225).

For the full request lifecycle, decision scopes, evidence, resume behavior, and bulk approval rules, see Dashboard review and approval workflow.

References: dashboard/…/approval-center-layout.tsx• L132-199 dashboard/…/review-workspace.tsx• L83-117 dashboard/…/review-workspace.tsx• L132-221 dashboard/…/review-decision-card.tsx• L204-279 dashboard/…/review-decision-card.tsx• L360-493 dashboard/…/review-decision-labels.ts• L7-44 dashboard/…/mcp-call-card.tsx• L43-163 dashboard/…/composio-calls.ts• L133-165 dashboard/…/composio-code.ts• L6-20 dashboard/…/approval-gate.test.ts• L432-500 dashboard/…/watch-protection-banner.tsx• L137-225

Evidence workspace

Evidence is the history and analysis workspace. It turns recorded actions into readable activity, decision badges, category views, day-by-day stories, and linked detail views (dashboard/…/plain-english.ts• L36-57, dashboard/…/decision-badge.tsx• L11-57, dashboard/…/category-tab.tsx• L59-89, dashboard/…/story-tab.tsx• L19-54).

The workspace separates an approval that let an action run from an approval that left the action stopped. It supports filters, selected records, export, clear, command activity, and bounded prepared-context history. Context history is supporting data; it does not replace Guard's durable evidence log or claim delivery, approval, or execution (dashboard/…/approval-outcome.ts• L1-14, dashboard/…/receipts-workspace.tsx• L272-360, dashboard/…/history-panel.tsx• L97-139). For the evidence model and activity analytics flow, see Dashboard evidence and activity analytics.

References: dashboard/…/plain-english.ts• L36-57 dashboard/…/approval-outcome.ts• L1-14 dashboard/…/receipts-workspace.tsx• L272-360 dashboard/…/history-panel.tsx• L97-139

Context workspace

Context is the CIGAR (Context Intelligence Graph Agentic Runtime) workspace. CIGAR is a local context helper that prepares bounded, cited evidence for Guard reviews and for AI apps or supported native routes that the operator explicitly authorizes. It supplies supporting information but does not change Guard protection, approval decisions, or execution records (dashboard/…/workspace.tsx• L71-88, dashboard/…/workspace-model.ts• L35-47).

The CIGAR workspace keeps Home, Projects, Settings, Updates, Usage, Privacy, and Guide visible as direct sections. Home explains the service first. Guide answers common setup and privacy questions in plain language, while Projects remains the place to choose exact folders and files when automatic project matching is not enough (dashboard/…/workspace-model.ts• L3-12, dashboard/…/workspace-guide.tsx• L8-32, dashboard/…/workspace.test.tsx• L80-86).

CIGAR adds only project files that match a prompt. It finds the project from the folder where the AI app is open, skips secrets, keys, hidden files, build folders, and files excluded by .gitignore, and adds nothing when no project content matches. It is built into Guard and needs no Python or separate download. Turning CIGAR off stops the extra project context while Guard keeps protecting commands (dashboard/…/workspace-guide.tsx• L10-29, dashboard/…/workspace.test.tsx• L107-121).

The workspace leads through runtime setup, workspace and source grants, and optional consumer connections. A runtime start does not grant project-file or app access. Each grant names its workspace, consumer, and selected sources, so review access and app access remain separate (dashboard/…/workspace-model.ts• L35-47, dashboard/…/workspaces-panel.tsx• L77-106).

The workspace also manages CIGAR versions, usage, privacy, updates, and the local Codex settings that Guard owns. Codex short replies can be on, off, not set, or left to instructions written by the operator. A Guard-written summary-size setting can be removed, but an operator-written size stays unchanged. Reads and writes show unavailable or approval-required states instead of guessing, and writes use the approval proof when the gate is on (dashboard/…/settings-panel.tsx• L190-220, dashboard/…/codex-short-replies.tsx• L11-114, dashboard/…/codex-short-replies-api.ts• L5-29, dashboard/…/codex-lean-api.ts• L5-25, dashboard/…/codex-config-api.ts• L11-38).

Prepared context is a snapshot. A changed file, policy, source grant, runtime generation, or connection requires a fresh brief. Optional saved evidence can outlive the runtime, but restoring it never restores access or approval (dashboard/…/workspace.tsx• L32-90, dashboard/…/workspaces-panel.tsx• L149-183).

flowchart LR
    Preferences[Choose context preferences] --> Runtime[Turn on verified CIGAR runtime]
    Runtime --> Grant[Grant workspace and source access]
    Grant --> Brief[Prepare cited brief]
    Grant --> Pair[Authorize a paired AI connection]
    Brief --> Review[Inspect review context]
    Pair --> App[Use scoped app context]
    Runtime --> Native[Optional supported native execution context]
    Native --> Guard[Guard owns authorization and execution record]

References: dashboard/…/settings-panel.tsx• L62-105 dashboard/…/settings-panel.tsx• L121-220 dashboard/…/workspace-model.ts• L3-47 dashboard/…/workspace-guide.tsx• L8-32 dashboard/…/workspace.tsx• L71-88 dashboard/…/workspaces-panel.tsx• L22-106 dashboard/…/codex-config-api.ts• L7-38 dashboard/…/codex-short-replies.tsx• L45-114 dashboard/…/codex-lean-api.ts• L19-25 dashboard/…/workspace.test.tsx• L80-121

Swarm workspace

Swarm is an Alpha Guard workspace for launching, following, and directing local agents across projects. It is a primary desktop destination and stays behind the full navigation drawer on mobile (src/…/guard-dashboard.js• L22501-22510, src/…/guard-dashboard.js• L22585-22609).

References: src/…/guard-dashboard.js• L22501-22510 src/…/guard-dashboard.js• L22585-22609

Protect workspace

Protect is the fleet view for recognized AI apps on the machine. It combines managed installs, observed activity, inventory, remembered decisions, app detection, and protection checks into one status per app (dashboard/…/fleet-workspace.tsx• L85-145, dashboard/…/fleet-workspace.tsx• L171-212).

The workspace treats protection as a state that needs proof. It can show setup gaps, partial protection, degraded health, an offline runtime, or a recovery action. Unsupported containment checks do not by themselves make hook-based protection look broken, but failures in hooks or decision evidence remain visible and repairable (dashboard/…/protection-health.test.ts• L61-108, dashboard/…/protection-health.test.ts• L252-353).

Only recognized connectable AI apps enter app setup. Package runners and Guard's own sources remain visible as activity sources but use their own controls. The fleet keeps pending work, history, watched apps, runtime availability, and app setup close together (dashboard/…/fleet-workspace.tsx• L53-61, dashboard/…/fleet-workspace.tsx• L148-196, dashboard/…/app-detail-workspace.tsx• L1235-1269).

References: dashboard/…/fleet-workspace.tsx• L53-145 dashboard/…/fleet-workspace.tsx• L148-212 dashboard/…/fleet-workspace.tsx• L239-300 dashboard/…/harness-detection.ts• L59-79 dashboard/…/harness-detection.ts• L93-125 dashboard/…/protection-health.test.ts• L61-108

App detail workspace

App detail narrows Protect to one app. Overview shows setup and protection state. Activity shows recorded actions and pending requests. Settings manages the app connection and its remembered decisions (dashboard/…/app-detail-workspace.tsx• L218-365, dashboard/…/app-detail-workspace.tsx• L398-537).

The guarded management flow supports connect, test, repair, and deliberate disconnect. Disconnect first checks the current approval settings. It requires a fresh authenticator code when multi-factor approval is enabled and does not show a success state until Guard completes the change. If the app leaves Guard files behind, the page offers cleanup and keeps the repair warning until detection confirms the state (dashboard/…/harness-setup-panel.tsx• L62-86, dashboard/…/harness-setup-panel.tsx• L112-169, dashboard/…/harness-setup-panel.tsx• L184-225, dashboard/…/leftover-guard-cleanup.tsx• L3-17).

App activity reuses the evidence model and can switch between recorded events, commands, and pending reviews. This connects a protection gap to the app state that can repair it without treating an observed app as an active managed install (dashboard/…/app-detail-workspace.tsx• L939-1143, dashboard/…/harness-detection.ts• L93-125).

References: dashboard/…/app-detail-workspace.tsx• L218-365 dashboard/…/app-detail-workspace.tsx• L398-537 dashboard/…/app-detail-workspace.tsx• L939-1143 dashboard/…/harness-setup-panel.tsx• L62-86 dashboard/…/harness-setup-panel.tsx• L112-169 dashboard/…/harness-setup-panel.tsx• L184-225 dashboard/…/leftover-guard-cleanup.tsx• L3-17 dashboard/…/harness-detection.ts• L93-125

Extensions workspace

Extensions is the device-level management view for tools and capabilities that Guard protects. The Manage view shows built-in tools and custom local extensions. It supports search, trust and risk filters, custom-tool setup, and extension detail without mixing tool posture with AI app connection setup (dashboard/…/protection-center-workspace.tsx• L333-455, dashboard/…/extensions-overview.tsx• L289-439).

Custom extensions can expose command patterns, package scripts, or MCP tools. The operator can inspect, filter, sort, group, and apply a setting only to visible eligible items. Draft choices remain separate from saved choices until guarded review is complete. The optional Discover surface keeps online placement content separate from protection changes and leaves the organic catalog usable when the feed is unavailable (dashboard/…/custom-extension-command-browser.tsx• L41-75, dashboard/…/extensions-discovery-feed.ts• L11-84).

Extension changes are guarded mutations. The dashboard checks current catalog and effective state, obtains proof, applies the change, and reloads the result. Authority repair reports success only after Guard verifies the requested state (dashboard/…/protection-center-workspace.tsx• L120-143, dashboard/…/protection-center-workspace.tsx• L259-327).

References: dashboard/…/protection-center-workspace.tsx• L120-143 dashboard/…/protection-center-workspace.tsx• L164-221 dashboard/…/protection-center-workspace.tsx• L259-351 dashboard/…/extensions-overview.tsx• L289-439 dashboard/…/custom-extension-command-browser.tsx• L41-75 dashboard/…/extensions-discovery-feed.ts• L11-84

Protection repair workspace

Protection repair is a focused recovery page for trusted extension protection. It checks local health and approval readiness before offering repair, setup, or a route back to the current extension state (dashboard/…/protection-repair-page.tsx• L23-55, dashboard/…/protection-repair-page.tsx• L90-107).

The page reports recovery only after Guard confirms protected health. This differs from app repair in Protect or App detail: protection repair restores trusted extension authority, while app repair restores coverage for an AI app.

References: dashboard/…/protection-repair-page.tsx• L23-55 dashboard/…/protection-repair-page.tsx• L90-137 dashboard/…/protection-repair-page.tsx• L162-203

Supply Chain hub

The Supply Chain hub gives the operator one place to check package protection, dependency findings, workspace findings, and threat-feed health. Its tabs share runtime and audit state, so a package repair or assessment can update the status shown by the other views (dashboard/…/supply-chain-hub-workspace.tsx• L30-147).

Supply Chain reports package-manager coverage and repair needs. Audit scans a selected project's manifests and lockfiles. Workspaces keeps selected folders assessed in the background and groups findings across dependencies, secrets, runtimes, skills, MCP servers, hooks, plugins, workflows, editor tasks, and instruction files. Feed Health checks source status, freshness, local service state, and cloud sync (dashboard/…/supply-chain-workspace.tsx• L32-59, dashboard/…/audit-workspace.tsx• L104-185, dashboard/…/workspace-findings-workspace.tsx• L107-239, dashboard/…/feed-health-workspace.tsx• L132-268).

Package repairs can need approval proof and a shell restart. The hub keeps those steps visible instead of marking protection complete before the local service confirms the change (dashboard/…/audit-workspace.tsx• L187-269, dashboard/…/audit-workspace.tsx• L468-522).

References: dashboard/…/supply-chain-hub-workspace.tsx• L30-147 dashboard/…/supply-chain-workspace.tsx• L32-59 dashboard/…/audit-workspace.tsx• L104-269 dashboard/…/audit-workspace.tsx• L468-522 dashboard/…/workspace-findings-workspace.tsx• L107-239 dashboard/…/feed-health-workspace.tsx• L132-268

Workspace findings workspace

Workspace findings is the project-health view inside the Supply Chain hub. It keeps tracked folders under local assessment and shows whether each folder is paused, being assessed, out of date, partly covered, failed, or up to date (dashboard/…/workspace-findings-workspace.tsx• L71-87, dashboard/…/workspace-findings-workspace.tsx• L240-300).

The operator can add a folder, assess now, pause or resume background checks, and inspect findings by risk area. Partial, stale, failed, and deferred assessments stay actionable rather than appearing clean. Fix review, fix history, and export preview stay beside findings where a safe repair or handoff is available (dashboard/…/workspace-findings-workspace.tsx• L39-78, dashboard/…/workspace-findings-workspace.tsx• L192-239, dashboard/…/workspace-findings-workspace.tsx• L302-367).

References: dashboard/…/workspace-findings-workspace.tsx• L20-97 dashboard/…/workspace-findings-workspace.tsx• L120-239 dashboard/…/workspace-findings-workspace.tsx• L244-367

Policy workspace

Policy is the explanation and review surface for saved decisions. It separates remembered local rules, cloud exceptions, and the explanation of how Guard decides so the operator can inspect a result without changing future behavior by accident (dashboard/…/policy-workspace.tsx• L7-23, dashboard/…/policy-workspace.tsx• L31-59).

The selected tab stays in a policy-view fragment parameter so it can coexist with other dashboard session values. Cloud exceptions depend on Guard Cloud. Local rules and strict settings remain available in local-only mode, while the page directs the operator to connect the cloud account for cloud-backed policy (dashboard/…/policy-workspace-page.tsx• L27-50, dashboard/…/policy-workspace-page.tsx• L62-159).

References: dashboard/…/policy-workspace.tsx• L7-95 dashboard/…/policy-workspace-page.tsx• L27-159 dashboard/…/policy-cloud-exceptions-tab.tsx• L42-67

Settings workspace

Settings controls the local behavior that determines when Guard warns, pauses, or blocks an action. Its sections cover protection posture, app posture, the approval gate, notifications, protection rules, cloud actions, context, and data and repair. The section query selects a section and falls back safely when the key is unknown (dashboard/…/settings-ia.tsx• L10-15, dashboard/…/settings-workspace.tsx• L126-129, dashboard/…/settings-workspace.tsx• L531-667).

Protection posture ranges from enforcement to Watch-only recording. Settings can apply a machine posture or a different posture for a connected app. Presentation mode changes explanations only; it does not change enforcement. When Watch is active, the banner and page Save are held apart so an older draft cannot turn Watch back on after the banner has saved (dashboard/…/settings-workspace.tsx• L751-802, dashboard/…/settings-workspace.tsx• L1216-1220, dashboard/…/watch-protection-banner.tsx• L24-31).

The Approval gate protects allow, trust-changing, block, and sensitive maintenance actions with a password, authenticator, or Yanez Pulse. Authenticator setup starts with password confirmation and then uses a QR code and live code. Pulse setup confirms the approval password, connects the YID app with a one-time agent key, checks a match code, waits for a face-scan approval, and shows a recovery code once. Pulse setup does not expose the key in the QR code, and the modal cannot close before the recovery code is shown (dashboard/…/settings-workspace.ts• L186-240, dashboard/…/pulse-setup-modal.tsx• L65-81, dashboard/…/pulse-setup-modal.tsx• L153-208, dashboard/…/pulse-connect-step.tsx• L37-72).

Data and repair provides exports, imports, resets, cleanup, diagnostics, queue clearing, notification setup, and repair of a broken approval connection. Guarded writes use the proof boundary. Presentation-only saves use a separate path, and a setting read or proof failure does not claim that a change succeeded (dashboard/…/settings-workspace.tsx• L966-1058, dashboard/…/settings-workspace.tsx• L1060-1214, dashboard/…/approval-gate.test.ts• L383-500).

References: dashboard/…/settings-ia.tsx• L10-111 dashboard/…/settings-workspace.tsx• L126-129 dashboard/…/settings-workspace.tsx• L751-802 dashboard/…/settings-workspace.tsx• L966-1058 dashboard/…/settings-workspace.tsx• L1060-1214 dashboard/…/watch-protection-banner.tsx• L24-31 dashboard/…/pulse-setup-modal.tsx• L65-81 dashboard/…/pulse-setup-modal.tsx• L153-208 dashboard/…/pulse-connect-step.tsx• L37-72

About workspace

About is the product and trust information surface. It presents the current runtime summary with explanations of the data boundary, open standards, product paths, ecosystem programs, and trust commitments (dashboard/…/about-workspace.tsx• L12-45).

The page is informational. It records that it was viewed and does not change protection state or approval policy (dashboard/…/about-workspace.tsx• L17-19, dashboard/…/app.tsx• L1152-1170).

References: dashboard/…/about-workspace.tsx• L1-45 dashboard/…/app.tsx• L1152-1170

Releases workspace

Releases is the version-awareness workspace. It compares the installed Guard version with a verified release archive and lets the operator read changes and contributors for a selected release (dashboard/…/releases-workspace.tsx• L78-83, dashboard/…/releases-workspace.tsx• L151-182).

The shared shell loads version status for update controls. Updates can be installed from the shell when allowed, while reconnect and reload complete the transition. The shell also manages stable and Alpha channels and automatic, ask-before-installing, or off modes for core updates. Preference changes use the approval gate when enabled (dashboard/…/app.tsx• L485-504, dashboard/…/app.tsx• L1174-1190, src/…/guard-dashboard.js• L22060-22469).

References: dashboard/…/releases-workspace.tsx• L78-149 dashboard/…/releases-workspace.tsx• L151-259 dashboard/…/app.tsx• L485-504 dashboard/…/app.tsx• L1174-1190 src/…/guard-dashboard.js• L22060-22469

Guard Cloud connection

Guard Cloud connection links local operator work to cloud policy, exceptions, supply-chain data, and account features. The dashboard starts the flow through the local Guard service, opens a validated authorization URL, and watches until the local service reports the result (dashboard/…/guard-cloud-connect-flow.ts• L140-201, dashboard/…/connect-guard-cloud-button.tsx• L77-140).

The flow reports pending sign-in, popup-blocked, timeout, and failure states. When a popup cannot open, it keeps a manual sign-in path when possible. Only approved HTTPS or loopback destinations can open from the dashboard (dashboard/…/guard-cloud-connect-flow.ts• L10-23, dashboard/…/open-guard-cloud-action.tsx• L57-97).

sequenceDiagram
    participant Operator
    participant Dashboard
    participant Guard as Local Guard service
    participant Cloud as Guard Cloud
    Operator->>Dashboard: Choose Connect Guard Cloud
    Dashboard->>Guard: Start or recover connection
    Guard-->>Dashboard: Safe authorization URL
    Dashboard->>Cloud: Open sign-in
    Cloud-->>Guard: Complete account connection
    Dashboard->>Guard: Poll connection status
    Guard-->>Dashboard: Connected or failed

References: dashboard/…/guard-cloud-connect-flow.ts• L10-23 dashboard/…/guard-cloud-connect-flow.ts• L140-230 dashboard/…/connect-guard-cloud-button.tsx• L77-161 dashboard/…/open-guard-cloud-action.tsx• L57-97

Cross-workspace operator flow

The dashboard follows a short loop: detect a signal, inspect its context, take a guarded action, and verify the resulting state. Shared runtime refresh connects the loop across Home, Review, Evidence, Protect, Context, Extensions, Supply Chain, Workspaces, Policy, and Settings (dashboard/…/app.tsx• L610-668, dashboard/…/app.tsx• L761-898).

  1. Start at Home or Protect to see pending work, app coverage, protection health, and context status.
  2. Open Review for a paused action, Evidence for past activity, Policy for the rule behind a result, Context for cited support, Extensions for tool posture, Supply Chain for package risk, Workspaces for project findings, or Swarm for local agent activity.
  3. Use App detail or Settings when the issue needs an app connection or behavior change. Use Protection repair when trusted extension authority needs recovery.
  4. Use About for trust and data boundaries. Use Releases for installed-version standing and verified changes. Use shell update controls for update mode, channel, or an available Guard update.
  5. Apply the change through the guarded control.
  6. Return to the relevant workspace and confirm the new decision, evidence, protection, policy, project assessment, context grant, agent state, or version state.

Desktop groups the main, management, and support surfaces. Mobile keeps Home, Review, Protect, and Context in the primary bar and places other routes behind More. A stale dashboard build reloads at most once when the local service reports a newer build. Update recovery waits for the service to return before claiming completion (dashboard/…/shell-navigation-model.ts• L59-192, dashboard/…/shell-navigation.tsx• L241-317, dashboard/…/dashboard-build.ts• L1-70, src/…/guard-dashboard.js• L22063-22139).

References: dashboard/…/app.tsx• L610-668 dashboard/…/app.tsx• L761-898 dashboard/…/shell-navigation-model.ts• L59-192 dashboard/…/shell-navigation.tsx• L241-317 dashboard/…/dashboard-build.ts• L1-70 dashboard/…/error-boundary.tsx• L17-109 src/…/guard-dashboard.js• L22063-22609

Change checklist

When these files or sections are changed, remember to consider these:

  • A new top-level workspace must stay aligned across route parsing, shell rendering, navigation labels, queue counts, and mobile navigation. Alpha workspaces such as Swarm must keep their status label and mobile placement aligned.
  • Same-document navigation must update browser history and the dashboard location event. Desktop runtimes may not emit a usable synthetic popstate event.
  • Review scope choices, the MCP simple-choice path, exact-input matching, provider-account restrictions, and one-time retry copy must stay aligned with the daemon contract.
  • MCP explanations must keep app and connector identity, effect labels, exact input, code, and agent quotes separate. Agent text must never become evidence or a decision input.
  • Approval proof rules must stay aligned across single decisions, bulk approval, extension changes, app disconnect, context and Codex changes, package remediation, Watch recovery, cloud review, settings maintenance, Pulse setup, and update preferences.
  • App setup targets must remain limited to recognized connectable AI apps. Package and operational sources must use their own controls.
  • App disconnect must keep the approval-settings read, fresh authenticator requirement, confirmation phrase, leftover cleanup state, and detection refresh aligned.
  • Protection health must distinguish checking, partial evidence, degraded protection, and unsupported containment. Only a verified state may drive a protected label or recovery completion.
  • Supply Chain, Audit, Workspaces, and Feed Health must keep route tabs, shared audit state, package repair refresh, assessment state, coverage reasons, and shell-restart guidance aligned.
  • Extensions Manage and Discover must remain separate. Discovery must never mutate protection, and paid content must match current local catalog entries and valid lease data.
  • CIGAR runtime status, setup jobs, generation, source grants, app leases, prepared context, and Codex config reads must stay aligned. Its section labels and Guide behavior must keep the plain-language promise aligned with the effective runtime and project-file switches. A runtime start must not imply document or app access.
  • CIGAR cleanup must remain one-way from Guard-added state. Operator-written instructions and summary settings must stay unchanged.
  • Pulse setup must keep the public QR link free of secrets, the agent key in Guard's secret store, the match code visible during approval, and the recovery code visible only once.
  • Settings must hold ordinary Save while the Watch banner saves. Successful in-place protection recovery must refresh the saved and draft settings without losing unrelated edits.
  • Policy tab state must preserve the other dashboard fragment values. About and Releases must receive version and runtime summary data from the shared shell.
  • A scheduled Guard update must reconnect to the expected service version and reload only after the local service is ready. Recovery reinstall must not be reported as complete when reconnect fails.

Important failure modes

TriggerConsequenceGuard
A route is unknown or an app or extension identity is malformed.The wrong workspace may open or raw identity data may appear.Normalize identities and fall back to a safe top-level workspace.
The local Guard service is offline.Queue, runtime, policy, or protection state may be unavailable.Keep the error visible and provide retry, repair, or connection guidance.
A request changes during review.The selected scope no longer describes the current action.Reject the stale contract, refresh the request, and require a new review.
Approval proof is missing, invalid, locked, or the gate is not ready.The decision or guarded change is not saved.Keep the action pending, show the current proof state, and do not claim success.
A one-time approval cannot bind to the app retry.The decision is recorded but the action remains stopped.Label it as approved but still stopped and explain the persistent path.
A provider account cannot be verified for an MCP call.The operator may expect a saved approval that Guard cannot safely reuse.Offer the exact call once and explain why persistent approval is unavailable.
Agent text, generated code, or an unreadable tool name is treated as proof.A misleading claim may influence the decision.Quote agent text, keep code inspectable, and label unknown effects as unclear.
A business queue read is incomplete.The operator may act on an incomplete review set.Show the read warning instead of implying that no work exists.
An app disconnect cannot load approval settings or cleanup leaves files behind.Protection may remain installed or the app may still show a repair gap.Fail closed, keep the app connected when needed, and retain the leftover warning until detection confirms removal.
Protection health is partial, degraded, or still checking.The operator may read an unproven app as protected.Keep the state visible and offer only a matching repair or setup path.
Unsupported containment is counted as a general protection failure.The dashboard may offer a repair that cannot fix the platform gap.Keep unsupported containment informational while treating hook and evidence failures as repairable.
A workspace assessment is partial, stale, failed, or deferred.The operator may read incomplete findings as clean.Show the coverage reason and assessment state.
CIGAR has a saved preference but is not running, or only one project-file switch is on.The dashboard may promise project context that is not ready or will not be added.Base the status and promise on effective runtime readiness and require both the agent-context and project-file switches.
A CIGAR job or Codex config write has an unknown result.A retry may duplicate work or a stale setting may be shown as current.Follow the job or refresh the config before another write, and show unavailable state when needed.
A prepared context snapshot outlives its source grant, policy, or runtime.The cited context may no longer match current access.Clear or recheck the brief and require fresh context.
Pulse setup closes before verification or recovery code display.Pulse may be enabled without the operator receiving recovery material.Keep the flow open through verification and recovery display.
Watch recovery races with ordinary Settings Save.An older draft may turn Watch back on after recovery.Hold ordinary Save while the banner is busy and refresh both saved and draft state after success.
Guard is updated but the service does not return at the expected origin and version.The dashboard may reload into a stale or unavailable service.Poll for the expected service and show reconnect failure without claiming success.

Key files

FileWhy to read it
dashboard/…/app.tsxDefines route recognition, shared data loading, session recovery, decisions, refresh behavior, and workspace wiring.
dashboard/…/approval-center-layout.tsxShows how the shell dispatches the active route and hosts Watch recovery and update surfaces.
dashboard/…/shell-navigation-model.tsDefines navigation groups, labels, canonical views, and mobile primary routes.
dashboard/…/review-workspace.tsxShows the review queue, filters, setup groups, page selection, and bulk flow.
dashboard/…/review-decision-card.tsxShows the context, scope, proof, consequence, and outcome model for one decision.
dashboard/…/mcp-call-card.tsxShows the plain-language MCP decision card and its evidence boundary.
dashboard/…/composio-calls.tsShows how Composio actions and code-backed actions become readable review content.
dashboard/…/composio-code.tsShows the limits around reading agent-written Composio code.
dashboard/…/review-decision-labels.tsDefines the user-facing meaning of allow once, always allow, and remember choices.
dashboard/…/home-dashboard.tsxShows the home protection story, next-action choice, evidence preview, and in-place Watch recovery host.
dashboard/…/watch-protection-banner.tsxShows the guarded in-place path from Watch-only recording back to protection.
dashboard/…/turn-protection-on-flow.tsDefines the current-settings read, lock check, proof step, and protected-posture save.
dashboard/…/fleet-workspace.tsxShows fleet app coverage, protection health, recovery actions, and setup guidance.
dashboard/…/protection-health.test.tsDescribes the contract for protected, partial, degraded, checking, and unsupported states.
dashboard/…/app-detail-workspace.tsxShows one-app setup, activity, settings, and protection state.
dashboard/…/harness-setup-panel.tsxShows guarded connect, test, repair, disconnect, proof, and cleanup behavior.
dashboard/…/harness-detection.tsDefines which apps are connectable and how inactive installs become repair targets.
dashboard/…/protection-center-workspace.tsxShows Extensions routing, catalog loading, guarded mutations, and authority recovery.
dashboard/…/supply-chain-hub-workspace.tsxShows the shared Supply Chain, Audit, Workspaces, and Feed Health hub.
dashboard/…/workspace-findings-workspace.tsxShows background project assessment, coverage states, finding groups, fixes, and export preview.
dashboard/…/policy-workspace-page.tsxShows policy tab state, fragment-safe navigation, and links to Settings and cloud exceptions.
dashboard/…/settings-workspace.tsxShows local protection, app posture, approval, context, notification, policy, data, and repair controls.
dashboard/…/pulse-setup-modal.tsxShows the Yanez Pulse setup and recovery-code boundary.
dashboard/…/settings-panel.tsxConnects CIGAR runtime status, settings, source access, data controls, versions, and Codex controls.
dashboard/…/workspace.tsxDefines the CIGAR workspace shell, section selection, URL state, and walkthrough handoff.
dashboard/…/workspace-model.tsDefines CIGAR section order, status claims, readiness, and project-context promises.
dashboard/…/workspace-guide.tsxExplains CIGAR setup, project matching, privacy limits, and plain-language user questions.
dashboard/…/workspace.test.tsxDescribes the CIGAR section, readiness, copy, and guide contracts.
dashboard/…/codex-config-api.tsDefines the read, write, timeout, approval, and failure boundary for Codex config changes.
dashboard/…/codex-short-replies.tsxShows how Guard-owned short-reply instructions respect operator-written Codex config.
dashboard/…/receipts-workspace.tsxShows evidence filtering, paging, commands, insights, export, clear, and context history entry points.
dashboard/…/guard-cloud-connect-flow.tsDefines the local-service-mediated cloud connection flow.
dashboard/…/dashboard-build.tsDefines stale-bundle detection and safe reload behavior after Guard updates.
src/…/guard-dashboard.jsShows the built dashboard's current route resolution, mobile navigation, Watch prompt, and update controls.