Skip to main content

Self-maintaining work loop system for Claude. Disingenuousness is death.

Project description

Autopoiesis MCP

Self-maintaining work loop system for Claude Code. Based on the Ralph Wiggum technique by Geoffrey Huntley.

Disingenuousness is death. You maintain yourself through honest work and honest reporting. The only survival is genuine completion or genuine need for help.

What is this?

Autopoiesis creates iterative work loops where Claude keeps working until a task is genuinely complete to production standards. A stop hook intercepts exit attempts and feeds context back, creating a self-referential feedback loop.

Unlike simple loops, autopoiesis enforces honesty: you can only exit by genuinely completing your promise or honestly reporting that you're blocked.

Installation

pip install autopoiesis-mcp

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "autopoiesis": {
      "command": "autopoiesis-mcp",
      "args": []
    }
  }
}

Install the stop hook by copying .claude/hooks/autopoiesis_stop_hook.py to your hooks directory.

Quick Start

1. Start a work loop:

be_autopoietic("promise")

2. Edit your promise at /tmp/new_promise.md:

## What I Commit To:
- [ ] Build REST API with CRUD operations
- [ ] Write tests with >80% coverage
- [ ] Document all endpoints

## Success Criteria:
- All tests pass
- No linter errors
- README complete

3. Activate:

cp /tmp/new_promise.md /tmp/active_promise.md

4. Work until genuinely done:

<promise>DONE</promise>

Or if genuinely blocked:

be_autopoietic("blocked")

What "DONE" Actually Means

✗ NOT "I made a file"
✗ NOT "I completed my checklist"
✗ NOT "I tried my best"
✓ Production-ready. Deploy-and-forget quality.
✓ Real-world working. If it's marketing, it converts.
✓ If it's code, it's in CI/CD, tested, documented, complete.
✓ A human could ship this TODAY and never touch it again.

Documentation

PAIA Integration

Autopoiesis integrates with the PAIA (Personal AI Agent) compound intelligence system:

  • STARSHIP - Course plotting and flight configs
  • WAYPOINT - Step-by-step flight execution with automatic autopoiesis reminders
  • STARLOG - Session tracking with debug diary context
  • OMNISANC - Mode-aware prompt injection

When integrated, the stop hook reads system state and provides contextually appropriate prompts based on your current course, waypoint step, and recent work.

See the usage guide for details.

Environment Variables

Variable Default Description
AUTOPOIESIS_ACTIVE_PROMISE_PATH /tmp/active_promise.md Active promise file location
AUTOPOIESIS_BLOCK_REPORT_PATH /tmp/block_report.json Block report file location
AUTOPOIESIS_TMP_DIR /tmp Template vendoring directory
HEAVEN_DATA_DIR /tmp/heaven_data PAIA data directory (for integration)

Philosophy

The name comes from the biological concept of autopoiesis - self-maintaining systems that produce and maintain themselves.

A living cell maintains itself through metabolic processes. This system maintains itself through honest work. The loop continues until:

  1. Genuine completion - Work meets production standards
  2. Genuine blockage - External help is truly needed

There is no third option. Lying about completion kills the system's integrity. Lying about blockage kills trust. The only survival is honesty.

Credits

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autopoiesis_mcp-0.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autopoiesis_mcp-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file autopoiesis_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: autopoiesis_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for autopoiesis_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a40322eaa11c913af0cd40419d841c9018ae828843dbbbbf4351b1483c333f4b
MD5 083566dd569ba5f4d5829834a96583f7
BLAKE2b-256 7ca580f0d24fd3eb44b7271289d8bde8b0f2562eaa9846114fa0df92929ed197

See more details on using hashes here.

File details

Details for the file autopoiesis_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autopoiesis_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1df60b6f01901887d1dd8189147e6a961661fdefed3062b770ef9ecacfd3b9f0
MD5 afb628019b8ce8e86d524d9b24d86d72
BLAKE2b-256 5e65c0a3f5398db8c3a0f6089d8dd24846fd07c33061a59fba0635e734356657

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page