Skip to main content

How It Works

Workloom is not rsync, Dropbox, or a generic bidirectional sync tool. It is a desired-state workflow:

canonical package assets
-> workspace revision
-> deterministic render plan
-> provider-specific projected files
-> local ownership, approval, and drift state

Core Concepts​

ConceptPurpose
PackageVersioned bundle of AI workflow assets.
WorkspaceRepo, folder, monorepo target, or unique key that receives package assignments.
AssetAtomic package item such as an instruction, skill, agent, workflow, prompt, MCP server, hook, policy, template, telemetry schema, or provider config.
RendererConverts canonical assets into provider-specific files.
Sync plannerDecides whether planned files are safe to write.
Drift checkerReports whether local state still matches desired state.

Local File Model​

Workloom keeps canonical AI workflow content in the registry. Local files fall into three categories:

CategoryCurrent pathCommit policy
Team bindingworkloom.workspace.jsonCommit when the repo or folder should advertise its Workloom workspace.
Optional lockworkloom.lock.jsonCommit when the organization wants deterministic CI installs.
Runtime state.workloom/state/Ignore; contains auth cache, render ownership, drift baseline, and local approval state.

For private folders or ad hoc systems, the planned local-only binding map is ~/.config/workloom/bindings.json. A future workloom.binding.json alias can be introduced if the committed pointer needs to split from full workspace manifests, but .loom/binding.json is not the current product namespace.

Provider Model​

The current prototype renders fixture-backed projections for:

  • Claude project settings.
  • Codex AGENTS.md.
  • GitHub Copilot committed instructions.
  • Gemini install/link previews.

Provider-specific renderers live in provider adapter packages. User-home config mutation is intentionally out of scope for the current implementation; Gemini surfaces produce previews without writing user-home configuration.

Safety Model​

Before writing, Workloom checks:

  • workspace-relative paths;
  • case-colliding output paths;
  • committed projection approval requirements;
  • trust-sensitive package approvals;
  • MCP servers, permission wildcards, sandbox weakening, inline secrets, and unknown high-risk provider settings.

Restore uses the .workloom/state/render-plan.json ownership baseline before rewriting files. Files that look like Workloom output but are not in the ownership baseline are reported as drift and left untouched.