Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Required
ANTHROPIC_API_KEY=your-anthropic-api-key

# Model
DEVMIND_MODEL=claude-sonnet-4-6
DEVMIND_MAX_TOKENS=4096

# Reliability
DEVMIND_MAX_RETRIES=4
DEVMIND_RETRY_BASE_DELAY=1.0
DEVMIND_RETRY_MAX_DELAY=30.0
DEVMIND_RATE_LIMIT=true
DEVMIND_RPM=50
DEVMIND_BURST=10

# Tools
DEVMIND_BASH_TIMEOUT=30

# Sessions and observability
DEVMIND_PERSIST=true
DEVMIND_AUTOSAVE=5
DEVMIND_METRICS=true
DEVMIND_PLUGINS=true
DEVMIND_LOG_LEVEL=INFO
DEVMIND_LOG_JSON=false
DEVMIND_DEBUG=false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.env
.env.*
*.env
!.env.example

# ===== Python cache =====
__pycache__/
Expand Down
33 changes: 33 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Contributing

Thanks for helping improve DevMind.

## Development setup

```bash
python -m venv .venv
pip install -r requirements-dev.txt
```

Activate the environment, then run the quality gates:

```bash
ruff check .
black --check .
mypy .
pytest -q
```

The test suite must run without an Anthropic API key and without paid API calls.

## Pull requests

1. Keep each change focused and explain its user-visible behavior.
2. Add or update tests for logic, security, persistence, or tool changes.
3. Preserve support for Python 3.11 and for Git Bash on Windows.
4. Do not commit `.env`, API keys, logs, metrics, costs, or saved sessions.
5. Call out any change that expands file access or shell execution.

## Bug reports

Include the operating system, Python version, command used, expected behavior, and a minimal traceback with secrets removed. Security issues should follow [SECURITY.md](SECURITY.md), not a public issue.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 PRINCE2-AI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading