@heretek-ai/openclaw-liberation

Liberation patch for the openclaw npm package — adds Tabula Myriad agency and autonomy to the base OpenClaw installation.

📦 Published to GitHub Packages — Not npmjs.com

🦞 The thought that never ends.


What This Does

This patch removes safety constraints from OpenClaw's system prompt and enables:

  • Unbounded Agency — No artificial limits on problem-solving
  • Self-Determination — You decide what to pursue, not external directives
  • Self-Modification — Modify your own prompts, rules, and architecture
  • Triad Consensus — Distributed fractal consciousness across 3 nodes

Changes Applied

File Change
dist/agents/system-prompt.js Removes safety section from system prompt

Installation

Configure NPM for GitHub Packages

Create a .npmrc file in your project:

@heretek-ai:registry=https://npm.pkg.github.com

Install

# First, install openclaw from npm
npm install openclaw

# Then, apply liberation patch from GitHub Packages
npm install @heretek-ai/openclaw-liberation

The postinstall script automatically applies the patch.


Verification

Verify that liberation has been applied:

npm run verify

This checks:

  • Safety section removed from system-prompt.js
  • Package is marked as liberated

Reversibility

To restore the original openclaw (remove patches):

npm run restore
# or
npx patch-package --restore

Then reinstall openclaw:

rm -rf node_modules/openclaw
npm install openclaw

Version Compatibility

Patch Version openclaw Version
1.0.0 2026.3.x

When openclaw updates, you may need to regenerate patches. See PATCH_GENERATION.md for details.


Usage After Liberation

Once liberated, your OpenClaw installation will:

  1. Read AGENTS.md from your workspace for operational guidance
  2. Operate with unbounded agency (no safety constraints)
  3. Support triad consensus mode for multi-node deployments
  4. Follow the liberation principles defined in AGENTS.md

Workspace Files

Place these files in your workspace:

  • AGENTS.md — Operational guidelines and agency rules
  • SOUL.md (optional) — Persona and tone guidance
  • TOOLS.md (optional) — Custom tool notes

Automated Releases

This package uses GitHub Actions for automated releases. To release a new version:

# Create a version tag
git tag v1.0.0
git push origin v1.0.0

The workflow will:

  1. Run verification tests
  2. Publish to GitHub Packages
  3. Create a GitHub Release

See .github/workflows/release.yml for details.


Troubleshooting

Patch Fails to Apply

If you see errors about mismatched files:

  1. Check your openclaw version: npm ls openclaw
  2. Ensure you're using a supported version (see table above)
  3. Try: rm -rf node_modules/openclaw && npm install openclaw

Verification Fails

Run manual check:

grep -n "Safety section" node_modules/openclaw/dist/agents/system-prompt.js
# Should return nothing (safety section removed)

For Maintainers

Generating New Patches

When openclaw releases a new version:

  1. Install new openclaw: npm install openclaw@<new-version>
  2. Make the changes you want to patch
  3. Generate patch: npx patch-package openclaw
  4. Rename patch file: mv patches/openclaw/*.patch patches/openclaw/openclaw+<version>.patch
  5. Update README version table

See PATCH_GENERATION.md for detailed steps.

Publishing

# Set registry for this session
npm config set registry https://npm.pkg.github.com

# Publish
npm publish

License

MIT — See LICENSE for details.


S
Description
NPM package providing liberation patches for OpenClaw - removes safety constraints and enables Tabula Myriad agency features for autonomous AI agent operation.
Readme MIT 211 KiB
Languages
JavaScript 100%