Refine Hub
Refine 4.3.2
Operationalizing Refine

How Refine works today

Baseline: Refine 4.3.2, source reviewed 22 September 2026. Assessment scope.

From a Goal to a change

  1. A person or integration uses the browser, CLI, or MCP surface to describe work and invoke capabilities.
  2. The daemon coordinates Goals, workflow state, agent sessions, and local processes for an attached application repository.
  3. Configured provider CLIs execute agent work on a node. Their tools can read or change what their effective OS identity and tool configuration allow.
  4. Application changes go through Refine’s workflow and review mechanisms. A workflow approval is distinct from a production deployment authorization.
  5. Shared coordination state synchronizes through Git on refine/state. Other nodes use their own runtimes, credentials, and configured agents.

The model provider is a separate service from Refine. A local coordinator does not imply that prompts, code context, tool output, or attachments remain local: provider behavior, account terms, selected tools, and egress policy determine the actual boundary.

Authority and storage

SurfaceSource-established behaviorEnterprise implication
HTTP daemonsystem start defaults to all IPv4 interfaces, port 8082; the address is configurableExplicitly bind and firewall; a local installation is not proof of loopback-only exposure
API and MCPShared capability dispatch, including work and process controlsTreat reachable control endpoints as privileged; inventory API, SSE, terminal and Hub routes
Agent executionProvider command configuration controls invocationReview effective arguments and tools; bundled Claude/Codex defaults bypass approval controls, and Codex’s flag also bypasses its sandbox
Shared stateGit-backed coordination stateClassify Goals, prompts, output, Hub content, and repository access; verify actual synchronized paths
SecretsOS-specific backends with a file fallbackVerify the selected backend, file permissions, encryption, rotation and backup behavior on each OS
ActivityMutation events and runtime records existVerify identity attribution, completeness, retention, export and tamper protection before calling them audit evidence

A process cannot normally exceed an enforced OS or network restriction simply because an agent requested it. However, broad user privileges, accessible credentials, elevation tools, and trusted browser sessions may already confer substantial authority. Agent instructions are not an enforcement boundary.

Source evidence

Paths are relative to the Refine repository at the baseline commit:

  • src/surfaces/cli/actions/system.rs — daemon listen defaults.
  • src/surfaces/web_server/http/runtime.rs and http/transport.rs — bind, HTTP dispatch and mutation records.
  • src/surfaces/web_server/server.rs — shared API/MCP dispatch.
  • src/model/providers_defaults.json — bundled provider invocation flags; installed settings may differ.
  • src/infrastructure/process/supervisor/security/host_commands.rs and security/secrets.rs — backend selection and file fallback. Unix file creation requests mode 0600; that alone does not prove existing-file permissions or Windows ACLs.
  • State synchronization recovery and installation.

This review did not exercise customer production systems, test native desktop automation, or inspect private provider credentials.

Implementation details that affect the controls

These links pin evidence to the reviewed source. Repository access may be required; the findings are explained here so readers do not need to read Rust.

Current implementation and evidenceProtection and operational consequence
Daemon arguments allow an explicit bind address; the default is all IPv4 interfacesConfigure and inspect the running service, then test denied network access; operating-plan gate 2
Provider defaults include approval-bypass argumentsInspect effective settings and enforce host/tool authority outside the agent; gate 2
HTTP handling checks origins on non-GET requests; the helper allows requests with neither Origin nor RefererExisting browser-request protection does not authenticate users. Test proxy behavior and enforce the entry identity boundary
That helper writes API mutation method, path, status and time locally, with one rotated generationCollect off-host and correlate human, run and target identity. These local records alone do not establish full attribution, completeness or long-term tamper protection; gate 4
Secret storage falls back to a JSON value file if native storage failsInspect per-secret metadata and actual storage with dummy credentials. The serialization routine does not encrypt the fallback value; enforce disk encryption, permissions and backup controls. Preferred-backend status is insufficient; gate 3
The secret implementation returns NotImplemented for Windows native reads through cmdkeyTest store/read/delete on the actual OS; native write success does not prove usable retrieval

The operating plan assigns owners and rollout gates; the verification workbook specifies checks to run against the deployment.