Skip to main content

MissionCache Auto - Autonomous AI Development Tool for MissionCache Projects

Project description

MissionCache Auto

Autonomous AI development tool for completing programming tasks iteratively.

Installation

Requires Python 3.11+.

cd missioncache-auto
pip install -e .

Or run directly:

python -m missioncache_auto <task-name>

Quick Start

# Initialize a new task
missioncache-auto init my-feature "Add user authentication"

# Run in parallel mode (default, 8 workers)
missioncache-auto my-feature

# Run in sequential mode
missioncache-auto my-feature --sequential

# Show execution plan without running
missioncache-auto my-feature --dry-run

# Check task status
missioncache-auto status my-feature

Usage

missioncache-auto <task-name> [options]
missioncache-auto init <task-name> "description"
missioncache-auto status <task-name>

Options

Option Description
-w, --workers N Number of parallel workers (default: 8, max: 12)
-r, --retries N Max retries per task (default: 3)
--sequential, -s Run in sequential mode
--parallel, -p Run in parallel mode (default)
--dry-run Show execution plan without running
--fail-fast Stop all workers on first failure
-v, --visibility Output level: verbose, minimal, none
--no-color Disable colored output

Environment Variables

Variable Description
MISSIONCACHE_AUTO_VISIBILITY Default visibility level (verbose, minimal, none)

Task Structure

Tasks are organized in ~/.missioncache/active/<task-name>/:

~/.missioncache/active/my-feature/
+-- my-feature-tasks.md      # Checkbox task list
+-- my-feature-context.md    # Project context and learnings
+-- my-feature-plan.md       # Implementation plan
+-- my-feature-auto-log.md   # Iteration history (auto-created)
+-- prompts/                 # Optimized prompts (optional)
    +-- README.md
    +-- task-01-prompt.md
    +-- task-02-prompt.md
    +-- ...

Modes

Sequential Mode

Runs tasks one at a time, in order. Good for:

  • Simple linear workflows
  • Tasks that need careful human oversight
  • Debugging specific task failures

Parallel Mode

Runs multiple tasks concurrently, respecting dependencies. Good for:

  • Tasks with clear dependency graphs
  • Maximizing throughput
  • Large task sets with independent work

Requires prompts directory with YAML frontmatter defining dependencies:

---
task_id: "01"
task_title: "Add priority field"
dependencies: []
---

Exit Codes

Code Meaning
0 All tasks completed successfully
1 Max retries reached (failed)
2 Blocked on [WAIT] task
3 Configuration or setup error

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Type checking
mypy missioncache_auto

# Linting
ruff check missioncache_auto

Architecture

missioncache_auto/
+-- __init__.py          # Package exports
+-- __main__.py          # Entry point: python -m missioncache_auto
+-- cli.py               # Argument parsing, commands
+-- models.py            # Data models (Task, State, Config)
+-- dag.py               # Dependency graph builder
+-- state.py             # State management with file locking
+-- task_parser.py       # Parse tasks.md and prompts
+-- claude_runner.py     # Claude CLI integration
+-- display.py           # Terminal output and colors
+-- sequential.py        # Sequential execution
+-- parallel.py          # Parallel orchestration
+-- worker.py            # Worker process
+-- init_task.py         # Task initialization
+-- templates/           # Task templates

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

missioncache_auto-1.0.0.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

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

missioncache_auto-1.0.0-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file missioncache_auto-1.0.0.tar.gz.

File metadata

  • Download URL: missioncache_auto-1.0.0.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for missioncache_auto-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7201e3997d56d9ecc2e43d224040ff3936508e58c86462d3a1c70e09163a8b00
MD5 1411046a63f46aafc32cfab3056d4eb0
BLAKE2b-256 70cb333cfb8c35f1735286efb45d3f422a340da0216a487469d4fa8b419f33a8

See more details on using hashes here.

File details

Details for the file missioncache_auto-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for missioncache_auto-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bae67e188789a39853ec193e89eed157ba78a55c393bc66259da9d3207041f60
MD5 dd7f936fe8e80ccabf505b25f6188d9c
BLAKE2b-256 b5b1033c31130fb8b1b81a21c617e577d2bba113ebfc95edbc457e0cf1923e2f

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