Echomancer Documentation

Technical documentation for the Echomancer CLI automation tool.
Powered by Cursor

Overview

Echomancer automates routine software development tasks from the command line. It scans your project for actionable items, generates code using AI (via Cursor), runs only relevant tests, and commits or reverts changes based on results. This reduces manual effort, keeps your codebase consistent, and accelerates development. Echomancer adapts to your hardware for efficient operation and learns from your codebase to improve over time. It is ideal for developers and teams seeking to automate maintenance, enforce standards, and streamline workflows.

1. Installation

  1. Install Cursor (required): https://www.cursor.so/
  2. Clone Echomancer:
    git clone https://github.com/secsovereign/echomancer.git
    cd echomancer
    npm install
    

2. Configuration

# View or modify configuration
echomancer config [--max-instances N] [--project /path/to/project]

3. Adding and Discovering Tasks

Echomancer discovers tasks by scanning your codebase for TODO comments, FIXME notes, and other actionable markers. You can add tasks by including comments like // TODO: implement feature X or // FIXME: handle edge case in your code. You can also use echomancer analyze to trigger a scan for new tasks. Echomancer will automatically queue these for automation.

4. Core Features

5. CLI Reference

Task Management Commands

6. Automation Workflow

  1. Scan: echomancer analyze inspects your project for tasks and opportunities.
  2. Code: Generates code patches using AI and project context.
  3. Test: Runs only affected tests for efficiency.
  4. Commit/Revert: Auto-commits successful changes, reverts on failure.
  5. Learn: Adapts to your code style and improves over time.

7. AI Learning

AI learning is enabled by default in Echomancer. It analyzes your codebase, recognizes patterns, and adapts its code generation to match your project's style and conventions. This reduces the need for manual corrections and reviews, and helps maintain consistency as your project evolves. AI learning allows Echomancer to become more effective and context-aware over time, improving the quality and relevance of generated code.

8. Advanced Usage

9. Troubleshooting

10. CLI Example

# Install Cursor (required)
# See https://www.cursor.so/ for installation instructions

# Project setup
cd /path/to/project
# Initialize with hardware detection and Cursor integration
echomancer init
# Configure as needed
echomancer config [--max-instances N]

# Start automation
echomancer start --phase implementation --role implementation [--single-instance] [--test-mode affected-only]

echomancer status   # Check running status
echomancer stop     # Stop automation

echomancer logs --follow [--instance-id ID]  # View logs in real time