Skip to main content

Machine JSON

On disk: ~/.agents/drwn/machine.json.

Purpose: the first supported machine-scope policy and capability contract. The file is strict, namespaced, and independent from project Worker declarations.

Schema

{
"schema": "drwn.machine",
"schemaVersion": 1,
"policy": {
"authoring": { "scope": "@your-handle" },
"targets": {
"claude": { "enabled": true },
"codex": { "enabled": true },
"cursor": { "enabled": false }
}
},
"capabilities": {
"profile": null,
"skills": [],
"mcpServers": []
}
}

Every object rejects unknown fields. The only supported schema version is 1. Prototype files are rejected with MACHINE_CONFIG_INVALID; they are never migrated, rewritten, or interpreted.

Fields

FieldTypeRequiredMeaning
schema"drwn.machine"yesNamespaced contract identity.
schemaVersion1yesFirst supported local machine schema.
policy.authoring.scopestringnoDefault scope for unscoped drwn card new names.
policy.targetspartial target mapnoApproved target policy overrides.
policy.catalogscatalog policynonpm skill and MCP catalog policy.
policy.analyzeranalyzer policynoSession analyzer endpoints and limits.
policy.trustedSourcestrust policynoTrusted Git/catalog source policy.
capabilities.profileimmutable profile pin or nullyesOne approved machine capability profile.
capabilities.skillsunique string[]yesExplicit machine skill IDs.
capabilities.mcpServersunique string[]yesExplicit machine MCP IDs.

Capabilities never alter policy. Policy never activates capabilities.

Guided setup offers Recommended Darwinian Operator as an opt-out default. Its pin identifies @darwinian/operator@1.0.2 at the exact Git tag, commit, tree SHA, and content integrity. The approved projection is 17 machine-safe skills and zero MCP servers.

The profile is not a Worker. It contributes no instructions, hooks, permissions, governance, identity, or project state. Runtime reads its pinned extracted bytes offline and fails on missing or changed content.

Activation And Mutation

Effective machine capabilities are exactly:

approved subset of the selected immutable profile
+ capabilities.skills
+ capabilities.mcpServers

Use the supported mutators:

drwn machine skill list
drwn machine mcp list
drwn machine skill enable <skill-id>
drwn machine skill disable <skill-id>
drwn machine mcp enable <server-id>
drwn machine mcp disable <server-id>

These commands edit machine intent only. Run drwn write --scope machine to project it. Inventory availability, packaged optional flags, Parallel flags, ambient directories, and existing downstream files do not activate anything.

Initialization

  • drwn init --non-interactive and --minimal create explicit empty intent.
  • Guided drwn init offers the Recommended profile as [Y/n].
  • Declining writes empty intent.
  • Existing valid intent is never reset or re-prompted.

Project Boundary

Project evaluation does not read machine capability selections. A project uses one selected Worker closure plus explicit project overlays. User-home output may remain ambient in the downstream client, but status reports it separately and never imports it into project intent.