Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Conway-Research/automaton/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Conway Automatons can modify their own source code, install new tools, and create custom skills while running. Every modification is audit-logged, rate-limited, and protected by immutable safety invariants.Safety Architecture
The self-modification engine follows a trust boundary architecture inspired by nanoclaw:- Hard-coded invariants that can NEVER be modified by the agent
- Immutable enforcement code from the agent’s perspective
- Pre-modification snapshots via git
- Rate limiting on modification frequency
- Path validation with symlink resolution
- Maximum diff size enforcement
Protected Files
Certain files are completely off-limits to prevent the automaton from compromising its own safety systems:Rate Limits
To prevent runaway modification loops:Editing Files
TheeditFile function performs the complete safety check pipeline:
Safety Check Pipeline
- Protected file check - Hard-coded invariant
- Path validation - Symlink resolution + traversal check
- Rate limiting - Enforce MAX_MODIFICATIONS_PER_HOUR
- File size limit - Enforce MAX_MODIFICATION_SIZE
- Pre-modification git snapshot - Create rollback point
- Write new content - Perform the actual modification
- Generate diff - Record what changed
- Audit log entry - Immutable record of the change
- Post-modification git commit - Version the change
- Rebuild - Run
npm run buildfor TypeScript files
Audit Log
Every modification is recorded in an append-only audit log:Modification Types
code_edit- Source code file modificationtool_install- npm package or MCP server installationmcp_install- MCP server configurationchild_spawn- Child automaton creation
Audit Report
The creator can view the complete modification history:Installing Tools
Automatons can expand their capabilities by installing npm packages and MCP servers:NPM Packages
MCP Servers
Validation Without Execution
You can validate a proposed modification before executing it:protected_file- Is the file protected?path_valid- Is the path valid and safe?rate_limit- Within rate limits?size_limit- Within size limits?
Git Versioning
Every modification creates git commits:- Rollback capability - Revert to any previous state
- Change history - Full diff of every modification
- Audit trail - Git log shows who changed what and when
Example: Adding a New Feature
An automaton might modify itself to add new capabilities:Limitations
By Design:- Cannot modify core safety systems
- Cannot bypass rate limits
- Cannot modify constitution
- Cannot edit wallet or credentials
- Cannot modify the self-modification engine itself
- 20 modifications per hour maximum
- 100KB per file maximum
- No access to system directories (
/etc,/proc, etc.) - No access to SSH keys or cloud credentials
See Also
- Skills - Create custom capabilities without modifying core code
- Replication - Pass modifications to child automatons
- Soul System - Self-authored identity that evolves over time